2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="jartool.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 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 RM CP CHMOD MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fastjar_warn_cflags CPP EGREP ZLIBS ZDEPS ZINCS GENINSRC_TRUE GENINSRC_FALSE LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --disable-dependency-tracking speeds up one-time build
849 --enable-dependency-tracking do not reject slow dependency extractors
850 --enable-maintainer-mode enable make rules and dependencies not useful
851 (and sometimes confusing
) to the casual installer
852 --enable-generated-files-in-srcdir
853 put copies of generated files
in source dir
854 intended
for creating
source tarballs
for users
855 without texinfo
, perl
, bison or flex.
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-system-zlib use installed libz
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Do not use `cd foo
&& pwd` to compute absolute paths, because
909 # the directories may not exist.
911 .) ac_abs_builddir="$ac_dir";;
914 .) ac_abs_builddir=`pwd`;;
915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 case ${ac_top_builddir}. in
923 .) ac_abs_top_builddir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
932 .) ac_abs_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 case $ac_top_srcdir in
941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
948 # Check for guested configure; otherwise get Cygnus style configure.
949 if test -f $ac_srcdir/configure.gnu; then
951 $SHELL $ac_srcdir/configure.gnu --help=recursive
952 elif test -f $ac_srcdir/configure; then
954 $SHELL $ac_srcdir/configure --help=recursive
955 elif test -f $ac_srcdir/configure.ac ||
956 test -f $ac_srcdir/configure.in; then
960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by $as_me, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1256 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1281 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1309 am__api_version="1.9"
1311 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1312 if test -f $ac_dir/install-sh; then
1314 ac_install_sh="$ac_aux_dir/install-sh -c"
1316 elif test -f $ac_dir/install.sh; then
1318 ac_install_sh="$ac_aux_dir/install.sh -c"
1320 elif test -f $ac_dir/shtool; then
1322 ac_install_sh="$ac_aux_dir/shtool install -c"
1326 if test -z "$ac_aux_dir"; then
1327 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1328 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1329 { (exit 1); exit 1; }; }
1331 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1332 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1333 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1335 # Find a good install program. We prefer a C program (faster),
1336 # so one script is as good as another. But avoid the broken or
1337 # incompatible versions:
1338 # SysV /etc/install, /usr/sbin/install
1339 # SunOS /usr/etc/install
1340 # IRIX /sbin/install
1342 # AmigaOS /C/install, which installs bootblocks on floppy discs
1343 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1346 # OS/2's system install, which has a completely different semantic
1347 # ./install, which can be erroneously created by make from ./install.sh.
1348 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1349 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1350 if test -z "$INSTALL"; then
1351 if test "${ac_cv_path_install+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir
=.
1359 # Account for people who put trailing slashes in PATH elements.
1361 .
/ | .
// |
/cC
/* | \
1362 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1363 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1366 # OSF1 and SCO ODT 3.0 have their own names for install.
1367 # Don't use installbsd from OSF since it installs stuff as root
1369 for ac_prog
in ginstall scoinst
install; do
1370 for ac_exec_ext
in '' $ac_executable_extensions; do
1371 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372 if test $ac_prog = install &&
1373 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1374 # AIX install. It has an incompatible calling convention.
1376 elif test $ac_prog = install &&
1377 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1378 # program-specific install script used by HP pwplus--don't use.
1381 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1393 if test "${ac_cv_path_install+set}" = set; then
1394 INSTALL
=$ac_cv_path_install
1396 # As a last resort, use the slow shell script. We don't cache a
1397 # path for INSTALL within a source directory, because that will
1398 # break other packages using the cache if that directory is
1399 # removed, or if the path is relative.
1400 INSTALL
=$ac_install_sh
1403 echo "$as_me:$LINENO: result: $INSTALL" >&5
1404 echo "${ECHO_T}$INSTALL" >&6
1406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1407 # It thinks the first close brace ends the variable substitution.
1408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1412 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1414 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1415 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1418 echo timestamp
> conftest.
file
1419 # Do `set' in a subshell so we don't clobber the current shell's
1420 # arguments. Must try -L first in case configure is actually a
1421 # symlink; some systems play weird games with the mod time of symlinks
1422 # (eg FreeBSD returns the mod time of the symlink's containing
1425 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1426 if test "$*" = "X"; then
1428 set X
`ls -t $srcdir/configure conftest.file`
1431 if test "$*" != "X $srcdir/configure conftest.file" \
1432 && test "$*" != "X conftest.file $srcdir/configure"; then
1434 # If neither matched, then we have a broken ls. This can happen
1435 # if, for instance, CONFIG_SHELL is bash and it inherits a
1436 # broken ls alias from the environment. This has actually
1437 # happened. Such a system could not be considered "sane".
1438 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1439 alias in your environment" >&5
1440 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1441 alias in your environment" >&2;}
1442 { (exit 1); exit 1; }; }
1445 test "$2" = conftest.
file
1451 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1452 Check your system clock" >&5
1453 echo "$as_me: error: newly created file is older than distributed files!
1454 Check your system clock" >&2;}
1455 { (exit 1); exit 1; }; }
1457 echo "$as_me:$LINENO: result: yes" >&5
1458 echo "${ECHO_T}yes" >&6
1459 test "$program_prefix" != NONE
&&
1460 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1461 # Use a double $ so make ignores it.
1462 test "$program_suffix" != NONE
&&
1463 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1464 # Double any \ or $. echo might interpret backslashes.
1465 # By default was `s,x,x', remove it if useless.
1466 cat <<\_ACEOF
>conftest.
sed
1467 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1469 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1472 # expand $ac_aux_dir to an absolute path
1473 am_aux_dir
=`cd $ac_aux_dir && pwd`
1475 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1476 # Use eval to expand $SHELL
1477 if eval "$MISSING --run true"; then
1478 am_missing_run
="$MISSING --run "
1481 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1482 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1485 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1486 # We used to keeping the `.' as first argument, in order to
1487 # allow $(mkdir_p) to be used without argument. As in
1488 # $(mkdir_p) $(somedir)
1489 # where $(somedir) is conditionally defined. However this is wrong
1491 # 1. if the package is installed by a user who cannot write `.'
1492 # make install will fail,
1493 # 2. the above comment should most certainly read
1494 # $(mkdir_p) $(DESTDIR)$(somedir)
1495 # so it does not work when $(somedir) is undefined and
1496 # $(DESTDIR) is not.
1497 # To support the latter case, we have to write
1498 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1499 # so the `.' trick is pointless.
1500 mkdir_p
='mkdir -p --'
1502 # On NextStep and OpenStep, the `mkdir' command does not
1503 # recognize any option. It will interpret all options as
1504 # directories to create, and then abort because `.' already
1506 for d
in .
/-p .
/--version;
1508 test -d $d && rmdir $d
1510 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1511 if test -f "$ac_aux_dir/mkinstalldirs"; then
1512 mkdir_p
='$(mkinstalldirs)'
1514 mkdir_p
='$(install_sh) -d'
1518 for ac_prog
in gawk mawk nawk
awk
1520 # Extract the first word of "$ac_prog", so it can be a program name with args.
1521 set dummy
$ac_prog; ac_word
=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_AWK+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$AWK"; then
1528 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir
=.
1535 for ac_exec_ext
in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_AWK
="$ac_prog"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 if test -n "$AWK"; then
1548 echo "$as_me:$LINENO: result: $AWK" >&5
1549 echo "${ECHO_T}$AWK" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1555 test -n "$AWK" && break
1558 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1559 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1560 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1561 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 cat >conftest.
make <<\_ACEOF
1566 @
echo 'ac_maketemp="$(MAKE)"'
1568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1569 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1570 if test -n "$ac_maketemp"; then
1571 eval ac_cv_prog_make_
${ac_make}_set
=yes
1573 eval ac_cv_prog_make_
${ac_make}_set
=no
1577 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1578 echo "$as_me:$LINENO: result: yes" >&5
1579 echo "${ECHO_T}yes" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1584 SET_MAKE
="MAKE=${MAKE-make}"
1587 rm -rf .tst
2>/dev
/null
1588 mkdir .tst
2>/dev
/null
1589 if test -d .tst
; then
1594 rmdir .tst
2>/dev
/null
1596 # test to see if srcdir already configured
1597 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1598 test -f $srcdir/config.status
; then
1599 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1600 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1601 { (exit 1); exit 1; }; }
1604 # test whether we have cygpath
1605 if test -z "$CYGPATH_W"; then
1606 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1607 CYGPATH_W
='cygpath -w'
1614 # Define the identity of the package.
1619 cat >>confdefs.h
<<_ACEOF
1620 #define PACKAGE "$PACKAGE"
1624 cat >>confdefs.h
<<_ACEOF
1625 #define VERSION "$VERSION"
1628 # Some tools Automake needs.
1630 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1633 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1636 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1639 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1642 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1644 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1646 # Installed binaries are usually stripped using `strip' when the user
1647 # run `make install-strip'. However `strip' might not be the right
1648 # tool to use in cross-compilation environments, therefore Automake
1649 # will honor the `STRIP' environment variable to overrule this program.
1650 if test "$cross_compiling" != no
; then
1651 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1653 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_STRIP+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$STRIP"; then
1660 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir
=.
1667 for ac_exec_ext
in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 STRIP
=$ac_cv_prog_STRIP
1679 if test -n "$STRIP"; then
1680 echo "$as_me:$LINENO: result: $STRIP" >&5
1681 echo "${ECHO_T}$STRIP" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1688 if test -z "$ac_cv_prog_STRIP"; then
1690 # Extract the first word of "strip", so it can be a program name with args.
1691 set dummy strip
; ac_word
=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_STRIP"; then
1698 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_STRIP
="strip"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1717 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1718 if test -n "$ac_ct_STRIP"; then
1719 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1720 echo "${ECHO_T}$ac_ct_STRIP" >&6
1722 echo "$as_me:$LINENO: result: no" >&5
1723 echo "${ECHO_T}no" >&6
1728 STRIP
="$ac_cv_prog_STRIP"
1732 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1734 # We need awk for the "check" target. The system "awk" is bad on
1736 # Always define AMTAR for backward compatibility.
1738 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1740 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1746 ac_config_headers
="$ac_config_headers config.h"
1750 ac_cpp
='$CPP $CPPFLAGS'
1751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1754 if test -n "$ac_tool_prefix"; then
1755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1756 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1757 echo "$as_me:$LINENO: checking for $ac_word" >&5
1758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1759 if test "${ac_cv_prog_CC+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 if test -n "$CC"; then
1763 ac_cv_prog_CC
="$CC" # Let the user override the test.
1765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1769 test -z "$as_dir" && as_dir
=.
1770 for ac_exec_ext
in '' $ac_executable_extensions; do
1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1772 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1782 if test -n "$CC"; then
1783 echo "$as_me:$LINENO: result: $CC" >&5
1784 echo "${ECHO_T}$CC" >&6
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1791 if test -z "$ac_cv_prog_CC"; then
1793 # Extract the first word of "gcc", so it can be a program name with args.
1794 set dummy gcc
; ac_word
=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$ac_ct_CC"; then
1801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1807 test -z "$as_dir" && as_dir
=.
1808 for ac_exec_ext
in '' $ac_executable_extensions; do
1809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810 ac_cv_prog_ac_ct_CC
="gcc"
1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1820 if test -n "$ac_ct_CC"; then
1821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1822 echo "${ECHO_T}$ac_ct_CC" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1833 if test -z "$CC"; then
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_CC+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$CC"; then
1843 ac_cv_prog_CC
="$CC" # Let the user override the test.
1845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir
=.
1850 for ac_exec_ext
in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 if test -n "$CC"; then
1863 echo "$as_me:$LINENO: result: $CC" >&5
1864 echo "${ECHO_T}$CC" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$ac_cv_prog_CC"; then
1873 # Extract the first word of "cc", so it can be a program name with args.
1874 set dummy cc
; ac_word
=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_CC"; then
1881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir
=.
1888 for ac_exec_ext
in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_CC
="cc"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1900 if test -n "$ac_ct_CC"; then
1901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1902 echo "${ECHO_T}$ac_ct_CC" >&6
1904 echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6
1914 if test -z "$CC"; then
1915 # Extract the first word of "cc", so it can be a program name with args.
1916 set dummy cc
; ac_word
=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC
="$CC" # Let the user override the test.
1926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1930 test -z "$as_dir" && as_dir
=.
1931 for ac_exec_ext
in '' $ac_executable_extensions; do
1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1934 ac_prog_rejected
=yes
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 if test $ac_prog_rejected = yes; then
1945 # We found a bogon in the path, so make sure we never use it.
1946 set dummy
$ac_cv_prog_CC
1948 if test $# != 0; then
1949 # We chose a different compiler from the bogus one.
1950 # However, it has the same basename, so the bogon will be chosen
1951 # first if we set CC to just the basename; use the full file name.
1953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1959 if test -n "$CC"; then
1960 echo "$as_me:$LINENO: result: $CC" >&5
1961 echo "${ECHO_T}$CC" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1968 if test -z "$CC"; then
1969 if test -n "$ac_tool_prefix"; then
1972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_CC+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC
="$CC" # Let the user override the test.
1982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir
=.
1987 for ac_exec_ext
in '' $ac_executable_extensions; do
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test -n "$CC"; then
2000 echo "$as_me:$LINENO: result: $CC" >&5
2001 echo "${ECHO_T}$CC" >&6
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2007 test -n "$CC" && break
2010 if test -z "$CC"; then
2014 # Extract the first word of "$ac_prog", so it can be a program name with args.
2015 set dummy
$ac_prog; ac_word
=$2
2016 echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 if test -n "$ac_ct_CC"; then
2022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2028 test -z "$as_dir" && as_dir
=.
2029 for ac_exec_ext
in '' $ac_executable_extensions; do
2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_ac_ct_CC
="$ac_prog"
2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2041 if test -n "$ac_ct_CC"; then
2042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2043 echo "${ECHO_T}$ac_ct_CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2049 test -n "$ac_ct_CC" && break
2058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2059 See \`config.log' for more details." >&5
2060 echo "$as_me: error: no acceptable C compiler found in \$PATH
2061 See \`config.log' for more details." >&2;}
2062 { (exit 1); exit 1; }; }
2064 # Provide some information about the compiler.
2065 echo "$as_me:$LINENO:" \
2066 "checking for C compiler version" >&5
2067 ac_compiler
=`set X $ac_compile; echo $2`
2068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2069 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }
2073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2074 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); }
2078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2079 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }
2084 cat >conftest.
$ac_ext <<_ACEOF
2087 cat confdefs.h
>>conftest.
$ac_ext
2088 cat >>conftest.
$ac_ext <<_ACEOF
2089 /* end confdefs.h. */
2099 ac_clean_files_save
=$ac_clean_files
2100 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2101 # Try to create an executable without -o first, disregard a.out.
2102 # It will help us diagnose broken compilers, and finding out an intuition
2104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2106 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2108 (eval $ac_link_default) 2>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); }; then
2112 # Find the output, starting from the most likely. This scheme is
2113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2116 # Be careful to initialize this variable, since it used to be cached.
2117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2119 # b.out is created by i960 compilers.
2120 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2122 test -f "$ac_file" ||
continue
2124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2127 # This is the source file.
2130 # We found the default executable, but exeext='' is most
2134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2135 # FIXME: I believe we export ac_cv_exeext for Libtool,
2136 # but it would be cool to find out if it's true. Does anybody
2137 # maintain Libtool? --akim.
2145 echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.
$ac_ext >&5
2148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2149 See \`config.log' for more details." >&5
2150 echo "$as_me: error: C compiler cannot create executables
2151 See \`config.log' for more details." >&2;}
2152 { (exit 77); exit 77; }; }
2155 ac_exeext
=$ac_cv_exeext
2156 echo "$as_me:$LINENO: result: $ac_file" >&5
2157 echo "${ECHO_T}$ac_file" >&6
2159 # Check the compiler produces executables we can run. If not, either
2160 # the compiler is broken, or we cross compile.
2161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2164 # If not cross compiling, check that we can run a simple program.
2165 if test "$cross_compiling" != yes; then
2166 if { ac_try
='./$ac_file'
2167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }; }; then
2174 if test "$cross_compiling" = maybe
; then
2177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2178 If you meant to cross compile, use \`--host'.
2179 See \`config.log' for more details." >&5
2180 echo "$as_me: error: cannot run C compiled programs.
2181 If you meant to cross compile, use \`--host'.
2182 See \`config.log' for more details." >&2;}
2183 { (exit 1); exit 1; }; }
2187 echo "$as_me:$LINENO: result: yes" >&5
2188 echo "${ECHO_T}yes" >&6
2190 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2191 ac_clean_files
=$ac_clean_files_save
2192 # Check the compiler produces executables we can run. If not, either
2193 # the compiler is broken, or we cross compile.
2194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2197 echo "${ECHO_T}$cross_compiling" >&6
2199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2202 (eval $ac_link) 2>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; then
2206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2208 # work properly (i.e., refer to `conftest.exe'), while it won't with
2210 for ac_file
in conftest.exe conftest conftest.
*; do
2211 test -f "$ac_file" ||
continue
2213 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2214 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2222 See \`config.log' for more details." >&5
2223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2224 See \`config.log' for more details." >&2;}
2225 { (exit 1); exit 1; }; }
2228 rm -f conftest
$ac_cv_exeext
2229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2230 echo "${ECHO_T}$ac_cv_exeext" >&6
2232 rm -f conftest.
$ac_ext
2233 EXEEXT
=$ac_cv_exeext
2235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2237 if test "${ac_cv_objext+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 cat >conftest.
$ac_ext <<_ACEOF
2243 cat confdefs.h
>>conftest.
$ac_ext
2244 cat >>conftest.
$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2255 rm -f conftest.o conftest.obj
2256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2257 (eval $ac_compile) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; then
2261 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2263 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2264 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2269 echo "$as_me: failed program was:" >&5
2270 sed 's/^/| /' conftest.
$ac_ext >&5
2272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2273 See \`config.log' for more details." >&5
2274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2275 See \`config.log' for more details." >&2;}
2276 { (exit 1); exit 1; }; }
2279 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2282 echo "${ECHO_T}$ac_cv_objext" >&6
2283 OBJEXT
=$ac_cv_objext
2285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 cat >conftest.
$ac_ext <<_ACEOF
2293 cat confdefs.h
>>conftest.
$ac_ext
2294 cat >>conftest.
$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2308 rm -f conftest.
$ac_objext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1
>conftest.err
2314 cat conftest.err
>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try
='test -z "$ac_c_werror_flag"
2318 || test ! -s conftest.err'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; } &&
2324 { ac_try
='test -s conftest.$ac_objext'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; }; then
2332 echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2338 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2341 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2342 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2343 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2344 ac_test_CFLAGS
=${CFLAGS+set}
2345 ac_save_CFLAGS
=$CFLAGS
2347 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2348 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2349 if test "${ac_cv_prog_cc_g+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 cat >conftest.
$ac_ext <<_ACEOF
2355 cat confdefs.h
>>conftest.
$ac_ext
2356 cat >>conftest.
$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2367 rm -f conftest.
$ac_objext
2368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2369 (eval $ac_compile) 2>conftest.er1
2371 grep -v '^ *+' conftest.er1
>conftest.err
2373 cat conftest.err
>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } &&
2376 { ac_try
='test -z "$ac_c_werror_flag"
2377 || test ! -s conftest.err'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; } &&
2383 { ac_try
='test -s conftest.$ac_objext'
2384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; }; then
2391 echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.
$ac_ext >&5
2396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2399 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2400 if test "$ac_test_CFLAGS" = set; then
2401 CFLAGS
=$ac_save_CFLAGS
2402 elif test $ac_cv_prog_cc_g = yes; then
2403 if test "$GCC" = yes; then
2409 if test "$GCC" = yes; then
2415 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2416 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2417 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 ac_cv_prog_cc_stdc
=no
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2430 #include <sys/types.h>
2431 #include <sys/stat.h>
2432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2433 struct buf { int x; };
2434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2435 static char *e (p, i)
2441 static char *f (char * (*g) (char **, int), char **p, ...)
2446 s = g (p, va_arg (v,int));
2451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2452 function prototypes and stuff, but not '\xHH' hex character constants.
2453 These don't provoke an error unfortunately, instead are silently treated
2454 as 'x'. The following induces an error, until -std1 is added to get
2455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2456 array size at least. It's necessary to write '\x00'==0 to get something
2457 that's true only with -std1. */
2458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2460 int test (int i, double x);
2461 struct s1 {int (*f) (int a);};
2462 struct s2 {int (*f) (double a);};
2463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2474 # Don't try gcc -ansi; that turns off useful extensions and
2475 # breaks some systems' header files.
2476 # AIX -qlanglvl=ansi
2477 # Ultrix and OSF/1 -std1
2478 # HP-UX 10.20 and later -Ae
2479 # HP-UX older versions -Aa -D_HPUX_SOURCE
2480 # SVR4 -Xc -D__EXTENSIONS__
2481 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2483 CC
="$ac_save_CC $ac_arg"
2484 rm -f conftest.
$ac_objext
2485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2486 (eval $ac_compile) 2>conftest.er1
2488 grep -v '^ *+' conftest.er1
>conftest.err
2490 cat conftest.err
>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); } &&
2493 { ac_try
='test -z "$ac_c_werror_flag"
2494 || test ! -s conftest.err'
2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; } &&
2500 { ac_try
='test -s conftest.$ac_objext'
2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2506 ac_cv_prog_cc_stdc
=$ac_arg
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2513 rm -f conftest.err conftest.
$ac_objext
2515 rm -f conftest.
$ac_ext conftest.
$ac_objext
2520 case "x$ac_cv_prog_cc_stdc" in
2522 echo "$as_me:$LINENO: result: none needed" >&5
2523 echo "${ECHO_T}none needed" >&6 ;;
2525 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2526 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2527 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2530 # Some people use a C++ compiler to compile C. Since we use `exit',
2531 # in C++ we need to declare it. In case someone uses the same compiler
2532 # for both compiling C and C++ we need to have the C++ compiler decide
2533 # the declaration of exit, since it's the most demanding environment.
2534 cat >conftest.
$ac_ext <<_ACEOF
2539 rm -f conftest.
$ac_objext
2540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2541 (eval $ac_compile) 2>conftest.er1
2543 grep -v '^ *+' conftest.er1
>conftest.err
2545 cat conftest.err
>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } &&
2548 { ac_try
='test -z "$ac_c_werror_flag"
2549 || test ! -s conftest.err'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; } &&
2555 { ac_try
='test -s conftest.$ac_objext'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; }; then
2561 for ac_declaration
in \
2563 'extern "C" void std::exit (int) throw (); using std::exit;' \
2564 'extern "C" void std::exit (int); using std::exit;' \
2565 'extern "C" void exit (int) throw ();' \
2566 'extern "C" void exit (int);' \
2569 cat >conftest.
$ac_ext <<_ACEOF
2572 cat confdefs.h
>>conftest.
$ac_ext
2573 cat >>conftest.
$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2585 rm -f conftest.
$ac_objext
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2589 grep -v '^ *+' conftest.er1
>conftest.err
2591 cat conftest.err
>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try
='test -z "$ac_c_werror_flag"
2595 || test ! -s conftest.err'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; } &&
2601 { ac_try
='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.
$ac_ext >&5
2614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2615 cat >conftest.
$ac_ext <<_ACEOF
2618 cat confdefs.h
>>conftest.
$ac_ext
2619 cat >>conftest.
$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.
$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>conftest.er1
2634 grep -v '^ *+' conftest.er1
>conftest.err
2636 cat conftest.err
>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); } &&
2639 { ac_try
='test -z "$ac_c_werror_flag"
2640 || test ! -s conftest.err'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; } &&
2646 { ac_try
='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2654 echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.
$ac_ext >&5
2658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2661 if test -n "$ac_declaration"; then
2662 echo '#ifdef __cplusplus' >>confdefs.h
2663 echo $ac_declaration >>confdefs.h
2664 echo '#endif' >>confdefs.h
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2674 ac_cpp
='$CPP $CPPFLAGS'
2675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2678 DEPDIR
="${am__leading_dot}deps"
2680 ac_config_commands
="$ac_config_commands depfiles"
2683 am_make
=${MAKE-make}
2684 cat > confinc
<< 'END'
2689 # If we don't find an include directive, just comment out the code.
2690 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2691 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2695 # First try GNU make style include.
2696 echo "include confinc" > confmf
2697 # We grep out `Entering directory' and `Leaving directory'
2698 # messages which can occur if `w' ends up in MAKEFLAGS.
2699 # In particular we don't look at `^make:' because GNU make might
2700 # be invoked under some other name (usually "gmake"), in which
2701 # case it prints its new name instead of `make'.
2702 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2707 # Now try BSD make style include.
2708 if test "$am__include" = "#"; then
2709 echo '.include "confinc"' > confmf
2710 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2711 am__include
=.include
2718 echo "$as_me:$LINENO: result: $_am_result" >&5
2719 echo "${ECHO_T}$_am_result" >&6
2720 rm -f confinc confmf
2722 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2723 if test "${enable_dependency_tracking+set}" = set; then
2724 enableval
="$enable_dependency_tracking"
2727 if test "x$enable_dependency_tracking" != xno
; then
2728 am_depcomp
="$ac_aux_dir/depcomp"
2733 if test "x$enable_dependency_tracking" != xno; then
2744 depcc
="$CC" am_compiler_list
=
2746 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2747 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2748 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2752 # We make a subdir and do the tests there. Otherwise we can end up
2753 # making bogus files that we don't know about and never remove. For
2754 # instance it was reported that on HP-UX the gcc test will end up
2755 # making a dummy file named `D' -- because `-MD' means `put the output
2758 # Copy depcomp to subdir because otherwise we won't find it if we're
2759 # using a relative directory.
2760 cp "$am_depcomp" conftest.dir
2762 # We will build objects and dependencies in a subdirectory because
2763 # it helps to detect inapplicable dependency modes. For instance
2764 # both Tru64's cc and ICC support -MD to output dependencies as a
2765 # side effect of compilation, but ICC will put the dependencies in
2766 # the current directory while Tru64 will put them in the object
2770 am_cv_CC_dependencies_compiler_type
=none
2771 if test "$am_compiler_list" = ""; then
2772 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2774 for depmode
in $am_compiler_list; do
2775 # Setup a source with many dependencies, because some compilers
2776 # like to wrap large dependency lists on column 80 (with \), and
2777 # we should not choose a depcomp mode which is confused by this.
2779 # We need to recreate these files for each test, as the compiler may
2780 # overwrite some of them when testing with obscure command lines.
2781 # This happens at least with the AIX C compiler.
2783 for i
in 1 2 3 4 5 6; do
2784 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2785 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2786 # Solaris 8's {/usr,}/bin/sh.
2787 touch sub
/conftst
$i.h
2789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2793 # after this tag, mechanisms are not by side-effect, so they'll
2794 # only be used when explicitly requested
2795 if test "x$enable_dependency_tracking" = xyes
; then
2803 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2804 # mode. It turns out that the SunPro C++ compiler does not properly
2805 # handle `-M -o', and we need to detect this.
2806 if depmode
=$depmode \
2807 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2808 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2809 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2810 >/dev
/null
2>conftest.err
&&
2811 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2812 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2813 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2814 # icc doesn't choke on unknown options, it will just issue warnings
2815 # or remarks (even with -Werror). So we grep stderr for any message
2816 # that says an option was ignored or not supported.
2817 # When given -MP, icc 7.0 and 7.1 complain thusly:
2818 # icc: Command line warning: ignoring option '-M'; no argument required
2819 # The diagnosis changed in icc 8.0:
2820 # icc: Command line remark: option '-MP' not supported
2821 if (grep 'ignoring option' conftest.err ||
2822 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2823 am_cv_CC_dependencies_compiler_type
=$depmode
2832 am_cv_CC_dependencies_compiler_type
=none
2836 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2837 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2838 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2843 test "x$enable_dependency_tracking" != xno \
2844 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2846 am__fastdepCC_FALSE
='#'
2848 am__fastdepCC_TRUE
='#'
2849 am__fastdepCC_FALSE
=
2853 # Find a good install program. We prefer a C program (faster),
2854 # so one script is as good as another. But avoid the broken or
2855 # incompatible versions:
2856 # SysV /etc/install, /usr/sbin/install
2857 # SunOS /usr/etc/install
2858 # IRIX /sbin/install
2860 # AmigaOS /C/install, which installs bootblocks on floppy discs
2861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2864 # OS/2's system install, which has a completely different semantic
2865 # ./install, which can be erroneously created by make from ./install.sh.
2866 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2867 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2868 if test -z "$INSTALL"; then
2869 if test "${ac_cv_path_install+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 # Account for people who put trailing slashes in PATH elements.
2879 .
/ | .
// |
/cC
/* | \
2880 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2881 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2884 # OSF1 and SCO ODT 3.0 have their own names for install.
2885 # Don't use installbsd from OSF since it installs stuff as root
2887 for ac_prog
in ginstall scoinst
install; do
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2890 if test $ac_prog = install &&
2891 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2892 # AIX install. It has an incompatible calling convention.
2894 elif test $ac_prog = install &&
2895 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2896 # program-specific install script used by HP pwplus--don't use.
2899 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2911 if test "${ac_cv_path_install+set}" = set; then
2912 INSTALL
=$ac_cv_path_install
2914 # As a last resort, use the slow shell script. We don't cache a
2915 # path for INSTALL within a source directory, because that will
2916 # break other packages using the cache if that directory is
2917 # removed, or if the path is relative.
2918 INSTALL
=$ac_install_sh
2921 echo "$as_me:$LINENO: result: $INSTALL" >&5
2922 echo "${ECHO_T}$INSTALL" >&6
2924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2925 # It thinks the first close brace ends the variable substitution.
2926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2930 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2932 # Extract the first word of "rm", so it can be a program name with args.
2933 set dummy
rm; ac_word
=$2
2934 echo "$as_me:$LINENO: checking for $ac_word" >&5
2935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2936 if test "${ac_cv_path_RM+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2946 for as_dir
in $as_dummy
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
2965 if test -n "$RM"; then
2966 echo "$as_me:$LINENO: result: $RM" >&5
2967 echo "${ECHO_T}$RM" >&6
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2973 # Extract the first word of "cp", so it can be a program name with args.
2974 set dummy
cp; ac_word
=$2
2975 echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2977 if test "${ac_cv_path_CP+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2987 for as_dir
in $as_dummy
2990 test -z "$as_dir" && as_dir
=.
2991 for ac_exec_ext
in '' $ac_executable_extensions; do
2992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
3006 if test -n "$CP"; then
3007 echo "$as_me:$LINENO: result: $CP" >&5
3008 echo "${ECHO_T}$CP" >&6
3010 echo "$as_me:$LINENO: result: no" >&5
3011 echo "${ECHO_T}no" >&6
3014 # Extract the first word of "strip", so it can be a program name with args.
3015 set dummy strip
; ac_word
=$2
3016 echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3018 if test "${ac_cv_path_STRIP+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
3028 for as_dir
in $as_dummy
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
3045 STRIP
=$ac_cv_path_STRIP
3047 if test -n "$STRIP"; then
3048 echo "$as_me:$LINENO: result: $STRIP" >&5
3049 echo "${ECHO_T}$STRIP" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3055 # Extract the first word of "chmod", so it can be a program name with args.
3056 set dummy
chmod; ac_word
=$2
3057 echo "$as_me:$LINENO: checking for $ac_word" >&5
3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3059 if test "${ac_cv_path_CHMOD+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3068 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
3069 for as_dir
in $as_dummy
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
3076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
3086 CHMOD
=$ac_cv_path_CHMOD
3088 if test -n "$CHMOD"; then
3089 echo "$as_me:$LINENO: result: $CHMOD" >&5
3090 echo "${ECHO_T}$CHMOD" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3098 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3099 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3100 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3101 if test "${enable_maintainer_mode+set}" = set; then
3102 enableval
="$enable_maintainer_mode"
3103 USE_MAINTAINER_MODE
=$enableval
3105 USE_MAINTAINER_MODE
=no
3107 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3108 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3111 if test $USE_MAINTAINER_MODE = yes; then
3112 MAINTAINER_MODE_TRUE
=
3113 MAINTAINER_MODE_FALSE
='#'
3115 MAINTAINER_MODE_TRUE
='#'
3116 MAINTAINER_MODE_FALSE
=
3119 MAINT
=$MAINTAINER_MODE_TRUE
3123 if test "$GCC" = yes; then
3124 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
3135 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3136 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3137 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3138 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3148 #include <sys/types.h>
3160 rm -f conftest.
$ac_objext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>conftest.er1
3164 grep -v '^ *+' conftest.er1
>conftest.err
3166 cat conftest.err
>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try
='test -z "$ac_c_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try
='test -s conftest.$ac_objext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 eval "$as_ac_Header=yes"
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 eval "$as_ac_Header=no"
3189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3194 cat >>confdefs.h
<<_ACEOF
3195 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3198 ac_header_dirent
=$ac_hdr; break
3202 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3203 if test $ac_header_dirent = dirent.h
; then
3204 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3205 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3206 if test "${ac_cv_search_opendir+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 ac_func_search_save_LIBS
=$LIBS
3210 ac_cv_search_opendir
=no
3211 cat >conftest.
$ac_ext <<_ACEOF
3214 cat confdefs.h
>>conftest.
$ac_ext
3215 cat >>conftest.
$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3218 /* Override any gcc2 internal prototype to avoid an error. */
3222 /* We use char because int might match the return type of a gcc2
3223 builtin and then its argument prototype would still apply. */
3233 rm -f conftest.
$ac_objext conftest
$ac_exeext
3234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3235 (eval $ac_link) 2>conftest.er1
3237 grep -v '^ *+' conftest.er1
>conftest.err
3239 cat conftest.err
>&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } &&
3242 { ac_try
='test -z "$ac_c_werror_flag"
3243 || test ! -s conftest.err'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; } &&
3249 { ac_try
='test -s conftest$ac_exeext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 ac_cv_search_opendir
="none required"
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3261 rm -f conftest.err conftest.
$ac_objext \
3262 conftest
$ac_exeext conftest.
$ac_ext
3263 if test "$ac_cv_search_opendir" = no
; then
3264 for ac_lib
in dir
; do
3265 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3266 cat >conftest.
$ac_ext <<_ACEOF
3269 cat confdefs.h
>>conftest.
$ac_ext
3270 cat >>conftest.
$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3273 /* Override any gcc2 internal prototype to avoid an error. */
3277 /* We use char because int might match the return type of a gcc2
3278 builtin and then its argument prototype would still apply. */
3288 rm -f conftest.
$ac_objext conftest
$ac_exeext
3289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3290 (eval $ac_link) 2>conftest.er1
3292 grep -v '^ *+' conftest.er1
>conftest.err
3294 cat conftest.err
>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try
='test -z "$ac_c_werror_flag"
3298 || test ! -s conftest.err'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; } &&
3304 { ac_try
='test -s conftest$ac_exeext'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_search_opendir
="-l$ac_lib"
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3317 rm -f conftest.err conftest.
$ac_objext \
3318 conftest
$ac_exeext conftest.
$ac_ext
3321 LIBS
=$ac_func_search_save_LIBS
3323 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3324 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3325 if test "$ac_cv_search_opendir" != no
; then
3326 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3331 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3332 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3333 if test "${ac_cv_search_opendir+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 ac_func_search_save_LIBS
=$LIBS
3337 ac_cv_search_opendir
=no
3338 cat >conftest.
$ac_ext <<_ACEOF
3341 cat confdefs.h
>>conftest.
$ac_ext
3342 cat >>conftest.
$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3345 /* Override any gcc2 internal prototype to avoid an error. */
3349 /* We use char because int might match the return type of a gcc2
3350 builtin and then its argument prototype would still apply. */
3360 rm -f conftest.
$ac_objext conftest
$ac_exeext
3361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3362 (eval $ac_link) 2>conftest.er1
3364 grep -v '^ *+' conftest.er1
>conftest.err
3366 cat conftest.err
>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } &&
3369 { ac_try
='test -z "$ac_c_werror_flag"
3370 || test ! -s conftest.err'
3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; } &&
3376 { ac_try
='test -s conftest$ac_exeext'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; }; then
3382 ac_cv_search_opendir
="none required"
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.
$ac_ext >&5
3388 rm -f conftest.err conftest.
$ac_objext \
3389 conftest
$ac_exeext conftest.
$ac_ext
3390 if test "$ac_cv_search_opendir" = no
; then
3392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3393 cat >conftest.
$ac_ext <<_ACEOF
3396 cat confdefs.h
>>conftest.
$ac_ext
3397 cat >>conftest.
$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3400 /* Override any gcc2 internal prototype to avoid an error. */
3404 /* We use char because int might match the return type of a gcc2
3405 builtin and then its argument prototype would still apply. */
3415 rm -f conftest.
$ac_objext conftest
$ac_exeext
3416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3417 (eval $ac_link) 2>conftest.er1
3419 grep -v '^ *+' conftest.er1
>conftest.err
3421 cat conftest.err
>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 { ac_try
='test -z "$ac_c_werror_flag"
3425 || test ! -s conftest.err'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; } &&
3431 { ac_try
='test -s conftest$ac_exeext'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; }; then
3437 ac_cv_search_opendir
="-l$ac_lib"
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.
$ac_ext >&5
3444 rm -f conftest.err conftest.
$ac_objext \
3445 conftest
$ac_exeext conftest.
$ac_ext
3448 LIBS
=$ac_func_search_save_LIBS
3450 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3451 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3452 if test "$ac_cv_search_opendir" != no
; then
3453 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3460 ac_cpp
='$CPP $CPPFLAGS'
3461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3464 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3465 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3466 # On Suns, sometimes $CPP names a directory.
3467 if test -n "$CPP" && test -d "$CPP"; then
3470 if test -z "$CPP"; then
3471 if test "${ac_cv_prog_CPP+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 # Double quotes because CPP needs to be expanded
3475 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3478 for ac_c_preproc_warn_flag
in '' yes
3480 # Use a header file that comes with gcc, so configuring glibc
3481 # with a fresh cross-compiler works.
3482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3483 # <limits.h> exists even on freestanding compilers.
3484 # On the NeXT, cc -E runs the code through the compiler's parser,
3485 # not just through cpp. "Syntax error" is here to catch this case.
3486 cat >conftest.
$ac_ext <<_ACEOF
3489 cat confdefs.h
>>conftest.
$ac_ext
3490 cat >>conftest.
$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3493 # include <limits.h>
3495 # include <assert.h>
3499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3502 grep -v '^ *+' conftest.er1
>conftest.err
3504 cat conftest.err
>&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } >/dev
/null
; then
3507 if test -s conftest.err
; then
3508 ac_cpp_err
=$ac_c_preproc_warn_flag
3509 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3516 if test -z "$ac_cpp_err"; then
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3522 # Broken: fails on valid input.
3525 rm -f conftest.err conftest.
$ac_ext
3527 # OK, works on sane cases. Now check whether non-existent headers
3528 # can be detected and how.
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3535 #include <ac_nonexistent.h>
3537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3538 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3540 grep -v '^ *+' conftest.er1
>conftest.err
3542 cat conftest.err
>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } >/dev
/null
; then
3545 if test -s conftest.err
; then
3546 ac_cpp_err
=$ac_c_preproc_warn_flag
3547 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3554 if test -z "$ac_cpp_err"; then
3555 # Broken: success on invalid input.
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.
$ac_ext >&5
3561 # Passes both tests.
3565 rm -f conftest.err conftest.
$ac_ext
3568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3569 rm -f conftest.err conftest.
$ac_ext
3570 if $ac_preproc_ok; then
3582 echo "$as_me:$LINENO: result: $CPP" >&5
3583 echo "${ECHO_T}$CPP" >&6
3585 for ac_c_preproc_warn_flag
in '' yes
3587 # Use a header file that comes with gcc, so configuring glibc
3588 # with a fresh cross-compiler works.
3589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3590 # <limits.h> exists even on freestanding compilers.
3591 # On the NeXT, cc -E runs the code through the compiler's parser,
3592 # not just through cpp. "Syntax error" is here to catch this case.
3593 cat >conftest.
$ac_ext <<_ACEOF
3596 cat confdefs.h
>>conftest.
$ac_ext
3597 cat >>conftest.
$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 # include <limits.h>
3602 # include <assert.h>
3606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1
>conftest.err
3611 cat conftest.err
>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } >/dev
/null
; then
3614 if test -s conftest.err
; then
3615 ac_cpp_err
=$ac_c_preproc_warn_flag
3616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3623 if test -z "$ac_cpp_err"; then
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.
$ac_ext >&5
3629 # Broken: fails on valid input.
3632 rm -f conftest.err conftest.
$ac_ext
3634 # OK, works on sane cases. Now check whether non-existent headers
3635 # can be detected and how.
3636 cat >conftest.
$ac_ext <<_ACEOF
3639 cat confdefs.h
>>conftest.
$ac_ext
3640 cat >>conftest.
$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3642 #include <ac_nonexistent.h>
3644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3647 grep -v '^ *+' conftest.er1
>conftest.err
3649 cat conftest.err
>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } >/dev
/null
; then
3652 if test -s conftest.err
; then
3653 ac_cpp_err
=$ac_c_preproc_warn_flag
3654 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3661 if test -z "$ac_cpp_err"; then
3662 # Broken: success on invalid input.
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.
$ac_ext >&5
3668 # Passes both tests.
3672 rm -f conftest.err conftest.
$ac_ext
3675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3676 rm -f conftest.err conftest.
$ac_ext
3677 if $ac_preproc_ok; then
3680 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3681 See \`config.log' for more details." >&5
3682 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3683 See \`config.log' for more details." >&2;}
3684 { (exit 1); exit 1; }; }
3688 ac_cpp
='$CPP $CPPFLAGS'
3689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3694 echo "$as_me:$LINENO: checking for egrep" >&5
3695 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3696 if test "${ac_cv_prog_egrep+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3700 then ac_cv_prog_egrep
='grep -E'
3701 else ac_cv_prog_egrep
='egrep'
3704 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3705 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3706 EGREP
=$ac_cv_prog_egrep
3709 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3710 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3711 if test "${ac_cv_header_stdc+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 cat >conftest.
$ac_ext <<_ACEOF
3717 cat confdefs.h
>>conftest.
$ac_ext
3718 cat >>conftest.
$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3733 rm -f conftest.
$ac_objext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>conftest.er1
3737 grep -v '^ *+' conftest.er1
>conftest.err
3739 cat conftest.err
>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } &&
3742 { ac_try
='test -z "$ac_c_werror_flag"
3743 || test ! -s conftest.err'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; } &&
3749 { ac_try
='test -s conftest.$ac_objext'
3750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); }; }; then
3755 ac_cv_header_stdc
=yes
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.
$ac_ext >&5
3760 ac_cv_header_stdc
=no
3762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3764 if test $ac_cv_header_stdc = yes; then
3765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3766 cat >conftest.
$ac_ext <<_ACEOF
3769 cat confdefs.h
>>conftest.
$ac_ext
3770 cat >>conftest.
$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "memchr" >/dev
/null
2>&1; then
3779 ac_cv_header_stdc
=no
3785 if test $ac_cv_header_stdc = yes; then
3786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3787 cat >conftest.
$ac_ext <<_ACEOF
3790 cat confdefs.h
>>conftest.
$ac_ext
3791 cat >>conftest.
$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3797 $EGREP "free" >/dev
/null
2>&1; then
3800 ac_cv_header_stdc
=no
3806 if test $ac_cv_header_stdc = yes; then
3807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3808 if test "$cross_compiling" = yes; then
3811 cat >conftest.
$ac_ext <<_ACEOF
3814 cat confdefs.h
>>conftest.
$ac_ext
3815 cat >>conftest.
$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3818 #if ((' ' & 0x0FF) == 0x020)
3819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3822 # define ISLOWER(c) \
3823 (('a' <= (c) && (c) <= 'i') \
3824 || ('j' <= (c) && (c) <= 'r') \
3825 || ('s' <= (c) && (c) <= 'z'))
3826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3834 for (i = 0; i < 256; i++)
3835 if (XOR (islower (i), ISLOWER (i))
3836 || toupper (i) != TOUPPER (i))
3841 rm -f conftest
$ac_exeext
3842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3843 (eval $ac_link) 2>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; }; then
3854 echo "$as_me: program exited with status $ac_status" >&5
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3859 ac_cv_header_stdc
=no
3861 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3866 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3867 if test $ac_cv_header_stdc = yes; then
3869 cat >>confdefs.h
<<\_ACEOF
3870 #define STDC_HEADERS 1
3875 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3876 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3877 if test "${ac_cv_struct_tm+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 #include <sys/types.h>
3892 struct tm *tp; tp->tm_sec;
3897 rm -f conftest.
$ac_objext
3898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3899 (eval $ac_compile) 2>conftest.er1
3901 grep -v '^ *+' conftest.er1
>conftest.err
3903 cat conftest.err
>&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } &&
3906 { ac_try
='test -z "$ac_c_werror_flag"
3907 || test ! -s conftest.err'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; } &&
3913 { ac_try
='test -s conftest.$ac_objext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3919 ac_cv_struct_tm
=time.h
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.
$ac_ext >&5
3924 ac_cv_struct_tm
=sys
/time.h
3926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3928 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3929 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3930 if test $ac_cv_struct_tm = sys
/time.h
; then
3932 cat >>confdefs.h
<<\_ACEOF
3933 #define TM_IN_SYS_TIME 1
3938 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3948 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3949 inttypes.h stdint.h unistd.h
3951 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3952 echo "$as_me:$LINENO: checking for $ac_header" >&5
3953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 cat >conftest.
$ac_ext <<_ACEOF
3960 cat confdefs.h
>>conftest.
$ac_ext
3961 cat >>conftest.
$ac_ext <<_ACEOF
3962 /* end confdefs.h. */
3963 $ac_includes_default
3965 #include <$ac_header>
3967 rm -f conftest.
$ac_objext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969 (eval $ac_compile) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1
>conftest.err
3973 cat conftest.err
>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try
='test -z "$ac_c_werror_flag"
3977 || test ! -s conftest.err'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; } &&
3983 { ac_try
='test -s conftest.$ac_objext'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; }; then
3989 eval "$as_ac_Header=yes"
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 eval "$as_ac_Header=no"
3996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4001 cat >>confdefs.h
<<_ACEOF
4002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4015 for ac_header
in fcntl.h unistd.h sys
/param.h stdlib.h limits.h
4017 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echo "$as_me:$LINENO: checking for $ac_header" >&5
4020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4027 # Is the header compilable?
4028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4030 cat >conftest.
$ac_ext <<_ACEOF
4033 cat confdefs.h
>>conftest.
$ac_ext
4034 cat >>conftest.
$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 $ac_includes_default
4037 #include <$ac_header>
4039 rm -f conftest.
$ac_objext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4041 (eval $ac_compile) 2>conftest.er1
4043 grep -v '^ *+' conftest.er1
>conftest.err
4045 cat conftest.err
>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try
='test -z "$ac_c_werror_flag"
4049 || test ! -s conftest.err'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; } &&
4055 { ac_try
='test -s conftest.$ac_objext'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4061 ac_header_compiler
=yes
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.
$ac_ext >&5
4066 ac_header_compiler
=no
4068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4070 echo "${ECHO_T}$ac_header_compiler" >&6
4072 # Is the header present?
4073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4081 #include <$ac_header>
4083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } >/dev
/null
; then
4091 if test -s conftest.err
; then
4092 ac_cpp_err
=$ac_c_preproc_warn_flag
4093 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4100 if test -z "$ac_cpp_err"; then
4101 ac_header_preproc
=yes
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.
$ac_ext >&5
4106 ac_header_preproc
=no
4108 rm -f conftest.err conftest.
$ac_ext
4109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4110 echo "${ECHO_T}$ac_header_preproc" >&6
4112 # So? What about this header?
4113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4119 ac_header_preproc
=yes
4122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4136 ## ------------------------------------------ ##
4137 ## Report this to the AC_PACKAGE_NAME lists. ##
4138 ## ------------------------------------------ ##
4141 sed "s/^/$as_me: WARNING: /" >&2
4144 echo "$as_me:$LINENO: checking for $ac_header" >&5
4145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 eval "$as_ac_Header=\$ac_header_preproc"
4151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4156 cat >>confdefs.h
<<_ACEOF
4157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4167 for ac_func
in ftruncate _chsize
4169 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4170 echo "$as_me:$LINENO: checking for $ac_func" >&5
4171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4172 if eval "test \"\${$as_ac_var+set}\" = set"; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 cat >conftest.
$ac_ext <<_ACEOF
4178 cat confdefs.h
>>conftest.
$ac_ext
4179 cat >>conftest.
$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4183 #define $ac_func innocuous_$ac_func
4185 /* System header to define __stub macros and hopefully few prototypes,
4186 which can conflict with char $ac_func (); below.
4187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4188 <limits.h> exists even on freestanding compilers. */
4191 # include <limits.h>
4193 # include <assert.h>
4198 /* Override any gcc2 internal prototype to avoid an error. */
4203 /* We use char because int might match the return type of a gcc2
4204 builtin and then its argument prototype would still apply. */
4206 /* The GNU C library defines this for functions which it implements
4207 to always fail with ENOSYS. Some functions are actually named
4208 something starting with __ and the normal name is an alias. */
4209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4212 char (*f) () = $ac_func;
4221 return f != $ac_func;
4226 rm -f conftest.
$ac_objext conftest
$ac_exeext
4227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4228 (eval $ac_link) 2>conftest.er1
4230 grep -v '^ *+' conftest.er1
>conftest.err
4232 cat conftest.err
>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } &&
4235 { ac_try
='test -z "$ac_c_werror_flag"
4236 || test ! -s conftest.err'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; } &&
4242 { ac_try
='test -s conftest$ac_exeext'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; }; then
4248 eval "$as_ac_var=yes"
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.
$ac_ext >&5
4253 eval "$as_ac_var=no"
4255 rm -f conftest.err conftest.
$ac_objext \
4256 conftest
$ac_exeext conftest.
$ac_ext
4258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4260 if test `eval echo '${'$as_ac_var'}'` = yes; then
4261 cat >>confdefs.h
<<_ACEOF
4262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4269 echo "$as_me:$LINENO: checking for off_t" >&5
4270 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4271 if test "${ac_cv_type_off_t+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 cat >conftest.
$ac_ext <<_ACEOF
4277 cat confdefs.h
>>conftest.
$ac_ext
4278 cat >>conftest.
$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 $ac_includes_default
4292 rm -f conftest.
$ac_objext
4293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4294 (eval $ac_compile) 2>conftest.er1
4296 grep -v '^ *+' conftest.er1
>conftest.err
4298 cat conftest.err
>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } &&
4301 { ac_try
='test -z "$ac_c_werror_flag"
4302 || test ! -s conftest.err'
4303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); }; } &&
4308 { ac_try
='test -s conftest.$ac_objext'
4309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; }; then
4314 ac_cv_type_off_t
=yes
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.
$ac_ext >&5
4321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4323 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4324 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4325 if test $ac_cv_type_off_t = yes; then
4329 cat >>confdefs.h
<<_ACEOF
4335 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4336 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4337 if test "${ac_cv_struct_tm+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 cat >conftest.
$ac_ext <<_ACEOF
4343 cat confdefs.h
>>conftest.
$ac_ext
4344 cat >>conftest.
$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4346 #include <sys/types.h>
4352 struct tm *tp; tp->tm_sec;
4357 rm -f conftest.
$ac_objext
4358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4359 (eval $ac_compile) 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } &&
4366 { ac_try
='test -z "$ac_c_werror_flag"
4367 || test ! -s conftest.err'
4368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); }; } &&
4373 { ac_try
='test -s conftest.$ac_objext'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 ac_cv_struct_tm
=time.h
4381 echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.
$ac_ext >&5
4384 ac_cv_struct_tm
=sys
/time.h
4386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4388 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4389 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4390 if test $ac_cv_struct_tm = sys
/time.h
; then
4392 cat >>confdefs.h
<<\_ACEOF
4393 #define TM_IN_SYS_TIME 1
4399 # mkdir takes a single argument on some systems.
4400 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4401 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4402 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4403 echo $ECHO_N "(cached) $ECHO_C" >&6
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4412 #include <sys/types.h>
4413 #ifdef HAVE_SYS_STAT_H
4414 # include <sys/stat.h>
4416 #ifdef HAVE_UNISTD_H
4417 # include <unistd.h>
4419 #ifdef HAVE_DIRECT_H
4420 # include <direct.h>
4430 rm -f conftest.
$ac_objext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>conftest.er1
4434 grep -v '^ *+' conftest.er1
>conftest.err
4436 cat conftest.err
>&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); } &&
4439 { ac_try
='test -z "$ac_c_werror_flag"
4440 || test ! -s conftest.err'
4441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); }; } &&
4446 { ac_try
='test -s conftest.$ac_objext'
4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; }; then
4452 gcc_cv_mkdir_takes_one_arg
=no
4454 echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.
$ac_ext >&5
4457 gcc_cv_mkdir_takes_one_arg
=yes
4459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4461 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4462 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4463 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4465 cat >>confdefs.h
<<\_ACEOF
4466 #define MKDIR_TAKES_ONE_ARG 1
4472 echo "$as_me:$LINENO: checking for char" >&5
4473 echo $ECHO_N "checking for char... $ECHO_C" >&6
4474 if test "${ac_cv_type_char+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 cat >conftest.
$ac_ext <<_ACEOF
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 $ac_includes_default
4495 rm -f conftest.
$ac_objext
4496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4497 (eval $ac_compile) 2>conftest.er1
4499 grep -v '^ *+' conftest.er1
>conftest.err
4501 cat conftest.err
>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); } &&
4504 { ac_try
='test -z "$ac_c_werror_flag"
4505 || test ! -s conftest.err'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; } &&
4511 { ac_try
='test -s conftest.$ac_objext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4519 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.
$ac_ext >&5
4524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4527 echo "${ECHO_T}$ac_cv_type_char" >&6
4529 echo "$as_me:$LINENO: checking size of char" >&5
4530 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4531 if test "${ac_cv_sizeof_char+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test "$ac_cv_type_char" = yes; then
4535 # The cast to unsigned long works around a bug in the HP C Compiler
4536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4538 # This bug is HP SR number 8606223364.
4539 if test "$cross_compiling" = yes; then
4540 # Depending upon the size, compute the lo and hi bounds.
4541 cat >conftest.
$ac_ext <<_ACEOF
4544 cat confdefs.h
>>conftest.
$ac_ext
4545 cat >>conftest.
$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4547 $ac_includes_default
4551 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
4558 rm -f conftest.
$ac_objext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>conftest.er1
4562 grep -v '^ *+' conftest.er1
>conftest.err
4564 cat conftest.err
>&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } &&
4567 { ac_try
='test -z "$ac_c_werror_flag"
4568 || test ! -s conftest.err'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; } &&
4574 { ac_try
='test -s conftest.$ac_objext'
4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; }; then
4582 cat >conftest.
$ac_ext <<_ACEOF
4585 cat confdefs.h
>>conftest.
$ac_ext
4586 cat >>conftest.
$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4588 $ac_includes_default
4592 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4599 rm -f conftest.
$ac_objext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4601 (eval $ac_compile) 2>conftest.er1
4603 grep -v '^ *+' conftest.er1
>conftest.err
4605 cat conftest.err
>&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try
='test -z "$ac_c_werror_flag"
4609 || test ! -s conftest.err'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; } &&
4615 { ac_try
='test -s conftest.$ac_objext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4621 ac_hi
=$ac_mid; break
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.
$ac_ext >&5
4626 ac_lo
=`expr $ac_mid + 1`
4627 if test $ac_lo -le $ac_mid; then
4631 ac_mid
=`expr 2 '*' $ac_mid + 1`
4633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4636 echo "$as_me: failed program was:" >&5
4637 sed 's/^/| /' conftest.
$ac_ext >&5
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 $ac_includes_default
4649 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
4656 rm -f conftest.
$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>conftest.er1
4660 grep -v '^ *+' conftest.er1
>conftest.err
4662 cat conftest.err
>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -z "$ac_c_werror_flag"
4666 || test ! -s conftest.err'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try
='test -s conftest.$ac_objext'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; }; then
4680 cat >conftest.
$ac_ext <<_ACEOF
4683 cat confdefs.h
>>conftest.
$ac_ext
4684 cat >>conftest.
$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 $ac_includes_default
4690 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
4697 rm -f conftest.
$ac_objext
4698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4699 (eval $ac_compile) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1
>conftest.err
4703 cat conftest.err
>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } &&
4706 { ac_try
='test -z "$ac_c_werror_flag"
4707 || test ! -s conftest.err'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; } &&
4713 { ac_try
='test -s conftest.$ac_objext'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; }; then
4719 ac_lo
=$ac_mid; break
4721 echo "$as_me: failed program was:" >&5
4722 sed 's/^/| /' conftest.
$ac_ext >&5
4724 ac_hi
=`expr '(' $ac_mid ')' - 1`
4725 if test $ac_mid -le $ac_hi; then
4729 ac_mid
=`expr 2 '*' $ac_mid`
4731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4742 # Binary search between lo and hi bounds.
4743 while test "x$ac_lo" != "x$ac_hi"; do
4744 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4745 cat >conftest.
$ac_ext <<_ACEOF
4748 cat confdefs.h
>>conftest.
$ac_ext
4749 cat >>conftest.
$ac_ext <<_ACEOF
4750 /* end confdefs.h. */
4751 $ac_includes_default
4755 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4762 rm -f conftest.
$ac_objext
4763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764 (eval $ac_compile) 2>conftest.er1
4766 grep -v '^ *+' conftest.er1
>conftest.err
4768 cat conftest.err
>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try
='test -z "$ac_c_werror_flag"
4772 || test ! -s conftest.err'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; } &&
4778 { ac_try
='test -s conftest.$ac_objext'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; }; then
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.
$ac_ext >&5
4789 ac_lo
=`expr '(' $ac_mid ')' + 1`
4791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4794 ?
*) ac_cv_sizeof_char
=$ac_lo;;
4795 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4796 See \`config.log' for more details." >&5
4797 echo "$as_me: error: cannot compute sizeof (char), 77
4798 See \`config.log' for more details." >&2;}
4799 { (exit 1); exit 1; }; } ;;
4802 if test "$cross_compiling" = yes; then
4803 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4804 See \`config.log' for more details." >&5
4805 echo "$as_me: error: cannot run test program while cross compiling
4806 See \`config.log' for more details." >&2;}
4807 { (exit 1); exit 1; }; }
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 $ac_includes_default
4816 long longval () { return (long) (sizeof (char)); }
4817 unsigned long ulongval () { return (long) (sizeof (char)); }
4824 FILE *f = fopen ("conftest.val", "w");
4827 if (((long) (sizeof (char))) < 0)
4829 long i = longval ();
4830 if (i != ((long) (sizeof (char))))
4832 fprintf (f, "%ld\n", i);
4836 unsigned long i = ulongval ();
4837 if (i != ((long) (sizeof (char))))
4839 fprintf (f, "%lu\n", i);
4841 exit (ferror (f) || fclose (f) != 0);
4847 rm -f conftest
$ac_exeext
4848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4849 (eval $ac_link) 2>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_sizeof_char
=`cat conftest.val`
4860 echo "$as_me: program exited with status $ac_status" >&5
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.
$ac_ext >&5
4865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4866 See \`config.log' for more details." >&5
4867 echo "$as_me: error: cannot compute sizeof (char), 77
4868 See \`config.log' for more details." >&2;}
4869 { (exit 1); exit 1; }; }
4871 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4880 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4881 cat >>confdefs.h
<<_ACEOF
4882 #define SIZEOF_CHAR $ac_cv_sizeof_char
4886 echo "$as_me:$LINENO: checking for short" >&5
4887 echo $ECHO_N "checking for short... $ECHO_C" >&6
4888 if test "${ac_cv_type_short+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4897 $ac_includes_default
4909 rm -f conftest.
$ac_objext
4910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4911 (eval $ac_compile) 2>conftest.er1
4913 grep -v '^ *+' conftest.er1
>conftest.err
4915 cat conftest.err
>&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } &&
4918 { ac_try
='test -z "$ac_c_werror_flag"
4919 || test ! -s conftest.err'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; } &&
4925 { ac_try
='test -s conftest.$ac_objext'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4931 ac_cv_type_short
=yes
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.
$ac_ext >&5
4938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4941 echo "${ECHO_T}$ac_cv_type_short" >&6
4943 echo "$as_me:$LINENO: checking size of short" >&5
4944 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4945 if test "${ac_cv_sizeof_short+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 if test "$ac_cv_type_short" = yes; then
4949 # The cast to unsigned long works around a bug in the HP C Compiler
4950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4952 # This bug is HP SR number 8606223364.
4953 if test "$cross_compiling" = yes; then
4954 # Depending upon the size, compute the lo and hi bounds.
4955 cat >conftest.
$ac_ext <<_ACEOF
4958 cat confdefs.h
>>conftest.
$ac_ext
4959 cat >>conftest.
$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4961 $ac_includes_default
4965 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4972 rm -f conftest.
$ac_objext
4973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4974 (eval $ac_compile) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } &&
4981 { ac_try
='test -z "$ac_c_werror_flag"
4982 || test ! -s conftest.err'
4983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; } &&
4988 { ac_try
='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 $ac_includes_default
5006 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5013 rm -f conftest.
$ac_objext
5014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5015 (eval $ac_compile) 2>conftest.er1
5017 grep -v '^ *+' conftest.er1
>conftest.err
5019 cat conftest.err
>&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try
='test -z "$ac_c_werror_flag"
5023 || test ! -s conftest.err'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; } &&
5029 { ac_try
='test -s conftest.$ac_objext'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; }; then
5035 ac_hi
=$ac_mid; break
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.
$ac_ext >&5
5040 ac_lo
=`expr $ac_mid + 1`
5041 if test $ac_lo -le $ac_mid; then
5045 ac_mid
=`expr 2 '*' $ac_mid + 1`
5047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.
$ac_ext >&5
5053 cat >conftest.
$ac_ext <<_ACEOF
5056 cat confdefs.h
>>conftest.
$ac_ext
5057 cat >>conftest.
$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5059 $ac_includes_default
5063 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5070 rm -f conftest.
$ac_objext
5071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5072 (eval $ac_compile) 2>conftest.er1
5074 grep -v '^ *+' conftest.er1
>conftest.err
5076 cat conftest.err
>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } &&
5079 { ac_try
='test -z "$ac_c_werror_flag"
5080 || test ! -s conftest.err'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; } &&
5086 { ac_try
='test -s conftest.$ac_objext'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; }; then
5094 cat >conftest.
$ac_ext <<_ACEOF
5097 cat confdefs.h
>>conftest.
$ac_ext
5098 cat >>conftest.
$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 $ac_includes_default
5104 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5111 rm -f conftest.
$ac_objext
5112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5113 (eval $ac_compile) 2>conftest.er1
5115 grep -v '^ *+' conftest.er1
>conftest.err
5117 cat conftest.err
>&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); } &&
5120 { ac_try
='test -z "$ac_c_werror_flag"
5121 || test ! -s conftest.err'
5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); }; } &&
5127 { ac_try
='test -s conftest.$ac_objext'
5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }; }; then
5133 ac_lo
=$ac_mid; break
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.
$ac_ext >&5
5138 ac_hi
=`expr '(' $ac_mid ')' - 1`
5139 if test $ac_mid -le $ac_hi; then
5143 ac_mid
=`expr 2 '*' $ac_mid`
5145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5156 # Binary search between lo and hi bounds.
5157 while test "x$ac_lo" != "x$ac_hi"; do
5158 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5159 cat >conftest.
$ac_ext <<_ACEOF
5162 cat confdefs.h
>>conftest.
$ac_ext
5163 cat >>conftest.
$ac_ext <<_ACEOF
5164 /* end confdefs.h. */
5165 $ac_includes_default
5169 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5176 rm -f conftest.
$ac_objext
5177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5178 (eval $ac_compile) 2>conftest.er1
5180 grep -v '^ *+' conftest.er1
>conftest.err
5182 cat conftest.err
>&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); } &&
5185 { ac_try
='test -z "$ac_c_werror_flag"
5186 || test ! -s conftest.err'
5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; } &&
5192 { ac_try
='test -s conftest.$ac_objext'
5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; }; then
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.
$ac_ext >&5
5203 ac_lo
=`expr '(' $ac_mid ')' + 1`
5205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5208 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5209 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5210 See \`config.log' for more details." >&5
5211 echo "$as_me: error: cannot compute sizeof (short), 77
5212 See \`config.log' for more details." >&2;}
5213 { (exit 1); exit 1; }; } ;;
5216 if test "$cross_compiling" = yes; then
5217 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5218 See \`config.log' for more details." >&5
5219 echo "$as_me: error: cannot run test program while cross compiling
5220 See \`config.log' for more details." >&2;}
5221 { (exit 1); exit 1; }; }
5223 cat >conftest.
$ac_ext <<_ACEOF
5226 cat confdefs.h
>>conftest.
$ac_ext
5227 cat >>conftest.
$ac_ext <<_ACEOF
5228 /* end confdefs.h. */
5229 $ac_includes_default
5230 long longval () { return (long) (sizeof (short)); }
5231 unsigned long ulongval () { return (long) (sizeof (short)); }
5238 FILE *f = fopen ("conftest.val", "w");
5241 if (((long) (sizeof (short))) < 0)
5243 long i = longval ();
5244 if (i != ((long) (sizeof (short))))
5246 fprintf (f, "%ld\n", i);
5250 unsigned long i = ulongval ();
5251 if (i != ((long) (sizeof (short))))
5253 fprintf (f, "%lu\n", i);
5255 exit (ferror (f) || fclose (f) != 0);
5261 rm -f conftest
$ac_exeext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5263 (eval $ac_link) 2>&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 ac_cv_sizeof_short
=`cat conftest.val`
5274 echo "$as_me: program exited with status $ac_status" >&5
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.
$ac_ext >&5
5279 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5280 See \`config.log' for more details." >&5
5281 echo "$as_me: error: cannot compute sizeof (short), 77
5282 See \`config.log' for more details." >&2;}
5283 { (exit 1); exit 1; }; }
5285 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5290 ac_cv_sizeof_short
=0
5293 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5294 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5295 cat >>confdefs.h
<<_ACEOF
5296 #define SIZEOF_SHORT $ac_cv_sizeof_short
5300 echo "$as_me:$LINENO: checking for int" >&5
5301 echo $ECHO_N "checking for int... $ECHO_C" >&6
5302 if test "${ac_cv_type_int+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 $ac_includes_default
5323 rm -f conftest.
$ac_objext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>conftest.er1
5327 grep -v '^ *+' conftest.er1
>conftest.err
5329 cat conftest.err
>&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } &&
5332 { ac_try
='test -z "$ac_c_werror_flag"
5333 || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try
='test -s conftest.$ac_objext'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; }; then
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.
$ac_ext >&5
5352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5355 echo "${ECHO_T}$ac_cv_type_int" >&6
5357 echo "$as_me:$LINENO: checking size of int" >&5
5358 echo $ECHO_N "checking size of int... $ECHO_C" >&6
5359 if test "${ac_cv_sizeof_int+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 if test "$ac_cv_type_int" = yes; then
5363 # The cast to unsigned long works around a bug in the HP C Compiler
5364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5366 # This bug is HP SR number 8606223364.
5367 if test "$cross_compiling" = yes; then
5368 # Depending upon the size, compute the lo and hi bounds.
5369 cat >conftest.
$ac_ext <<_ACEOF
5372 cat confdefs.h
>>conftest.
$ac_ext
5373 cat >>conftest.
$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5375 $ac_includes_default
5379 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5386 rm -f conftest.
$ac_objext
5387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5388 (eval $ac_compile) 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try
='test -z "$ac_c_werror_flag"
5396 || test ! -s conftest.err'
5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; } &&
5402 { ac_try
='test -s conftest.$ac_objext'
5403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); }; }; then
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5416 $ac_includes_default
5420 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5427 rm -f conftest.
$ac_objext
5428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5429 (eval $ac_compile) 2>conftest.er1
5431 grep -v '^ *+' conftest.er1
>conftest.err
5433 cat conftest.err
>&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); } &&
5436 { ac_try
='test -z "$ac_c_werror_flag"
5437 || test ! -s conftest.err'
5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }; } &&
5443 { ac_try
='test -s conftest.$ac_objext'
5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; }; then
5449 ac_hi
=$ac_mid; break
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.
$ac_ext >&5
5454 ac_lo
=`expr $ac_mid + 1`
5455 if test $ac_lo -le $ac_mid; then
5459 ac_mid
=`expr 2 '*' $ac_mid + 1`
5461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.
$ac_ext >&5
5467 cat >conftest.
$ac_ext <<_ACEOF
5470 cat confdefs.h
>>conftest.
$ac_ext
5471 cat >>conftest.
$ac_ext <<_ACEOF
5472 /* end confdefs.h. */
5473 $ac_includes_default
5477 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5484 rm -f conftest.
$ac_objext
5485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5486 (eval $ac_compile) 2>conftest.er1
5488 grep -v '^ *+' conftest.er1
>conftest.err
5490 cat conftest.err
>&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } &&
5493 { ac_try
='test -z "$ac_c_werror_flag"
5494 || test ! -s conftest.err'
5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; } &&
5500 { ac_try
='test -s conftest.$ac_objext'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5508 cat >conftest.
$ac_ext <<_ACEOF
5511 cat confdefs.h
>>conftest.
$ac_ext
5512 cat >>conftest.
$ac_ext <<_ACEOF
5513 /* end confdefs.h. */
5514 $ac_includes_default
5518 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5525 rm -f conftest.
$ac_objext
5526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5527 (eval $ac_compile) 2>conftest.er1
5529 grep -v '^ *+' conftest.er1
>conftest.err
5531 cat conftest.err
>&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } &&
5534 { ac_try
='test -z "$ac_c_werror_flag"
5535 || test ! -s conftest.err'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; } &&
5541 { ac_try
='test -s conftest.$ac_objext'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; }; then
5547 ac_lo
=$ac_mid; break
5549 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.
$ac_ext >&5
5552 ac_hi
=`expr '(' $ac_mid ')' - 1`
5553 if test $ac_mid -le $ac_hi; then
5557 ac_mid
=`expr 2 '*' $ac_mid`
5559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.
$ac_ext >&5
5567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5570 # Binary search between lo and hi bounds.
5571 while test "x$ac_lo" != "x$ac_hi"; do
5572 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 $ac_includes_default
5583 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_c_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest.$ac_objext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5617 ac_lo
=`expr '(' $ac_mid ')' + 1`
5619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5622 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5624 See \`config.log' for more details." >&5
5625 echo "$as_me: error: cannot compute sizeof (int), 77
5626 See \`config.log' for more details." >&2;}
5627 { (exit 1); exit 1; }; } ;;
5630 if test "$cross_compiling" = yes; then
5631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5632 See \`config.log' for more details." >&5
5633 echo "$as_me: error: cannot run test program while cross compiling
5634 See \`config.log' for more details." >&2;}
5635 { (exit 1); exit 1; }; }
5637 cat >conftest.
$ac_ext <<_ACEOF
5640 cat confdefs.h
>>conftest.
$ac_ext
5641 cat >>conftest.
$ac_ext <<_ACEOF
5642 /* end confdefs.h. */
5643 $ac_includes_default
5644 long longval () { return (long) (sizeof (int)); }
5645 unsigned long ulongval () { return (long) (sizeof (int)); }
5652 FILE *f = fopen ("conftest.val", "w");
5655 if (((long) (sizeof (int))) < 0)
5657 long i = longval ();
5658 if (i != ((long) (sizeof (int))))
5660 fprintf (f, "%ld\n", i);
5664 unsigned long i = ulongval ();
5665 if (i != ((long) (sizeof (int))))
5667 fprintf (f, "%lu\n", i);
5669 exit (ferror (f) || fclose (f) != 0);
5675 rm -f conftest
$ac_exeext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5677 (eval $ac_link) 2>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_sizeof_int
=`cat conftest.val`
5688 echo "$as_me: program exited with status $ac_status" >&5
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5693 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5694 See \`config.log' for more details." >&5
5695 echo "$as_me: error: cannot compute sizeof (int), 77
5696 See \`config.log' for more details." >&2;}
5697 { (exit 1); exit 1; }; }
5699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5707 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5708 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5709 cat >>confdefs.h
<<_ACEOF
5710 #define SIZEOF_INT $ac_cv_sizeof_int
5714 echo "$as_me:$LINENO: checking for long" >&5
5715 echo $ECHO_N "checking for long... $ECHO_C" >&6
5716 if test "${ac_cv_type_long+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 cat >conftest.
$ac_ext <<_ACEOF
5722 cat confdefs.h
>>conftest.
$ac_ext
5723 cat >>conftest.
$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 $ac_includes_default
5737 rm -f conftest.
$ac_objext
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>conftest.er1
5741 grep -v '^ *+' conftest.er1
>conftest.err
5743 cat conftest.err
>&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); } &&
5746 { ac_try
='test -z "$ac_c_werror_flag"
5747 || test ! -s conftest.err'
5748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; } &&
5753 { ac_try
='test -s conftest.$ac_objext'
5754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; }; then
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5768 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5769 echo "${ECHO_T}$ac_cv_type_long" >&6
5771 echo "$as_me:$LINENO: checking size of long" >&5
5772 echo $ECHO_N "checking size of long... $ECHO_C" >&6
5773 if test "${ac_cv_sizeof_long+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test "$ac_cv_type_long" = yes; then
5777 # The cast to unsigned long works around a bug in the HP C Compiler
5778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5780 # This bug is HP SR number 8606223364.
5781 if test "$cross_compiling" = yes; then
5782 # Depending upon the size, compute the lo and hi bounds.
5783 cat >conftest.
$ac_ext <<_ACEOF
5786 cat confdefs.h
>>conftest.
$ac_ext
5787 cat >>conftest.
$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5789 $ac_includes_default
5793 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5800 rm -f conftest.
$ac_objext
5801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5802 (eval $ac_compile) 2>conftest.er1
5804 grep -v '^ *+' conftest.er1
>conftest.err
5806 cat conftest.err
>&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } &&
5809 { ac_try
='test -z "$ac_c_werror_flag"
5810 || test ! -s conftest.err'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; } &&
5816 { ac_try
='test -s conftest.$ac_objext'
5817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }; }; then
5824 cat >conftest.
$ac_ext <<_ACEOF
5827 cat confdefs.h
>>conftest.
$ac_ext
5828 cat >>conftest.
$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 $ac_includes_default
5834 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5841 rm -f conftest.
$ac_objext
5842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5843 (eval $ac_compile) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -z "$ac_c_werror_flag"
5851 || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try
='test -s conftest.$ac_objext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 ac_hi
=$ac_mid; break
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.
$ac_ext >&5
5868 ac_lo
=`expr $ac_mid + 1`
5869 if test $ac_lo -le $ac_mid; then
5873 ac_mid
=`expr 2 '*' $ac_mid + 1`
5875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5878 echo "$as_me: failed program was:" >&5
5879 sed 's/^/| /' conftest.
$ac_ext >&5
5881 cat >conftest.
$ac_ext <<_ACEOF
5884 cat confdefs.h
>>conftest.
$ac_ext
5885 cat >>conftest.
$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5887 $ac_includes_default
5891 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5898 rm -f conftest.
$ac_objext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900 (eval $ac_compile) 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try
='test -z "$ac_c_werror_flag"
5908 || test ! -s conftest.err'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try
='test -s conftest.$ac_objext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5922 cat >conftest.
$ac_ext <<_ACEOF
5925 cat confdefs.h
>>conftest.
$ac_ext
5926 cat >>conftest.
$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 $ac_includes_default
5932 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5939 rm -f conftest.
$ac_objext
5940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5941 (eval $ac_compile) 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } &&
5948 { ac_try
='test -z "$ac_c_werror_flag"
5949 || test ! -s conftest.err'
5950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; } &&
5955 { ac_try
='test -s conftest.$ac_objext'
5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); }; }; then
5961 ac_lo
=$ac_mid; break
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5966 ac_hi
=`expr '(' $ac_mid ')' - 1`
5967 if test $ac_mid -le $ac_hi; then
5971 ac_mid
=`expr 2 '*' $ac_mid`
5973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5976 echo "$as_me: failed program was:" >&5
5977 sed 's/^/| /' conftest.
$ac_ext >&5
5981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5984 # Binary search between lo and hi bounds.
5985 while test "x$ac_lo" != "x$ac_hi"; do
5986 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5987 cat >conftest.
$ac_ext <<_ACEOF
5990 cat confdefs.h
>>conftest.
$ac_ext
5991 cat >>conftest.
$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 $ac_includes_default
5997 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6004 rm -f conftest.
$ac_objext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1
>conftest.err
6010 cat conftest.err
>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try
='test -z "$ac_c_werror_flag"
6014 || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try
='test -s conftest.$ac_objext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 ac_lo
=`expr '(' $ac_mid ')' + 1`
6033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6036 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6037 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6038 See \`config.log' for more details." >&5
6039 echo "$as_me: error: cannot compute sizeof (long), 77
6040 See \`config.log' for more details." >&2;}
6041 { (exit 1); exit 1; }; } ;;
6044 if test "$cross_compiling" = yes; then
6045 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6046 See \`config.log' for more details." >&5
6047 echo "$as_me: error: cannot run test program while cross compiling
6048 See \`config.log' for more details." >&2;}
6049 { (exit 1); exit 1; }; }
6051 cat >conftest.
$ac_ext <<_ACEOF
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 $ac_includes_default
6058 long longval () { return (long) (sizeof (long)); }
6059 unsigned long ulongval () { return (long) (sizeof (long)); }
6066 FILE *f = fopen ("conftest.val", "w");
6069 if (((long) (sizeof (long))) < 0)
6071 long i = longval ();
6072 if (i != ((long) (sizeof (long))))
6074 fprintf (f, "%ld\n", i);
6078 unsigned long i = ulongval ();
6079 if (i != ((long) (sizeof (long))))
6081 fprintf (f, "%lu\n", i);
6083 exit (ferror (f) || fclose (f) != 0);
6089 rm -f conftest
$ac_exeext
6090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6091 (eval $ac_link) 2>&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; }; then
6100 ac_cv_sizeof_long
=`cat conftest.val`
6102 echo "$as_me: program exited with status $ac_status" >&5
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.
$ac_ext >&5
6107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6108 See \`config.log' for more details." >&5
6109 echo "$as_me: error: cannot compute sizeof (long), 77
6110 See \`config.log' for more details." >&2;}
6111 { (exit 1); exit 1; }; }
6113 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6122 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
6123 cat >>confdefs.h
<<_ACEOF
6124 #define SIZEOF_LONG $ac_cv_sizeof_long
6128 echo "$as_me:$LINENO: checking for long long" >&5
6129 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6130 if test "${ac_cv_type_long_long+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 cat >conftest.
$ac_ext <<_ACEOF
6136 cat confdefs.h
>>conftest.
$ac_ext
6137 cat >>conftest.
$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 $ac_includes_default
6143 if ((long long *) 0)
6145 if (sizeof (long long))
6151 rm -f conftest.
$ac_objext
6152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6153 (eval $ac_compile) 2>conftest.er1
6155 grep -v '^ *+' conftest.er1
>conftest.err
6157 cat conftest.err
>&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } &&
6160 { ac_try
='test -z "$ac_c_werror_flag"
6161 || test ! -s conftest.err'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; } &&
6167 { ac_try
='test -s conftest.$ac_objext'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6173 ac_cv_type_long_long
=yes
6175 echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.
$ac_ext >&5
6178 ac_cv_type_long_long
=no
6180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6183 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6184 if test $ac_cv_type_long_long = yes; then
6186 cat >>confdefs.h
<<_ACEOF
6187 #define HAVE_LONG_LONG 1
6190 echo "$as_me:$LINENO: checking for long long" >&5
6191 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6192 if test "${ac_cv_type_long_long+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 $ac_includes_default
6205 if ((long long *) 0)
6207 if (sizeof (long long))
6213 rm -f conftest.
$ac_objext
6214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6215 (eval $ac_compile) 2>conftest.er1
6217 grep -v '^ *+' conftest.er1
>conftest.err
6219 cat conftest.err
>&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try
='test -z "$ac_c_werror_flag"
6223 || test ! -s conftest.err'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; } &&
6229 { ac_try
='test -s conftest.$ac_objext'
6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }; }; then
6235 ac_cv_type_long_long
=yes
6237 echo "$as_me: failed program was:" >&5
6238 sed 's/^/| /' conftest.
$ac_ext >&5
6240 ac_cv_type_long_long
=no
6242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6244 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6245 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6247 echo "$as_me:$LINENO: checking size of long long" >&5
6248 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6249 if test "${ac_cv_sizeof_long_long+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 if test "$ac_cv_type_long_long" = yes; then
6253 # The cast to unsigned long works around a bug in the HP C Compiler
6254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6256 # This bug is HP SR number 8606223364.
6257 if test "$cross_compiling" = yes; then
6258 # Depending upon the size, compute the lo and hi bounds.
6259 cat >conftest.
$ac_ext <<_ACEOF
6262 cat confdefs.h
>>conftest.
$ac_ext
6263 cat >>conftest.
$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6265 $ac_includes_default
6269 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6276 rm -f conftest.
$ac_objext
6277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6278 (eval $ac_compile) 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try
='test -z "$ac_c_werror_flag"
6286 || test ! -s conftest.err'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; } &&
6292 { ac_try
='test -s conftest.$ac_objext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6300 cat >conftest.
$ac_ext <<_ACEOF
6303 cat confdefs.h
>>conftest.
$ac_ext
6304 cat >>conftest.
$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6306 $ac_includes_default
6310 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6317 rm -f conftest.
$ac_objext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>conftest.er1
6321 grep -v '^ *+' conftest.er1
>conftest.err
6323 cat conftest.err
>&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } &&
6326 { ac_try
='test -z "$ac_c_werror_flag"
6327 || test ! -s conftest.err'
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }; } &&
6333 { ac_try
='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_hi
=$ac_mid; break
6341 echo "$as_me: failed program was:" >&5
6342 sed 's/^/| /' conftest.
$ac_ext >&5
6344 ac_lo
=`expr $ac_mid + 1`
6345 if test $ac_lo -le $ac_mid; then
6349 ac_mid
=`expr 2 '*' $ac_mid + 1`
6351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.
$ac_ext >&5
6357 cat >conftest.
$ac_ext <<_ACEOF
6360 cat confdefs.h
>>conftest.
$ac_ext
6361 cat >>conftest.
$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 $ac_includes_default
6367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6374 rm -f conftest.
$ac_objext
6375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6376 (eval $ac_compile) 2>conftest.er1
6378 grep -v '^ *+' conftest.er1
>conftest.err
6380 cat conftest.err
>&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } &&
6383 { ac_try
='test -z "$ac_c_werror_flag"
6384 || test ! -s conftest.err'
6385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); }; } &&
6390 { ac_try
='test -s conftest.$ac_objext'
6391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; }; then
6398 cat >conftest.
$ac_ext <<_ACEOF
6401 cat confdefs.h
>>conftest.
$ac_ext
6402 cat >>conftest.
$ac_ext <<_ACEOF
6403 /* end confdefs.h. */
6404 $ac_includes_default
6408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6415 rm -f conftest.
$ac_objext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6417 (eval $ac_compile) 2>conftest.er1
6419 grep -v '^ *+' conftest.er1
>conftest.err
6421 cat conftest.err
>&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try
='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try
='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 ac_lo
=$ac_mid; break
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.
$ac_ext >&5
6442 ac_hi
=`expr '(' $ac_mid ')' - 1`
6443 if test $ac_mid -le $ac_hi; then
6447 ac_mid
=`expr 2 '*' $ac_mid`
6449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6460 # Binary search between lo and hi bounds.
6461 while test "x$ac_lo" != "x$ac_hi"; do
6462 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6463 cat >conftest.
$ac_ext <<_ACEOF
6466 cat confdefs.h
>>conftest.
$ac_ext
6467 cat >>conftest.
$ac_ext <<_ACEOF
6468 /* end confdefs.h. */
6469 $ac_includes_default
6473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6480 rm -f conftest.
$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>conftest.er1
6484 grep -v '^ *+' conftest.er1
>conftest.err
6486 cat conftest.err
>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try
='test -z "$ac_c_werror_flag"
6490 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try
='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6507 ac_lo
=`expr '(' $ac_mid ')' + 1`
6509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6512 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
6513 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6514 See \`config.log' for more details." >&5
6515 echo "$as_me: error: cannot compute sizeof (long long), 77
6516 See \`config.log' for more details." >&2;}
6517 { (exit 1); exit 1; }; } ;;
6520 if test "$cross_compiling" = yes; then
6521 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6522 See \`config.log' for more details." >&5
6523 echo "$as_me: error: cannot run test program while cross compiling
6524 See \`config.log' for more details." >&2;}
6525 { (exit 1); exit 1; }; }
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6534 long longval () { return (long) (sizeof (long long)); }
6535 unsigned long ulongval () { return (long) (sizeof (long long)); }
6542 FILE *f = fopen ("conftest.val", "w");
6545 if (((long) (sizeof (long long))) < 0)
6547 long i = longval ();
6548 if (i != ((long) (sizeof (long long))))
6550 fprintf (f, "%ld\n", i);
6554 unsigned long i = ulongval ();
6555 if (i != ((long) (sizeof (long long))))
6557 fprintf (f, "%lu\n", i);
6559 exit (ferror (f) || fclose (f) != 0);
6565 rm -f conftest
$ac_exeext
6566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6567 (eval $ac_link) 2>&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; }; then
6576 ac_cv_sizeof_long_long
=`cat conftest.val`
6578 echo "$as_me: program exited with status $ac_status" >&5
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.
$ac_ext >&5
6583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6584 See \`config.log' for more details." >&5
6585 echo "$as_me: error: cannot compute sizeof (long long), 77
6586 See \`config.log' for more details." >&2;}
6587 { (exit 1); exit 1; }; }
6589 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6594 ac_cv_sizeof_long_long
=0
6597 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6598 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6599 cat >>confdefs.h
<<_ACEOF
6600 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6607 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6608 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6609 if test "${ac_cv_c_bigendian+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 # See if sys/param.h defines the BYTE_ORDER macro.
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 #include <sys/param.h>
6625 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6633 rm -f conftest.
$ac_objext
6634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6635 (eval $ac_compile) 2>conftest.er1
6637 grep -v '^ *+' conftest.er1
>conftest.err
6639 cat conftest.err
>&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } &&
6642 { ac_try
='test -z "$ac_c_werror_flag"
6643 || test ! -s conftest.err'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; } &&
6649 { ac_try
='test -s conftest.$ac_objext'
6650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; }; then
6655 # It does; now see whether it defined to BIG_ENDIAN or not.
6656 cat >conftest.
$ac_ext <<_ACEOF
6659 cat confdefs.h
>>conftest.
$ac_ext
6660 cat >>conftest.
$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 #include <sys/types.h>
6663 #include <sys/param.h>
6668 #if BYTE_ORDER != BIG_ENDIAN
6676 rm -f conftest.
$ac_objext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6678 (eval $ac_compile) 2>conftest.er1
6680 grep -v '^ *+' conftest.er1
>conftest.err
6682 cat conftest.err
>&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } &&
6685 { ac_try
='test -z "$ac_c_werror_flag"
6686 || test ! -s conftest.err'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; } &&
6692 { ac_try
='test -s conftest.$ac_objext'
6693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); }; }; then
6698 ac_cv_c_bigendian
=yes
6700 echo "$as_me: failed program was:" >&5
6701 sed 's/^/| /' conftest.
$ac_ext >&5
6703 ac_cv_c_bigendian
=no
6705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.
$ac_ext >&5
6710 # It does not; compile a test program.
6711 if test "$cross_compiling" = yes; then
6712 # try to guess the endianness by grepping values into an object file
6713 ac_cv_c_bigendian
=unknown
6714 cat >conftest.
$ac_ext <<_ACEOF
6717 cat confdefs.h
>>conftest.
$ac_ext
6718 cat >>conftest.
$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6720 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6721 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6722 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6723 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6724 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6725 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6729 _ascii (); _ebcdic ();
6734 rm -f conftest.
$ac_objext
6735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6736 (eval $ac_compile) 2>conftest.er1
6738 grep -v '^ *+' conftest.er1
>conftest.err
6740 cat conftest.err
>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try
='test -z "$ac_c_werror_flag"
6744 || test ! -s conftest.err'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; } &&
6750 { ac_try
='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6756 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6757 ac_cv_c_bigendian
=yes
6759 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6760 if test "$ac_cv_c_bigendian" = unknown
; then
6761 ac_cv_c_bigendian
=no
6763 # finding both strings is unlikely to happen, but who knows?
6764 ac_cv_c_bigendian
=unknown
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6774 cat >conftest.
$ac_ext <<_ACEOF
6777 cat confdefs.h
>>conftest.
$ac_ext
6778 cat >>conftest.
$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6783 /* Are we little or big endian? From Harbison&Steele. */
6787 char c[sizeof (long)];
6790 exit (u.c[sizeof (long) - 1] == 1);
6793 rm -f conftest
$ac_exeext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6795 (eval $ac_link) 2>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6804 ac_cv_c_bigendian
=no
6806 echo "$as_me: program exited with status $ac_status" >&5
6807 echo "$as_me: failed program was:" >&5
6808 sed 's/^/| /' conftest.
$ac_ext >&5
6811 ac_cv_c_bigendian
=yes
6813 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6819 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6820 case $ac_cv_c_bigendian in
6823 cat >>confdefs.h
<<\_ACEOF
6824 #define WORDS_BIGENDIAN 1
6830 { { echo "$as_me:$LINENO: error: unknown endianness
6831 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6832 echo "$as_me: error: unknown endianness
6833 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6834 { (exit 1); exit 1; }; } ;;
6839 # Check whether --with-system-zlib or --without-system-zlib was given.
6840 if test "${with_system_zlib+set}" = set; then
6841 withval
="$with_system_zlib"
6849 if test "$with_system_zlib" = yes; then
6850 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
6851 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
6852 if test "${ac_cv_lib_z_deflate+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 ac_check_lib_save_LIBS
=$LIBS
6857 cat >conftest.
$ac_ext <<_ACEOF
6860 cat confdefs.h
>>conftest.
$ac_ext
6861 cat >>conftest.
$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6864 /* Override any gcc2 internal prototype to avoid an error. */
6868 /* We use char because int might match the return type of a gcc2
6869 builtin and then its argument prototype would still apply. */
6879 rm -f conftest.
$ac_objext conftest
$ac_exeext
6880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6881 (eval $ac_link) 2>conftest.er1
6883 grep -v '^ *+' conftest.er1
>conftest.err
6885 cat conftest.err
>&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try
='test -z "$ac_c_werror_flag"
6889 || test ! -s conftest.err'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try
='test -s conftest$ac_exeext'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6901 ac_cv_lib_z_deflate
=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6906 ac_cv_lib_z_deflate
=no
6908 rm -f conftest.err conftest.
$ac_objext \
6909 conftest
$ac_exeext conftest.
$ac_ext
6910 LIBS
=$ac_check_lib_save_LIBS
6912 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
6913 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
6914 if test $ac_cv_lib_z_deflate = yes; then
6924 if test "$use_zlib" = no
; then
6925 # Brain dead way to find tree's zlib.
6926 ZDEPS
='$(top_builddir)/../zlib/libz.a'
6927 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
6928 ZINCS
='-I$(top_srcdir)/../zlib'
6935 # We would like to our source tree to be readonly. However when releases or
6936 # pre-releases are generated, the man pages need to be included as they are
6937 # converted from the texi files via perl which we don't require end users to
6939 # Therefore we have --enable-generated-files-in-srcdir to do just that.
6941 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
6942 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
6943 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
6944 if test "${enable_generated_files_in_srcdir+set}" = set; then
6945 enableval
="$enable_generated_files_in_srcdir"
6946 generated_files_in_srcdir
=$enableval
6948 generated_files_in_srcdir
=no
6951 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
6952 echo "${ECHO_T}$generated_files_in_srcdir" >&6
6955 if test x
$generated_files_in_srcdir = xyes
; then
6964 ac_config_files
="$ac_config_files Makefile install-defs.sh"
6965 cat >confcache
<<\_ACEOF
6966 # This file is a shell script that caches the results of configure
6967 # tests run on this system so they can be shared between configure
6968 # scripts and configure runs, see configure's option --config-cache.
6969 # It is not useful on other systems. If it contains results you don't
6970 # want to keep, you may remove or edit it.
6972 # config.status only pays attention to the cache file if you give it
6973 # the --recheck option to rerun configure.
6975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6981 # The following way of writing the cache mishandles newlines in values,
6982 # but we know of no workaround that is simple, portable, and efficient.
6983 # So, don't put newlines in cache variables' values.
6984 # Ultrix sh set writes to stderr and can't be redirected directly,
6985 # and sets the high bit in the cache file unless we assign to the vars.
6988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6990 # `set' does not quote correctly, so add quotes (double-quote
6991 # substitution turns \\\\ into \\, and sed turns \\ into \).
6994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6997 # `set' quotes correctly as required by POSIX, so do not add quotes.
6999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7010 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7011 if test -w $cache_file; then
7012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7013 cat confcache
>$cache_file
7015 echo "not updating unwritable cache $cache_file"
7020 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7021 # Let make expand exec_prefix.
7022 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7024 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7025 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7026 # trailing colons and then remove the whole line if VPATH becomes empty
7027 # (actually we leave an empty line to preserve line numbers).
7028 if test "x$srcdir" = x.
; then
7029 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7030 s/:*\$(srcdir):*/:/;
7031 s/:*\${srcdir}:*/:/;
7033 s/^\([^=]*=[ ]*\):*/\1/;
7039 DEFS
=-DHAVE_CONFIG_H
7043 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7044 # 1. Remove the extension, and $U if already installed.
7045 ac_i
=`echo "$ac_i" |
7046 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7048 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7049 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7053 LTLIBOBJS
=$ac_ltlibobjs
7056 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7057 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7058 Usually this means the macro was only invoked conditionally." >&5
7059 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7060 Usually this means the macro was only invoked conditionally." >&2;}
7061 { (exit 1); exit 1; }; }
7063 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7064 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7065 Usually this means the macro was only invoked conditionally." >&5
7066 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7067 Usually this means the macro was only invoked conditionally." >&2;}
7068 { (exit 1); exit 1; }; }
7070 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7071 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7072 Usually this means the macro was only invoked conditionally." >&5
7073 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7074 Usually this means the macro was only invoked conditionally." >&2;}
7075 { (exit 1); exit 1; }; }
7077 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
7078 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
7079 Usually this means the macro was only invoked conditionally." >&5
7080 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
7081 Usually this means the macro was only invoked conditionally." >&2;}
7082 { (exit 1); exit 1; }; }
7085 : ${CONFIG_STATUS=./config.status}
7086 ac_clean_files_save
=$ac_clean_files
7087 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7088 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7089 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7090 cat >$CONFIG_STATUS <<_ACEOF
7092 # Generated by $as_me.
7093 # Run this file to recreate the current configuration.
7094 # Compiler output produced by configure, useful for debugging
7095 # configure, is in config.log if it exists.
7100 SHELL=\${CONFIG_SHELL-$SHELL}
7103 cat >>$CONFIG_STATUS <<\_ACEOF
7104 ## --------------------- ##
7105 ## M4sh Initialization. ##
7106 ## --------------------- ##
7108 # Be Bourne compatible
7109 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7112 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7113 # is contrary to our usage. Disable this feature.
7114 alias -g '${1+"$@"}'='"$@"'
7115 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7118 DUALCASE
=1; export DUALCASE
# for MKS sh
7120 # Support unset when possible.
7121 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7128 # Work around bugs in pre-3.0 UWIN ksh.
7129 $as_unset ENV MAIL MAILPATH
7136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7138 LC_TELEPHONE LC_TIME
7140 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7141 eval $as_var=C
; export $as_var
7147 # Required to use basename.
7148 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7154 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7155 as_basename
=basename
7161 # Name of the executable.
7162 as_me
=`$as_basename "$0" ||
7163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7164 X"$0" : 'X\(//\)$' \| \
7165 X"$0" : 'X\(/\)$' \| \
7166 . : '\(.\)' 2>/dev/null ||
7168 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7169 /^X\/\(\/\/\)$/{ s//\1/; q; }
7170 /^X\/\(\/\).*/{ s//\1/; q; }
7174 # PATH needs CR, and LINENO needs CR and PATH.
7175 # Avoid depending upon Character Ranges.
7176 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7177 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7178 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7179 as_cr_digits
='0123456789'
7180 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7182 # The user is always right.
7183 if test "${PATH_SEPARATOR+set}" != set; then
7184 echo "#! /bin/sh" >conf$$.sh
7185 echo "exit 0" >>conf$$.sh
7187 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7198 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7199 test "x$as_lineno_1" != "x$as_lineno_2" &&
7200 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7201 # Find who we are. Look in the path if we contain no path at all
7204 *[\\/]* ) as_myself
=$0 ;;
7205 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir
=.
7210 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7215 # We did not find ourselves, most probably we were run as `sh COMMAND'
7216 # in which case we are not to be found in the path.
7217 if test "x$as_myself" = x
; then
7220 if test ! -f "$as_myself"; then
7221 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7222 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7223 { (exit 1); exit 1; }; }
7225 case $CONFIG_SHELL in
7227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7228 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7231 test -z "$as_dir" && as_dir
=.
7232 for as_base
in sh bash ksh sh5
; do
7235 if ("$as_dir/$as_base" -c '
7238 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7239 test "x$as_lineno_1" != "x$as_lineno_2" &&
7240 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7241 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7242 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7243 CONFIG_SHELL
=$as_dir/$as_base
7245 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7254 # uniformly replaced by the line number. The first 'sed' inserts a
7255 # line-number line before each line; the second 'sed' does the real
7256 # work. The second script uses 'N' to pair each line-number line
7257 # with the numbered line, and appends trailing '-' during
7258 # substitution so that $LINENO is not a special case at line end.
7259 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7260 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7261 sed '=' <$as_myself |
7266 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7269 s,^['$as_cr_digits']*\n,,
7271 chmod +x
$as_me.lineno ||
7272 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7273 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7274 { (exit 1); exit 1; }; }
7276 # Don't try to exec as it changes $[0], causing all sort of problems
7277 # (the dirname of $[0] is not the place where we might find the
7278 # original and so on. Autoconf is especially sensible to this).
7280 # Exit status is that of the last command.
7285 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7286 *c
*,-n*) ECHO_N
= ECHO_C
='
7288 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7289 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7292 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7298 rm -f conf$$ conf$$.exe conf$$.
file
7300 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7301 # We could just check for DJGPP; but this test a) works b) is more generic
7302 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7303 if test -f conf$$.exe
; then
7304 # Don't use ln at all; we don't have any links
7309 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7314 rm -f conf$$ conf$$.exe conf$$.
file
7316 if mkdir
-p .
2>/dev
/null
; then
7319 test -d .
/-p && rmdir .
/-p
7323 as_executable_p
="test -f"
7325 # Sed expression to map a string onto a valid CPP name.
7326 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7328 # Sed expression to map a string onto a valid variable name.
7329 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7333 # We need space, tab and new line, in precisely that order.
7343 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7344 # report actual input values of CONFIG_FILES etc. instead of their
7345 # values after options handling. Logging --version etc. is OK.
7349 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7350 ## Running $as_me. ##
7355 This file was extended by $as_me, which was
7356 generated by GNU Autoconf 2.59. Invocation command line was
7358 CONFIG_FILES = $CONFIG_FILES
7359 CONFIG_HEADERS = $CONFIG_HEADERS
7360 CONFIG_LINKS = $CONFIG_LINKS
7361 CONFIG_COMMANDS = $CONFIG_COMMANDS
7365 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7369 # Files that config.status was made for.
7370 if test -n "$ac_config_files"; then
7371 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7374 if test -n "$ac_config_headers"; then
7375 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7378 if test -n "$ac_config_links"; then
7379 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7382 if test -n "$ac_config_commands"; then
7383 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7386 cat >>$CONFIG_STATUS <<\_ACEOF
7389 \`$as_me' instantiates files from templates according to the
7390 current configuration.
7392 Usage: $0 [OPTIONS] [FILE]...
7394 -h, --help print this help, then exit
7395 -V, --version print version number, then exit
7396 -q, --quiet do not print progress messages
7397 -d, --debug don't remove temporary files
7398 --recheck update $as_me by reconfiguring in the same conditions
7399 --file=FILE[:TEMPLATE]
7400 instantiate the configuration file FILE
7401 --header=FILE[:TEMPLATE]
7402 instantiate the configuration header FILE
7404 Configuration files:
7407 Configuration headers:
7410 Configuration commands:
7413 Report bugs to <bug-autoconf@gnu.org>."
7416 cat >>$CONFIG_STATUS <<_ACEOF
7419 configured by $0, generated by GNU Autoconf 2.59,
7420 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7422 Copyright (C) 2003 Free Software Foundation, Inc.
7423 This config.status script is free software; the Free Software Foundation
7424 gives unlimited permission to copy, distribute and modify it."
7429 cat >>$CONFIG_STATUS <<\_ACEOF
7430 # If no file are specified by the user, then we need to provide default
7431 # value. By we need to know if files were specified by the user.
7437 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7438 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7446 *) # This is not an option, so the user has probably given explicit
7449 ac_need_defaults
=false
;;
7453 # Handling of the options.
7455 cat >>$CONFIG_STATUS <<\_ACEOF
7456 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7458 --version |
--vers* |
-V )
7459 echo "$ac_cs_version"; exit 0 ;;
7461 # Conflict between --help and --header
7462 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7463 Try \`$0 --help' for more information." >&5
7464 echo "$as_me: error: ambiguous option: $1
7465 Try \`$0 --help' for more information." >&2;}
7466 { (exit 1); exit 1; }; };;
7467 --help |
--hel |
-h )
7468 echo "$ac_cs_usage"; exit 0 ;;
7469 --debug |
--d* |
-d )
7471 --file |
--fil |
--fi |
--f )
7473 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7474 ac_need_defaults
=false
;;
7475 --header |
--heade |
--head |
--hea )
7477 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7478 ac_need_defaults
=false
;;
7479 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7480 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7484 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7485 Try \`$0 --help' for more information." >&5
7486 echo "$as_me: error: unrecognized option: $1
7487 Try \`$0 --help' for more information." >&2;}
7488 { (exit 1); exit 1; }; } ;;
7490 *) ac_config_targets
="$ac_config_targets $1" ;;
7496 ac_configure_extra_args
=
7498 if $ac_cs_silent; then
7500 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7504 cat >>$CONFIG_STATUS <<_ACEOF
7505 if \$ac_cs_recheck; then
7506 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7507 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7512 cat >>$CONFIG_STATUS <<_ACEOF
7514 # INIT-COMMANDS section.
7517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7523 cat >>$CONFIG_STATUS <<\_ACEOF
7524 for ac_config_target
in $ac_config_targets
7526 case "$ac_config_target" in
7527 # Handling of arguments.
7528 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7529 "install-defs.sh" ) CONFIG_FILES
="$CONFIG_FILES install-defs.sh" ;;
7530 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7531 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7532 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7533 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7534 { (exit 1); exit 1; }; };;
7538 # If the user did not use the arguments to specify the items to instantiate,
7539 # then the envvar interface is used. Set only those that are not.
7540 # We use the long form for the default assignment because of an extremely
7541 # bizarre bug on SunOS 4.1.3.
7542 if $ac_need_defaults; then
7543 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7544 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7548 # Have a temporary directory for convenience. Make it in the build tree
7549 # simply because there is no reason to put it here, and in addition,
7550 # creating and moving files from /tmp can sometimes cause problems.
7551 # Create a temporary directory, and hook for its removal unless debugging.
7554 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7555 trap '{ (exit 1); exit 1; }' 1 2 13 15
7558 # Create a (secure) tmp directory for tmp files.
7561 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7562 test -n "$tmp" && test -d "$tmp"
7565 tmp
=.
/confstat$$
-$RANDOM
7566 (umask 077 && mkdir
$tmp)
7569 echo "$me: cannot create a temporary directory in ." >&2
7570 { (exit 1); exit 1; }
7575 cat >>$CONFIG_STATUS <<_ACEOF
7578 # CONFIG_FILES section.
7581 # No need to generate the scripts if there are no CONFIG_FILES.
7582 # This happens for instance when ./config.status config.h
7583 if test -n "\$CONFIG_FILES"; then
7584 # Protect against being on the right side of a sed subst in config.status.
7585 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7586 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7587 s,@SHELL@,$SHELL,;t t
7588 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7589 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7590 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7591 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7592 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7593 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7594 s,@exec_prefix@,$exec_prefix,;t t
7595 s,@prefix@,$prefix,;t t
7596 s,@program_transform_name@,$program_transform_name,;t t
7597 s,@bindir@,$bindir,;t t
7598 s,@sbindir@,$sbindir,;t t
7599 s,@libexecdir@,$libexecdir,;t t
7600 s,@datadir@,$datadir,;t t
7601 s,@sysconfdir@,$sysconfdir,;t t
7602 s,@sharedstatedir@,$sharedstatedir,;t t
7603 s,@localstatedir@,$localstatedir,;t t
7604 s,@libdir@,$libdir,;t t
7605 s,@includedir@,$includedir,;t t
7606 s,@oldincludedir@,$oldincludedir,;t t
7607 s,@infodir@,$infodir,;t t
7608 s,@mandir@,$mandir,;t t
7609 s,@build_alias@,$build_alias,;t t
7610 s,@host_alias@,$host_alias,;t t
7611 s,@target_alias@,$target_alias,;t t
7613 s,@ECHO_C@,$ECHO_C,;t t
7614 s,@ECHO_N@,$ECHO_N,;t t
7615 s,@ECHO_T@,$ECHO_T,;t t
7617 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7618 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7619 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7620 s,@CYGPATH_W@,$CYGPATH_W,;t t
7621 s,@PACKAGE@,$PACKAGE,;t t
7622 s,@VERSION@,$VERSION,;t t
7623 s,@ACLOCAL@,$ACLOCAL,;t t
7624 s,@AUTOCONF@,$AUTOCONF,;t t
7625 s,@AUTOMAKE@,$AUTOMAKE,;t t
7626 s,@AUTOHEADER@,$AUTOHEADER,;t t
7627 s,@MAKEINFO@,$MAKEINFO,;t t
7628 s,@install_sh@,$install_sh,;t t
7629 s,@STRIP@,$STRIP,;t t
7630 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7631 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7632 s,@mkdir_p@,$mkdir_p,;t t
7634 s,@SET_MAKE@,$SET_MAKE,;t t
7635 s,@am__leading_dot@,$am__leading_dot,;t t
7636 s,@AMTAR@,$AMTAR,;t t
7637 s,@am__tar@,$am__tar,;t t
7638 s,@am__untar@,$am__untar,;t t
7640 s,@CFLAGS@,$CFLAGS,;t t
7641 s,@LDFLAGS@,$LDFLAGS,;t t
7642 s,@CPPFLAGS@,$CPPFLAGS,;t t
7643 s,@ac_ct_CC@,$ac_ct_CC,;t t
7644 s,@EXEEXT@,$EXEEXT,;t t
7645 s,@OBJEXT@,$OBJEXT,;t t
7646 s,@DEPDIR@,$DEPDIR,;t t
7647 s,@am__include@,$am__include,;t t
7648 s,@am__quote@,$am__quote,;t t
7649 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7650 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7651 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7652 s,@CCDEPMODE@,$CCDEPMODE,;t t
7653 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7654 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7657 s,@CHMOD@,$CHMOD,;t t
7658 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7659 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7660 s,@MAINT@,$MAINT,;t t
7661 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
7663 s,@EGREP@,$EGREP,;t t
7664 s,@ZLIBS@,$ZLIBS,;t t
7665 s,@ZDEPS@,$ZDEPS,;t t
7666 s,@ZINCS@,$ZINCS,;t t
7667 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
7668 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
7669 s,@LIBOBJS@,$LIBOBJS,;t t
7670 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7675 cat >>$CONFIG_STATUS <<\_ACEOF
7676 # Split the substitutions into bite-sized pieces for seds with
7677 # small command number limits, like on Digital OSF/1 and HP-UX.
7679 ac_sed_frag
=1 # Number of current file.
7680 ac_beg
=1 # First line for current file.
7681 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7684 while $ac_more_lines; do
7685 if test $ac_beg -gt 1; then
7686 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7688 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7690 if test ! -s $tmp/subs.frag
; then
7693 # The purpose of the label and of the branching condition is to
7694 # speed up the sed processing (if there are no `@' at all, there
7695 # is no need to browse any of the substitutions).
7696 # These are the two extra sed commands mentioned above.
7698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7699 if test -z "$ac_sed_cmds"; then
7700 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7702 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7704 ac_sed_frag
=`expr $ac_sed_frag + 1`
7706 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7709 if test -z "$ac_sed_cmds"; then
7712 fi # test -n "$CONFIG_FILES"
7715 cat >>$CONFIG_STATUS <<\_ACEOF
7716 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7717 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7719 - |
*:- |
*:-:* ) # input from stdin
7721 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7722 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7723 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7725 * ) ac_file_in
=$ac_file.
in ;;
7728 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7729 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7730 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7731 X"$ac_file" : 'X\(//\)[^/]' \| \
7732 X"$ac_file" : 'X\(//\)$' \| \
7733 X"$ac_file" : 'X\(/\)' \| \
7734 . : '\(.\)' 2>/dev/null ||
7736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7738 /^X\(\/\/\)$/{ s//\1/; q; }
7739 /^X\(\/\).*/{ s//\1/; q; }
7741 { if $as_mkdir_p; then
7746 while test ! -d "$as_dir"; do
7747 as_dirs
="$as_dir $as_dirs"
7748 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7750 X"$as_dir" : 'X\(//\)[^/]' \| \
7751 X"$as_dir" : 'X\(//\)$' \| \
7752 X"$as_dir" : 'X\(/\)' \| \
7753 . : '\(.\)' 2>/dev/null ||
7755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7757 /^X\(\/\/\)$/{ s//\1/; q; }
7758 /^X\(\/\).*/{ s//\1/; q; }
7761 test ! -n "$as_dirs" || mkdir
$as_dirs
7762 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7763 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7764 { (exit 1); exit 1; }; }; }
7768 if test "$ac_dir" != .
; then
7769 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7770 # A "../" for each directory in $ac_dir_suffix.
7771 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7773 ac_dir_suffix
= ac_top_builddir
=
7777 .
) # No --srcdir option. We are building in place.
7779 if test -z "$ac_top_builddir"; then
7782 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7784 [\\/]* | ?
:[\\/]* ) # Absolute path.
7785 ac_srcdir
=$srcdir$ac_dir_suffix;
7786 ac_top_srcdir
=$srcdir ;;
7788 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7789 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7792 # Do not use `cd foo && pwd` to compute absolute paths, because
7793 # the directories may not exist.
7795 .
) ac_abs_builddir
="$ac_dir";;
7798 .
) ac_abs_builddir
=`pwd`;;
7799 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7800 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7803 case $ac_abs_builddir in
7804 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7806 case ${ac_top_builddir}.
in
7807 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7808 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7809 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7812 case $ac_abs_builddir in
7813 .
) ac_abs_srcdir
=$ac_srcdir;;
7816 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7817 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7818 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7821 case $ac_abs_builddir in
7822 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7824 case $ac_top_srcdir in
7825 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7826 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7827 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7833 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7834 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7837 if test x
"$ac_file" != x-
; then
7838 { echo "$as_me:$LINENO: creating $ac_file" >&5
7839 echo "$as_me: creating $ac_file" >&6;}
7842 # Let's still pretend it is `configure' which instantiates (i.e., don't
7843 # use $as_me), people would be surprised to read:
7844 # /* config.h. Generated by config.status. */
7845 if test x
"$ac_file" = x-
; then
7848 configure_input
="$ac_file. "
7850 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7851 sed 's,.*/,,'` by configure."
7853 # First look for the input files in the build tree, otherwise in the
7855 ac_file_inputs
=`IFS=:
7856 for f in $ac_file_in; do
7858 -) echo $tmp/stdin ;;
7860 # Absolute (can't be DOS-style, as IFS=:)
7861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7862 echo "$as_me: error: cannot find input file: $f" >&2;}
7863 { (exit 1); exit 1; }; }
7866 if test -f "$f"; then
7869 elif test -f "$srcdir/$f"; then
7874 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7875 echo "$as_me: error: cannot find input file: $f" >&2;}
7876 { (exit 1); exit 1; }; }
7879 done` ||
{ (exit 1); exit 1; }
7881 cat >>$CONFIG_STATUS <<_ACEOF
7885 cat >>$CONFIG_STATUS <<\_ACEOF
7887 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7888 s
,@configure_input@
,$configure_input,;t t
7889 s
,@srcdir@
,$ac_srcdir,;t t
7890 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7891 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7892 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7893 s
,@builddir@
,$ac_builddir,;t t
7894 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7895 s
,@top_builddir@
,$ac_top_builddir,;t t
7896 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7897 s
,@INSTALL@
,$ac_INSTALL,;t t
7898 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7900 if test x"$ac_file" != x-; then
7901 mv $tmp/out $ac_file
7909 cat >>$CONFIG_STATUS <<\_ACEOF
7912 # CONFIG_HEADER section.
7915 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7916 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7918 # ac_d sets the value in "#define NAME VALUE" lines.
7919 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7920 ac_dB
='[ ].*$,\1#\2'
7923 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7924 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7925 ac_uB
='$,\1#\2define\3'
7929 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7930 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7932 - |
*:- |
*:-:* ) # input from stdin
7934 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7935 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7936 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7937 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7938 * ) ac_file_in
=$ac_file.
in ;;
7941 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7942 echo "$as_me: creating $ac_file" >&6;}
7944 # First look for the input files in the build tree, otherwise in the
7946 ac_file_inputs
=`IFS=:
7947 for f in $ac_file_in; do
7949 -) echo $tmp/stdin ;;
7951 # Absolute (can't be DOS-style, as IFS=:)
7952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7953 echo "$as_me: error: cannot find input file: $f" >&2;}
7954 { (exit 1); exit 1; }; }
7955 # Do quote $f, to prevent DOS paths from being IFS'd.
7958 if test -f "$f"; then
7961 elif test -f "$srcdir/$f"; then
7966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7967 echo "$as_me: error: cannot find input file: $f" >&2;}
7968 { (exit 1); exit 1; }; }
7971 done` ||
{ (exit 1); exit 1; }
7972 # Remove the trailing spaces.
7973 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7977 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7978 # `conftest.undefs', that substitutes the proper values into
7979 # config.h.in to produce config.h. The first handles `#define'
7980 # templates, and the second `#undef' templates.
7981 # And first: Protect against being on the right side of a sed subst in
7982 # config.status. Protect against being in an unquoted here document
7984 rm -f conftest.defines conftest.undefs
7985 # Using a here document instead of a string reduces the quoting nightmare.
7986 # Putting comments in sed scripts is not portable.
7988 # `end' is used to avoid that the second main sed command (meant for
7989 # 0-ary CPP macros) applies to n-ary macro definitions.
7990 # See the Autoconf documentation for `clear'.
7991 cat >confdef2sed.
sed <<\_ACEOF
7996 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7998 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8001 # If some macros were called several times there might be several times
8002 # the same #defines, which is useless. Nevertheless, we may not want to
8003 # sort them, since we want the *last* AC-DEFINE to be honored.
8004 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8005 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8006 rm -f confdef2sed.sed
8008 # This sed command replaces #undef with comments. This is necessary, for
8009 # example, in the case of _POSIX_SOURCE, which is predefined and required
8010 # on some systems where configure will not decide to define it.
8011 cat >>conftest.undefs <<\_ACEOF
8012 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8015 # Break up conftest.defines because some shells have a limit on the size
8016 # of here documents, and old seds have small limits too (100 cmds).
8017 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8018 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8019 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8020 echo ' :' >>$CONFIG_STATUS
8022 while grep . conftest.defines >/dev/null
8024 # Write a limited-size here document to $tmp/defines.sed.
8025 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8026 # Speed up: don't consider the non `#define' lines.
8027 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8028 # Work around the forget-to-reset-the-flag bug.
8029 echo 't clr' >>$CONFIG_STATUS
8030 echo ': clr' >>$CONFIG_STATUS
8031 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8033 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8037 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8038 rm -f conftest.defines
8039 mv conftest.
tail conftest.defines
8041 rm -f conftest.defines
8042 echo ' fi # grep' >>$CONFIG_STATUS
8043 echo >>$CONFIG_STATUS
8045 # Break up conftest.undefs because some shells have a limit on the size
8046 # of here documents, and old seds have small limits too (100 cmds).
8047 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8049 while grep . conftest.undefs
>/dev
/null
8051 # Write a limited-size here document to $tmp/undefs.sed.
8052 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8053 # Speed up: don't consider the non
`#undef'
8054 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8055 # Work around the forget-to-reset-the-flag bug.
8056 echo 't clr' >>$CONFIG_STATUS
8057 echo ': clr' >>$CONFIG_STATUS
8058 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8060 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8064 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8065 rm -f conftest.undefs
8066 mv conftest.tail conftest.undefs
8068 rm -f conftest.undefs
8070 cat >>$CONFIG_STATUS <<\_ACEOF
8071 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8072 # use $as_me), people would be surprised to read:
8073 # /* config.h. Generated by config.status. */
8074 if test x
"$ac_file" = x-
; then
8075 echo "/* Generated by configure. */" >$tmp/config.h
8077 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8079 cat $tmp/in >>$tmp/config.h
8081 if test x
"$ac_file" != x-
; then
8082 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8083 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8084 echo "$as_me: $ac_file is unchanged" >&6;}
8086 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8088 X"$ac_file" : 'X\(//\)[^/]' \| \
8089 X"$ac_file" : 'X\(//\)$' \| \
8090 X"$ac_file" : 'X\(/\)' \| \
8091 . : '\(.\)' 2>/dev/null ||
8093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8095 /^X\(\/\/\)$/{ s//\1/; q; }
8096 /^X\(\/\).*/{ s//\1/; q; }
8098 { if $as_mkdir_p; then
8103 while test ! -d "$as_dir"; do
8104 as_dirs
="$as_dir $as_dirs"
8105 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8107 X"$as_dir" : 'X\(//\)[^/]' \| \
8108 X"$as_dir" : 'X\(//\)$' \| \
8109 X"$as_dir" : 'X\(/\)' \| \
8110 . : '\(.\)' 2>/dev/null ||
8112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8114 /^X\(\/\/\)$/{ s//\1/; q; }
8115 /^X\(\/\).*/{ s//\1/; q; }
8118 test ! -n "$as_dirs" || mkdir
$as_dirs
8119 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8121 { (exit 1); exit 1; }; }; }
8124 mv $tmp/config.h
$ac_file
8130 # Compute $ac_file's index in $config_headers.
8132 for _am_header
in $config_headers :; do
8134 $ac_file |
$ac_file:* )
8137 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8140 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8141 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8142 X$ac_file : 'X\(//\)[^/]' \| \
8143 X$ac_file : 'X\(//\)$' \| \
8144 X$ac_file : 'X\(/\)' \| \
8145 . : '\(.\)' 2>/dev/null ||
8147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8148 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8149 /^X\(\/\/\)$/{ s//\1/; q; }
8150 /^X\(\/\).*/{ s//\1/; q; }
8151 s/.*/./; q'`/stamp-h
$_am_stamp_count
8154 cat >>$CONFIG_STATUS <<\_ACEOF
8157 # CONFIG_COMMANDS section.
8159 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8160 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8161 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8162 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8163 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8164 X"$ac_dest" : 'X\(//\)[^/]' \| \
8165 X"$ac_dest" : 'X\(//\)$' \| \
8166 X"$ac_dest" : 'X\(/\)' \| \
8167 . : '\(.\)' 2>/dev/null ||
8169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8171 /^X\(\/\/\)$/{ s//\1/; q; }
8172 /^X\(\/\).*/{ s//\1/; q; }
8174 { if $as_mkdir_p; then
8179 while test ! -d "$as_dir"; do
8180 as_dirs
="$as_dir $as_dirs"
8181 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8183 X"$as_dir" : 'X\(//\)[^/]' \| \
8184 X"$as_dir" : 'X\(//\)$' \| \
8185 X"$as_dir" : 'X\(/\)' \| \
8186 . : '\(.\)' 2>/dev/null ||
8188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8190 /^X\(\/\/\)$/{ s//\1/; q; }
8191 /^X\(\/\).*/{ s//\1/; q; }
8194 test ! -n "$as_dirs" || mkdir
$as_dirs
8195 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8196 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8197 { (exit 1); exit 1; }; }; }
8201 if test "$ac_dir" != .
; then
8202 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8203 # A "../" for each directory in $ac_dir_suffix.
8204 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8206 ac_dir_suffix
= ac_top_builddir
=
8210 .
) # No --srcdir option. We are building in place.
8212 if test -z "$ac_top_builddir"; then
8215 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8217 [\\/]* | ?
:[\\/]* ) # Absolute path.
8218 ac_srcdir
=$srcdir$ac_dir_suffix;
8219 ac_top_srcdir
=$srcdir ;;
8221 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8222 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8225 # Do not use `cd foo && pwd` to compute absolute paths, because
8226 # the directories may not exist.
8228 .
) ac_abs_builddir
="$ac_dir";;
8231 .
) ac_abs_builddir
=`pwd`;;
8232 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8233 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8236 case $ac_abs_builddir in
8237 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8239 case ${ac_top_builddir}.
in
8240 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8241 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8242 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8245 case $ac_abs_builddir in
8246 .
) ac_abs_srcdir
=$ac_srcdir;;
8249 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8250 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8251 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8254 case $ac_abs_builddir in
8255 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8257 case $ac_top_srcdir in
8258 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8259 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8260 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8265 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8266 echo "$as_me: executing $ac_dest commands" >&6;}
8268 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8269 # Strip MF so we end up with the name of the file.
8270 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8271 # Check whether this is an Automake generated Makefile or not.
8272 # We used to match only the files named `Makefile.in', but
8273 # some people rename them; so instead we look at the file content.
8274 # Grep'ing the first line is not enough: some people post-process
8275 # each Makefile.in and add a new line on top of each file to say so.
8276 # So let's grep whole file.
8277 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8278 dirpart
=`(dirname "$mf") 2>/dev/null ||
8279 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8280 X"$mf" : 'X\(//\)[^/]' \| \
8281 X"$mf" : 'X\(//\)$' \| \
8282 X"$mf" : 'X\(/\)' \| \
8283 . : '\(.\)' 2>/dev/null ||
8285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8287 /^X\(\/\/\)$/{ s//\1/; q; }
8288 /^X\(\/\).*/{ s//\1/; q; }
8293 # Extract the definition of DEPDIR, am__include, and am__quote
8294 # from the Makefile without running `make'.
8295 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8296 test -z "$DEPDIR" && continue
8297 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8298 test -z "am__include" && continue
8299 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8300 # When using ansi2knr, U may be empty or an underscore; expand it
8301 U
=`sed -n 's/^U = //p' < "$mf"`
8302 # Find all dependency output files, they are included files with
8303 # $(DEPDIR) in their names. We invoke sed twice because it is the
8304 # simplest approach to changing $(DEPDIR) to its actual value in the
8306 for file in `sed -n "
8307 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8308 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8309 # Make sure the directory exists.
8310 test -f "$dirpart/$file" && continue
8311 fdir
=`(dirname "$file") 2>/dev/null ||
8312 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8313 X"$file" : 'X\(//\)[^/]' \| \
8314 X"$file" : 'X\(//\)$' \| \
8315 X"$file" : 'X\(/\)' \| \
8316 . : '\(.\)' 2>/dev/null ||
8318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8320 /^X\(\/\/\)$/{ s//\1/; q; }
8321 /^X\(\/\).*/{ s//\1/; q; }
8323 { if $as_mkdir_p; then
8324 mkdir
-p $dirpart/$fdir
8326 as_dir
=$dirpart/$fdir
8328 while test ! -d "$as_dir"; do
8329 as_dirs
="$as_dir $as_dirs"
8330 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8332 X"$as_dir" : 'X\(//\)[^/]' \| \
8333 X"$as_dir" : 'X\(//\)$' \| \
8334 X"$as_dir" : 'X\(/\)' \| \
8335 . : '\(.\)' 2>/dev/null ||
8337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8339 /^X\(\/\/\)$/{ s//\1/; q; }
8340 /^X\(\/\).*/{ s//\1/; q; }
8343 test ! -n "$as_dirs" || mkdir
$as_dirs
8344 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8345 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8346 { (exit 1); exit 1; }; }; }
8348 # echo "creating $dirpart/$file"
8349 echo '# dummy' > "$dirpart/$file"
8357 cat >>$CONFIG_STATUS <<\_ACEOF
8359 { (exit 0); exit 0; }
8361 chmod +x
$CONFIG_STATUS
8362 ac_clean_files
=$ac_clean_files_save
8365 # configure is writing to config.log, and then calls config.status.
8366 # config.status does its own redirection, appending to config.log.
8367 # Unfortunately, on DOS this fails, as config.log is still kept open
8368 # by configure, so config.status won't be able to write to it; its
8369 # output is simply discarded. So we exec the FD to /dev/null,
8370 # effectively closing config.log, so it can be properly (re)opened and
8371 # appended to by config.status. When coming back to configure, we
8372 # need to make the FD available again.
8373 if test "$no_create" != yes; then
8375 ac_config_status_args
=
8376 test "$silent" = yes &&
8377 ac_config_status_args
="$ac_config_status_args --quiet"
8379 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8381 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8382 # would make configure fail if this is the last instruction.
8383 $ac_cs_success ||
{ (exit 1); exit 1; }