2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for sed 4.1.5.
5 # Report bugs to <bonzini@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='sed'
272 PACKAGE_VERSION
='4.1.5'
273 PACKAGE_STRING
='sed 4.1.5'
274 PACKAGE_BUGREPORT
='bonzini@gnu.org'
276 ac_unique_file
="sed/sed.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 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 SED_FEATURE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP HAVE__BOOL ALLOCA LIBOBJS TEST_REGEX_TRUE TEST_REGEX_FALSE BUILD_HTML_TRUE BUILD_HTML_FALSE TEXI2HTML MAKEINFO_HTML_TRUE MAKEINFO_HTML_FALSE TEXI2HTML_HTML_TRUE TEXI2HTML_HTML_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures sed 4.1.5 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
847 if test -n "$ac_init_help"; then
848 case $ac_init_help in
849 short | recursive
) echo "Configuration of sed 4.1.5:";;
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --disable-dependency-tracking speeds up one-time build
857 --enable-dependency-tracking do not reject slow dependency extractors
858 --disable-largefile omit support
for large files
859 --disable-i18n disable internationalization
(default
=yes)
860 --enable-regex-tests enable regex matcher regression tests
(default
=yes)
861 --enable-html build HTML manual
(default
=no
)
862 --disable-nls do not use Native Language Support
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-included-regex use included regex matcher
(default
=yes)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
870 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
871 --with-included-gettext use the GNU gettext library included here
872 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
873 --without-libintl-prefix don't search
for libintl
in includedir and libdir
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
884 Use these variables to override the choices made by
`configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
887 Report bugs to <bonzini@gnu.org>.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 generated by GNU Autoconf 2.59
986 Copyright (C) 2003 Free Software Foundation, Inc.
987 This configure script is free software; the Free Software Foundation
988 gives unlimited permission to copy, distribute and modify it.
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
997 It was created by sed $as_me 4.1.5, which was
998 generated by GNU Autoconf 2.59. Invocation command line was
1009 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1010 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1011 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1012 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1013 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1016 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1018 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1020 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1021 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1022 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1023 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1024 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1032 test -z "$as_dir" && as_dir=.
1033 echo "PATH: $as_dir"
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_must_keep_next=false
1063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1071 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1073 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true; then
1075 ac_must_keep_next=false # Got value, back to normal.
1078 *=* | --config-cache | -C | -disable-* | --disable-* \
1079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1081 | -with-* | --with-* | -without-* | --without-* | --x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 -* ) ac_must_keep_next=true ;;
1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1096 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1097 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close
' the trap.
1104 trap 'exit_status
=$?
1105 # Save into config.log some information that might help in debugging.
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1115 # The following way of writing the cache mishandles newlines in values,
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1138 for ac_var
in $ac_subst_vars
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -n "$ac_subst_files"; then
1152 for ac_var
in $ac_subst_files
1154 eval ac_val
=$
`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1160 if test -s confdefs.h
; then
1167 sed "/^$/d" confdefs.h |
sort
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1174 rm -f core
*.core
&&
1175 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1178 for ac_signal in 1 2 13 15; do
1179 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 # Predefined preprocessor variables.
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE; then
1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224 for ac_site_file in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's
/^
/|
/' "$ac_site_file" >&5
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1240 [\\/]* | ?:[\\/]* ) . $cache_file;;
1241 *) . ./$cache_file;;
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1250 # Check that the precious variables saved in the cache have kept the same
1252 ac_cache_corrupted=false
1253 for ac_var in `(set) 2>&1 |
1254 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1256 eval ac_new_set=\$ac_env_${ac_var}_set
1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1263 ac_cache_corrupted=: ;;
1265 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1272 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted=:
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1297 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1334 for ac_dir in config $srcdir/config; do
1335 if test -f $ac_dir/install-sh; then
1337 ac_install_sh="$ac_aux_dir/install-sh -c"
1339 elif test -f $ac_dir/install.sh; then
1341 ac_install_sh="$ac_aux_dir/install.sh -c"
1343 elif test -f $ac_dir/shtool; then
1345 ac_install_sh="$ac_aux_dir/shtool install -c"
1349 if test -z "$ac_aux_dir"; then
1350 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1351 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1352 { (exit 1); exit 1; }; }
1354 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1355 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1356 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1359 ac_config_headers="$ac_config_headers config.h:config_h.in"
1362 am__api_version="1.9"
1363 # Find a good install program. We prefer a C program (faster),
1364 # so one script is as good as another. But avoid the broken or
1365 # incompatible versions:
1366 # SysV /etc/install, /usr/sbin/install
1367 # SunOS /usr/etc/install
1368 # IRIX /sbin/install
1370 # AmigaOS /C/install, which installs bootblocks on floppy discs
1371 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1374 # OS/2's system install, which has a completely different semantic
1375 # ./install, which can be erroneously created by make from ./install.sh.
1376 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1377 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1378 if test -z "$INSTALL"; then
1379 if test "${ac_cv_path_install+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 # Account for people who put trailing slashes in PATH elements.
1389 .
/ | .
// |
/cC
/* | \
1390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1391 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1394 # OSF1 and SCO ODT 3.0 have their own names for install.
1395 # Don't use installbsd from OSF since it installs stuff as root
1397 for ac_prog
in ginstall scoinst
install; do
1398 for ac_exec_ext
in '' $ac_executable_extensions; do
1399 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1400 if test $ac_prog = install &&
1401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1402 # AIX install. It has an incompatible calling convention.
1404 elif test $ac_prog = install &&
1405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1406 # program-specific install script used by HP pwplus--don't use.
1409 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1421 if test "${ac_cv_path_install+set}" = set; then
1422 INSTALL
=$ac_cv_path_install
1424 # As a last resort, use the slow shell script. We don't cache a
1425 # path for INSTALL within a source directory, because that will
1426 # break other packages using the cache if that directory is
1427 # removed, or if the path is relative.
1428 INSTALL
=$ac_install_sh
1431 echo "$as_me:$LINENO: result: $INSTALL" >&5
1432 echo "${ECHO_T}$INSTALL" >&6
1434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1435 # It thinks the first close brace ends the variable substitution.
1436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1442 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1443 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1446 echo timestamp
> conftest.
file
1447 # Do `set' in a subshell so we don't clobber the current shell's
1448 # arguments. Must try -L first in case configure is actually a
1449 # symlink; some systems play weird games with the mod time of symlinks
1450 # (eg FreeBSD returns the mod time of the symlink's containing
1453 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1454 if test "$*" = "X"; then
1456 set X
`ls -t $srcdir/configure conftest.file`
1459 if test "$*" != "X $srcdir/configure conftest.file" \
1460 && test "$*" != "X conftest.file $srcdir/configure"; then
1462 # If neither matched, then we have a broken ls. This can happen
1463 # if, for instance, CONFIG_SHELL is bash and it inherits a
1464 # broken ls alias from the environment. This has actually
1465 # happened. Such a system could not be considered "sane".
1466 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1467 alias in your environment" >&5
1468 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&2;}
1470 { (exit 1); exit 1; }; }
1473 test "$2" = conftest.
file
1479 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1480 Check your system clock" >&5
1481 echo "$as_me: error: newly created file is older than distributed files!
1482 Check your system clock" >&2;}
1483 { (exit 1); exit 1; }; }
1485 echo "$as_me:$LINENO: result: yes" >&5
1486 echo "${ECHO_T}yes" >&6
1487 test "$program_prefix" != NONE
&&
1488 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1489 # Use a double $ so make ignores it.
1490 test "$program_suffix" != NONE
&&
1491 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1492 # Double any \ or $. echo might interpret backslashes.
1493 # By default was `s,x,x', remove it if useless.
1494 cat <<\_ACEOF
>conftest.
sed
1495 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1497 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1500 # expand $ac_aux_dir to an absolute path
1501 am_aux_dir
=`cd $ac_aux_dir && pwd`
1503 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1504 # Use eval to expand $SHELL
1505 if eval "$MISSING --run true"; then
1506 am_missing_run
="$MISSING --run "
1509 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1510 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1513 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1514 # We used to keeping the `.' as first argument, in order to
1515 # allow $(mkdir_p) to be used without argument. As in
1516 # $(mkdir_p) $(somedir)
1517 # where $(somedir) is conditionally defined. However this is wrong
1519 # 1. if the package is installed by a user who cannot write `.'
1520 # make install will fail,
1521 # 2. the above comment should most certainly read
1522 # $(mkdir_p) $(DESTDIR)$(somedir)
1523 # so it does not work when $(somedir) is undefined and
1524 # $(DESTDIR) is not.
1525 # To support the latter case, we have to write
1526 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1527 # so the `.' trick is pointless.
1528 mkdir_p
='mkdir -p --'
1530 # On NextStep and OpenStep, the `mkdir' command does not
1531 # recognize any option. It will interpret all options as
1532 # directories to create, and then abort because `.' already
1534 for d
in .
/-p .
/--version;
1536 test -d $d && rmdir $d
1538 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1539 if test -f "$ac_aux_dir/mkinstalldirs"; then
1540 mkdir_p
='$(mkinstalldirs)'
1542 mkdir_p
='$(install_sh) -d'
1546 for ac_prog
in gawk mawk nawk
awk
1548 # Extract the first word of "$ac_prog", so it can be a program name with args.
1549 set dummy
$ac_prog; ac_word
=$2
1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552 if test "${ac_cv_prog_AWK+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 if test -n "$AWK"; then
1556 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir
=.
1563 for ac_exec_ext
in '' $ac_executable_extensions; do
1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565 ac_cv_prog_AWK
="$ac_prog"
1566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 if test -n "$AWK"; then
1576 echo "$as_me:$LINENO: result: $AWK" >&5
1577 echo "${ECHO_T}$AWK" >&6
1579 echo "$as_me:$LINENO: result: no" >&5
1580 echo "${ECHO_T}no" >&6
1583 test -n "$AWK" && break
1586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1588 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 cat >conftest.
make <<\_ACEOF
1594 @
echo 'ac_maketemp="$(MAKE)"'
1596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1598 if test -n "$ac_maketemp"; then
1599 eval ac_cv_prog_make_
${ac_make}_set
=yes
1601 eval ac_cv_prog_make_
${ac_make}_set
=no
1605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1606 echo "$as_me:$LINENO: result: yes" >&5
1607 echo "${ECHO_T}yes" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1612 SET_MAKE
="MAKE=${MAKE-make}"
1615 rm -rf .tst
2>/dev
/null
1616 mkdir .tst
2>/dev
/null
1617 if test -d .tst
; then
1622 rmdir .tst
2>/dev
/null
1624 # test to see if srcdir already configured
1625 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1626 test -f $srcdir/config.status
; then
1627 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1628 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1629 { (exit 1); exit 1; }; }
1632 # test whether we have cygpath
1633 if test -z "$CYGPATH_W"; then
1634 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1635 CYGPATH_W
='cygpath -w'
1642 # Define the identity of the package.
1647 cat >>confdefs.h
<<_ACEOF
1648 #define PACKAGE "$PACKAGE"
1652 cat >>confdefs.h
<<_ACEOF
1653 #define VERSION "$VERSION"
1656 # Some tools Automake needs.
1658 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1661 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1664 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1667 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1670 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1672 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1674 # Installed binaries are usually stripped using `strip' when the user
1675 # run `make install-strip'. However `strip' might not be the right
1676 # tool to use in cross-compilation environments, therefore Automake
1677 # will honor the `STRIP' environment variable to overrule this program.
1678 if test "$cross_compiling" != no
; then
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1681 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_STRIP+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$STRIP"; then
1688 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 STRIP
=$ac_cv_prog_STRIP
1707 if test -n "$STRIP"; then
1708 echo "$as_me:$LINENO: result: $STRIP" >&5
1709 echo "${ECHO_T}$STRIP" >&6
1711 echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6
1716 if test -z "$ac_cv_prog_STRIP"; then
1718 # Extract the first word of "strip", so it can be a program name with args.
1719 set dummy strip
; ac_word
=$2
1720 echo "$as_me:$LINENO: checking for $ac_word" >&5
1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test -n "$ac_ct_STRIP"; then
1726 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir
=.
1733 for ac_exec_ext
in '' $ac_executable_extensions; do
1734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1735 ac_cv_prog_ac_ct_STRIP
="strip"
1736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1745 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1746 if test -n "$ac_ct_STRIP"; then
1747 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1748 echo "${ECHO_T}$ac_ct_STRIP" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1756 STRIP
="$ac_cv_prog_STRIP"
1760 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1762 # We need awk for the "check" target. The system "awk" is bad on
1764 # Always define AMTAR for backward compatibility.
1766 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1768 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1775 SED_FEATURE_VERSION
=4.1
1777 cat >>confdefs.h
<<_ACEOF
1778 #define SED_FEATURE_VERSION "$SED_FEATURE_VERSION"
1784 ac_cpp
='$CPP $CPPFLAGS'
1785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1788 if test -n "$ac_tool_prefix"; then
1789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1790 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$CC"; then
1797 ac_cv_prog_CC
="$CC" # Let the user override the test.
1799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir
=.
1804 for ac_exec_ext
in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1816 if test -n "$CC"; then
1817 echo "$as_me:$LINENO: result: $CC" >&5
1818 echo "${ECHO_T}$CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1825 if test -z "$ac_cv_prog_CC"; then
1827 # Extract the first word of "gcc", so it can be a program name with args.
1828 set dummy gcc
; ac_word
=$2
1829 echo "$as_me:$LINENO: checking for $ac_word" >&5
1830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1832 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 if test -n "$ac_ct_CC"; then
1835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1841 test -z "$as_dir" && as_dir
=.
1842 for ac_exec_ext
in '' $ac_executable_extensions; do
1843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1844 ac_cv_prog_ac_ct_CC
="gcc"
1845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1854 if test -n "$ac_ct_CC"; then
1855 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1856 echo "${ECHO_T}$ac_ct_CC" >&6
1858 echo "$as_me:$LINENO: result: no" >&5
1859 echo "${ECHO_T}no" >&6
1867 if test -z "$CC"; then
1868 if test -n "$ac_tool_prefix"; then
1869 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1870 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1873 if test "${ac_cv_prog_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 if test -n "$CC"; then
1877 ac_cv_prog_CC
="$CC" # Let the user override the test.
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 for ac_exec_ext
in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 if test -n "$CC"; then
1897 echo "$as_me:$LINENO: result: $CC" >&5
1898 echo "${ECHO_T}$CC" >&6
1900 echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1905 if test -z "$ac_cv_prog_CC"; then
1907 # Extract the first word of "cc", so it can be a program name with args.
1908 set dummy cc
; ac_word
=$2
1909 echo "$as_me:$LINENO: checking for $ac_word" >&5
1910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 if test -n "$ac_ct_CC"; then
1915 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir
=.
1922 for ac_exec_ext
in '' $ac_executable_extensions; do
1923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1924 ac_cv_prog_ac_ct_CC
="cc"
1925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1934 if test -n "$ac_ct_CC"; then
1935 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1936 echo "${ECHO_T}$ac_ct_CC" >&6
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1948 if test -z "$CC"; then
1949 # Extract the first word of "cc", so it can be a program name with args.
1950 set dummy cc
; ac_word
=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$CC"; then
1957 ac_cv_prog_CC
="$CC" # Let the user override the test.
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_exec_ext
in '' $ac_executable_extensions; do
1966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1968 ac_prog_rejected
=yes
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 if test $ac_prog_rejected = yes; then
1979 # We found a bogon in the path, so make sure we never use it.
1980 set dummy
$ac_cv_prog_CC
1982 if test $# != 0; then
1983 # We chose a different compiler from the bogus one.
1984 # However, it has the same basename, so the bogon will be chosen
1985 # first if we set CC to just the basename; use the full file name.
1987 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1993 if test -n "$CC"; then
1994 echo "$as_me:$LINENO: result: $CC" >&5
1995 echo "${ECHO_T}$CC" >&6
1997 echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
2002 if test -z "$CC"; then
2003 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2007 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC
="$CC" # Let the user override the test.
2016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir
=.
2021 for ac_exec_ext
in '' $ac_executable_extensions; do
2022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2041 test -n "$CC" && break
2044 if test -z "$CC"; then
2048 # Extract the first word of "$ac_prog", so it can be a program name with args.
2049 set dummy
$ac_prog; ac_word
=$2
2050 echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$ac_ct_CC"; then
2056 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_exec_ext
in '' $ac_executable_extensions; do
2064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 ac_cv_prog_ac_ct_CC
="$ac_prog"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2075 if test -n "$ac_ct_CC"; then
2076 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2077 echo "${ECHO_T}$ac_ct_CC" >&6
2079 echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6
2083 test -n "$ac_ct_CC" && break
2092 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2093 See \`config.log' for more details." >&5
2094 echo "$as_me: error: no acceptable C compiler found in \$PATH
2095 See \`config.log' for more details." >&2;}
2096 { (exit 1); exit 1; }; }
2098 # Provide some information about the compiler.
2099 echo "$as_me:$LINENO:" \
2100 "checking for C compiler version" >&5
2101 ac_compiler
=`set X $ac_compile; echo $2`
2102 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2103 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }
2107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2108 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); }
2112 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2113 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }
2118 cat >conftest.
$ac_ext <<_ACEOF
2121 cat confdefs.h
>>conftest.
$ac_ext
2122 cat >>conftest.
$ac_ext <<_ACEOF
2123 /* end confdefs.h. */
2133 ac_clean_files_save
=$ac_clean_files
2134 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2135 # Try to create an executable without -o first, disregard a.out.
2136 # It will help us diagnose broken compilers, and finding out an intuition
2138 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2139 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2140 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2141 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2142 (eval $ac_link_default) 2>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }; then
2146 # Find the output, starting from the most likely. This scheme is
2147 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2150 # Be careful to initialize this variable, since it used to be cached.
2151 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2153 # b.out is created by i960 compilers.
2154 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2156 test -f "$ac_file" ||
continue
2158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2161 # This is the source file.
2164 # We found the default executable, but exeext='' is most
2168 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169 # FIXME: I believe we export ac_cv_exeext for Libtool,
2170 # but it would be cool to find out if it's true. Does anybody
2171 # maintain Libtool? --akim.
2179 echo "$as_me: failed program was:" >&5
2180 sed 's/^/| /' conftest.
$ac_ext >&5
2182 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: C compiler cannot create executables
2185 See \`config.log' for more details." >&2;}
2186 { (exit 77); exit 77; }; }
2189 ac_exeext
=$ac_cv_exeext
2190 echo "$as_me:$LINENO: result: $ac_file" >&5
2191 echo "${ECHO_T}$ac_file" >&6
2193 # Check the compiler produces executables we can run. If not, either
2194 # the compiler is broken, or we cross compile.
2195 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2196 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2197 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2198 # If not cross compiling, check that we can run a simple program.
2199 if test "$cross_compiling" != yes; then
2200 if { ac_try
='./$ac_file'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; }; then
2208 if test "$cross_compiling" = maybe
; then
2211 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2212 If you meant to cross compile, use \`--host'.
2213 See \`config.log' for more details." >&5
2214 echo "$as_me: error: cannot run C compiled programs.
2215 If you meant to cross compile, use \`--host'.
2216 See \`config.log' for more details." >&2;}
2217 { (exit 1); exit 1; }; }
2221 echo "$as_me:$LINENO: result: yes" >&5
2222 echo "${ECHO_T}yes" >&6
2224 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2225 ac_clean_files
=$ac_clean_files_save
2226 # Check the compiler produces executables we can run. If not, either
2227 # the compiler is broken, or we cross compile.
2228 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2229 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2230 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2231 echo "${ECHO_T}$cross_compiling" >&6
2233 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2234 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2236 (eval $ac_link) 2>&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; then
2240 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2241 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2242 # work properly (i.e., refer to `conftest.exe'), while it won't with
2244 for ac_file
in conftest.exe conftest conftest.
*; do
2245 test -f "$ac_file" ||
continue
2247 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2248 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2255 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2256 See \`config.log' for more details." >&5
2257 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2258 See \`config.log' for more details." >&2;}
2259 { (exit 1); exit 1; }; }
2262 rm -f conftest
$ac_cv_exeext
2263 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2264 echo "${ECHO_T}$ac_cv_exeext" >&6
2266 rm -f conftest.
$ac_ext
2267 EXEEXT
=$ac_cv_exeext
2269 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2270 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2271 if test "${ac_cv_objext+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 cat >conftest.
$ac_ext <<_ACEOF
2277 cat confdefs.h
>>conftest.
$ac_ext
2278 cat >>conftest.
$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2289 rm -f conftest.o conftest.obj
2290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291 (eval $ac_compile) 2>&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; then
2295 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2297 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2298 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2303 echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.
$ac_ext >&5
2306 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2307 See \`config.log' for more details." >&5
2308 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2309 See \`config.log' for more details." >&2;}
2310 { (exit 1); exit 1; }; }
2313 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2315 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2316 echo "${ECHO_T}$ac_cv_objext" >&6
2317 OBJEXT
=$ac_cv_objext
2319 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2320 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2321 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag"
2352 || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } &&
2358 { ac_try
='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.
$ac_ext >&5
2371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2372 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2375 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2376 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2377 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2378 ac_test_CFLAGS
=${CFLAGS+set}
2379 ac_save_CFLAGS
=$CFLAGS
2381 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2382 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2383 if test "${ac_cv_prog_cc_g+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 cat >conftest.
$ac_ext <<_ACEOF
2389 cat confdefs.h
>>conftest.
$ac_ext
2390 cat >>conftest.
$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2401 rm -f conftest.
$ac_objext
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403 (eval $ac_compile) 2>conftest.er1
2405 grep -v '^ *+' conftest.er1
>conftest.err
2407 cat conftest.err
>&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } &&
2410 { ac_try
='test -z "$ac_c_werror_flag"
2411 || test ! -s conftest.err'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; } &&
2417 { ac_try
='test -s conftest.$ac_objext'
2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; }; then
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.
$ac_ext >&5
2430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2432 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2433 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2434 if test "$ac_test_CFLAGS" = set; then
2435 CFLAGS
=$ac_save_CFLAGS
2436 elif test $ac_cv_prog_cc_g = yes; then
2437 if test "$GCC" = yes; then
2443 if test "$GCC" = yes; then
2449 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2450 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2451 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 ac_cv_prog_cc_stdc
=no
2456 cat >conftest.
$ac_ext <<_ACEOF
2459 cat confdefs.h
>>conftest.
$ac_ext
2460 cat >>conftest.
$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2464 #include <sys/types.h>
2465 #include <sys/stat.h>
2466 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2467 struct buf { int x; };
2468 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2469 static char *e (p, i)
2475 static char *f (char * (*g) (char **, int), char **p, ...)
2480 s = g (p, va_arg (v,int));
2485 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2486 function prototypes and stuff, but not '\xHH' hex character constants.
2487 These don't provoke an error unfortunately, instead are silently treated
2488 as 'x'. The following induces an error, until -std1 is added to get
2489 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2490 array size at least. It's necessary to write '\x00'==0 to get something
2491 that's true only with -std1. */
2492 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2494 int test (int i, double x);
2495 struct s1 {int (*f) (int a);};
2496 struct s2 {int (*f) (double a);};
2497 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2503 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2508 # Don't try gcc -ansi; that turns off useful extensions and
2509 # breaks some systems' header files.
2510 # AIX -qlanglvl=ansi
2511 # Ultrix and OSF/1 -std1
2512 # HP-UX 10.20 and later -Ae
2513 # HP-UX older versions -Aa -D_HPUX_SOURCE
2514 # SVR4 -Xc -D__EXTENSIONS__
2515 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2517 CC
="$ac_save_CC $ac_arg"
2518 rm -f conftest.
$ac_objext
2519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2520 (eval $ac_compile) 2>conftest.er1
2522 grep -v '^ *+' conftest.er1
>conftest.err
2524 cat conftest.err
>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } &&
2527 { ac_try
='test -z "$ac_c_werror_flag"
2528 || test ! -s conftest.err'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; } &&
2534 { ac_try
='test -s conftest.$ac_objext'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; }; then
2540 ac_cv_prog_cc_stdc
=$ac_arg
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2547 rm -f conftest.err conftest.
$ac_objext
2549 rm -f conftest.
$ac_ext conftest.
$ac_objext
2554 case "x$ac_cv_prog_cc_stdc" in
2556 echo "$as_me:$LINENO: result: none needed" >&5
2557 echo "${ECHO_T}none needed" >&6 ;;
2559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2560 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2561 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2564 # Some people use a C++ compiler to compile C. Since we use `exit',
2565 # in C++ we need to declare it. In case someone uses the same compiler
2566 # for both compiling C and C++ we need to have the C++ compiler decide
2567 # the declaration of exit, since it's the most demanding environment.
2568 cat >conftest.
$ac_ext <<_ACEOF
2573 rm -f conftest.
$ac_objext
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>conftest.er1
2577 grep -v '^ *+' conftest.er1
>conftest.err
2579 cat conftest.err
>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try
='test -z "$ac_c_werror_flag"
2583 || test ! -s conftest.err'
2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; } &&
2589 { ac_try
='test -s conftest.$ac_objext'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; }; then
2595 for ac_declaration
in \
2597 'extern "C" void std::exit (int) throw (); using std::exit;' \
2598 'extern "C" void std::exit (int); using std::exit;' \
2599 'extern "C" void exit (int) throw ();' \
2600 'extern "C" void exit (int);' \
2603 cat >conftest.
$ac_ext <<_ACEOF
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2619 rm -f conftest.
$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>conftest.er1
2623 grep -v '^ *+' conftest.er1
>conftest.err
2625 cat conftest.err
>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); } &&
2628 { ac_try
='test -z "$ac_c_werror_flag"
2629 || test ! -s conftest.err'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; } &&
2635 { ac_try
='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.
$ac_ext >&5
2648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2649 cat >conftest.
$ac_ext <<_ACEOF
2652 cat confdefs.h
>>conftest.
$ac_ext
2653 cat >>conftest.
$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2664 rm -f conftest.
$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>conftest.er1
2668 grep -v '^ *+' conftest.er1
>conftest.err
2670 cat conftest.err
>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try
='test -z "$ac_c_werror_flag"
2674 || test ! -s conftest.err'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; } &&
2680 { ac_try
='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.
$ac_ext >&5
2692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2695 if test -n "$ac_declaration"; then
2696 echo '#ifdef __cplusplus' >>confdefs.h
2697 echo $ac_declaration >>confdefs.h
2698 echo '#endif' >>confdefs.h
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 ac_cpp
='$CPP $CPPFLAGS'
2709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2712 DEPDIR
="${am__leading_dot}deps"
2714 ac_config_commands
="$ac_config_commands depfiles"
2717 am_make
=${MAKE-make}
2718 cat > confinc
<< 'END'
2723 # If we don't find an include directive, just comment out the code.
2724 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2725 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2729 # First try GNU make style include.
2730 echo "include confinc" > confmf
2731 # We grep out `Entering directory' and `Leaving directory'
2732 # messages which can occur if `w' ends up in MAKEFLAGS.
2733 # In particular we don't look at `^make:' because GNU make might
2734 # be invoked under some other name (usually "gmake"), in which
2735 # case it prints its new name instead of `make'.
2736 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2741 # Now try BSD make style include.
2742 if test "$am__include" = "#"; then
2743 echo '.include "confinc"' > confmf
2744 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2745 am__include
=.include
2752 echo "$as_me:$LINENO: result: $_am_result" >&5
2753 echo "${ECHO_T}$_am_result" >&6
2754 rm -f confinc confmf
2756 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2757 if test "${enable_dependency_tracking+set}" = set; then
2758 enableval
="$enable_dependency_tracking"
2761 if test "x$enable_dependency_tracking" != xno
; then
2762 am_depcomp
="$ac_aux_dir/depcomp"
2767 if test "x$enable_dependency_tracking" != xno; then
2778 depcc
="$CC" am_compiler_list
=
2780 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2781 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2782 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2786 # We make a subdir and do the tests there. Otherwise we can end up
2787 # making bogus files that we don't know about and never remove. For
2788 # instance it was reported that on HP-UX the gcc test will end up
2789 # making a dummy file named `D' -- because `-MD' means `put the output
2792 # Copy depcomp to subdir because otherwise we won't find it if we're
2793 # using a relative directory.
2794 cp "$am_depcomp" conftest.dir
2796 # We will build objects and dependencies in a subdirectory because
2797 # it helps to detect inapplicable dependency modes. For instance
2798 # both Tru64's cc and ICC support -MD to output dependencies as a
2799 # side effect of compilation, but ICC will put the dependencies in
2800 # the current directory while Tru64 will put them in the object
2804 am_cv_CC_dependencies_compiler_type
=none
2805 if test "$am_compiler_list" = ""; then
2806 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2808 for depmode
in $am_compiler_list; do
2809 # Setup a source with many dependencies, because some compilers
2810 # like to wrap large dependency lists on column 80 (with \), and
2811 # we should not choose a depcomp mode which is confused by this.
2813 # We need to recreate these files for each test, as the compiler may
2814 # overwrite some of them when testing with obscure command lines.
2815 # This happens at least with the AIX C compiler.
2817 for i
in 1 2 3 4 5 6; do
2818 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2820 # Solaris 8's {/usr,}/bin/sh.
2821 touch sub
/conftst
$i.h
2823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2827 # after this tag, mechanisms are not by side-effect, so they'll
2828 # only be used when explicitly requested
2829 if test "x$enable_dependency_tracking" = xyes
; then
2837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2838 # mode. It turns out that the SunPro C++ compiler does not properly
2839 # handle `-M -o', and we need to detect this.
2840 if depmode
=$depmode \
2841 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2842 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2843 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2844 >/dev
/null
2>conftest.err
&&
2845 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2846 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2847 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2848 # icc doesn't choke on unknown options, it will just issue warnings
2849 # or remarks (even with -Werror). So we grep stderr for any message
2850 # that says an option was ignored or not supported.
2851 # When given -MP, icc 7.0 and 7.1 complain thusly:
2852 # icc: Command line warning: ignoring option '-M'; no argument required
2853 # The diagnosis changed in icc 8.0:
2854 # icc: Command line remark: option '-MP' not supported
2855 if (grep 'ignoring option' conftest.err ||
2856 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2857 am_cv_CC_dependencies_compiler_type
=$depmode
2866 am_cv_CC_dependencies_compiler_type
=none
2870 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2871 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2872 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2877 test "x$enable_dependency_tracking" != xno \
2878 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2880 am__fastdepCC_FALSE
='#'
2882 am__fastdepCC_TRUE
='#'
2883 am__fastdepCC_FALSE
=
2887 if test -n "$ac_tool_prefix"; then
2888 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2889 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2890 echo "$as_me:$LINENO: checking for $ac_word" >&5
2891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2892 if test "${ac_cv_prog_RANLIB+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 if test -n "$RANLIB"; then
2896 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir
=.
2903 for ac_exec_ext
in '' $ac_executable_extensions; do
2904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 RANLIB
=$ac_cv_prog_RANLIB
2915 if test -n "$RANLIB"; then
2916 echo "$as_me:$LINENO: result: $RANLIB" >&5
2917 echo "${ECHO_T}$RANLIB" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2924 if test -z "$ac_cv_prog_RANLIB"; then
2925 ac_ct_RANLIB
=$RANLIB
2926 # Extract the first word of "ranlib", so it can be a program name with args.
2927 set dummy ranlib
; ac_word
=$2
2928 echo "$as_me:$LINENO: checking for $ac_word" >&5
2929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2930 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 if test -n "$ac_ct_RANLIB"; then
2934 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir
=.
2941 for ac_exec_ext
in '' $ac_executable_extensions; do
2942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2953 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2954 if test -n "$ac_ct_RANLIB"; then
2955 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2956 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2958 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2962 RANLIB
=$ac_ct_RANLIB
2964 RANLIB
="$ac_cv_prog_RANLIB"
2968 cat >>confdefs.h
<<\_ACEOF
2969 #define _GNU_SOURCE 1
2975 ac_cpp
='$CPP $CPPFLAGS'
2976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2979 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2980 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2981 # On Suns, sometimes $CPP names a directory.
2982 if test -n "$CPP" && test -d "$CPP"; then
2985 if test -z "$CPP"; then
2986 if test "${ac_cv_prog_CPP+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 # Double quotes because CPP needs to be expanded
2990 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2993 for ac_c_preproc_warn_flag
in '' yes
2995 # Use a header file that comes with gcc, so configuring glibc
2996 # with a fresh cross-compiler works.
2997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2998 # <limits.h> exists even on freestanding compilers.
2999 # On the NeXT, cc -E runs the code through the compiler's parser,
3000 # not just through cpp. "Syntax error" is here to catch this case.
3001 cat >conftest.
$ac_ext <<_ACEOF
3004 cat confdefs.h
>>conftest.
$ac_ext
3005 cat >>conftest.
$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3008 # include <limits.h>
3010 # include <assert.h>
3014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } >/dev
/null
; then
3022 if test -s conftest.err
; then
3023 ac_cpp_err
=$ac_c_preproc_warn_flag
3024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3031 if test -z "$ac_cpp_err"; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3037 # Broken: fails on valid input.
3040 rm -f conftest.err conftest.
$ac_ext
3042 # OK, works on sane cases. Now check whether non-existent headers
3043 # can be detected and how.
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050 #include <ac_nonexistent.h>
3052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3055 grep -v '^ *+' conftest.er1
>conftest.err
3057 cat conftest.err
>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } >/dev
/null
; then
3060 if test -s conftest.err
; then
3061 ac_cpp_err
=$ac_c_preproc_warn_flag
3062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3069 if test -z "$ac_cpp_err"; then
3070 # Broken: success on invalid input.
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.
$ac_ext >&5
3076 # Passes both tests.
3080 rm -f conftest.err conftest.
$ac_ext
3083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3084 rm -f conftest.err conftest.
$ac_ext
3085 if $ac_preproc_ok; then
3097 echo "$as_me:$LINENO: result: $CPP" >&5
3098 echo "${ECHO_T}$CPP" >&6
3100 for ac_c_preproc_warn_flag
in '' yes
3102 # Use a header file that comes with gcc, so configuring glibc
3103 # with a fresh cross-compiler works.
3104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3105 # <limits.h> exists even on freestanding compilers.
3106 # On the NeXT, cc -E runs the code through the compiler's parser,
3107 # not just through cpp. "Syntax error" is here to catch this case.
3108 cat >conftest.
$ac_ext <<_ACEOF
3111 cat confdefs.h
>>conftest.
$ac_ext
3112 cat >>conftest.
$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3115 # include <limits.h>
3117 # include <assert.h>
3121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3124 grep -v '^ *+' conftest.er1
>conftest.err
3126 cat conftest.err
>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } >/dev
/null
; then
3129 if test -s conftest.err
; then
3130 ac_cpp_err
=$ac_c_preproc_warn_flag
3131 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3138 if test -z "$ac_cpp_err"; then
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.
$ac_ext >&5
3144 # Broken: fails on valid input.
3147 rm -f conftest.err conftest.
$ac_ext
3149 # OK, works on sane cases. Now check whether non-existent headers
3150 # can be detected and how.
3151 cat >conftest.
$ac_ext <<_ACEOF
3154 cat confdefs.h
>>conftest.
$ac_ext
3155 cat >>conftest.
$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3157 #include <ac_nonexistent.h>
3159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3162 grep -v '^ *+' conftest.er1
>conftest.err
3164 cat conftest.err
>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } >/dev
/null
; then
3167 if test -s conftest.err
; then
3168 ac_cpp_err
=$ac_c_preproc_warn_flag
3169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3176 if test -z "$ac_cpp_err"; then
3177 # Broken: success on invalid input.
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.
$ac_ext >&5
3183 # Passes both tests.
3187 rm -f conftest.err conftest.
$ac_ext
3190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3191 rm -f conftest.err conftest.
$ac_ext
3192 if $ac_preproc_ok; then
3195 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3196 See \`config.log' for more details." >&5
3197 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3198 See \`config.log' for more details." >&2;}
3199 { (exit 1); exit 1; }; }
3203 ac_cpp
='$CPP $CPPFLAGS'
3204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3209 echo "$as_me:$LINENO: checking for egrep" >&5
3210 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3211 if test "${ac_cv_prog_egrep+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3215 then ac_cv_prog_egrep
='grep -E'
3216 else ac_cv_prog_egrep
='egrep'
3219 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3220 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3221 EGREP
=$ac_cv_prog_egrep
3225 echo "$as_me:$LINENO: checking for AIX" >&5
3226 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3227 cat >conftest.
$ac_ext <<_ACEOF
3230 cat confdefs.h
>>conftest.
$ac_ext
3231 cat >>conftest.
$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3239 $EGREP "yes" >/dev
/null
2>&1; then
3240 echo "$as_me:$LINENO: result: yes" >&5
3241 echo "${ECHO_T}yes" >&6
3242 cat >>confdefs.h
<<\_ACEOF
3243 #define _ALL_SOURCE 1
3247 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3253 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3254 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3255 if test "${ac_cv_header_stdc+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 cat >conftest.
$ac_ext <<_ACEOF
3261 cat confdefs.h
>>conftest.
$ac_ext
3262 cat >>conftest.
$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3277 rm -f conftest.
$ac_objext
3278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 (eval $ac_compile) 2>conftest.er1
3281 grep -v '^ *+' conftest.er1
>conftest.err
3283 cat conftest.err
>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } &&
3286 { ac_try
='test -z "$ac_c_werror_flag"
3287 || test ! -s conftest.err'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; } &&
3293 { ac_try
='test -s conftest.$ac_objext'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; }; then
3299 ac_cv_header_stdc
=yes
3301 echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.
$ac_ext >&5
3304 ac_cv_header_stdc
=no
3306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3308 if test $ac_cv_header_stdc = yes; then
3309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3310 cat >conftest.
$ac_ext <<_ACEOF
3313 cat confdefs.h
>>conftest.
$ac_ext
3314 cat >>conftest.
$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3320 $EGREP "memchr" >/dev
/null
2>&1; then
3323 ac_cv_header_stdc
=no
3329 if test $ac_cv_header_stdc = yes; then
3330 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3341 $EGREP "free" >/dev
/null
2>&1; then
3344 ac_cv_header_stdc
=no
3350 if test $ac_cv_header_stdc = yes; then
3351 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3352 if test "$cross_compiling" = yes; then
3355 cat >conftest.
$ac_ext <<_ACEOF
3358 cat confdefs.h
>>conftest.
$ac_ext
3359 cat >>conftest.
$ac_ext <<_ACEOF
3360 /* end confdefs.h. */
3362 #if ((' ' & 0x0FF) == 0x020)
3363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3366 # define ISLOWER(c) \
3367 (('a' <= (c) && (c) <= 'i') \
3368 || ('j' <= (c) && (c) <= 'r') \
3369 || ('s' <= (c) && (c) <= 'z'))
3370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3378 for (i = 0; i < 256; i++)
3379 if (XOR (islower (i), ISLOWER (i))
3380 || toupper (i) != TOUPPER (i))
3385 rm -f conftest
$ac_exeext
3386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3387 (eval $ac_link) 2>&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; }; then
3398 echo "$as_me: program exited with status $ac_status" >&5
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.
$ac_ext >&5
3403 ac_cv_header_stdc
=no
3405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3409 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3410 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3411 if test $ac_cv_header_stdc = yes; then
3413 cat >>confdefs.h
<<\_ACEOF
3414 #define STDC_HEADERS 1
3419 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3429 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3430 inttypes.h stdint.h unistd.h
3432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3433 echo "$as_me:$LINENO: checking for $ac_header" >&5
3434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 cat >conftest.
$ac_ext <<_ACEOF
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3444 $ac_includes_default
3446 #include <$ac_header>
3448 rm -f conftest.
$ac_objext
3449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3450 (eval $ac_compile) 2>conftest.er1
3452 grep -v '^ *+' conftest.er1
>conftest.err
3454 cat conftest.err
>&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } &&
3457 { ac_try
='test -z "$ac_c_werror_flag"
3458 || test ! -s conftest.err'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; } &&
3464 { ac_try
='test -s conftest.$ac_objext'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; }; then
3470 eval "$as_ac_Header=yes"
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.
$ac_ext >&5
3475 eval "$as_ac_Header=no"
3477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3482 cat >>confdefs.h
<<_ACEOF
3483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3491 if test "${ac_cv_header_minix_config_h+set}" = set; then
3492 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3493 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3494 if test "${ac_cv_header_minix_config_h+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3498 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3500 # Is the header compilable?
3501 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3502 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3503 cat >conftest.
$ac_ext <<_ACEOF
3506 cat confdefs.h
>>conftest.
$ac_ext
3507 cat >>conftest.
$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3509 $ac_includes_default
3510 #include <minix/config.h>
3512 rm -f conftest.
$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>conftest.er1
3516 grep -v '^ *+' conftest.er1
>conftest.err
3518 cat conftest.err
>&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } &&
3521 { ac_try
='test -z "$ac_c_werror_flag"
3522 || test ! -s conftest.err'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; } &&
3528 { ac_try
='test -s conftest.$ac_objext'
3529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); }; }; then
3534 ac_header_compiler
=yes
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.
$ac_ext >&5
3539 ac_header_compiler
=no
3541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3543 echo "${ECHO_T}$ac_header_compiler" >&6
3545 # Is the header present?
3546 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3547 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3548 cat >conftest.
$ac_ext <<_ACEOF
3551 cat confdefs.h
>>conftest.
$ac_ext
3552 cat >>conftest.
$ac_ext <<_ACEOF
3553 /* end confdefs.h. */
3554 #include <minix/config.h>
3556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1
>conftest.err
3561 cat conftest.err
>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } >/dev
/null
; then
3564 if test -s conftest.err
; then
3565 ac_cpp_err
=$ac_c_preproc_warn_flag
3566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3573 if test -z "$ac_cpp_err"; then
3574 ac_header_preproc
=yes
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.
$ac_ext >&5
3579 ac_header_preproc
=no
3581 rm -f conftest.err conftest.
$ac_ext
3582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3583 echo "${ECHO_T}$ac_header_preproc" >&6
3585 # So? What about this header?
3586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3588 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3589 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3590 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3591 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3592 ac_header_preproc
=yes
3595 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3596 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3597 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3598 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3599 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3600 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3601 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3602 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3603 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3604 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3605 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3606 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3609 ## ------------------------------ ##
3610 ## Report this to bonzini@gnu.org ##
3611 ## ------------------------------ ##
3614 sed "s/^/$as_me: WARNING: /" >&2
3617 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3618 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3619 if test "${ac_cv_header_minix_config_h+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 ac_cv_header_minix_config_h
=$ac_header_preproc
3624 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3625 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3628 if test $ac_cv_header_minix_config_h = yes; then
3635 if test "$MINIX" = yes; then
3637 cat >>confdefs.h
<<\_ACEOF
3638 #define _POSIX_SOURCE 1
3642 cat >>confdefs.h
<<\_ACEOF
3643 #define _POSIX_1_SOURCE 2
3647 cat >>confdefs.h
<<\_ACEOF
3653 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3654 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3655 if test "${ac_cv_search_strerror+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 ac_func_search_save_LIBS
=$LIBS
3659 ac_cv_search_strerror
=no
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3667 /* Override any gcc2 internal prototype to avoid an error. */
3671 /* We use char because int might match the return type of a gcc2
3672 builtin and then its argument prototype would still apply. */
3682 rm -f conftest.
$ac_objext conftest
$ac_exeext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3684 (eval $ac_link) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -z "$ac_c_werror_flag"
3692 || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_search_strerror
="none required"
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3710 rm -f conftest.err conftest.
$ac_objext \
3711 conftest
$ac_exeext conftest.
$ac_ext
3712 if test "$ac_cv_search_strerror" = no
; then
3713 for ac_lib
in cposix
; do
3714 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3715 cat >conftest.
$ac_ext <<_ACEOF
3718 cat confdefs.h
>>conftest.
$ac_ext
3719 cat >>conftest.
$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3722 /* Override any gcc2 internal prototype to avoid an error. */
3726 /* We use char because int might match the return type of a gcc2
3727 builtin and then its argument prototype would still apply. */
3737 rm -f conftest.
$ac_objext conftest
$ac_exeext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3739 (eval $ac_link) 2>conftest.er1
3741 grep -v '^ *+' conftest.er1
>conftest.err
3743 cat conftest.err
>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try
='test -z "$ac_c_werror_flag"
3747 || test ! -s conftest.err'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; } &&
3753 { ac_try
='test -s conftest$ac_exeext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3759 ac_cv_search_strerror
="-l$ac_lib"
3762 echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.
$ac_ext >&5
3766 rm -f conftest.err conftest.
$ac_objext \
3767 conftest
$ac_exeext conftest.
$ac_ext
3770 LIBS
=$ac_func_search_save_LIBS
3772 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3773 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3774 if test "$ac_cv_search_strerror" != no
; then
3775 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
3779 # Check whether --enable-largefile or --disable-largefile was given.
3780 if test "${enable_largefile+set}" = set; then
3781 enableval
="$enable_largefile"
3784 if test "$enable_largefile" != no
; then
3786 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3787 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3788 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 ac_cv_sys_largefile_CC
=no
3792 if test "$GCC" != yes; then
3795 # IRIX 6.2 and later do not support large files by default,
3796 # so use the C compiler's -n32 option if that helps.
3797 cat >conftest.
$ac_ext <<_ACEOF
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 #include <sys/types.h>
3804 /* Check that off_t can represent 2**63 - 1 correctly.
3805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3806 since some C++ compilers masquerading as C compilers
3807 incorrectly reject 9223372036854775807. */
3808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3810 && LARGE_OFF_T % 2147483647 == 1)
3820 rm -f conftest.
$ac_objext
3821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3822 (eval $ac_compile) 2>conftest.er1
3824 grep -v '^ *+' conftest.er1
>conftest.err
3826 cat conftest.err
>&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } &&
3829 { ac_try
='test -z "$ac_c_werror_flag"
3830 || test ! -s conftest.err'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; } &&
3836 { ac_try
='test -s conftest.$ac_objext'
3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }; }; then
3844 echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.
$ac_ext >&5
3848 rm -f conftest.err conftest.
$ac_objext
3850 rm -f conftest.
$ac_objext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852 (eval $ac_compile) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag"
3860 || test ! -s conftest.err'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; } &&
3866 { ac_try
='test -s conftest.$ac_objext'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; }; then
3872 ac_cv_sys_largefile_CC
=' -n32'; break
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3878 rm -f conftest.err conftest.
$ac_objext
3882 rm -f conftest.
$ac_ext
3885 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3886 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3887 if test "$ac_cv_sys_largefile_CC" != no
; then
3888 CC
=$CC$ac_cv_sys_largefile_CC
3891 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3892 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3893 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 ac_cv_sys_file_offset_bits
=no
3898 cat >conftest.
$ac_ext <<_ACEOF
3901 cat confdefs.h
>>conftest.
$ac_ext
3902 cat >>conftest.
$ac_ext <<_ACEOF
3903 /* end confdefs.h. */
3904 #include <sys/types.h>
3905 /* Check that off_t can represent 2**63 - 1 correctly.
3906 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3907 since some C++ compilers masquerading as C compilers
3908 incorrectly reject 9223372036854775807. */
3909 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3910 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3911 && LARGE_OFF_T % 2147483647 == 1)
3921 rm -f conftest.
$ac_objext
3922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3923 (eval $ac_compile) 2>conftest.er1
3925 grep -v '^ *+' conftest.er1
>conftest.err
3927 cat conftest.err
>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try
='test -z "$ac_c_werror_flag"
3931 || test ! -s conftest.err'
3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; } &&
3937 { ac_try
='test -s conftest.$ac_objext'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.
$ac_ext >&5
3949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3950 cat >conftest.
$ac_ext <<_ACEOF
3953 cat confdefs.h
>>conftest.
$ac_ext
3954 cat >>conftest.
$ac_ext <<_ACEOF
3955 /* end confdefs.h. */
3956 #define _FILE_OFFSET_BITS 64
3957 #include <sys/types.h>
3958 /* Check that off_t can represent 2**63 - 1 correctly.
3959 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3960 since some C++ compilers masquerading as C compilers
3961 incorrectly reject 9223372036854775807. */
3962 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3964 && LARGE_OFF_T % 2147483647 == 1)
3974 rm -f conftest.
$ac_objext
3975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3976 (eval $ac_compile) 2>conftest.er1
3978 grep -v '^ *+' conftest.er1
>conftest.err
3980 cat conftest.err
>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } &&
3983 { ac_try
='test -z "$ac_c_werror_flag"
3984 || test ! -s conftest.err'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; } &&
3990 { ac_try
='test -s conftest.$ac_objext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3996 ac_cv_sys_file_offset_bits
=64; break
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.
$ac_ext >&5
4002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4006 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4007 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4008 if test "$ac_cv_sys_file_offset_bits" != no
; then
4010 cat >>confdefs.h
<<_ACEOF
4011 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4016 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4017 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4018 if test "${ac_cv_sys_large_files+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 ac_cv_sys_large_files
=no
4023 cat >conftest.
$ac_ext <<_ACEOF
4026 cat confdefs.h
>>conftest.
$ac_ext
4027 cat >>conftest.
$ac_ext <<_ACEOF
4028 /* end confdefs.h. */
4029 #include <sys/types.h>
4030 /* Check that off_t can represent 2**63 - 1 correctly.
4031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4032 since some C++ compilers masquerading as C compilers
4033 incorrectly reject 9223372036854775807. */
4034 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4036 && LARGE_OFF_T % 2147483647 == 1)
4046 rm -f conftest.
$ac_objext
4047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4048 (eval $ac_compile) 2>conftest.er1
4050 grep -v '^ *+' conftest.er1
>conftest.err
4052 cat conftest.err
>&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try
='test -z "$ac_c_werror_flag"
4056 || test ! -s conftest.err'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; } &&
4062 { ac_try
='test -s conftest.$ac_objext'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.
$ac_ext >&5
4074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4081 #define _LARGE_FILES 1
4082 #include <sys/types.h>
4083 /* Check that off_t can represent 2**63 - 1 correctly.
4084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4085 since some C++ compilers masquerading as C compilers
4086 incorrectly reject 9223372036854775807. */
4087 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4089 && LARGE_OFF_T % 2147483647 == 1)
4099 rm -f conftest.
$ac_objext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>conftest.er1
4103 grep -v '^ *+' conftest.er1
>conftest.err
4105 cat conftest.err
>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } &&
4108 { ac_try
='test -z "$ac_c_werror_flag"
4109 || test ! -s conftest.err'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; } &&
4115 { ac_try
='test -s conftest.$ac_objext'
4116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }; }; then
4121 ac_cv_sys_large_files
=1; break
4123 echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.
$ac_ext >&5
4127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4131 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4132 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4133 if test "$ac_cv_sys_large_files" != no
; then
4135 cat >>confdefs.h
<<_ACEOF
4136 #define _LARGE_FILES $ac_cv_sys_large_files
4143 echo "$as_me:$LINENO: checking for long file names" >&5
4144 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
4145 if test "${ac_cv_sys_long_file_names+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 ac_cv_sys_long_file_names
=yes
4149 # Test for long file names in all the places we know might matter:
4150 # . the current directory, where building will happen
4151 # $prefix/lib where we will be installing things
4152 # $exec_prefix/lib likewise
4153 # eval it to expand exec_prefix.
4154 # $TMPDIR if set, where it might want to write temporary files
4155 # if $TMPDIR is not set:
4156 # /tmp where it might want to write temporary files
4159 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4162 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4164 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4165 test -d $ac_dir ||
continue
4166 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
4167 ac_xdir
=$ac_dir/cf$$
4168 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
4169 ac_tf1
=$ac_xdir/conftest9012345
4170 ac_tf2
=$ac_xdir/conftest9012346
4171 (echo 1 >$ac_tf1) 2>/dev
/null
4172 (echo 2 >$ac_tf2) 2>/dev
/null
4173 ac_val
=`cat $ac_tf1 2>/dev/null`
4174 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
4175 ac_cv_sys_long_file_names
=no
4176 rm -rf $ac_xdir 2>/dev
/null
4179 rm -rf $ac_xdir 2>/dev
/null
4182 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
4183 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
4184 if test $ac_cv_sys_long_file_names = yes; then
4186 cat >>confdefs.h
<<\_ACEOF
4187 #define HAVE_LONG_FILE_NAMES 1
4193 echo "$as_me:$LINENO: checking whether -lcP is needed" >&5
4194 echo $ECHO_N "checking whether -lcP is needed... $ECHO_C" >&6
4195 if test "${sed_cv_libcp_needed+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 if test "$cross_compiling" = yes; then
4200 sed_cv_libcp_needed
="assuming no"
4202 cat >conftest.
$ac_ext <<_ACEOF
4205 cat confdefs.h
>>conftest.
$ac_ext
4206 cat >>conftest.
$ac_ext <<_ACEOF
4207 /* end confdefs.h. */
4217 fp = fopen ("conftest.c", "r");
4218 if (!fp) return 0; /* error, assume not needed */
4219 result = fflush (fp) == EOF && errno == 0;
4224 rm -f conftest
$ac_exeext
4225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4226 (eval $ac_link) 2>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 sed_cv_libcp_needed
=no
4237 echo "$as_me: program exited with status $ac_status" >&5
4238 echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.
$ac_ext >&5
4242 sed_cv_libcp_needed
=yes
4244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4248 echo "$as_me:$LINENO: result: $sed_cv_libcp_needed" >&5
4249 echo "${ECHO_T}$sed_cv_libcp_needed" >&6
4250 if test "$sed_cv_libcp_needed" = yes; then
4260 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4261 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4262 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4263 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 #include <sys/types.h>
4285 rm -f conftest.
$ac_objext
4286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4287 (eval $ac_compile) 2>conftest.er1
4289 grep -v '^ *+' conftest.er1
>conftest.err
4291 cat conftest.err
>&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } &&
4294 { ac_try
='test -z "$ac_c_werror_flag"
4295 || test ! -s conftest.err'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; } &&
4301 { ac_try
='test -s conftest.$ac_objext'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; }; then
4307 eval "$as_ac_Header=yes"
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.
$ac_ext >&5
4312 eval "$as_ac_Header=no"
4314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4319 cat >>confdefs.h
<<_ACEOF
4320 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4323 ac_header_dirent
=$ac_hdr; break
4327 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4328 if test $ac_header_dirent = dirent.h
; then
4329 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4330 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4331 if test "${ac_cv_search_opendir+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_func_search_save_LIBS
=$LIBS
4335 ac_cv_search_opendir
=no
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 /* Override any gcc2 internal prototype to avoid an error. */
4347 /* We use char because int might match the return type of a gcc2
4348 builtin and then its argument prototype would still apply. */
4358 rm -f conftest.
$ac_objext conftest
$ac_exeext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360 (eval $ac_link) 2>conftest.er1
4362 grep -v '^ *+' conftest.er1
>conftest.err
4364 cat conftest.err
>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try
='test -z "$ac_c_werror_flag"
4368 || test ! -s conftest.err'
4369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; } &&
4374 { ac_try
='test -s conftest$ac_exeext'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; }; then
4380 ac_cv_search_opendir
="none required"
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.
$ac_ext >&5
4386 rm -f conftest.err conftest.
$ac_objext \
4387 conftest
$ac_exeext conftest.
$ac_ext
4388 if test "$ac_cv_search_opendir" = no
; then
4389 for ac_lib
in dir
; do
4390 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4391 cat >conftest.
$ac_ext <<_ACEOF
4394 cat confdefs.h
>>conftest.
$ac_ext
4395 cat >>conftest.
$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4398 /* Override any gcc2 internal prototype to avoid an error. */
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4413 rm -f conftest.
$ac_objext conftest
$ac_exeext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 (eval $ac_link) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1
>conftest.err
4419 cat conftest.err
>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try
='test -z "$ac_c_werror_flag"
4423 || test ! -s conftest.err'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; } &&
4429 { ac_try
='test -s conftest$ac_exeext'
4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; }; then
4435 ac_cv_search_opendir
="-l$ac_lib"
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.
$ac_ext >&5
4442 rm -f conftest.err conftest.
$ac_objext \
4443 conftest
$ac_exeext conftest.
$ac_ext
4446 LIBS
=$ac_func_search_save_LIBS
4448 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4449 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4450 if test "$ac_cv_search_opendir" != no
; then
4451 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4456 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4457 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4458 if test "${ac_cv_search_opendir+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_func_search_save_LIBS
=$LIBS
4462 ac_cv_search_opendir
=no
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4470 /* Override any gcc2 internal prototype to avoid an error. */
4474 /* We use char because int might match the return type of a gcc2
4475 builtin and then its argument prototype would still apply. */
4485 rm -f conftest.
$ac_objext conftest
$ac_exeext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4487 (eval $ac_link) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try
='test -z "$ac_c_werror_flag"
4495 || test ! -s conftest.err'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; } &&
4501 { ac_try
='test -s conftest$ac_exeext'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; }; then
4507 ac_cv_search_opendir
="none required"
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.
$ac_ext >&5
4513 rm -f conftest.err conftest.
$ac_objext \
4514 conftest
$ac_exeext conftest.
$ac_ext
4515 if test "$ac_cv_search_opendir" = no
; then
4517 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4518 cat >conftest.
$ac_ext <<_ACEOF
4521 cat confdefs.h
>>conftest.
$ac_ext
4522 cat >>conftest.
$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4525 /* Override any gcc2 internal prototype to avoid an error. */
4529 /* We use char because int might match the return type of a gcc2
4530 builtin and then its argument prototype would still apply. */
4540 rm -f conftest.
$ac_objext conftest
$ac_exeext
4541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4542 (eval $ac_link) 2>conftest.er1
4544 grep -v '^ *+' conftest.er1
>conftest.err
4546 cat conftest.err
>&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); } &&
4549 { ac_try
='test -z "$ac_c_werror_flag"
4550 || test ! -s conftest.err'
4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; } &&
4556 { ac_try
='test -s conftest$ac_exeext'
4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }; }; then
4562 ac_cv_search_opendir
="-l$ac_lib"
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4569 rm -f conftest.err conftest.
$ac_objext \
4570 conftest
$ac_exeext conftest.
$ac_ext
4573 LIBS
=$ac_func_search_save_LIBS
4575 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4576 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4577 if test "$ac_cv_search_opendir" != no
; then
4578 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4595 for ac_header
in io.h limits.h locale.h stdarg.h alloca.h stddef.h errno.h \
4596 wchar.h wctype.h sys
/file.h mcheck.h
4598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4599 echo "$as_me:$LINENO: checking for $ac_header" >&5
4600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 cat >conftest.
$ac_ext <<_ACEOF
4607 cat confdefs.h
>>conftest.
$ac_ext
4608 cat >>conftest.
$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 $ac_includes_default
4612 #include <$ac_header>
4614 rm -f conftest.
$ac_objext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4616 (eval $ac_compile) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try
='test -z "$ac_c_werror_flag"
4624 || test ! -s conftest.err'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; } &&
4630 { ac_try
='test -s conftest.$ac_objext'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; }; then
4636 eval "$as_ac_Header=yes"
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.
$ac_ext >&5
4641 eval "$as_ac_Header=no"
4643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4648 cat >>confdefs.h
<<_ACEOF
4649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4656 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4657 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4658 if test "${ac_cv_c_const+set}" = set; then
4659 echo $ECHO_N "(cached) $ECHO_C" >&6
4661 cat >conftest.
$ac_ext <<_ACEOF
4664 cat confdefs.h
>>conftest.
$ac_ext
4665 cat >>conftest.
$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4671 /* FIXME: Include the comments suggested by Paul. */
4673 /* Ultrix mips cc rejects this. */
4674 typedef int charset[2];
4676 /* SunOS 4.1.1 cc rejects this. */
4677 char const *const *ccp;
4679 /* NEC SVR4.0.2 mips cc rejects this. */
4680 struct point {int x, y;};
4681 static struct point const zero = {0,0};
4682 /* AIX XL C 1.02.0.0 rejects this.
4683 It does not let you subtract one const X* pointer from another in
4684 an arm of an if-expression whose if-part is not a constant
4686 const char *g = "string";
4687 ccp = &g + (g ? g-g : 0);
4688 /* HPUX 7.0 cc rejects these. */
4691 ccp = (char const *const *) p;
4692 { /* SCO 3.2v4 cc rejects this. */
4694 char const *s = 0 ? (char *) 0 : (char const *) 0;
4698 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4700 const int *foo = &x[0];
4703 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4704 typedef const int *iptr;
4708 { /* AIX XL C 1.02.0.0 rejects this saying
4709 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4710 struct s { int j; const int *ap[3]; };
4711 struct s *b; b->j = 5;
4713 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4722 rm -f conftest.
$ac_objext
4723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4724 (eval $ac_compile) 2>conftest.er1
4726 grep -v '^ *+' conftest.er1
>conftest.err
4728 cat conftest.err
>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try
='test -z "$ac_c_werror_flag"
4732 || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try
='test -s conftest.$ac_objext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4754 echo "${ECHO_T}$ac_cv_c_const" >&6
4755 if test $ac_cv_c_const = no
; then
4757 cat >>confdefs.h
<<\_ACEOF
4763 echo "$as_me:$LINENO: checking for size_t" >&5
4764 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4765 if test "${ac_cv_type_size_t+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 cat >conftest.
$ac_ext <<_ACEOF
4771 cat confdefs.h
>>conftest.
$ac_ext
4772 cat >>conftest.
$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 $ac_includes_default
4780 if (sizeof (size_t))
4786 rm -f conftest.
$ac_objext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4788 (eval $ac_compile) 2>conftest.er1
4790 grep -v '^ *+' conftest.er1
>conftest.err
4792 cat conftest.err
>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try
='test -z "$ac_c_werror_flag"
4796 || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try
='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_cv_type_size_t
=yes
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 ac_cv_type_size_t
=no
4815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4817 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4818 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4819 if test $ac_cv_type_size_t = yes; then
4823 cat >>confdefs.h
<<_ACEOF
4824 #define size_t unsigned
4829 echo "$as_me:$LINENO: checking for ssize_t" >&5
4830 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4831 if test "${ac_cv_type_ssize_t+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 cat >conftest.
$ac_ext <<_ACEOF
4837 cat confdefs.h
>>conftest.
$ac_ext
4838 cat >>conftest.
$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4840 $ac_includes_default
4846 if (sizeof (ssize_t))
4852 rm -f conftest.
$ac_objext
4853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4854 (eval $ac_compile) 2>conftest.er1
4856 grep -v '^ *+' conftest.er1
>conftest.err
4858 cat conftest.err
>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } &&
4861 { ac_try
='test -z "$ac_c_werror_flag"
4862 || test ! -s conftest.err'
4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }; } &&
4868 { ac_try
='test -s conftest.$ac_objext'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; }; then
4874 ac_cv_type_ssize_t
=yes
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.
$ac_ext >&5
4879 ac_cv_type_ssize_t
=no
4881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4883 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4884 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4885 if test $ac_cv_type_ssize_t = yes; then
4889 cat >>confdefs.h
<<_ACEOF
4896 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4897 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
4898 if test "${ac_cv_header_stdbool_h+set}" = set; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 cat >conftest.
$ac_ext <<_ACEOF
4904 cat confdefs.h
>>conftest.
$ac_ext
4905 cat >>conftest.
$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4908 #include <stdbool.h>
4910 "error: bool is not defined"
4913 "error: false is not defined"
4916 "error: false is not 0"
4919 "error: false is not defined"
4922 "error: true is not 1"
4924 #ifndef __bool_true_false_are_defined
4925 "error: __bool_true_false_are_defined is not defined"
4928 struct s { _Bool s: 1; _Bool t; } s;
4930 char a[true == 1 ? 1 : -1];
4931 char b[false == 0 ? 1 : -1];
4932 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4933 char d[(bool) -0.5 == true ? 1 : -1];
4935 char f[(_Bool) -0.0 == false ? 1 : -1];
4937 char h[sizeof (_Bool)];
4943 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
4948 rm -f conftest.
$ac_objext
4949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4950 (eval $ac_compile) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1
>conftest.err
4954 cat conftest.err
>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try
='test -z "$ac_c_werror_flag"
4958 || test ! -s conftest.err'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try
='test -s conftest.$ac_objext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4970 ac_cv_header_stdbool_h
=yes
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.
$ac_ext >&5
4975 ac_cv_header_stdbool_h
=no
4977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4980 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
4981 echo "$as_me:$LINENO: checking for _Bool" >&5
4982 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
4983 if test "${ac_cv_type__Bool+set}" = set; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 cat >conftest.
$ac_ext <<_ACEOF
4989 cat confdefs.h
>>conftest.
$ac_ext
4990 cat >>conftest.
$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 $ac_includes_default
5004 rm -f conftest.
$ac_objext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5006 (eval $ac_compile) 2>conftest.er1
5008 grep -v '^ *+' conftest.er1
>conftest.err
5010 cat conftest.err
>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } &&
5013 { ac_try
='test -z "$ac_c_werror_flag"
5014 || test ! -s conftest.err'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; } &&
5020 { ac_try
='test -s conftest.$ac_objext'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; }; then
5026 ac_cv_type__Bool
=yes
5028 echo "$as_me: failed program was:" >&5
5029 sed 's/^/| /' conftest.
$ac_ext >&5
5033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5035 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5036 echo "${ECHO_T}$ac_cv_type__Bool" >&6
5037 if test $ac_cv_type__Bool = yes; then
5039 cat >>confdefs.h
<<_ACEOF
5040 #define HAVE__BOOL 1
5046 if test $ac_cv_header_stdbool_h = yes; then
5048 cat >>confdefs.h
<<\_ACEOF
5049 #define HAVE_STDBOOL_H 1
5053 if test "$ac_cv_type__Bool" = no
; then
5059 if test "$ac_cv_header_stdbool_h" = no
; then
5060 ac_config_files
="$ac_config_files lib/stdbool.h:lib/stdbool_.h"
5064 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5065 # for constant arguments. Useless!
5066 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5067 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5068 if test "${ac_cv_working_alloca_h+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 cat >conftest.
$ac_ext <<_ACEOF
5074 cat confdefs.h
>>conftest.
$ac_ext
5075 cat >>conftest.
$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5081 char *p = (char *) alloca (2 * sizeof (int));
5086 rm -f conftest.
$ac_objext conftest
$ac_exeext
5087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5088 (eval $ac_link) 2>conftest.er1
5090 grep -v '^ *+' conftest.er1
>conftest.err
5092 cat conftest.err
>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } &&
5095 { ac_try
='test -z "$ac_c_werror_flag"
5096 || test ! -s conftest.err'
5097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); }; } &&
5102 { ac_try
='test -s conftest$ac_exeext'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; }; then
5108 ac_cv_working_alloca_h
=yes
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5113 ac_cv_working_alloca_h
=no
5115 rm -f conftest.err conftest.
$ac_objext \
5116 conftest
$ac_exeext conftest.
$ac_ext
5118 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5119 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5120 if test $ac_cv_working_alloca_h = yes; then
5122 cat >>confdefs.h
<<\_ACEOF
5123 #define HAVE_ALLOCA_H 1
5128 echo "$as_me:$LINENO: checking for alloca" >&5
5129 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5130 if test "${ac_cv_func_alloca_works+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5140 # define alloca __builtin_alloca
5143 # include <malloc.h>
5144 # define alloca _alloca
5147 # include <alloca.h>
5152 # ifndef alloca /* predefined by HP cc +Olibcalls */
5163 char *p = (char *) alloca (1);
5168 rm -f conftest.
$ac_objext conftest
$ac_exeext
5169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5170 (eval $ac_link) 2>conftest.er1
5172 grep -v '^ *+' conftest.er1
>conftest.err
5174 cat conftest.err
>&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } &&
5177 { ac_try
='test -z "$ac_c_werror_flag"
5178 || test ! -s conftest.err'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; } &&
5184 { ac_try
='test -s conftest$ac_exeext'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; }; then
5190 ac_cv_func_alloca_works
=yes
5192 echo "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.
$ac_ext >&5
5195 ac_cv_func_alloca_works
=no
5197 rm -f conftest.err conftest.
$ac_objext \
5198 conftest
$ac_exeext conftest.
$ac_ext
5200 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5201 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5203 if test $ac_cv_func_alloca_works = yes; then
5205 cat >>confdefs.h
<<\_ACEOF
5206 #define HAVE_ALLOCA 1
5210 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5211 # that cause trouble. Some versions do not even contain alloca or
5212 # contain a buggy version. If you still want to use their alloca,
5213 # use ar to extract alloca.o from them instead of compiling alloca.c.
5215 ALLOCA
=alloca.
$ac_objext
5217 cat >>confdefs.h
<<\_ACEOF
5222 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5223 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5224 if test "${ac_cv_os_cray+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 #if defined(CRAY) && ! defined(CRAY2)
5240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241 $EGREP "webecray" >/dev
/null
2>&1; then
5249 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5250 echo "${ECHO_T}$ac_cv_os_cray" >&6
5251 if test $ac_cv_os_cray = yes; then
5252 for ac_func
in _getb67 GETB67 getb67
; do
5253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5254 echo "$as_me:$LINENO: checking for $ac_func" >&5
5255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5256 if eval "test \"\${$as_ac_var+set}\" = set"; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 cat >conftest.
$ac_ext <<_ACEOF
5262 cat confdefs.h
>>conftest.
$ac_ext
5263 cat >>conftest.
$ac_ext <<_ACEOF
5264 /* end confdefs.h. */
5265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5267 #define $ac_func innocuous_$ac_func
5269 /* System header to define __stub macros and hopefully few prototypes,
5270 which can conflict with char $ac_func (); below.
5271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5272 <limits.h> exists even on freestanding compilers. */
5275 # include <limits.h>
5277 # include <assert.h>
5282 /* Override any gcc2 internal prototype to avoid an error. */
5287 /* We use char because int might match the return type of a gcc2
5288 builtin and then its argument prototype would still apply. */
5290 /* The GNU C library defines this for functions which it implements
5291 to always fail with ENOSYS. Some functions are actually named
5292 something starting with __ and the normal name is an alias. */
5293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5296 char (*f) () = $ac_func;
5305 return f != $ac_func;
5310 rm -f conftest.
$ac_objext conftest
$ac_exeext
5311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5312 (eval $ac_link) 2>conftest.er1
5314 grep -v '^ *+' conftest.er1
>conftest.err
5316 cat conftest.err
>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } &&
5319 { ac_try
='test -z "$ac_c_werror_flag"
5320 || test ! -s conftest.err'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; } &&
5326 { ac_try
='test -s conftest$ac_exeext'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 eval "$as_ac_var=yes"
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.
$ac_ext >&5
5337 eval "$as_ac_var=no"
5339 rm -f conftest.err conftest.
$ac_objext \
5340 conftest
$ac_exeext conftest.
$ac_ext
5342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5344 if test `eval echo '${'$as_ac_var'}'` = yes; then
5346 cat >>confdefs.h
<<_ACEOF
5347 #define CRAY_STACKSEG_END $ac_func
5356 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5357 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5358 if test "${ac_cv_c_stack_direction+set}" = set; then
5359 echo $ECHO_N "(cached) $ECHO_C" >&6
5361 if test "$cross_compiling" = yes; then
5362 ac_cv_c_stack_direction
=0
5364 cat >conftest.
$ac_ext <<_ACEOF
5367 cat confdefs.h
>>conftest.
$ac_ext
5368 cat >>conftest.
$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5371 find_stack_direction ()
5373 static char *addr = 0;
5378 return find_stack_direction ();
5381 return (&dummy > addr) ? 1 : -1;
5387 exit (find_stack_direction () < 0);
5390 rm -f conftest
$ac_exeext
5391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5392 (eval $ac_link) 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_c_stack_direction
=1
5403 echo "$as_me: program exited with status $ac_status" >&5
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.
$ac_ext >&5
5408 ac_cv_c_stack_direction
=-1
5410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5413 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5414 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5416 cat >>confdefs.h
<<_ACEOF
5417 #define STACK_DIRECTION $ac_cv_c_stack_direction
5424 for ac_func
in vprintf
5426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5427 echo "$as_me:$LINENO: checking for $ac_func" >&5
5428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5429 if eval "test \"\${$as_ac_var+set}\" = set"; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 cat >conftest.
$ac_ext <<_ACEOF
5435 cat confdefs.h
>>conftest.
$ac_ext
5436 cat >>conftest.
$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5440 #define $ac_func innocuous_$ac_func
5442 /* System header to define __stub macros and hopefully few prototypes,
5443 which can conflict with char $ac_func (); below.
5444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5445 <limits.h> exists even on freestanding compilers. */
5448 # include <limits.h>
5450 # include <assert.h>
5455 /* Override any gcc2 internal prototype to avoid an error. */
5460 /* We use char because int might match the return type of a gcc2
5461 builtin and then its argument prototype would still apply. */
5463 /* The GNU C library defines this for functions which it implements
5464 to always fail with ENOSYS. Some functions are actually named
5465 something starting with __ and the normal name is an alias. */
5466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5469 char (*f) () = $ac_func;
5478 return f != $ac_func;
5483 rm -f conftest.
$ac_objext conftest
$ac_exeext
5484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5485 (eval $ac_link) 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_exeext'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5505 eval "$as_ac_var=yes"
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.
$ac_ext >&5
5510 eval "$as_ac_var=no"
5512 rm -f conftest.err conftest.
$ac_objext \
5513 conftest
$ac_exeext conftest.
$ac_ext
5515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5517 if test `eval echo '${'$as_ac_var'}'` = yes; then
5518 cat >>confdefs.h
<<_ACEOF
5519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5522 echo "$as_me:$LINENO: checking for _doprnt" >&5
5523 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5524 if test "${ac_cv_func__doprnt+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 cat >conftest.
$ac_ext <<_ACEOF
5530 cat confdefs.h
>>conftest.
$ac_ext
5531 cat >>conftest.
$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5533 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5535 #define _doprnt innocuous__doprnt
5537 /* System header to define __stub macros and hopefully few prototypes,
5538 which can conflict with char _doprnt (); below.
5539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5540 <limits.h> exists even on freestanding compilers. */
5543 # include <limits.h>
5545 # include <assert.h>
5550 /* Override any gcc2 internal prototype to avoid an error. */
5555 /* We use char because int might match the return type of a gcc2
5556 builtin and then its argument prototype would still apply. */
5558 /* The GNU C library defines this for functions which it implements
5559 to always fail with ENOSYS. Some functions are actually named
5560 something starting with __ and the normal name is an alias. */
5561 #if defined (__stub__doprnt) || defined (__stub____doprnt)
5564 char (*f) () = _doprnt;
5573 return f != _doprnt;
5578 rm -f conftest.
$ac_objext conftest
$ac_exeext
5579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5580 (eval $ac_link) 2>conftest.er1
5582 grep -v '^ *+' conftest.er1
>conftest.err
5584 cat conftest.err
>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } &&
5587 { ac_try
='test -z "$ac_c_werror_flag"
5588 || test ! -s conftest.err'
5589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; } &&
5594 { ac_try
='test -s conftest$ac_exeext'
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; }; then
5600 ac_cv_func__doprnt
=yes
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.
$ac_ext >&5
5605 ac_cv_func__doprnt
=no
5607 rm -f conftest.err conftest.
$ac_objext \
5608 conftest
$ac_exeext conftest.
$ac_ext
5610 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5611 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5612 if test $ac_cv_func__doprnt = yes; then
5614 cat >>confdefs.h
<<\_ACEOF
5615 #define HAVE_DOPRNT 1
5624 am_getline_needs_run_time_check
=no
5625 echo "$as_me:$LINENO: checking for getline" >&5
5626 echo $ECHO_N "checking for getline... $ECHO_C" >&6
5627 if test "${ac_cv_func_getline+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. */
5636 /* Define getline to an innocuous variant, in case <limits.h> declares getline.
5637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5638 #define getline innocuous_getline
5640 /* System header to define __stub macros and hopefully few prototypes,
5641 which can conflict with char getline (); below.
5642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5643 <limits.h> exists even on freestanding compilers. */
5646 # include <limits.h>
5648 # include <assert.h>
5653 /* Override any gcc2 internal prototype to avoid an error. */
5658 /* We use char because int might match the return type of a gcc2
5659 builtin and then its argument prototype would still apply. */
5661 /* The GNU C library defines this for functions which it implements
5662 to always fail with ENOSYS. Some functions are actually named
5663 something starting with __ and the normal name is an alias. */
5664 #if defined (__stub_getline) || defined (__stub___getline)
5667 char (*f) () = getline;
5676 return f != getline;
5681 rm -f conftest.
$ac_objext conftest
$ac_exeext
5682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5683 (eval $ac_link) 2>conftest.er1
5685 grep -v '^ *+' conftest.er1
>conftest.err
5687 cat conftest.err
>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } &&
5690 { ac_try
='test -z "$ac_c_werror_flag"
5691 || test ! -s conftest.err'
5692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; } &&
5697 { ac_try
='test -s conftest$ac_exeext'
5698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; }; then
5703 ac_cv_func_getline
=yes
5705 echo "$as_me: failed program was:" >&5
5706 sed 's/^/| /' conftest.
$ac_ext >&5
5708 ac_cv_func_getline
=no
5710 rm -f conftest.err conftest.
$ac_objext \
5711 conftest
$ac_exeext conftest.
$ac_ext
5713 echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5
5714 echo "${ECHO_T}$ac_cv_func_getline" >&6
5715 if test $ac_cv_func_getline = yes; then
5716 am_getline_needs_run_time_check
=yes
5718 am_cv_func_working_getline
=no
5721 if test $am_getline_needs_run_time_check = yes; then
5722 echo "$as_me:$LINENO: checking for working getline function" >&5
5723 echo $ECHO_N "checking for working getline function... $ECHO_C" >&6
5724 if test "${am_cv_func_working_getline+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 echo fooN |
tr -d '\012'|
tr N
'\012' > conftest.data
5728 if test "$cross_compiling" = yes; then
5729 am_cv_func_working_getline
=no
5731 cat >conftest.
$ac_ext <<_ACEOF
5734 cat confdefs.h
>>conftest.
$ac_ext
5735 cat >>conftest.
$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5739 # include <sys/types.h>
5740 # include <string.h>
5742 { /* Based on a test program from Karl Heuer. */
5746 FILE *in = fopen ("./conftest.data", "r");
5749 len = getline (&line, &siz, in);
5750 exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
5754 rm -f conftest
$ac_exeext
5755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5756 (eval $ac_link) 2>&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; }; then
5765 am_cv_func_working_getline
=yes
5767 echo "$as_me: program exited with status $ac_status" >&5
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.
$ac_ext >&5
5772 am_cv_func_working_getline
=no
5774 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5777 echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5
5778 echo "${ECHO_T}$am_cv_func_working_getline" >&6
5781 if test $am_cv_func_working_getline = no
; then
5783 "getline.$ac_objext" | \
5784 *" getline.$ac_objext" | \
5785 "getline.$ac_objext "* | \
5786 *" getline.$ac_objext "* ) ;;
5787 *) LIBOBJS
="$LIBOBJS getline.$ac_objext" ;;
5792 echo "$as_me:$LINENO: checking for obstacks" >&5
5793 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
5794 if test "${ac_cv_func_obstack+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5803 #include "obstack.h"
5807 struct obstack *mem; obstack_free(mem,(char *) 0)
5812 rm -f conftest.
$ac_objext conftest
$ac_exeext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814 (eval $ac_link) 2>conftest.er1
5816 grep -v '^ *+' conftest.er1
>conftest.err
5818 cat conftest.err
>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -z "$ac_c_werror_flag"
5822 || test ! -s conftest.err'
5823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); }; } &&
5828 { ac_try
='test -s conftest$ac_exeext'
5829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }; }; then
5834 ac_cv_func_obstack
=yes
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.
$ac_ext >&5
5839 ac_cv_func_obstack
=no
5841 rm -f conftest.err conftest.
$ac_objext \
5842 conftest
$ac_exeext conftest.
$ac_ext
5844 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
5845 echo "${ECHO_T}$ac_cv_func_obstack" >&6
5846 if test $ac_cv_func_obstack = yes; then
5848 cat >>confdefs.h
<<\_ACEOF
5849 #define HAVE_OBSTACK 1
5854 "obstack.$ac_objext" | \
5855 *" obstack.$ac_objext" | \
5856 "obstack.$ac_objext "* | \
5857 *" obstack.$ac_objext "* ) ;;
5858 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
5864 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
5865 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
5866 if test "${ac_cv_func_mbrtowc+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5879 mbstate_t state; return ! (sizeof state && mbrtowc);
5884 rm -f conftest.
$ac_objext conftest
$ac_exeext
5885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5886 (eval $ac_link) 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } &&
5893 { ac_try
='test -z "$ac_c_werror_flag"
5894 || test ! -s conftest.err'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; } &&
5900 { ac_try
='test -s conftest$ac_exeext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 ac_cv_func_mbrtowc
=yes
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5911 ac_cv_func_mbrtowc
=no
5913 rm -f conftest.err conftest.
$ac_objext \
5914 conftest
$ac_exeext conftest.
$ac_ext
5916 echo "$as_me:$LINENO: result: $ac_cv_func_mbrtowc" >&5
5917 echo "${ECHO_T}$ac_cv_func_mbrtowc" >&6
5918 if test $ac_cv_func_mbrtowc = yes; then
5920 cat >>confdefs.h
<<\_ACEOF
5921 #define HAVE_MBRTOWC 1
5926 echo "$as_me:$LINENO: checking for mbstate_t" >&5
5927 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
5928 if test "${ac_cv_type_mbstate_t+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 cat >conftest.
$ac_ext <<_ACEOF
5934 cat confdefs.h
>>conftest.
$ac_ext
5935 cat >>conftest.
$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5937 $ac_includes_default
5942 mbstate_t x; return sizeof x;
5947 rm -f conftest.
$ac_objext
5948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5949 (eval $ac_compile) 2>conftest.er1
5951 grep -v '^ *+' conftest.er1
>conftest.err
5953 cat conftest.err
>&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } &&
5956 { ac_try
='test -z "$ac_c_werror_flag"
5957 || test ! -s conftest.err'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; } &&
5963 { ac_try
='test -s conftest.$ac_objext'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; }; then
5969 ac_cv_type_mbstate_t
=yes
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5974 ac_cv_type_mbstate_t
=no
5976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
5979 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
5980 if test $ac_cv_type_mbstate_t = yes; then
5982 cat >>confdefs.h
<<\_ACEOF
5983 #define HAVE_MBSTATE_T 1
5988 cat >>confdefs.h
<<\_ACEOF
5989 #define mbstate_t int
5997 for ac_func
in strverscmp
5999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6000 echo "$as_me:$LINENO: checking for $ac_func" >&5
6001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6002 if eval "test \"\${$as_ac_var+set}\" = set"; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 cat >conftest.
$ac_ext <<_ACEOF
6008 cat confdefs.h
>>conftest.
$ac_ext
6009 cat >>conftest.
$ac_ext <<_ACEOF
6010 /* end confdefs.h. */
6011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6013 #define $ac_func innocuous_$ac_func
6015 /* System header to define __stub macros and hopefully few prototypes,
6016 which can conflict with char $ac_func (); below.
6017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6018 <limits.h> exists even on freestanding compilers. */
6021 # include <limits.h>
6023 # include <assert.h>
6028 /* Override any gcc2 internal prototype to avoid an error. */
6033 /* We use char because int might match the return type of a gcc2
6034 builtin and then its argument prototype would still apply. */
6036 /* The GNU C library defines this for functions which it implements
6037 to always fail with ENOSYS. Some functions are actually named
6038 something starting with __ and the normal name is an alias. */
6039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6042 char (*f) () = $ac_func;
6051 return f != $ac_func;
6056 rm -f conftest.
$ac_objext conftest
$ac_exeext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6058 (eval $ac_link) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest$ac_exeext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 eval "$as_ac_var=yes"
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 eval "$as_ac_var=no"
6085 rm -f conftest.err conftest.
$ac_objext \
6086 conftest
$ac_exeext conftest.
$ac_ext
6088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6090 if test `eval echo '${'$as_ac_var'}'` = yes; then
6091 cat >>confdefs.h
<<_ACEOF
6092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6097 "$ac_func.$ac_objext" | \
6098 *" $ac_func.$ac_objext" | \
6099 "$ac_func.$ac_objext "* | \
6100 *" $ac_func.$ac_objext "* ) ;;
6101 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
6108 if test $ac_cv_func_strverscmp = no
; then
6119 for ac_func
in memchr memcmp memmove strerror mkstemp
6121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6122 echo "$as_me:$LINENO: checking for $ac_func" >&5
6123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6124 if eval "test \"\${$as_ac_var+set}\" = set"; then
6125 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 cat >conftest.
$ac_ext <<_ACEOF
6130 cat confdefs.h
>>conftest.
$ac_ext
6131 cat >>conftest.
$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6135 #define $ac_func innocuous_$ac_func
6137 /* System header to define __stub macros and hopefully few prototypes,
6138 which can conflict with char $ac_func (); below.
6139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6140 <limits.h> exists even on freestanding compilers. */
6143 # include <limits.h>
6145 # include <assert.h>
6150 /* Override any gcc2 internal prototype to avoid an error. */
6155 /* We use char because int might match the return type of a gcc2
6156 builtin and then its argument prototype would still apply. */
6158 /* The GNU C library defines this for functions which it implements
6159 to always fail with ENOSYS. Some functions are actually named
6160 something starting with __ and the normal name is an alias. */
6161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6164 char (*f) () = $ac_func;
6173 return f != $ac_func;
6178 rm -f conftest.
$ac_objext conftest
$ac_exeext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6180 (eval $ac_link) 2>conftest.er1
6182 grep -v '^ *+' conftest.er1
>conftest.err
6184 cat conftest.err
>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } &&
6187 { ac_try
='test -z "$ac_c_werror_flag"
6188 || test ! -s conftest.err'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; } &&
6194 { ac_try
='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 eval "$as_ac_var=yes"
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.
$ac_ext >&5
6205 eval "$as_ac_var=no"
6207 rm -f conftest.err conftest.
$ac_objext \
6208 conftest
$ac_exeext conftest.
$ac_ext
6210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6212 if test `eval echo '${'$as_ac_var'}'` = yes; then
6213 cat >>confdefs.h
<<_ACEOF
6214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6219 "$ac_func.$ac_objext" | \
6220 *" $ac_func.$ac_objext" | \
6221 "$ac_func.$ac_objext "* | \
6222 *" $ac_func.$ac_objext "* ) ;;
6223 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
6247 for ac_func
in isatty bcopy bzero isascii memcpy memset strchr strtoul popen \
6248 pathconf isblank fchown fchmod setlocale wcrtomb wcscoll btowc
6250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6251 echo "$as_me:$LINENO: checking for $ac_func" >&5
6252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6253 if eval "test \"\${$as_ac_var+set}\" = set"; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 cat >conftest.
$ac_ext <<_ACEOF
6259 cat confdefs.h
>>conftest.
$ac_ext
6260 cat >>conftest.
$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6264 #define $ac_func innocuous_$ac_func
6266 /* System header to define __stub macros and hopefully few prototypes,
6267 which can conflict with char $ac_func (); below.
6268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6269 <limits.h> exists even on freestanding compilers. */
6272 # include <limits.h>
6274 # include <assert.h>
6279 /* Override any gcc2 internal prototype to avoid an error. */
6284 /* We use char because int might match the return type of a gcc2
6285 builtin and then its argument prototype would still apply. */
6287 /* The GNU C library defines this for functions which it implements
6288 to always fail with ENOSYS. Some functions are actually named
6289 something starting with __ and the normal name is an alias. */
6290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6293 char (*f) () = $ac_func;
6302 return f != $ac_func;
6307 rm -f conftest.
$ac_objext conftest
$ac_exeext
6308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6309 (eval $ac_link) 2>conftest.er1
6311 grep -v '^ *+' conftest.er1
>conftest.err
6313 cat conftest.err
>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } &&
6316 { ac_try
='test -z "$ac_c_werror_flag"
6317 || test ! -s conftest.err'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; } &&
6323 { ac_try
='test -s conftest$ac_exeext'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; }; then
6329 eval "$as_ac_var=yes"
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.
$ac_ext >&5
6334 eval "$as_ac_var=no"
6336 rm -f conftest.err conftest.
$ac_objext \
6337 conftest
$ac_exeext conftest.
$ac_ext
6339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6341 if test `eval echo '${'$as_ac_var'}'` = yes; then
6342 cat >>confdefs.h
<<_ACEOF
6343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6350 # Check whether --enable-i18n or --disable-i18n was given.
6351 if test "${enable_i18n+set}" = set; then
6352 enableval
="$enable_i18n"
6357 if test "x$enable_i18n" = xno
; then
6358 ac_cv_func_wcscoll
=false
6362 # Check whether --with-included-regex or --without-included-regex was given.
6363 if test "${with_included_regex+set}" = set; then
6364 withval
="$with_included_regex"
6367 with_included_regex
=yes
6370 if test "x$with_included_regex" = xno
; then
6372 for ac_header
in regex.h
6374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6376 echo "$as_me:$LINENO: checking for $ac_header" >&5
6377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6384 # Is the header compilable?
6385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6387 cat >conftest.
$ac_ext <<_ACEOF
6390 cat confdefs.h
>>conftest.
$ac_ext
6391 cat >>conftest.
$ac_ext <<_ACEOF
6392 /* end confdefs.h. */
6393 $ac_includes_default
6394 #include <$ac_header>
6396 rm -f conftest.
$ac_objext
6397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6398 (eval $ac_compile) 2>conftest.er1
6400 grep -v '^ *+' conftest.er1
>conftest.err
6402 cat conftest.err
>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } &&
6405 { ac_try
='test -z "$ac_c_werror_flag"
6406 || test ! -s conftest.err'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; } &&
6412 { ac_try
='test -s conftest.$ac_objext'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; }; then
6418 ac_header_compiler
=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.
$ac_ext >&5
6423 ac_header_compiler
=no
6425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6427 echo "${ECHO_T}$ac_header_compiler" >&6
6429 # Is the header present?
6430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6432 cat >conftest.
$ac_ext <<_ACEOF
6435 cat confdefs.h
>>conftest.
$ac_ext
6436 cat >>conftest.
$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6438 #include <$ac_header>
6440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6441 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6443 grep -v '^ *+' conftest.er1
>conftest.err
6445 cat conftest.err
>&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } >/dev
/null
; then
6448 if test -s conftest.err
; then
6449 ac_cpp_err
=$ac_c_preproc_warn_flag
6450 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6457 if test -z "$ac_cpp_err"; then
6458 ac_header_preproc
=yes
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.
$ac_ext >&5
6463 ac_header_preproc
=no
6465 rm -f conftest.err conftest.
$ac_ext
6466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6467 echo "${ECHO_T}$ac_header_preproc" >&6
6469 # So? What about this header?
6470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6476 ac_header_preproc
=yes
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6493 ## ------------------------------ ##
6494 ## Report this to bonzini@gnu.org ##
6495 ## ------------------------------ ##
6498 sed "s/^/$as_me: WARNING: /" >&2
6501 echo "$as_me:$LINENO: checking for $ac_header" >&5
6502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 eval "$as_ac_Header=\$ac_header_preproc"
6508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6513 cat >>confdefs.h
<<_ACEOF
6514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6522 echo "$as_me:$LINENO: checking for re_search in -lregex" >&5
6523 echo $ECHO_N "checking for re_search in -lregex... $ECHO_C" >&6
6524 if test "${ac_cv_lib_regex_re_search+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 ac_check_lib_save_LIBS
=$LIBS
6528 LIBS
="-lregex $LIBS"
6529 cat >conftest.
$ac_ext <<_ACEOF
6532 cat confdefs.h
>>conftest.
$ac_ext
6533 cat >>conftest.
$ac_ext <<_ACEOF
6534 /* end confdefs.h. */
6536 /* Override any gcc2 internal prototype to avoid an error. */
6540 /* We use char because int might match the return type of a gcc2
6541 builtin and then its argument prototype would still apply. */
6551 rm -f conftest.
$ac_objext conftest
$ac_exeext
6552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6553 (eval $ac_link) 2>conftest.er1
6555 grep -v '^ *+' conftest.er1
>conftest.err
6557 cat conftest.err
>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try
='test -z "$ac_c_werror_flag"
6561 || test ! -s conftest.err'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; } &&
6567 { ac_try
='test -s conftest$ac_exeext'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then
6573 ac_cv_lib_regex_re_search
=yes
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.
$ac_ext >&5
6578 ac_cv_lib_regex_re_search
=no
6580 rm -f conftest.err conftest.
$ac_objext \
6581 conftest
$ac_exeext conftest.
$ac_ext
6582 LIBS
=$ac_check_lib_save_LIBS
6584 echo "$as_me:$LINENO: result: $ac_cv_lib_regex_re_search" >&5
6585 echo "${ECHO_T}$ac_cv_lib_regex_re_search" >&6
6586 if test $ac_cv_lib_regex_re_search = yes; then
6587 cat >>confdefs.h
<<_ACEOF
6588 #define HAVE_LIBREGEX 1
6591 LIBS
="-lregex $LIBS"
6595 echo "$as_me:$LINENO: checking for re_search" >&5
6596 echo $ECHO_N "checking for re_search... $ECHO_C" >&6
6597 if test "${ac_cv_func_re_search+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 cat >conftest.
$ac_ext <<_ACEOF
6603 cat confdefs.h
>>conftest.
$ac_ext
6604 cat >>conftest.
$ac_ext <<_ACEOF
6605 /* end confdefs.h. */
6606 /* Define re_search to an innocuous variant, in case <limits.h> declares re_search.
6607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6608 #define re_search innocuous_re_search
6610 /* System header to define __stub macros and hopefully few prototypes,
6611 which can conflict with char re_search (); below.
6612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6613 <limits.h> exists even on freestanding compilers. */
6616 # include <limits.h>
6618 # include <assert.h>
6623 /* Override any gcc2 internal prototype to avoid an error. */
6628 /* We use char because int might match the return type of a gcc2
6629 builtin and then its argument prototype would still apply. */
6631 /* The GNU C library defines this for functions which it implements
6632 to always fail with ENOSYS. Some functions are actually named
6633 something starting with __ and the normal name is an alias. */
6634 #if defined (__stub_re_search) || defined (__stub___re_search)
6637 char (*f) () = re_search;
6646 return f != re_search;
6651 rm -f conftest.
$ac_objext conftest
$ac_exeext
6652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6653 (eval $ac_link) 2>conftest.er1
6655 grep -v '^ *+' conftest.er1
>conftest.err
6657 cat conftest.err
>&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); } &&
6660 { ac_try
='test -z "$ac_c_werror_flag"
6661 || test ! -s conftest.err'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; } &&
6667 { ac_try
='test -s conftest$ac_exeext'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; }; then
6673 ac_cv_func_re_search
=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.
$ac_ext >&5
6678 ac_cv_func_re_search
=no
6680 rm -f conftest.err conftest.
$ac_objext \
6681 conftest
$ac_exeext conftest.
$ac_ext
6683 echo "$as_me:$LINENO: result: $ac_cv_func_re_search" >&5
6684 echo "${ECHO_T}$ac_cv_func_re_search" >&6
6686 if test $ac_cv_header_regex_h = no ||
test $ac_cv_func_re_search = no
; then
6687 { echo "$as_me:$LINENO: WARNING: GNU regex not found, falling back to the included version" >&5
6688 echo "$as_me: WARNING: GNU regex not found, falling back to the included version" >&2;}
6689 with_included_regex
=yes
6693 # Check whether --enable-regex-tests or --disable-regex-tests was given.
6694 if test "${enable_regex_tests+set}" = set; then
6695 enableval
="$enable_regex_tests"
6696 if test "x$with_included_regex" = xno
; then
6697 enable_regex_tests
=no
6700 enable_regex_tests
=$with_included_regex
6705 if test "x$enable_regex_tests" != xno
; then
6707 TEST_REGEX_FALSE
='#'
6713 if test "x$with_included_regex" != xno
; then
6714 ac_config_links
="$ac_config_links lib/regex.h:lib/regex_.h"
6717 "regex.$ac_objext" | \
6718 *" regex.$ac_objext" | \
6719 "regex.$ac_objext "* | \
6720 *" regex.$ac_objext "* ) ;;
6721 *) LIBOBJS
="$LIBOBJS regex.$ac_objext" ;;
6725 if test "x$enable_regex_tests" = xyes
; then
6727 cat >>confdefs.h
<<_ACEOF
6728 #define _REGEX_RE_COMP 1
6733 # Check whether --enable-html or --disable-html was given.
6734 if test "${enable_html+set}" = set; then
6735 enableval
="$enable_html"
6743 if test "x$enable_html" != xno
; then
6745 BUILD_HTML_FALSE
='#'
6752 : ${TEXI2HTML=texi2html -monolithic}
6755 echo "$as_me:$LINENO: checking how to build HTML documentation" >&5
6756 echo $ECHO_N "checking how to build HTML documentation... $ECHO_C" >&6
6757 if eval $am_missing_run makeinfo
--help 2>&1 |
grep .
-html > /dev
/null
; then
6758 echo "$as_me:$LINENO: result: with makeinfo" >&5
6759 echo "${ECHO_T}with makeinfo" >&6
6760 enable_html
=makeinfo
6762 if $TEXI2HTML --help 2>&1 |
grep monolithic
> /dev
/null
; then
6763 echo "$as_me:$LINENO: result: with texi2html" >&5
6764 echo "${ECHO_T}with texi2html" >&6
6765 enable_html
=texi2html
6767 echo "$as_me:$LINENO: result: not built" >&5
6768 echo "${ECHO_T}not built" >&6
6769 if test "x$enable_html" != xno
; then
6770 { { echo "$as_me:$LINENO: error: cannot build HTML documentation" >&5
6771 echo "$as_me: error: cannot build HTML documentation" >&2;}
6772 { (exit install makeinfo
4.0 or texi2html
); exit install makeinfo
4.0 or texi2html
; }; }
6780 if test "x$enable_html" = xmakeinfo
; then
6782 MAKEINFO_HTML_FALSE
='#'
6784 MAKEINFO_HTML_TRUE
='#'
6785 MAKEINFO_HTML_FALSE
=
6790 if test "x$enable_html" = xtexi2html
; then
6791 TEXI2HTML_HTML_TRUE
=
6792 TEXI2HTML_HTML_FALSE
='#'
6794 TEXI2HTML_HTML_TRUE
='#'
6795 TEXI2HTML_HTML_FALSE
=
6802 MKINSTALLDIRS
="$mkdir_p"
6806 # Extract the first word of "msgfmt", so it can be a program name with args.
6807 set dummy msgfmt
; ac_word
=$2
6808 echo "$as_me:$LINENO: checking for $ac_word" >&5
6809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6810 if test "${ac_cv_path_MSGFMT+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6815 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6818 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6819 for ac_dir
in $PATH; do
6820 test -z "$ac_dir" && ac_dir
=.
6821 if test -f $ac_dir/$ac_word; then
6822 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
6823 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6824 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6830 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6834 MSGFMT
="$ac_cv_path_MSGFMT"
6835 if test "$MSGFMT" != ":"; then
6836 echo "$as_me:$LINENO: result: $MSGFMT" >&5
6837 echo "${ECHO_T}$MSGFMT" >&6
6839 echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6
6843 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6844 set dummy gmsgfmt
; ac_word
=$2
6845 echo "$as_me:$LINENO: checking for $ac_word" >&5
6846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6847 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6852 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6859 test -z "$as_dir" && as_dir
=.
6860 for ac_exec_ext
in '' $ac_executable_extensions; do
6861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6873 GMSGFMT
=$ac_cv_path_GMSGFMT
6875 if test -n "$GMSGFMT"; then
6876 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6877 echo "${ECHO_T}$GMSGFMT" >&6
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6884 # Extract the first word of "xgettext", so it can be a program name with args.
6885 set dummy xgettext
; ac_word
=$2
6886 echo "$as_me:$LINENO: checking for $ac_word" >&5
6887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6888 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6896 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6897 for ac_dir
in $PATH; do
6898 test -z "$ac_dir" && ac_dir
=.
6899 if test -f $ac_dir/$ac_word; then
6900 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
6901 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6902 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6908 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6912 XGETTEXT
="$ac_cv_path_XGETTEXT"
6913 if test "$XGETTEXT" != ":"; then
6914 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6915 echo "${ECHO_T}$XGETTEXT" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6923 # Extract the first word of "msgmerge", so it can be a program name with args.
6924 set dummy msgmerge
; ac_word
=$2
6925 echo "$as_me:$LINENO: checking for $ac_word" >&5
6926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6927 if test "${ac_cv_path_MSGMERGE+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6935 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6936 for ac_dir
in $PATH; do
6937 test -z "$ac_dir" && ac_dir
=.
6938 if test -f $ac_dir/$ac_word; then
6939 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6940 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
6946 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6950 MSGMERGE
="$ac_cv_path_MSGMERGE"
6951 if test "$MSGMERGE" != ":"; then
6952 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
6953 echo "${ECHO_T}$MSGMERGE" >&6
6955 echo "$as_me:$LINENO: result: no" >&5
6956 echo "${ECHO_T}no" >&6
6960 if test "$GMSGFMT" != ":"; then
6961 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6962 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6965 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6966 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6967 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
6972 if test "$XGETTEXT" != ":"; then
6973 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
6974 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6977 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6978 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6984 ac_config_commands
="$ac_config_commands default-1"
6987 # Make sure we can run config.sub.
6988 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6989 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6990 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6991 { (exit 1); exit 1; }; }
6993 echo "$as_me:$LINENO: checking build system type" >&5
6994 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6995 if test "${ac_cv_build+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 ac_cv_build_alias
=$build_alias
6999 test -z "$ac_cv_build_alias" &&
7000 ac_cv_build_alias
=`$ac_config_guess`
7001 test -z "$ac_cv_build_alias" &&
7002 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7003 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7004 { (exit 1); exit 1; }; }
7005 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7006 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7007 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7008 { (exit 1); exit 1; }; }
7011 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7012 echo "${ECHO_T}$ac_cv_build" >&6
7014 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7015 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7016 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7019 echo "$as_me:$LINENO: checking host system type" >&5
7020 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7021 if test "${ac_cv_host+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 ac_cv_host_alias
=$host_alias
7025 test -z "$ac_cv_host_alias" &&
7026 ac_cv_host_alias
=$ac_cv_build_alias
7027 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7028 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7029 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7030 { (exit 1); exit 1; }; }
7033 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7034 echo "${ECHO_T}$ac_cv_host" >&6
7036 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7037 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7038 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7041 echo "$as_me:$LINENO: checking for inline" >&5
7042 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7043 if test "${ac_cv_c_inline+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7047 for ac_kw
in inline __inline__ __inline
; do
7048 cat >conftest.
$ac_ext <<_ACEOF
7051 cat confdefs.h
>>conftest.
$ac_ext
7052 cat >>conftest.
$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7056 static $ac_kw foo_t static_foo () {return 0; }
7057 $ac_kw foo_t foo () {return 0; }
7061 rm -f conftest.
$ac_objext
7062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7063 (eval $ac_compile) 2>conftest.er1
7065 grep -v '^ *+' conftest.er1
>conftest.err
7067 cat conftest.err
>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); } &&
7070 { ac_try
='test -z "$ac_c_werror_flag"
7071 || test ! -s conftest.err'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; } &&
7077 { ac_try
='test -s conftest.$ac_objext'
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; }; then
7083 ac_cv_c_inline
=$ac_kw; break
7085 echo "$as_me: failed program was:" >&5
7086 sed 's/^/| /' conftest.
$ac_ext >&5
7089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7093 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7094 echo "${ECHO_T}$ac_cv_c_inline" >&6
7097 case $ac_cv_c_inline in
7100 case $ac_cv_c_inline in
7102 *) ac_val
=$ac_cv_c_inline;;
7104 cat >>confdefs.h
<<_ACEOF
7106 #define inline $ac_val
7112 echo "$as_me:$LINENO: checking for off_t" >&5
7113 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7114 if test "${ac_cv_type_off_t+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 $ac_includes_default
7135 rm -f conftest.
$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137 (eval $ac_compile) 2>conftest.er1
7139 grep -v '^ *+' conftest.er1
>conftest.err
7141 cat conftest.err
>&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try
='test -z "$ac_c_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try
='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_cv_type_off_t
=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.
$ac_ext >&5
7164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7166 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7167 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7168 if test $ac_cv_type_off_t = yes; then
7172 cat >>confdefs.h
<<_ACEOF
7180 for ac_header
in stdlib.h unistd.h
7182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7184 echo "$as_me:$LINENO: checking for $ac_header" >&5
7185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7192 # Is the header compilable?
7193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7195 cat >conftest.
$ac_ext <<_ACEOF
7198 cat confdefs.h
>>conftest.
$ac_ext
7199 cat >>conftest.
$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7201 $ac_includes_default
7202 #include <$ac_header>
7204 rm -f conftest.
$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206 (eval $ac_compile) 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } &&
7213 { ac_try
='test -z "$ac_c_werror_flag"
7214 || test ! -s conftest.err'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; } &&
7220 { ac_try
='test -s conftest.$ac_objext'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; }; then
7226 ac_header_compiler
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_header_compiler
=no
7233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7235 echo "${ECHO_T}$ac_header_compiler" >&6
7237 # Is the header present?
7238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7240 cat >conftest.
$ac_ext <<_ACEOF
7243 cat confdefs.h
>>conftest.
$ac_ext
7244 cat >>conftest.
$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7246 #include <$ac_header>
7248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7251 grep -v '^ *+' conftest.er1
>conftest.err
7253 cat conftest.err
>&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } >/dev
/null
; then
7256 if test -s conftest.err
; then
7257 ac_cpp_err
=$ac_c_preproc_warn_flag
7258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7265 if test -z "$ac_cpp_err"; then
7266 ac_header_preproc
=yes
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.
$ac_ext >&5
7271 ac_header_preproc
=no
7273 rm -f conftest.err conftest.
$ac_ext
7274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7275 echo "${ECHO_T}$ac_header_preproc" >&6
7277 # So? What about this header?
7278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7284 ac_header_preproc
=yes
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7301 ## ------------------------------ ##
7302 ## Report this to bonzini@gnu.org ##
7303 ## ------------------------------ ##
7306 sed "s/^/$as_me: WARNING: /" >&2
7309 echo "$as_me:$LINENO: checking for $ac_header" >&5
7310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 eval "$as_ac_Header=\$ac_header_preproc"
7316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7321 cat >>confdefs.h
<<_ACEOF
7322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7330 for ac_func
in getpagesize
7332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7333 echo "$as_me:$LINENO: checking for $ac_func" >&5
7334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7335 if eval "test \"\${$as_ac_var+set}\" = set"; then
7336 echo $ECHO_N "(cached) $ECHO_C" >&6
7338 cat >conftest.
$ac_ext <<_ACEOF
7341 cat confdefs.h
>>conftest.
$ac_ext
7342 cat >>conftest.
$ac_ext <<_ACEOF
7343 /* end confdefs.h. */
7344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7346 #define $ac_func innocuous_$ac_func
7348 /* System header to define __stub macros and hopefully few prototypes,
7349 which can conflict with char $ac_func (); below.
7350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7351 <limits.h> exists even on freestanding compilers. */
7354 # include <limits.h>
7356 # include <assert.h>
7361 /* Override any gcc2 internal prototype to avoid an error. */
7366 /* We use char because int might match the return type of a gcc2
7367 builtin and then its argument prototype would still apply. */
7369 /* The GNU C library defines this for functions which it implements
7370 to always fail with ENOSYS. Some functions are actually named
7371 something starting with __ and the normal name is an alias. */
7372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7375 char (*f) () = $ac_func;
7384 return f != $ac_func;
7389 rm -f conftest.
$ac_objext conftest
$ac_exeext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7391 (eval $ac_link) 2>conftest.er1
7393 grep -v '^ *+' conftest.er1
>conftest.err
7395 cat conftest.err
>&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } &&
7398 { ac_try
='test -z "$ac_c_werror_flag"
7399 || test ! -s conftest.err'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; } &&
7405 { ac_try
='test -s conftest$ac_exeext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then
7411 eval "$as_ac_var=yes"
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.
$ac_ext >&5
7416 eval "$as_ac_var=no"
7418 rm -f conftest.err conftest.
$ac_objext \
7419 conftest
$ac_exeext conftest.
$ac_ext
7421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7423 if test `eval echo '${'$as_ac_var'}'` = yes; then
7424 cat >>confdefs.h
<<_ACEOF
7425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7431 echo "$as_me:$LINENO: checking for working mmap" >&5
7432 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7433 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 if test "$cross_compiling" = yes; then
7437 ac_cv_func_mmap_fixed_mapped
=no
7439 cat >conftest.
$ac_ext <<_ACEOF
7442 cat confdefs.h
>>conftest.
$ac_ext
7443 cat >>conftest.
$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7445 $ac_includes_default
7446 /* malloc might have been renamed as rpl_malloc. */
7449 /* Thanks to Mike Haertel and Jim Avera for this test.
7450 Here is a matrix of mmap possibilities:
7451 mmap private not fixed
7452 mmap private fixed at somewhere currently unmapped
7453 mmap private fixed at somewhere already mapped
7454 mmap shared not fixed
7455 mmap shared fixed at somewhere currently unmapped
7456 mmap shared fixed at somewhere already mapped
7457 For private mappings, we should verify that changes cannot be read()
7458 back from the file, nor mmap's back from the file at a different
7459 address. (There have been systems where private was not correctly
7460 implemented like the infamous i386 svr4.0, and systems where the
7461 VM page cache was not coherent with the file system buffer cache
7462 like early versions of FreeBSD and possibly contemporary NetBSD.)
7463 For shared mappings, we should conversely verify that changes get
7464 propagated back to all the places they're supposed to be.
7466 Grep wants private fixed already mapped.
7467 The main things grep needs to know about mmap are:
7468 * does it exist and is it safe to write into the mmap'd area
7469 * how to use it (BSD variants) */
7472 #include <sys/mman.h>
7474 #if !STDC_HEADERS && !HAVE_STDLIB_H
7478 /* This mess was copied from the GNU getpagesize.h. */
7479 #if !HAVE_GETPAGESIZE
7480 /* Assume that all systems that can run configure have sys/param.h. */
7481 # if !HAVE_SYS_PARAM_H
7482 # define HAVE_SYS_PARAM_H 1
7485 # ifdef _SC_PAGESIZE
7486 # define getpagesize() sysconf(_SC_PAGESIZE)
7487 # else /* no _SC_PAGESIZE */
7488 # if HAVE_SYS_PARAM_H
7489 # include <sys/param.h>
7490 # ifdef EXEC_PAGESIZE
7491 # define getpagesize() EXEC_PAGESIZE
7492 # else /* no EXEC_PAGESIZE */
7494 # define getpagesize() NBPG * CLSIZE
7497 # endif /* no CLSIZE */
7498 # else /* no NBPG */
7500 # define getpagesize() NBPC
7501 # else /* no NBPC */
7503 # define getpagesize() PAGESIZE
7504 # endif /* PAGESIZE */
7505 # endif /* no NBPC */
7506 # endif /* no NBPG */
7507 # endif /* no EXEC_PAGESIZE */
7508 # else /* no HAVE_SYS_PARAM_H */
7509 # define getpagesize() 8192 /* punt totally */
7510 # endif /* no HAVE_SYS_PARAM_H */
7511 # endif /* no _SC_PAGESIZE */
7513 #endif /* no HAVE_GETPAGESIZE */
7518 char *data, *data2, *data3;
7522 pagesize = getpagesize ();
7524 /* First, make a file with some known garbage in it. */
7525 data = (char *) malloc (pagesize);
7528 for (i = 0; i < pagesize; ++i)
7529 *(data + i) = rand ();
7531 fd = creat ("conftest.mmap", 0600);
7534 if (write (fd, data, pagesize) != pagesize)
7538 /* Next, try to mmap the file at a fixed address which already has
7539 something else allocated at it. If we can, also make sure that
7540 we see the same garbage. */
7541 fd = open ("conftest.mmap", O_RDWR);
7544 data2 = (char *) malloc (2 * pagesize);
7547 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7548 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7549 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7551 for (i = 0; i < pagesize; ++i)
7552 if (*(data + i) != *(data2 + i))
7555 /* Finally, make sure that changes to the mapped area do not
7556 percolate back to the file as seen by read(). (This is a bug on
7557 some variants of i386 svr4.0.) */
7558 for (i = 0; i < pagesize; ++i)
7559 *(data2 + i) = *(data2 + i) + 1;
7560 data3 = (char *) malloc (pagesize);
7563 if (read (fd, data3, pagesize) != pagesize)
7565 for (i = 0; i < pagesize; ++i)
7566 if (*(data + i) != *(data3 + i))
7572 rm -f conftest
$ac_exeext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7574 (eval $ac_link) 2>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; }; then
7583 ac_cv_func_mmap_fixed_mapped
=yes
7585 echo "$as_me: program exited with status $ac_status" >&5
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.
$ac_ext >&5
7590 ac_cv_func_mmap_fixed_mapped
=no
7592 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7595 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7596 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7597 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7599 cat >>confdefs.h
<<\_ACEOF
7607 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
7608 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7609 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7610 echo $ECHO_N "(cached) $ECHO_C" >&6
7612 cat >conftest.
$ac_ext <<_ACEOF
7615 cat confdefs.h
>>conftest.
$ac_ext
7616 cat >>conftest.
$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7619 #include <features.h>
7620 #ifdef __GNU_LIBRARY__
7621 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
7629 ac_cv_gnu_library_2_1
=yes
7631 ac_cv_gnu_library_2_1
=no
7638 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
7639 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7641 GLIBC21
="$ac_cv_gnu_library_2_1"
7645 if test "X$prefix" = "XNONE"; then
7646 acl_final_prefix
="$ac_default_prefix"
7648 acl_final_prefix
="$prefix"
7650 if test "X$exec_prefix" = "XNONE"; then
7651 acl_final_exec_prefix
='${prefix}'
7653 acl_final_exec_prefix
="$exec_prefix"
7655 acl_save_prefix
="$prefix"
7656 prefix
="$acl_final_prefix"
7657 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7658 prefix
="$acl_save_prefix"
7661 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7662 if test "${with_gnu_ld+set}" = set; then
7663 withval
="$with_gnu_ld"
7664 test "$withval" = no || with_gnu_ld
=yes
7669 if test "$GCC" = yes; then
7670 # Check if gcc -print-prog-name=ld gives a path.
7671 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7672 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7675 # gcc leaves a trailing carriage return which upsets mingw
7676 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7678 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7681 # Accept absolute paths.
7682 [\\/]* |
[A-Za-z
]:[\\/]*)
7683 re_direlt
='/[^/][^/]*/\.\./'
7684 # Canonicalize the path of ld
7685 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7686 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7687 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7689 test -z "$LD" && LD
="$ac_prog"
7692 # If it fails, then pretend we aren't using GCC.
7696 # If it is relative, then search for the first ld in PATH.
7700 elif test "$with_gnu_ld" = yes; then
7701 echo "$as_me:$LINENO: checking for GNU ld" >&5
7702 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7704 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7705 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7707 if test "${acl_cv_path_LD+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 if test -z "$LD"; then
7711 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7712 for ac_dir
in $PATH; do
7713 test -z "$ac_dir" && ac_dir
=.
7714 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7715 acl_cv_path_LD
="$ac_dir/$ac_prog"
7716 # Check to see if the program is GNU ld. I'd rather use --version,
7717 # but apparently some GNU ld's only accept -v.
7718 # Break only if it was the GNU/non-GNU ld that we prefer.
7719 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7720 test "$with_gnu_ld" != no
&& break
7722 test "$with_gnu_ld" != yes && break
7728 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7732 LD
="$acl_cv_path_LD"
7733 if test -n "$LD"; then
7734 echo "$as_me:$LINENO: result: $LD" >&5
7735 echo "${ECHO_T}$LD" >&6
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7740 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7741 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7742 { (exit 1); exit 1; }; }
7743 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7744 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7745 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7749 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7750 acl_cv_prog_gnu_ld
=yes
7752 acl_cv_prog_gnu_ld
=no
7755 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7756 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7757 with_gnu_ld
=$acl_cv_prog_gnu_ld
7761 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7762 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7763 if test "${acl_cv_rpath+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7768 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7774 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7775 echo "${ECHO_T}$acl_cv_rpath" >&6
7777 libext
="$acl_cv_libext"
7778 shlibext
="$acl_cv_shlibext"
7779 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7780 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7781 hardcode_direct
="$acl_cv_hardcode_direct"
7782 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7783 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
7784 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
7795 acl_save_prefix
="$prefix"
7796 prefix
="$acl_final_prefix"
7797 acl_save_exec_prefix
="$exec_prefix"
7798 exec_prefix
="$acl_final_exec_prefix"
7800 eval additional_includedir
=\"$includedir\"
7801 eval additional_libdir
=\"$libdir\"
7803 exec_prefix
="$acl_save_exec_prefix"
7804 prefix
="$acl_save_prefix"
7807 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7808 if test "${with_libiconv_prefix+set}" = set; then
7809 withval
="$with_libiconv_prefix"
7811 if test "X$withval" = "Xno"; then
7814 if test "X$withval" = "X"; then
7816 acl_save_prefix
="$prefix"
7817 prefix
="$acl_final_prefix"
7818 acl_save_exec_prefix
="$exec_prefix"
7819 exec_prefix
="$acl_final_exec_prefix"
7821 eval additional_includedir
=\"$includedir\"
7822 eval additional_libdir
=\"$libdir\"
7824 exec_prefix
="$acl_save_exec_prefix"
7825 prefix
="$acl_save_prefix"
7828 additional_includedir
="$withval/include"
7829 additional_libdir
="$withval/lib"
7839 names_already_handled
=
7840 names_next_round
='iconv '
7841 while test -n "$names_next_round"; do
7842 names_this_round
="$names_next_round"
7844 for name
in $names_this_round; do
7846 for n
in $names_already_handled; do
7847 if test "$n" = "$name"; then
7852 if test -z "$already_handled"; then
7853 names_already_handled
="$names_already_handled $name"
7854 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7855 eval value
=\"\
$HAVE_LIB$uppername\"
7856 if test -n "$value"; then
7857 if test "$value" = yes; then
7858 eval value
=\"\
$LIB$uppername\"
7859 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7860 eval value
=\"\
$LTLIB$uppername\"
7861 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7870 if test $use_additional = yes; then
7871 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7872 found_dir
="$additional_libdir"
7873 found_so
="$additional_libdir/lib$name.$shlibext"
7874 if test -f "$additional_libdir/lib$name.la"; then
7875 found_la
="$additional_libdir/lib$name.la"
7878 if test -f "$additional_libdir/lib$name.$libext"; then
7879 found_dir
="$additional_libdir"
7880 found_a
="$additional_libdir/lib$name.$libext"
7881 if test -f "$additional_libdir/lib$name.la"; then
7882 found_la
="$additional_libdir/lib$name.la"
7887 if test "X$found_dir" = "X"; then
7888 for x
in $LDFLAGS $LTLIBICONV; do
7890 acl_save_prefix
="$prefix"
7891 prefix
="$acl_final_prefix"
7892 acl_save_exec_prefix
="$exec_prefix"
7893 exec_prefix
="$acl_final_exec_prefix"
7895 exec_prefix
="$acl_save_exec_prefix"
7896 prefix
="$acl_save_prefix"
7900 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7901 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7903 found_so
="$dir/lib$name.$shlibext"
7904 if test -f "$dir/lib$name.la"; then
7905 found_la
="$dir/lib$name.la"
7908 if test -f "$dir/lib$name.$libext"; then
7910 found_a
="$dir/lib$name.$libext"
7911 if test -f "$dir/lib$name.la"; then
7912 found_la
="$dir/lib$name.la"
7918 if test "X$found_dir" != "X"; then
7923 if test "X$found_dir" != "X"; then
7924 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7925 if test "X$found_so" != "X"; then
7926 if test "X$found_dir" = "X/usr/lib"; then
7927 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7930 for x
in $ltrpathdirs; do
7931 if test "X$x" = "X$found_dir"; then
7936 if test -z "$haveit"; then
7937 ltrpathdirs
="$ltrpathdirs $found_dir"
7939 if test "$hardcode_direct" = yes; then
7940 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7942 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7943 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7945 for x
in $rpathdirs; do
7946 if test "X$x" = "X$found_dir"; then
7951 if test -z "$haveit"; then
7952 rpathdirs
="$rpathdirs $found_dir"
7956 for x
in $LDFLAGS $LIBICONV; do
7958 acl_save_prefix
="$prefix"
7959 prefix
="$acl_final_prefix"
7960 acl_save_exec_prefix
="$exec_prefix"
7961 exec_prefix
="$acl_final_exec_prefix"
7963 exec_prefix
="$acl_save_exec_prefix"
7964 prefix
="$acl_save_prefix"
7966 if test "X$x" = "X-L$found_dir"; then
7971 if test -z "$haveit"; then
7972 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7974 if test "$hardcode_minus_L" != no
; then
7975 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7977 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7983 if test "X$found_a" != "X"; then
7984 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7986 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7989 additional_includedir
=
7990 case "$found_dir" in
7992 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7993 additional_includedir
="$basedir/include"
7996 if test "X$additional_includedir" != "X"; then
7997 if test "X$additional_includedir" != "X/usr/include"; then
7999 if test "X$additional_includedir" = "X/usr/local/include"; then
8000 if test -n "$GCC"; then
8002 linux
*) haveit
=yes;;
8006 if test -z "$haveit"; then
8007 for x
in $CPPFLAGS $INCICONV; do
8009 acl_save_prefix
="$prefix"
8010 prefix
="$acl_final_prefix"
8011 acl_save_exec_prefix
="$exec_prefix"
8012 exec_prefix
="$acl_final_exec_prefix"
8014 exec_prefix
="$acl_save_exec_prefix"
8015 prefix
="$acl_save_prefix"
8017 if test "X$x" = "X-I$additional_includedir"; then
8022 if test -z "$haveit"; then
8023 if test -d "$additional_includedir"; then
8024 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8030 if test -n "$found_la"; then
8031 save_libdir
="$libdir"
8033 */* |
*\\*) .
"$found_la" ;;
8034 *) .
"./$found_la" ;;
8036 libdir
="$save_libdir"
8037 for dep
in $dependency_libs; do
8040 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8041 if test "X$additional_libdir" != "X/usr/lib"; then
8043 if test "X$additional_libdir" = "X/usr/local/lib"; then
8044 if test -n "$GCC"; then
8046 linux
*) haveit
=yes;;
8050 if test -z "$haveit"; then
8052 for x
in $LDFLAGS $LIBICONV; do
8054 acl_save_prefix
="$prefix"
8055 prefix
="$acl_final_prefix"
8056 acl_save_exec_prefix
="$exec_prefix"
8057 exec_prefix
="$acl_final_exec_prefix"
8059 exec_prefix
="$acl_save_exec_prefix"
8060 prefix
="$acl_save_prefix"
8062 if test "X$x" = "X-L$additional_libdir"; then
8067 if test -z "$haveit"; then
8068 if test -d "$additional_libdir"; then
8069 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8073 for x
in $LDFLAGS $LTLIBICONV; do
8075 acl_save_prefix
="$prefix"
8076 prefix
="$acl_final_prefix"
8077 acl_save_exec_prefix
="$exec_prefix"
8078 exec_prefix
="$acl_final_exec_prefix"
8080 exec_prefix
="$acl_save_exec_prefix"
8081 prefix
="$acl_save_prefix"
8083 if test "X$x" = "X-L$additional_libdir"; then
8088 if test -z "$haveit"; then
8089 if test -d "$additional_libdir"; then
8090 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8097 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8100 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8103 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8104 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8110 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8111 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8117 if test "X$rpathdirs" != "X"; then
8118 if test -n "$hardcode_libdir_separator"; then
8120 for found_dir
in $rpathdirs; do
8121 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8123 acl_save_libdir
="$libdir"
8125 eval flag
=\"$hardcode_libdir_flag_spec\"
8126 libdir
="$acl_save_libdir"
8127 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8129 for found_dir
in $rpathdirs; do
8130 acl_save_libdir
="$libdir"
8132 eval flag
=\"$hardcode_libdir_flag_spec\"
8133 libdir
="$acl_save_libdir"
8134 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8138 if test "X$ltrpathdirs" != "X"; then
8139 for found_dir
in $ltrpathdirs; do
8140 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8145 am_save_CPPFLAGS
="$CPPFLAGS"
8147 for element
in $INCICONV; do
8149 for x
in $CPPFLAGS; do
8151 acl_save_prefix
="$prefix"
8152 prefix
="$acl_final_prefix"
8153 acl_save_exec_prefix
="$exec_prefix"
8154 exec_prefix
="$acl_final_exec_prefix"
8156 exec_prefix
="$acl_save_exec_prefix"
8157 prefix
="$acl_save_prefix"
8159 if test "X$x" = "X$element"; then
8164 if test -z "$haveit"; then
8165 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8170 echo "$as_me:$LINENO: checking for iconv" >&5
8171 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8172 if test "${am_cv_func_iconv+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 am_cv_func_iconv
="no, consider installing GNU libiconv"
8178 cat >conftest.
$ac_ext <<_ACEOF
8181 cat confdefs.h
>>conftest.
$ac_ext
8182 cat >>conftest.
$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8189 iconv_t cd = iconv_open("","");
8190 iconv(cd,NULL,NULL,NULL,NULL);
8196 rm -f conftest.
$ac_objext conftest
$ac_exeext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8198 (eval $ac_link) 2>conftest.er1
8200 grep -v '^ *+' conftest.er1
>conftest.err
8202 cat conftest.err
>&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try
='test -z "$ac_c_werror_flag"
8206 || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try
='test -s conftest$ac_exeext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 am_cv_func_iconv
=yes
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8224 rm -f conftest.err conftest.
$ac_objext \
8225 conftest
$ac_exeext conftest.
$ac_ext
8226 if test "$am_cv_func_iconv" != yes; then
8227 am_save_LIBS
="$LIBS"
8228 LIBS
="$LIBS $LIBICONV"
8229 cat >conftest.
$ac_ext <<_ACEOF
8232 cat confdefs.h
>>conftest.
$ac_ext
8233 cat >>conftest.
$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8240 iconv_t cd = iconv_open("","");
8241 iconv(cd,NULL,NULL,NULL,NULL);
8247 rm -f conftest.
$ac_objext conftest
$ac_exeext
8248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8249 (eval $ac_link) 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } &&
8256 { ac_try
='test -z "$ac_c_werror_flag"
8257 || test ! -s conftest.err'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; } &&
8263 { ac_try
='test -s conftest$ac_exeext'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; }; then
8270 am_cv_func_iconv
=yes
8272 echo "$as_me: failed program was:" >&5
8273 sed 's/^/| /' conftest.
$ac_ext >&5
8276 rm -f conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 LIBS
="$am_save_LIBS"
8282 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8283 echo "${ECHO_T}$am_cv_func_iconv" >&6
8284 if test "$am_cv_func_iconv" = yes; then
8286 cat >>confdefs.h
<<\_ACEOF
8287 #define HAVE_ICONV 1
8291 if test "$am_cv_lib_iconv" = yes; then
8292 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8293 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8294 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8295 echo "${ECHO_T}$LIBICONV" >&6
8297 CPPFLAGS
="$am_save_CPPFLAGS"
8316 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
8317 stdlib.h string.h unistd.h sys
/param.h
8319 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8321 echo "$as_me:$LINENO: checking for $ac_header" >&5
8322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8329 # Is the header compilable?
8330 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8331 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8332 cat >conftest.
$ac_ext <<_ACEOF
8335 cat confdefs.h
>>conftest.
$ac_ext
8336 cat >>conftest.
$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8338 $ac_includes_default
8339 #include <$ac_header>
8341 rm -f conftest.
$ac_objext
8342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8343 (eval $ac_compile) 2>conftest.er1
8345 grep -v '^ *+' conftest.er1
>conftest.err
8347 cat conftest.err
>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } &&
8350 { ac_try
='test -z "$ac_c_werror_flag"
8351 || test ! -s conftest.err'
8352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); }; } &&
8357 { ac_try
='test -s conftest.$ac_objext'
8358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); }; }; then
8363 ac_header_compiler
=yes
8365 echo "$as_me: failed program was:" >&5
8366 sed 's/^/| /' conftest.
$ac_ext >&5
8368 ac_header_compiler
=no
8370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8372 echo "${ECHO_T}$ac_header_compiler" >&6
8374 # Is the header present?
8375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8377 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8383 #include <$ac_header>
8385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8388 grep -v '^ *+' conftest.er1
>conftest.err
8390 cat conftest.err
>&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } >/dev
/null
; then
8393 if test -s conftest.err
; then
8394 ac_cpp_err
=$ac_c_preproc_warn_flag
8395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8402 if test -z "$ac_cpp_err"; then
8403 ac_header_preproc
=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8408 ac_header_preproc
=no
8410 rm -f conftest.err conftest.
$ac_ext
8411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8412 echo "${ECHO_T}$ac_header_preproc" >&6
8414 # So? What about this header?
8415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8421 ac_header_preproc
=yes
8424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8438 ## ------------------------------ ##
8439 ## Report this to bonzini@gnu.org ##
8440 ## ------------------------------ ##
8443 sed "s/^/$as_me: WARNING: /" >&2
8446 echo "$as_me:$LINENO: checking for $ac_header" >&5
8447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 eval "$as_ac_Header=\$ac_header_preproc"
8453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8458 cat >>confdefs.h
<<_ACEOF
8459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8487 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
8488 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
8489 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
8491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8492 echo "$as_me:$LINENO: checking for $ac_func" >&5
8493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8494 if eval "test \"\${$as_ac_var+set}\" = set"; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8505 #define $ac_func innocuous_$ac_func
8507 /* System header to define __stub macros and hopefully few prototypes,
8508 which can conflict with char $ac_func (); below.
8509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8510 <limits.h> exists even on freestanding compilers. */
8513 # include <limits.h>
8515 # include <assert.h>
8520 /* Override any gcc2 internal prototype to avoid an error. */
8525 /* We use char because int might match the return type of a gcc2
8526 builtin and then its argument prototype would still apply. */
8528 /* The GNU C library defines this for functions which it implements
8529 to always fail with ENOSYS. Some functions are actually named
8530 something starting with __ and the normal name is an alias. */
8531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8534 char (*f) () = $ac_func;
8543 return f != $ac_func;
8548 rm -f conftest.
$ac_objext conftest
$ac_exeext
8549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8550 (eval $ac_link) 2>conftest.er1
8552 grep -v '^ *+' conftest.er1
>conftest.err
8554 cat conftest.err
>&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } &&
8557 { ac_try
='test -z "$ac_c_werror_flag"
8558 || test ! -s conftest.err'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; } &&
8564 { ac_try
='test -s conftest$ac_exeext'
8565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
8570 eval "$as_ac_var=yes"
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.
$ac_ext >&5
8575 eval "$as_ac_var=no"
8577 rm -f conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8582 if test `eval echo '${'$as_ac_var'}'` = yes; then
8583 cat >>confdefs.h
<<_ACEOF
8584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8593 if test "$am_cv_func_iconv" = yes; then
8594 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8595 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8596 if test "${am_cv_proto_iconv+set}" = set; then
8597 echo $ECHO_N "(cached) $ECHO_C" >&6
8600 cat >conftest.
$ac_ext <<_ACEOF
8603 cat confdefs.h
>>conftest.
$ac_ext
8604 cat >>conftest.
$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8613 #if defined(__STDC__) || defined(__cplusplus)
8614 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8627 rm -f conftest.
$ac_objext
8628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8629 (eval $ac_compile) 2>conftest.er1
8631 grep -v '^ *+' conftest.er1
>conftest.err
8633 cat conftest.err
>&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); } &&
8636 { ac_try
='test -z "$ac_c_werror_flag"
8637 || test ! -s conftest.err'
8638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); }; } &&
8643 { ac_try
='test -s conftest.$ac_objext'
8644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); }; }; then
8649 am_cv_proto_iconv_arg1
=""
8651 echo "$as_me: failed program was:" >&5
8652 sed 's/^/| /' conftest.
$ac_ext >&5
8654 am_cv_proto_iconv_arg1
="const"
8656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8657 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
8660 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8661 echo "$as_me:$LINENO: result: ${ac_t:-
8662 }$am_cv_proto_iconv" >&5
8663 echo "${ECHO_T}${ac_t:-
8664 }$am_cv_proto_iconv" >&6
8666 cat >>confdefs.h
<<_ACEOF
8667 #define ICONV_CONST $am_cv_proto_iconv_arg1
8673 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8674 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8675 if test "${am_cv_langinfo_codeset+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 cat >conftest.
$ac_ext <<_ACEOF
8681 cat confdefs.h
>>conftest.
$ac_ext
8682 cat >>conftest.
$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 #include <langinfo.h>
8688 char* cs = nl_langinfo(CODESET);
8693 rm -f conftest.
$ac_objext conftest
$ac_exeext
8694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8695 (eval $ac_link) 2>conftest.er1
8697 grep -v '^ *+' conftest.er1
>conftest.err
8699 cat conftest.err
>&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } &&
8702 { ac_try
='test -z "$ac_c_werror_flag"
8703 || test ! -s conftest.err'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; } &&
8709 { ac_try
='test -s conftest$ac_exeext'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; }; then
8715 am_cv_langinfo_codeset
=yes
8717 echo "$as_me: failed program was:" >&5
8718 sed 's/^/| /' conftest.
$ac_ext >&5
8720 am_cv_langinfo_codeset
=no
8722 rm -f conftest.err conftest.
$ac_objext \
8723 conftest
$ac_exeext conftest.
$ac_ext
8726 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
8727 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
8728 if test $am_cv_langinfo_codeset = yes; then
8730 cat >>confdefs.h
<<\_ACEOF
8731 #define HAVE_LANGINFO_CODESET 1
8736 if test $ac_cv_header_locale_h = yes; then
8737 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8738 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8739 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 cat >conftest.
$ac_ext <<_ACEOF
8745 cat confdefs.h
>>conftest.
$ac_ext
8746 cat >>conftest.
$ac_ext <<_ACEOF
8747 /* end confdefs.h. */
8757 rm -f conftest.
$ac_objext conftest
$ac_exeext
8758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8759 (eval $ac_link) 2>conftest.er1
8761 grep -v '^ *+' conftest.er1
>conftest.err
8763 cat conftest.err
>&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } &&
8766 { ac_try
='test -z "$ac_c_werror_flag"
8767 || test ! -s conftest.err'
8768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); }; } &&
8773 { ac_try
='test -s conftest$ac_exeext'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; }; then
8779 am_cv_val_LC_MESSAGES
=yes
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.
$ac_ext >&5
8784 am_cv_val_LC_MESSAGES
=no
8786 rm -f conftest.err conftest.
$ac_objext \
8787 conftest
$ac_exeext conftest.
$ac_ext
8789 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8790 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8791 if test $am_cv_val_LC_MESSAGES = yes; then
8793 cat >>confdefs.h
<<\_ACEOF
8794 #define HAVE_LC_MESSAGES 1
8800 for ac_prog
in bison
8802 # Extract the first word of "$ac_prog", so it can be a program name with args.
8803 set dummy
$ac_prog; ac_word
=$2
8804 echo "$as_me:$LINENO: checking for $ac_word" >&5
8805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8806 if test "${ac_cv_prog_INTLBISON+set}" = set; then
8807 echo $ECHO_N "(cached) $ECHO_C" >&6
8809 if test -n "$INTLBISON"; then
8810 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
8812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir
=.
8817 for ac_exec_ext
in '' $ac_executable_extensions; do
8818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_INTLBISON
="$ac_prog"
8820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8828 INTLBISON
=$ac_cv_prog_INTLBISON
8829 if test -n "$INTLBISON"; then
8830 echo "$as_me:$LINENO: result: $INTLBISON" >&5
8831 echo "${ECHO_T}$INTLBISON" >&6
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8837 test -n "$INTLBISON" && break
8840 if test -z "$INTLBISON"; then
8843 echo "$as_me:$LINENO: checking version of bison" >&5
8844 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8845 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8846 case $ac_prog_version in
8847 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
8848 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
8849 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
8850 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
8852 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
8853 echo "${ECHO_T}$ac_prog_version" >&6
8855 if test $ac_verc_fail = yes; then
8871 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8872 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8873 # Check whether --enable-nls or --disable-nls was given.
8874 if test "${enable_nls+set}" = set; then
8875 enableval
="$enable_nls"
8880 echo "$as_me:$LINENO: result: $USE_NLS" >&5
8881 echo "${ECHO_T}$USE_NLS" >&6
8885 BUILD_INCLUDED_LIBINTL
=no
8886 USE_INCLUDED_LIBINTL
=no
8892 if test "$USE_NLS" = "yes"; then
8893 gt_use_preinstalled_gnugettext
=no
8895 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8896 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8898 # Check whether --with-included-gettext or --without-included-gettext was given.
8899 if test "${with_included_gettext+set}" = set; then
8900 withval
="$with_included_gettext"
8901 nls_cv_force_use_gnu_gettext
=$withval
8903 nls_cv_force_use_gnu_gettext
=no
8905 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8906 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8908 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
8909 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8916 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8917 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
8918 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 cat >conftest.
$ac_ext <<_ACEOF
8924 cat confdefs.h
>>conftest.
$ac_ext
8925 cat >>conftest.
$ac_ext <<_ACEOF
8926 /* end confdefs.h. */
8927 #include <libintl.h>
8928 extern int _nl_msg_cat_cntr;
8932 bindtextdomain ("", "");
8933 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8938 rm -f conftest.
$ac_objext conftest
$ac_exeext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8940 (eval $ac_link) 2>conftest.er1
8942 grep -v '^ *+' conftest.er1
>conftest.err
8944 cat conftest.err
>&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } &&
8947 { ac_try
='test -z "$ac_c_werror_flag"
8948 || test ! -s conftest.err'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; } &&
8954 { ac_try
='test -s conftest$ac_exeext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 gt_cv_func_gnugettext2_libc
=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8965 gt_cv_func_gnugettext2_libc
=no
8967 rm -f conftest.err conftest.
$ac_objext \
8968 conftest
$ac_exeext conftest.
$ac_ext
8970 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
8971 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
8973 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
8979 acl_save_prefix
="$prefix"
8980 prefix
="$acl_final_prefix"
8981 acl_save_exec_prefix
="$exec_prefix"
8982 exec_prefix
="$acl_final_exec_prefix"
8984 eval additional_includedir
=\"$includedir\"
8985 eval additional_libdir
=\"$libdir\"
8987 exec_prefix
="$acl_save_exec_prefix"
8988 prefix
="$acl_save_prefix"
8991 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
8992 if test "${with_libintl_prefix+set}" = set; then
8993 withval
="$with_libintl_prefix"
8995 if test "X$withval" = "Xno"; then
8998 if test "X$withval" = "X"; then
9000 acl_save_prefix
="$prefix"
9001 prefix
="$acl_final_prefix"
9002 acl_save_exec_prefix
="$exec_prefix"
9003 exec_prefix
="$acl_final_exec_prefix"
9005 eval additional_includedir
=\"$includedir\"
9006 eval additional_libdir
=\"$libdir\"
9008 exec_prefix
="$acl_save_exec_prefix"
9009 prefix
="$acl_save_prefix"
9012 additional_includedir
="$withval/include"
9013 additional_libdir
="$withval/lib"
9023 names_already_handled
=
9024 names_next_round
='intl '
9025 while test -n "$names_next_round"; do
9026 names_this_round
="$names_next_round"
9028 for name
in $names_this_round; do
9030 for n
in $names_already_handled; do
9031 if test "$n" = "$name"; then
9036 if test -z "$already_handled"; then
9037 names_already_handled
="$names_already_handled $name"
9038 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9039 eval value
=\"\
$HAVE_LIB$uppername\"
9040 if test -n "$value"; then
9041 if test "$value" = yes; then
9042 eval value
=\"\
$LIB$uppername\"
9043 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
9044 eval value
=\"\
$LTLIB$uppername\"
9045 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
9054 if test $use_additional = yes; then
9055 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9056 found_dir
="$additional_libdir"
9057 found_so
="$additional_libdir/lib$name.$shlibext"
9058 if test -f "$additional_libdir/lib$name.la"; then
9059 found_la
="$additional_libdir/lib$name.la"
9062 if test -f "$additional_libdir/lib$name.$libext"; then
9063 found_dir
="$additional_libdir"
9064 found_a
="$additional_libdir/lib$name.$libext"
9065 if test -f "$additional_libdir/lib$name.la"; then
9066 found_la
="$additional_libdir/lib$name.la"
9071 if test "X$found_dir" = "X"; then
9072 for x
in $LDFLAGS $LTLIBINTL; do
9074 acl_save_prefix
="$prefix"
9075 prefix
="$acl_final_prefix"
9076 acl_save_exec_prefix
="$exec_prefix"
9077 exec_prefix
="$acl_final_exec_prefix"
9079 exec_prefix
="$acl_save_exec_prefix"
9080 prefix
="$acl_save_prefix"
9084 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9085 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9087 found_so
="$dir/lib$name.$shlibext"
9088 if test -f "$dir/lib$name.la"; then
9089 found_la
="$dir/lib$name.la"
9092 if test -f "$dir/lib$name.$libext"; then
9094 found_a
="$dir/lib$name.$libext"
9095 if test -f "$dir/lib$name.la"; then
9096 found_la
="$dir/lib$name.la"
9102 if test "X$found_dir" != "X"; then
9107 if test "X$found_dir" != "X"; then
9108 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9109 if test "X$found_so" != "X"; then
9110 if test "X$found_dir" = "X/usr/lib"; then
9111 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9114 for x
in $ltrpathdirs; do
9115 if test "X$x" = "X$found_dir"; then
9120 if test -z "$haveit"; then
9121 ltrpathdirs
="$ltrpathdirs $found_dir"
9123 if test "$hardcode_direct" = yes; then
9124 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9126 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9127 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9129 for x
in $rpathdirs; do
9130 if test "X$x" = "X$found_dir"; then
9135 if test -z "$haveit"; then
9136 rpathdirs
="$rpathdirs $found_dir"
9140 for x
in $LDFLAGS $LIBINTL; do
9142 acl_save_prefix
="$prefix"
9143 prefix
="$acl_final_prefix"
9144 acl_save_exec_prefix
="$exec_prefix"
9145 exec_prefix
="$acl_final_exec_prefix"
9147 exec_prefix
="$acl_save_exec_prefix"
9148 prefix
="$acl_save_prefix"
9150 if test "X$x" = "X-L$found_dir"; then
9155 if test -z "$haveit"; then
9156 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9158 if test "$hardcode_minus_L" != no
; then
9159 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9161 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9167 if test "X$found_a" != "X"; then
9168 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
9170 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9173 additional_includedir
=
9174 case "$found_dir" in
9176 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9177 additional_includedir
="$basedir/include"
9180 if test "X$additional_includedir" != "X"; then
9181 if test "X$additional_includedir" != "X/usr/include"; then
9183 if test "X$additional_includedir" = "X/usr/local/include"; then
9184 if test -n "$GCC"; then
9186 linux
*) haveit
=yes;;
9190 if test -z "$haveit"; then
9191 for x
in $CPPFLAGS $INCINTL; do
9193 acl_save_prefix
="$prefix"
9194 prefix
="$acl_final_prefix"
9195 acl_save_exec_prefix
="$exec_prefix"
9196 exec_prefix
="$acl_final_exec_prefix"
9198 exec_prefix
="$acl_save_exec_prefix"
9199 prefix
="$acl_save_prefix"
9201 if test "X$x" = "X-I$additional_includedir"; then
9206 if test -z "$haveit"; then
9207 if test -d "$additional_includedir"; then
9208 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9214 if test -n "$found_la"; then
9215 save_libdir
="$libdir"
9217 */* |
*\\*) .
"$found_la" ;;
9218 *) .
"./$found_la" ;;
9220 libdir
="$save_libdir"
9221 for dep
in $dependency_libs; do
9224 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9225 if test "X$additional_libdir" != "X/usr/lib"; then
9227 if test "X$additional_libdir" = "X/usr/local/lib"; then
9228 if test -n "$GCC"; then
9230 linux
*) haveit
=yes;;
9234 if test -z "$haveit"; then
9236 for x
in $LDFLAGS $LIBINTL; do
9238 acl_save_prefix
="$prefix"
9239 prefix
="$acl_final_prefix"
9240 acl_save_exec_prefix
="$exec_prefix"
9241 exec_prefix
="$acl_final_exec_prefix"
9243 exec_prefix
="$acl_save_exec_prefix"
9244 prefix
="$acl_save_prefix"
9246 if test "X$x" = "X-L$additional_libdir"; then
9251 if test -z "$haveit"; then
9252 if test -d "$additional_libdir"; then
9253 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9257 for x
in $LDFLAGS $LTLIBINTL; do
9259 acl_save_prefix
="$prefix"
9260 prefix
="$acl_final_prefix"
9261 acl_save_exec_prefix
="$exec_prefix"
9262 exec_prefix
="$acl_final_exec_prefix"
9264 exec_prefix
="$acl_save_exec_prefix"
9265 prefix
="$acl_save_prefix"
9267 if test "X$x" = "X-L$additional_libdir"; then
9272 if test -z "$haveit"; then
9273 if test -d "$additional_libdir"; then
9274 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9281 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9284 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9287 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
9288 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9294 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9295 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9301 if test "X$rpathdirs" != "X"; then
9302 if test -n "$hardcode_libdir_separator"; then
9304 for found_dir
in $rpathdirs; do
9305 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9307 acl_save_libdir
="$libdir"
9309 eval flag
=\"$hardcode_libdir_flag_spec\"
9310 libdir
="$acl_save_libdir"
9311 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9313 for found_dir
in $rpathdirs; do
9314 acl_save_libdir
="$libdir"
9316 eval flag
=\"$hardcode_libdir_flag_spec\"
9317 libdir
="$acl_save_libdir"
9318 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9322 if test "X$ltrpathdirs" != "X"; then
9323 for found_dir
in $ltrpathdirs; do
9324 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9328 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
9329 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
9330 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 gt_save_CPPFLAGS
="$CPPFLAGS"
9334 CPPFLAGS
="$CPPFLAGS $INCINTL"
9335 gt_save_LIBS
="$LIBS"
9336 LIBS
="$LIBS $LIBINTL"
9337 cat >conftest.
$ac_ext <<_ACEOF
9340 cat confdefs.h
>>conftest.
$ac_ext
9341 cat >>conftest.
$ac_ext <<_ACEOF
9342 /* end confdefs.h. */
9343 #include <libintl.h>
9344 extern int _nl_msg_cat_cntr;
9348 bindtextdomain ("", "");
9349 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
9354 rm -f conftest.
$ac_objext conftest
$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>conftest.er1
9358 grep -v '^ *+' conftest.er1
>conftest.err
9360 cat conftest.err
>&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try
='test -z "$ac_c_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try
='test -s conftest$ac_exeext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 gt_cv_func_gnugettext2_libintl
=yes
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.
$ac_ext >&5
9381 gt_cv_func_gnugettext2_libintl
=no
9383 rm -f conftest.err conftest.
$ac_objext \
9384 conftest
$ac_exeext conftest.
$ac_ext
9385 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
9386 LIBS
="$LIBS $LIBICONV"
9387 cat >conftest.
$ac_ext <<_ACEOF
9390 cat confdefs.h
>>conftest.
$ac_ext
9391 cat >>conftest.
$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9393 #include <libintl.h>
9394 extern int _nl_msg_cat_cntr;
9398 bindtextdomain ("", "");
9399 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
9404 rm -f conftest.
$ac_objext conftest
$ac_exeext
9405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9406 (eval $ac_link) 2>conftest.er1
9408 grep -v '^ *+' conftest.er1
>conftest.err
9410 cat conftest.err
>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } &&
9413 { ac_try
='test -z "$ac_c_werror_flag"
9414 || test ! -s conftest.err'
9415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; } &&
9420 { ac_try
='test -s conftest$ac_exeext'
9421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); }; }; then
9426 LIBINTL
="$LIBINTL $LIBICONV"
9427 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
9428 gt_cv_func_gnugettext2_libintl
=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.
$ac_ext >&5
9435 rm -f conftest.err conftest.
$ac_objext \
9436 conftest
$ac_exeext conftest.
$ac_ext
9438 CPPFLAGS
="$gt_save_CPPFLAGS"
9439 LIBS
="$gt_save_LIBS"
9441 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
9442 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
9445 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
9446 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
9447 && test "$PACKAGE" != gettext; }; then
9448 gt_use_preinstalled_gnugettext
=yes
9452 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
9453 nls_cv_use_gnu_gettext
=yes
9457 if test "$nls_cv_use_gnu_gettext" = "yes"; then
9458 INTLOBJS
="\$(GETTOBJS)"
9459 BUILD_INCLUDED_LIBINTL
=yes
9460 USE_INCLUDED_LIBINTL
=yes
9461 LIBINTL
="../intl/libintl.a $LIBICONV"
9462 LTLIBINTL
="../intl/libintl.a $LTLIBICONV"
9463 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
9466 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9467 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9472 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9473 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9475 cat >>confdefs.h
<<\_ACEOF
9476 #define ENABLE_NLS 1
9484 if test "$USE_NLS" = "yes"; then
9486 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9487 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
9488 echo "$as_me:$LINENO: checking how to link with libintl" >&5
9489 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
9490 echo "$as_me:$LINENO: result: $LIBINTL" >&5
9491 echo "${ECHO_T}$LIBINTL" >&6
9493 for element
in $INCINTL; do
9495 for x
in $CPPFLAGS; do
9497 acl_save_prefix
="$prefix"
9498 prefix
="$acl_final_prefix"
9499 acl_save_exec_prefix
="$exec_prefix"
9500 exec_prefix
="$acl_final_exec_prefix"
9502 exec_prefix
="$acl_save_exec_prefix"
9503 prefix
="$acl_save_prefix"
9505 if test "X$x" = "X$element"; then
9510 if test -z "$haveit"; then
9511 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9518 cat >>confdefs.h
<<\_ACEOF
9519 #define HAVE_GETTEXT 1
9523 cat >>confdefs.h
<<\_ACEOF
9524 #define HAVE_DCGETTEXT 1
9533 if test "$PACKAGE" = gettext; then
9534 BUILD_INCLUDED_LIBINTL
=yes
9543 nls_cv_header_libgt
=
9554 INTL_LIBTOOL_SUFFIX_PREFIX
=
9565 ac_config_commands
="$ac_config_commands gettext-fix"
9568 ac_config_files
="$ac_config_files bootstrap.sh"
9570 ac_config_files
="$ac_config_files Makefile doc/Makefile lib/Makefile sed/Makefile testsuite/Makefile po/Makefile.in intl/Makefile"
9572 cat >confcache
<<\_ACEOF
9573 # This file is a shell script that caches the results of configure
9574 # tests run on this system so they can be shared between configure
9575 # scripts and configure runs, see configure's option --config-cache.
9576 # It is not useful on other systems. If it contains results you don't
9577 # want to keep, you may remove or edit it.
9579 # config.status only pays attention to the cache file if you give it
9580 # the --recheck option to rerun configure.
9582 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9583 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9588 # The following way of writing the cache mishandles newlines in values,
9589 # but we know of no workaround that is simple, portable, and efficient.
9590 # So, don't put newlines in cache variables' values.
9591 # Ultrix sh set writes to stderr and can't be redirected directly,
9592 # and sets the high bit in the cache file unless we assign to the vars.
9595 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9597 # `set' does not quote correctly, so add quotes (double-quote
9598 # substitution turns \\\\ into \\, and sed turns \\ into \).
9601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9604 # `set' quotes correctly as required by POSIX, so do not add quotes.
9606 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9613 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9615 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9617 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9618 if test -w $cache_file; then
9619 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9620 cat confcache
>$cache_file
9622 echo "not updating unwritable cache $cache_file"
9627 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9628 # Let make expand exec_prefix.
9629 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9631 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9632 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9633 # trailing colons and then remove the whole line if VPATH becomes empty
9634 # (actually we leave an empty line to preserve line numbers).
9635 if test "x$srcdir" = x.
; then
9636 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9637 s/:*\$(srcdir):*/:/;
9638 s/:*\${srcdir}:*/:/;
9640 s/^\([^=]*=[ ]*\):*/\1/;
9646 DEFS
=-DHAVE_CONFIG_H
9650 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9651 # 1. Remove the extension, and $U if already installed.
9652 ac_i
=`echo "$ac_i" |
9653 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9655 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9656 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9660 LTLIBOBJS
=$ac_ltlibobjs
9663 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9664 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9665 Usually this means the macro was only invoked conditionally." >&5
9666 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9667 Usually this means the macro was only invoked conditionally." >&2;}
9668 { (exit 1); exit 1; }; }
9670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9671 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9672 Usually this means the macro was only invoked conditionally." >&5
9673 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9674 Usually this means the macro was only invoked conditionally." >&2;}
9675 { (exit 1); exit 1; }; }
9677 if test -z "${TEST_REGEX_TRUE}" && test -z "${TEST_REGEX_FALSE}"; then
9678 { { echo "$as_me:$LINENO: error: conditional \"TEST_REGEX\" was never defined.
9679 Usually this means the macro was only invoked conditionally." >&5
9680 echo "$as_me: error: conditional \"TEST_REGEX\" was never defined.
9681 Usually this means the macro was only invoked conditionally." >&2;}
9682 { (exit 1); exit 1; }; }
9684 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
9685 { { echo "$as_me:$LINENO: error: conditional \"BUILD_HTML\" was never defined.
9686 Usually this means the macro was only invoked conditionally." >&5
9687 echo "$as_me: error: conditional \"BUILD_HTML\" was never defined.
9688 Usually this means the macro was only invoked conditionally." >&2;}
9689 { (exit 1); exit 1; }; }
9691 if test -z "${MAKEINFO_HTML_TRUE}" && test -z "${MAKEINFO_HTML_FALSE}"; then
9692 { { echo "$as_me:$LINENO: error: conditional \"MAKEINFO_HTML\" was never defined.
9693 Usually this means the macro was only invoked conditionally." >&5
9694 echo "$as_me: error: conditional \"MAKEINFO_HTML\" was never defined.
9695 Usually this means the macro was only invoked conditionally." >&2;}
9696 { (exit 1); exit 1; }; }
9698 if test -z "${TEXI2HTML_HTML_TRUE}" && test -z "${TEXI2HTML_HTML_FALSE}"; then
9699 { { echo "$as_me:$LINENO: error: conditional \"TEXI2HTML_HTML\" was never defined.
9700 Usually this means the macro was only invoked conditionally." >&5
9701 echo "$as_me: error: conditional \"TEXI2HTML_HTML\" was never defined.
9702 Usually this means the macro was only invoked conditionally." >&2;}
9703 { (exit 1); exit 1; }; }
9706 : ${CONFIG_STATUS=./config.status}
9707 ac_clean_files_save
=$ac_clean_files
9708 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9709 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9710 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9711 cat >$CONFIG_STATUS <<_ACEOF
9713 # Generated by $as_me.
9714 # Run this file to recreate the current configuration.
9715 # Compiler output produced by configure, useful for debugging
9716 # configure, is in config.log if it exists.
9721 SHELL=\${CONFIG_SHELL-$SHELL}
9724 cat >>$CONFIG_STATUS <<\_ACEOF
9725 ## --------------------- ##
9726 ## M4sh Initialization. ##
9727 ## --------------------- ##
9729 # Be Bourne compatible
9730 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9733 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9734 # is contrary to our usage. Disable this feature.
9735 alias -g '${1+"$@"}'='"$@"'
9736 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9739 DUALCASE
=1; export DUALCASE
# for MKS sh
9741 # Support unset when possible.
9742 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9749 # Work around bugs in pre-3.0 UWIN ksh.
9750 $as_unset ENV MAIL MAILPATH
9757 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9758 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9759 LC_TELEPHONE LC_TIME
9761 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9762 eval $as_var=C
; export $as_var
9768 # Required to use basename.
9769 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9775 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9776 as_basename
=basename
9782 # Name of the executable.
9783 as_me
=`$as_basename "$0" ||
9784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9785 X"$0" : 'X\(//\)$' \| \
9786 X"$0" : 'X\(/\)$' \| \
9787 . : '\(.\)' 2>/dev/null ||
9789 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9790 /^X\/\(\/\/\)$/{ s//\1/; q; }
9791 /^X\/\(\/\).*/{ s//\1/; q; }
9795 # PATH needs CR, and LINENO needs CR and PATH.
9796 # Avoid depending upon Character Ranges.
9797 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9798 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9799 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9800 as_cr_digits
='0123456789'
9801 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9803 # The user is always right.
9804 if test "${PATH_SEPARATOR+set}" != set; then
9805 echo "#! /bin/sh" >conf$$.sh
9806 echo "exit 0" >>conf$$.sh
9808 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9819 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9820 test "x$as_lineno_1" != "x$as_lineno_2" &&
9821 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9822 # Find who we are. Look in the path if we contain no path at all
9825 *[\\/]* ) as_myself
=$0 ;;
9826 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9836 # We did not find ourselves, most probably we were run as `sh COMMAND'
9837 # in which case we are not to be found in the path.
9838 if test "x$as_myself" = x
; then
9841 if test ! -f "$as_myself"; then
9842 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9843 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9844 { (exit 1); exit 1; }; }
9846 case $CONFIG_SHELL in
9848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9849 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9852 test -z "$as_dir" && as_dir
=.
9853 for as_base
in sh bash ksh sh5
; do
9856 if ("$as_dir/$as_base" -c '
9859 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9860 test "x$as_lineno_1" != "x$as_lineno_2" &&
9861 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9862 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9863 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9864 CONFIG_SHELL
=$as_dir/$as_base
9866 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9874 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9875 # uniformly replaced by the line number. The first 'sed' inserts a
9876 # line-number line before each line; the second 'sed' does the real
9877 # work. The second script uses 'N' to pair each line-number line
9878 # with the numbered line, and appends trailing '-' during
9879 # substitution so that $LINENO is not a special case at line end.
9880 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9881 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9882 sed '=' <$as_myself |
9887 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9890 s,^['$as_cr_digits']*\n,,
9892 chmod +x
$as_me.lineno ||
9893 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9894 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9895 { (exit 1); exit 1; }; }
9897 # Don't try to exec as it changes $[0], causing all sort of problems
9898 # (the dirname of $[0] is not the place where we might find the
9899 # original and so on. Autoconf is especially sensible to this).
9901 # Exit status is that of the last command.
9906 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9907 *c
*,-n*) ECHO_N
= ECHO_C
='
9909 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9910 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9913 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9919 rm -f conf$$ conf$$.exe conf$$.
file
9921 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9922 # We could just check for DJGPP; but this test a) works b) is more generic
9923 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9924 if test -f conf$$.exe
; then
9925 # Don't use ln at all; we don't have any links
9930 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9935 rm -f conf$$ conf$$.exe conf$$.
file
9937 if mkdir
-p .
2>/dev
/null
; then
9940 test -d .
/-p && rmdir .
/-p
9944 as_executable_p
="test -f"
9946 # Sed expression to map a string onto a valid CPP name.
9947 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9949 # Sed expression to map a string onto a valid variable name.
9950 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9954 # We need space, tab and new line, in precisely that order.
9964 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9965 # report actual input values of CONFIG_FILES etc. instead of their
9966 # values after options handling. Logging --version etc. is OK.
9970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9971 ## Running $as_me. ##
9976 This file was extended by sed $as_me 4.1.5, which was
9977 generated by GNU Autoconf 2.59. Invocation command line was
9979 CONFIG_FILES = $CONFIG_FILES
9980 CONFIG_HEADERS = $CONFIG_HEADERS
9981 CONFIG_LINKS = $CONFIG_LINKS
9982 CONFIG_COMMANDS = $CONFIG_COMMANDS
9986 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9990 # Files that config.status was made for.
9991 if test -n "$ac_config_files"; then
9992 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9995 if test -n "$ac_config_headers"; then
9996 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9999 if test -n "$ac_config_links"; then
10000 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10003 if test -n "$ac_config_commands"; then
10004 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10007 cat >>$CONFIG_STATUS <<\_ACEOF
10010 \`$as_me' instantiates files from templates according to the
10011 current configuration.
10013 Usage: $0 [OPTIONS] [FILE]...
10015 -h, --help print this help, then exit
10016 -V, --version print version number, then exit
10017 -q, --quiet do not print progress messages
10018 -d, --debug don't remove temporary files
10019 --recheck update $as_me by reconfiguring in the same conditions
10020 --file=FILE[:TEMPLATE]
10021 instantiate the configuration file FILE
10022 --header=FILE[:TEMPLATE]
10023 instantiate the configuration header FILE
10025 Configuration files:
10028 Configuration headers:
10031 Configuration links:
10034 Configuration commands:
10037 Report bugs to <bug-autoconf@gnu.org>."
10040 cat >>$CONFIG_STATUS <<_ACEOF
10042 sed config.status 4.1.5
10043 configured by $0, generated by GNU Autoconf 2.59,
10044 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10046 Copyright (C) 2003 Free Software Foundation, Inc.
10047 This config.status script is free software; the Free Software Foundation
10048 gives unlimited permission to copy, distribute and modify it."
10053 cat >>$CONFIG_STATUS <<\_ACEOF
10054 # If no file are specified by the user, then we need to provide default
10055 # value. By we need to know if files were specified by the user.
10061 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10062 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10070 *) # This is not an option, so the user has probably given explicit
10073 ac_need_defaults
=false
;;
10077 # Handling of the options.
10079 cat >>$CONFIG_STATUS <<\_ACEOF
10080 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10082 --version |
--vers* |
-V )
10083 echo "$ac_cs_version"; exit 0 ;;
10085 # Conflict between --help and --header
10086 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10087 Try \`$0 --help' for more information." >&5
10088 echo "$as_me: error: ambiguous option: $1
10089 Try \`$0 --help' for more information." >&2;}
10090 { (exit 1); exit 1; }; };;
10091 --help |
--hel |
-h )
10092 echo "$ac_cs_usage"; exit 0 ;;
10093 --debug |
--d* |
-d )
10095 --file |
--fil |
--fi |
--f )
10097 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10098 ac_need_defaults
=false
;;
10099 --header |
--heade |
--head |
--hea )
10101 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10102 ac_need_defaults
=false
;;
10103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10104 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10107 # This is an error.
10108 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10109 Try \`$0 --help' for more information." >&5
10110 echo "$as_me: error: unrecognized option: $1
10111 Try \`$0 --help' for more information." >&2;}
10112 { (exit 1); exit 1; }; } ;;
10114 *) ac_config_targets
="$ac_config_targets $1" ;;
10120 ac_configure_extra_args
=
10122 if $ac_cs_silent; then
10124 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10128 cat >>$CONFIG_STATUS <<_ACEOF
10129 if \$ac_cs_recheck; then
10130 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10131 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10136 cat >>$CONFIG_STATUS <<_ACEOF
10138 # INIT-COMMANDS section.
10141 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10142 # Capture the value of obsolete $ALL_LINGUAS because we need it to compute
10143 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
10145 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
10146 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10147 LINGUAS="${LINGUAS-%UNSET%}"
10150 install_sh="$install_sh"
10156 cat >>$CONFIG_STATUS <<\_ACEOF
10157 for ac_config_target
in $ac_config_targets
10159 case "$ac_config_target" in
10160 # Handling of arguments.
10161 "lib/stdbool.h" ) CONFIG_FILES
="$CONFIG_FILES lib/stdbool.h:lib/stdbool_.h" ;;
10162 "bootstrap.sh" ) CONFIG_FILES
="$CONFIG_FILES bootstrap.sh" ;;
10163 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10164 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10165 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
10166 "sed/Makefile" ) CONFIG_FILES
="$CONFIG_FILES sed/Makefile" ;;
10167 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
10168 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10169 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
10170 "lib/regex.h" ) CONFIG_LINKS
="$CONFIG_LINKS lib/regex.h:lib/regex_.h" ;;
10171 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10172 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10173 "gettext-fix" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gettext-fix" ;;
10174 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config_h.in" ;;
10175 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10176 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10177 { (exit 1); exit 1; }; };;
10181 # If the user did not use the arguments to specify the items to instantiate,
10182 # then the envvar interface is used. Set only those that are not.
10183 # We use the long form for the default assignment because of an extremely
10184 # bizarre bug on SunOS 4.1.3.
10185 if $ac_need_defaults; then
10186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10188 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
10189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10192 # Have a temporary directory for convenience. Make it in the build tree
10193 # simply because there is no reason to put it here, and in addition,
10194 # creating and moving files from /tmp can sometimes cause problems.
10195 # Create a temporary directory, and hook for its removal unless debugging.
10198 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10199 trap '{ (exit 1); exit 1; }' 1 2 13 15
10202 # Create a (secure) tmp directory for tmp files.
10205 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10206 test -n "$tmp" && test -d "$tmp"
10209 tmp
=.
/confstat$$
-$RANDOM
10210 (umask 077 && mkdir
$tmp)
10213 echo "$me: cannot create a temporary directory in ." >&2
10214 { (exit 1); exit 1; }
10219 cat >>$CONFIG_STATUS <<_ACEOF
10222 # CONFIG_FILES section.
10225 # No need to generate the scripts if there are no CONFIG_FILES.
10226 # This happens for instance when ./config.status config.h
10227 if test -n "\$CONFIG_FILES"; then
10228 # Protect against being on the right side of a sed subst in config.status.
10229 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10230 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10231 s,@SHELL@,$SHELL,;t t
10232 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10233 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10234 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10235 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10236 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10237 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10238 s,@exec_prefix@,$exec_prefix,;t t
10239 s,@prefix@,$prefix,;t t
10240 s,@program_transform_name@,$program_transform_name,;t t
10241 s,@bindir@,$bindir,;t t
10242 s,@sbindir@,$sbindir,;t t
10243 s,@libexecdir@,$libexecdir,;t t
10244 s,@datadir@,$datadir,;t t
10245 s,@sysconfdir@,$sysconfdir,;t t
10246 s,@sharedstatedir@,$sharedstatedir,;t t
10247 s,@localstatedir@,$localstatedir,;t t
10248 s,@libdir@,$libdir,;t t
10249 s,@includedir@,$includedir,;t t
10250 s,@oldincludedir@,$oldincludedir,;t t
10251 s,@infodir@,$infodir,;t t
10252 s,@mandir@,$mandir,;t t
10253 s,@build_alias@,$build_alias,;t t
10254 s,@host_alias@,$host_alias,;t t
10255 s,@target_alias@,$target_alias,;t t
10256 s,@DEFS@,$DEFS,;t t
10257 s,@ECHO_C@,$ECHO_C,;t t
10258 s,@ECHO_N@,$ECHO_N,;t t
10259 s,@ECHO_T@,$ECHO_T,;t t
10260 s,@LIBS@,$LIBS,;t t
10261 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10262 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10263 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10264 s,@CYGPATH_W@,$CYGPATH_W,;t t
10265 s,@PACKAGE@,$PACKAGE,;t t
10266 s,@VERSION@,$VERSION,;t t
10267 s,@ACLOCAL@,$ACLOCAL,;t t
10268 s,@AUTOCONF@,$AUTOCONF,;t t
10269 s,@AUTOMAKE@,$AUTOMAKE,;t t
10270 s,@AUTOHEADER@,$AUTOHEADER,;t t
10271 s,@MAKEINFO@,$MAKEINFO,;t t
10272 s,@install_sh@,$install_sh,;t t
10273 s,@STRIP@,$STRIP,;t t
10274 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10275 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10276 s,@mkdir_p@,$mkdir_p,;t t
10278 s,@SET_MAKE@,$SET_MAKE,;t t
10279 s,@am__leading_dot@,$am__leading_dot,;t t
10280 s,@AMTAR@,$AMTAR,;t t
10281 s,@am__tar@,$am__tar,;t t
10282 s,@am__untar@,$am__untar,;t t
10283 s,@SED_FEATURE_VERSION@,$SED_FEATURE_VERSION,;t t
10285 s,@CFLAGS@,$CFLAGS,;t t
10286 s,@LDFLAGS@,$LDFLAGS,;t t
10287 s,@CPPFLAGS@,$CPPFLAGS,;t t
10288 s,@ac_ct_CC@,$ac_ct_CC,;t t
10289 s,@EXEEXT@,$EXEEXT,;t t
10290 s,@OBJEXT@,$OBJEXT,;t t
10291 s,@DEPDIR@,$DEPDIR,;t t
10292 s,@am__include@,$am__include,;t t
10293 s,@am__quote@,$am__quote,;t t
10294 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10295 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10296 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10297 s,@CCDEPMODE@,$CCDEPMODE,;t t
10298 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10299 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10300 s,@RANLIB@,$RANLIB,;t t
10301 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10303 s,@EGREP@,$EGREP,;t t
10304 s,@HAVE__BOOL@,$HAVE__BOOL,;t t
10305 s,@ALLOCA@,$ALLOCA,;t t
10306 s,@LIBOBJS@,$LIBOBJS,;t t
10307 s,@TEST_REGEX_TRUE@,$TEST_REGEX_TRUE,;t t
10308 s,@TEST_REGEX_FALSE@,$TEST_REGEX_FALSE,;t t
10309 s,@BUILD_HTML_TRUE@,$BUILD_HTML_TRUE,;t t
10310 s,@BUILD_HTML_FALSE@,$BUILD_HTML_FALSE,;t t
10311 s,@TEXI2HTML@,$TEXI2HTML,;t t
10312 s,@MAKEINFO_HTML_TRUE@,$MAKEINFO_HTML_TRUE,;t t
10313 s,@MAKEINFO_HTML_FALSE@,$MAKEINFO_HTML_FALSE,;t t
10314 s,@TEXI2HTML_HTML_TRUE@,$TEXI2HTML_HTML_TRUE,;t t
10315 s,@TEXI2HTML_HTML_FALSE@,$TEXI2HTML_HTML_FALSE,;t t
10316 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10317 s,@MSGFMT@,$MSGFMT,;t t
10318 s,@GMSGFMT@,$GMSGFMT,;t t
10319 s,@XGETTEXT@,$XGETTEXT,;t t
10320 s,@MSGMERGE@,$MSGMERGE,;t t
10321 s,@build@,$build,;t t
10322 s,@build_cpu@,$build_cpu,;t t
10323 s,@build_vendor@,$build_vendor,;t t
10324 s,@build_os@,$build_os,;t t
10325 s,@host@,$host,;t t
10326 s,@host_cpu@,$host_cpu,;t t
10327 s,@host_vendor@,$host_vendor,;t t
10328 s,@host_os@,$host_os,;t t
10329 s,@GLIBC21@,$GLIBC21,;t t
10330 s,@LIBICONV@,$LIBICONV,;t t
10331 s,@LTLIBICONV@,$LTLIBICONV,;t t
10332 s,@INTLBISON@,$INTLBISON,;t t
10333 s,@USE_NLS@,$USE_NLS,;t t
10334 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
10335 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
10336 s,@CATOBJEXT@,$CATOBJEXT,;t t
10337 s,@INTLOBJS@,$INTLOBJS,;t t
10338 s,@DATADIRNAME@,$DATADIRNAME,;t t
10339 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
10340 s,@GENCAT@,$GENCAT,;t t
10341 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
10342 s,@INTLLIBS@,$INTLLIBS,;t t
10343 s,@LIBINTL@,$LIBINTL,;t t
10344 s,@LTLIBINTL@,$LTLIBINTL,;t t
10345 s,@POSUB@,$POSUB,;t t
10346 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10351 cat >>$CONFIG_STATUS <<\_ACEOF
10352 # Split the substitutions into bite-sized pieces for seds with
10353 # small command number limits, like on Digital OSF/1 and HP-UX.
10354 ac_max_sed_lines
=48
10355 ac_sed_frag
=1 # Number of current file.
10356 ac_beg
=1 # First line for current file.
10357 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10360 while $ac_more_lines; do
10361 if test $ac_beg -gt 1; then
10362 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10364 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10366 if test ! -s $tmp/subs.frag
; then
10367 ac_more_lines
=false
10369 # The purpose of the label and of the branching condition is to
10370 # speed up the sed processing (if there are no `@' at all, there
10371 # is no need to browse any of the substitutions).
10372 # These are the two extra sed commands mentioned above.
10374 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10375 if test -z "$ac_sed_cmds"; then
10376 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10378 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10380 ac_sed_frag
=`expr $ac_sed_frag + 1`
10382 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10385 if test -z "$ac_sed_cmds"; then
10388 fi # test -n "$CONFIG_FILES"
10391 cat >>$CONFIG_STATUS <<\_ACEOF
10392 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10393 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10395 - |
*:- |
*:-:* ) # input from stdin
10397 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10398 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10399 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10400 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10401 * ) ac_file_in
=$ac_file.
in ;;
10404 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10405 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10407 X"$ac_file" : 'X\(//\)[^/]' \| \
10408 X"$ac_file" : 'X\(//\)$' \| \
10409 X"$ac_file" : 'X\(/\)' \| \
10410 . : '\(.\)' 2>/dev/null ||
10412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10414 /^X\(\/\/\)$/{ s//\1/; q; }
10415 /^X\(\/\).*/{ s//\1/; q; }
10417 { if $as_mkdir_p; then
10422 while test ! -d "$as_dir"; do
10423 as_dirs
="$as_dir $as_dirs"
10424 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10426 X"$as_dir" : 'X\(//\)[^/]' \| \
10427 X"$as_dir" : 'X\(//\)$' \| \
10428 X"$as_dir" : 'X\(/\)' \| \
10429 . : '\(.\)' 2>/dev/null ||
10431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10432 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10433 /^X\(\/\/\)$/{ s//\1/; q; }
10434 /^X\(\/\).*/{ s//\1/; q; }
10437 test ! -n "$as_dirs" || mkdir
$as_dirs
10438 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10439 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10440 { (exit 1); exit 1; }; }; }
10444 if test "$ac_dir" != .
; then
10445 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10446 # A "../" for each directory in $ac_dir_suffix.
10447 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10449 ac_dir_suffix
= ac_top_builddir
=
10453 .
) # No --srcdir option. We are building in place.
10455 if test -z "$ac_top_builddir"; then
10458 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10460 [\\/]* | ?
:[\\/]* ) # Absolute path.
10461 ac_srcdir
=$srcdir$ac_dir_suffix;
10462 ac_top_srcdir
=$srcdir ;;
10463 *) # Relative path.
10464 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10465 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10468 # Do not use `cd foo && pwd` to compute absolute paths, because
10469 # the directories may not exist.
10471 .
) ac_abs_builddir
="$ac_dir";;
10474 .
) ac_abs_builddir
=`pwd`;;
10475 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10476 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10479 case $ac_abs_builddir in
10480 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10482 case ${ac_top_builddir}.
in
10483 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10484 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10485 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10488 case $ac_abs_builddir in
10489 .
) ac_abs_srcdir
=$ac_srcdir;;
10492 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10493 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10494 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10497 case $ac_abs_builddir in
10498 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10500 case $ac_top_srcdir in
10501 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10502 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10503 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10509 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10510 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10513 if test x
"$ac_file" != x-
; then
10514 { echo "$as_me:$LINENO: creating $ac_file" >&5
10515 echo "$as_me: creating $ac_file" >&6;}
10518 # Let's still pretend it is `configure' which instantiates (i.e., don't
10519 # use $as_me), people would be surprised to read:
10520 # /* config.h. Generated by config.status. */
10521 if test x
"$ac_file" = x-
; then
10524 configure_input
="$ac_file. "
10526 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10527 sed 's,.*/,,'` by configure."
10529 # First look for the input files in the build tree, otherwise in the
10531 ac_file_inputs
=`IFS=:
10532 for f in $ac_file_in; do
10534 -) echo $tmp/stdin ;;
10536 # Absolute (can't be DOS-style, as IFS=:)
10537 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10538 echo "$as_me: error: cannot find input file: $f" >&2;}
10539 { (exit 1); exit 1; }; }
10542 if test -f "$f"; then
10545 elif test -f "$srcdir/$f"; then
10550 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10551 echo "$as_me: error: cannot find input file: $f" >&2;}
10552 { (exit 1); exit 1; }; }
10555 done` ||
{ (exit 1); exit 1; }
10557 cat >>$CONFIG_STATUS <<_ACEOF
10561 cat >>$CONFIG_STATUS <<\_ACEOF
10563 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10564 s
,@configure_input@
,$configure_input,;t t
10565 s
,@srcdir@
,$ac_srcdir,;t t
10566 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10567 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10568 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10569 s
,@builddir@
,$ac_builddir,;t t
10570 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10571 s
,@top_builddir@
,$ac_top_builddir,;t t
10572 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10573 s
,@INSTALL@
,$ac_INSTALL,;t t
10574 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10576 if test x"$ac_file" != x-; then
10577 mv $tmp/out $ac_file
10583 # Run the commands associated with the file.
10585 bootstrap.sh ) chmod +x bootstrap.sh ;;
10589 cat >>$CONFIG_STATUS <<\_ACEOF
10592 # CONFIG_HEADER section.
10595 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10596 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10598 # ac_d sets the value in "#define NAME VALUE" lines.
10599 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10600 ac_dB
='[ ].*$,\1#\2'
10603 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10604 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10605 ac_uB
='$,\1#\2define\3'
10609 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10612 - |
*:- |
*:-:* ) # input from stdin
10614 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10615 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10616 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10617 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10618 * ) ac_file_in
=$ac_file.
in ;;
10621 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10622 echo "$as_me: creating $ac_file" >&6;}
10624 # First look for the input files in the build tree, otherwise in the
10626 ac_file_inputs
=`IFS=:
10627 for f in $ac_file_in; do
10629 -) echo $tmp/stdin ;;
10631 # Absolute (can't be DOS-style, as IFS=:)
10632 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10633 echo "$as_me: error: cannot find input file: $f" >&2;}
10634 { (exit 1); exit 1; }; }
10635 # Do quote $f, to prevent DOS paths from being IFS'd.
10638 if test -f "$f"; then
10641 elif test -f "$srcdir/$f"; then
10646 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10647 echo "$as_me: error: cannot find input file: $f" >&2;}
10648 { (exit 1); exit 1; }; }
10651 done` ||
{ (exit 1); exit 1; }
10652 # Remove the trailing spaces.
10653 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10657 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10658 # `conftest.undefs', that substitutes the proper values into
10659 # config.h.in to produce config.h. The first handles `#define'
10660 # templates, and the second `#undef' templates.
10661 # And first: Protect against being on the right side of a sed subst in
10662 # config.status. Protect against being in an unquoted here document
10663 # in config.status.
10664 rm -f conftest.defines conftest.undefs
10665 # Using a here document instead of a string reduces the quoting nightmare.
10666 # Putting comments in sed scripts is not portable.
10668 # `end' is used to avoid that the second main sed command (meant for
10669 # 0-ary CPP macros) applies to n-ary macro definitions.
10670 # See the Autoconf documentation for `clear'.
10671 cat >confdef2sed.
sed <<\_ACEOF
10676 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10678 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10681 # If some macros were called several times there might be several times
10682 # the same #defines, which is useless. Nevertheless, we may not want to
10683 # sort them, since we want the *last* AC-DEFINE to be honored.
10684 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10685 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10686 rm -f confdef2sed.sed
10688 # This sed command replaces #undef with comments. This is necessary, for
10689 # example, in the case of _POSIX_SOURCE, which is predefined and required
10690 # on some systems where configure will not decide to define it.
10691 cat >>conftest.undefs <<\_ACEOF
10692 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10695 # Break up conftest.defines because some shells have a limit on the size
10696 # of here documents, and old seds have small limits too (100 cmds).
10697 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10698 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10699 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10700 echo ' :' >>$CONFIG_STATUS
10701 rm -f conftest.tail
10702 while grep . conftest.defines >/dev/null
10704 # Write a limited-size here document to $tmp/defines.sed.
10705 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10706 # Speed up: don't consider the non `#define' lines.
10707 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10708 # Work around the forget-to-reset-the-flag bug.
10709 echo 't clr' >>$CONFIG_STATUS
10710 echo ': clr' >>$CONFIG_STATUS
10711 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10713 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10715 mv $tmp/out $tmp/in
10717 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10718 rm -f conftest.defines
10719 mv conftest.
tail conftest.defines
10721 rm -f conftest.defines
10722 echo ' fi # grep' >>$CONFIG_STATUS
10723 echo >>$CONFIG_STATUS
10725 # Break up conftest.undefs because some shells have a limit on the size
10726 # of here documents, and old seds have small limits too (100 cmds).
10727 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10728 rm -f conftest.
tail
10729 while grep . conftest.undefs
>/dev
/null
10731 # Write a limited-size here document to $tmp/undefs.sed.
10732 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10733 # Speed up: don't consider the non
`#undef'
10734 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10735 # Work around the forget-to-reset-the-flag bug.
10736 echo 't clr' >>$CONFIG_STATUS
10737 echo ': clr' >>$CONFIG_STATUS
10738 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10740 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10742 mv $tmp/out $tmp/in
10744 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10745 rm -f conftest.undefs
10746 mv conftest.tail conftest.undefs
10748 rm -f conftest.undefs
10750 cat >>$CONFIG_STATUS <<\_ACEOF
10751 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10752 # use $as_me), people would be surprised to read:
10753 # /* config.h. Generated by config.status. */
10754 if test x
"$ac_file" = x-
; then
10755 echo "/* Generated by configure. */" >$tmp/config.h
10757 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10759 cat $tmp/in >>$tmp/config.h
10761 if test x
"$ac_file" != x-
; then
10762 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10763 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10764 echo "$as_me: $ac_file is unchanged" >&6;}
10766 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10768 X"$ac_file" : 'X\(//\)[^/]' \| \
10769 X"$ac_file" : 'X\(//\)$' \| \
10770 X"$ac_file" : 'X\(/\)' \| \
10771 . : '\(.\)' 2>/dev/null ||
10773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10775 /^X\(\/\/\)$/{ s//\1/; q; }
10776 /^X\(\/\).*/{ s//\1/; q; }
10778 { if $as_mkdir_p; then
10783 while test ! -d "$as_dir"; do
10784 as_dirs
="$as_dir $as_dirs"
10785 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10787 X"$as_dir" : 'X\(//\)[^/]' \| \
10788 X"$as_dir" : 'X\(//\)$' \| \
10789 X"$as_dir" : 'X\(/\)' \| \
10790 . : '\(.\)' 2>/dev/null ||
10792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10794 /^X\(\/\/\)$/{ s//\1/; q; }
10795 /^X\(\/\).*/{ s//\1/; q; }
10798 test ! -n "$as_dirs" || mkdir
$as_dirs
10799 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10800 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10801 { (exit 1); exit 1; }; }; }
10804 mv $tmp/config.h
$ac_file
10808 rm -f $tmp/config.h
10810 # Compute $ac_file's index in $config_headers.
10812 for _am_header
in $config_headers :; do
10813 case $_am_header in
10814 $ac_file |
$ac_file:* )
10817 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10820 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10821 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10822 X$ac_file : 'X\(//\)[^/]' \| \
10823 X$ac_file : 'X\(//\)$' \| \
10824 X$ac_file : 'X\(/\)' \| \
10825 . : '\(.\)' 2>/dev/null ||
10827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10829 /^X\(\/\/\)$/{ s//\1/; q; }
10830 /^X\(\/\).*/{ s//\1/; q; }
10831 s/.*/./; q'`/stamp-h
$_am_stamp_count
10834 cat >>$CONFIG_STATUS <<\_ACEOF
10837 # CONFIG_LINKS section.
10840 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
10841 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10842 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10844 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
10845 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
10847 if test ! -r $srcdir/$ac_source; then
10848 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
10849 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
10850 { (exit 1); exit 1; }; }
10854 # Make relative symlinks.
10855 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10856 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10857 X"$ac_dest" : 'X\(//\)[^/]' \| \
10858 X"$ac_dest" : 'X\(//\)$' \| \
10859 X"$ac_dest" : 'X\(/\)' \| \
10860 . : '\(.\)' 2>/dev/null ||
10862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10864 /^X\(\/\/\)$/{ s//\1/; q; }
10865 /^X\(\/\).*/{ s//\1/; q; }
10867 { if $as_mkdir_p; then
10868 mkdir
-p "$ac_dest_dir"
10870 as_dir
="$ac_dest_dir"
10872 while test ! -d "$as_dir"; do
10873 as_dirs
="$as_dir $as_dirs"
10874 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10875 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10876 X"$as_dir" : 'X\(//\)[^/]' \| \
10877 X"$as_dir" : 'X\(//\)$' \| \
10878 X"$as_dir" : 'X\(/\)' \| \
10879 . : '\(.\)' 2>/dev/null ||
10881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10883 /^X\(\/\/\)$/{ s//\1/; q; }
10884 /^X\(\/\).*/{ s//\1/; q; }
10887 test ! -n "$as_dirs" || mkdir
$as_dirs
10888 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
10889 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
10890 { (exit 1); exit 1; }; }; }
10894 if test "$ac_dest_dir" != .
; then
10895 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
10896 # A "../" for each directory in $ac_dir_suffix.
10897 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10899 ac_dir_suffix
= ac_top_builddir
=
10903 .
) # No --srcdir option. We are building in place.
10905 if test -z "$ac_top_builddir"; then
10908 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10910 [\\/]* | ?
:[\\/]* ) # Absolute path.
10911 ac_srcdir
=$srcdir$ac_dir_suffix;
10912 ac_top_srcdir
=$srcdir ;;
10913 *) # Relative path.
10914 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10915 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10918 # Do not use `cd foo && pwd` to compute absolute paths, because
10919 # the directories may not exist.
10921 .
) ac_abs_builddir
="$ac_dest_dir";;
10923 case "$ac_dest_dir" in
10924 .
) ac_abs_builddir
=`pwd`;;
10925 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
10926 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
10929 case $ac_abs_builddir in
10930 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10932 case ${ac_top_builddir}.
in
10933 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10934 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10935 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10938 case $ac_abs_builddir in
10939 .
) ac_abs_srcdir
=$ac_srcdir;;
10942 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10943 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10944 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10947 case $ac_abs_builddir in
10948 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10950 case $ac_top_srcdir in
10951 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10952 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10953 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10959 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
10960 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
10963 # Try a symlink, then a hard link, then a copy.
10964 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
10965 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
10966 cp -p $srcdir/$ac_source $ac_dest ||
10967 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
10968 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
10969 { (exit 1); exit 1; }; }
10972 cat >>$CONFIG_STATUS <<\_ACEOF
10975 # CONFIG_COMMANDS section.
10977 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10978 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10979 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10980 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10981 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10982 X"$ac_dest" : 'X\(//\)[^/]' \| \
10983 X"$ac_dest" : 'X\(//\)$' \| \
10984 X"$ac_dest" : 'X\(/\)' \| \
10985 . : '\(.\)' 2>/dev/null ||
10987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10989 /^X\(\/\/\)$/{ s//\1/; q; }
10990 /^X\(\/\).*/{ s//\1/; q; }
10992 { if $as_mkdir_p; then
10997 while test ! -d "$as_dir"; do
10998 as_dirs
="$as_dir $as_dirs"
10999 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11001 X"$as_dir" : 'X\(//\)[^/]' \| \
11002 X"$as_dir" : 'X\(//\)$' \| \
11003 X"$as_dir" : 'X\(/\)' \| \
11004 . : '\(.\)' 2>/dev/null ||
11006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11008 /^X\(\/\/\)$/{ s//\1/; q; }
11009 /^X\(\/\).*/{ s//\1/; q; }
11012 test ! -n "$as_dirs" || mkdir
$as_dirs
11013 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11014 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11015 { (exit 1); exit 1; }; }; }
11019 if test "$ac_dir" != .
; then
11020 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11021 # A "../" for each directory in $ac_dir_suffix.
11022 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11024 ac_dir_suffix
= ac_top_builddir
=
11028 .
) # No --srcdir option. We are building in place.
11030 if test -z "$ac_top_builddir"; then
11033 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11035 [\\/]* | ?
:[\\/]* ) # Absolute path.
11036 ac_srcdir
=$srcdir$ac_dir_suffix;
11037 ac_top_srcdir
=$srcdir ;;
11038 *) # Relative path.
11039 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11040 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11043 # Do not use `cd foo && pwd` to compute absolute paths, because
11044 # the directories may not exist.
11046 .
) ac_abs_builddir
="$ac_dir";;
11049 .
) ac_abs_builddir
=`pwd`;;
11050 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11051 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11054 case $ac_abs_builddir in
11055 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11057 case ${ac_top_builddir}.
in
11058 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11059 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11060 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11063 case $ac_abs_builddir in
11064 .
) ac_abs_srcdir
=$ac_srcdir;;
11067 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11068 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11069 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11072 case $ac_abs_builddir in
11073 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11075 case $ac_top_srcdir in
11076 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11077 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11078 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11083 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11084 echo "$as_me: executing $ac_dest commands" >&6;}
11086 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11087 # Strip MF so we end up with the name of the file.
11088 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11089 # Check whether this is an Automake generated Makefile or not.
11090 # We used to match only the files named `Makefile.in', but
11091 # some people rename them; so instead we look at the file content.
11092 # Grep'ing the first line is not enough: some people post-process
11093 # each Makefile.in and add a new line on top of each file to say so.
11094 # So let's grep whole file.
11095 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11096 dirpart
=`(dirname "$mf") 2>/dev/null ||
11097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11098 X"$mf" : 'X\(//\)[^/]' \| \
11099 X"$mf" : 'X\(//\)$' \| \
11100 X"$mf" : 'X\(/\)' \| \
11101 . : '\(.\)' 2>/dev/null ||
11103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11105 /^X\(\/\/\)$/{ s//\1/; q; }
11106 /^X\(\/\).*/{ s//\1/; q; }
11111 # Extract the definition of DEPDIR, am__include, and am__quote
11112 # from the Makefile without running `make'.
11113 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11114 test -z "$DEPDIR" && continue
11115 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11116 test -z "am__include" && continue
11117 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11118 # When using ansi2knr, U may be empty or an underscore; expand it
11119 U
=`sed -n 's/^U = //p' < "$mf"`
11120 # Find all dependency output files, they are included files with
11121 # $(DEPDIR) in their names. We invoke sed twice because it is the
11122 # simplest approach to changing $(DEPDIR) to its actual value in the
11124 for file in `sed -n "
11125 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11126 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11127 # Make sure the directory exists.
11128 test -f "$dirpart/$file" && continue
11129 fdir
=`(dirname "$file") 2>/dev/null ||
11130 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11131 X"$file" : 'X\(//\)[^/]' \| \
11132 X"$file" : 'X\(//\)$' \| \
11133 X"$file" : 'X\(/\)' \| \
11134 . : '\(.\)' 2>/dev/null ||
11136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11137 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11138 /^X\(\/\/\)$/{ s//\1/; q; }
11139 /^X\(\/\).*/{ s//\1/; q; }
11141 { if $as_mkdir_p; then
11142 mkdir
-p $dirpart/$fdir
11144 as_dir
=$dirpart/$fdir
11146 while test ! -d "$as_dir"; do
11147 as_dirs
="$as_dir $as_dirs"
11148 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11149 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11150 X"$as_dir" : 'X\(//\)[^/]' \| \
11151 X"$as_dir" : 'X\(//\)$' \| \
11152 X"$as_dir" : 'X\(/\)' \| \
11153 . : '\(.\)' 2>/dev/null ||
11155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11157 /^X\(\/\/\)$/{ s//\1/; q; }
11158 /^X\(\/\).*/{ s//\1/; q; }
11161 test ! -n "$as_dirs" || mkdir
$as_dirs
11162 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11163 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11164 { (exit 1); exit 1; }; }; }
11166 # echo "creating $dirpart/$file"
11167 echo '# dummy' > "$dirpart/$file"
11172 for ac_file
in $CONFIG_FILES; do
11173 # Support "outfile[:infile[:infile...]]"
11175 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11177 # PO directories have a Makefile.in generated from Makefile.in.in.
11178 case "$ac_file" in */Makefile.
in)
11179 # Adjust a relative srcdir.
11180 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
11181 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
11182 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11183 # In autoconf-2.13 it is called $ac_given_srcdir.
11184 # In autoconf-2.50 it is called $srcdir.
11185 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
11186 case "$ac_given_srcdir" in
11187 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
11188 /*) top_srcdir
="$ac_given_srcdir" ;;
11189 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
11191 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11192 rm -f "$ac_dir/POTFILES"
11193 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
11194 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11195 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
11196 # on $ac_dir but don't depend on user-specified configuration
11198 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11199 # The LINGUAS file contains the set of available languages.
11200 if test -n "$ALL_LINGUAS"; then
11201 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
11203 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11204 # Hide the ALL_LINGUAS assigment from automake.
11205 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11207 case "$ac_given_srcdir" in
11209 *) srcdirpre
='$(srcdir)/' ;;
11215 for lang
in $ALL_LINGUAS; do
11216 POFILES
="$POFILES $srcdirpre$lang.po"
11217 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
11218 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
11219 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
11221 # CATALOGS depends on both $ac_dir and the user's LINGUAS
11222 # environment variable.
11224 if test -n "$ALL_LINGUAS"; then
11225 for presentlang
in $ALL_LINGUAS; do
11227 if test "%UNSET%" != "$LINGUAS"; then
11228 desiredlanguages
="$LINGUAS"
11230 desiredlanguages
="$ALL_LINGUAS"
11232 for desiredlang
in $desiredlanguages; do
11233 # Use the presentlang catalog if desiredlang is
11234 # a. equal to presentlang, or
11235 # b. a variant of presentlang (because in this case,
11236 # presentlang can be used as a fallback for messages
11237 # which are not translated in the desiredlang catalog).
11238 case "$desiredlang" in
11239 "$presentlang"*) useit
=yes;;
11242 if test $useit = yes; then
11243 INST_LINGUAS
="$INST_LINGUAS $presentlang"
11248 if test -n "$INST_LINGUAS"; then
11249 for lang
in $INST_LINGUAS; do
11250 CATALOGS
="$CATALOGS $lang.gmo"
11253 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
11254 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
11255 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
11256 if test -f "$f"; then
11258 *.orig |
*.bak |
*~
) ;;
11259 *) cat "$f" >> "$ac_dir/Makefile" ;;
11268 sed -e '/^mkinstalldirs *=/a\' \
11269 -e "install_sh=$install_sh" \
11270 -e 's
/^mkinstalldirs
*=.
*/mkinstalldirs
=$
(MKINSTALLDIRS
)/' \
11271 intl/Makefile > intl/Makefile.tmp
11272 mv intl/Makefile.tmp intl/Makefile
11273 sed -e '/^mkinstalldirs
*=/a
\' \
11274 -e "install_sh=$install_sh" \
11275 -e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
11276 po
/Makefile
> po
/Makefile.tmp
11277 mv po
/Makefile.tmp po
/Makefile
;;
11282 cat >>$CONFIG_STATUS <<\_ACEOF
11284 { (exit 0); exit 0; }
11286 chmod +x
$CONFIG_STATUS
11287 ac_clean_files
=$ac_clean_files_save
11290 # configure is writing to config.log, and then calls config.status.
11291 # config.status does its own redirection, appending to config.log.
11292 # Unfortunately, on DOS this fails, as config.log is still kept open
11293 # by configure, so config.status won't be able to write to it; its
11294 # output is simply discarded. So we exec the FD to /dev/null,
11295 # effectively closing config.log, so it can be properly (re)opened and
11296 # appended to by config.status. When coming back to configure, we
11297 # need to make the FD available again.
11298 if test "$no_create" != yes; then
11300 ac_config_status_args
=
11301 test "$silent" = yes &&
11302 ac_config_status_args
="$ac_config_status_args --quiet"
11304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11307 # would make configure fail if this is the last instruction.
11308 $ac_cs_success ||
{ (exit 1); exit 1; }