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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 gcc_version 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 builds
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
854 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
855 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
856 --with-system-zlib use installed libz
858 Some influential environment variables
:
859 CC C compiler
command
860 CFLAGS C compiler flags
861 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
862 nonstandard directory
<lib dir
>
863 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
864 headers
in a nonstandard directory
<include dir
>
867 Use these variables to override the choices made by
`configure' or to help
868 it to find libraries and programs with nonstandard names/locations.
873 if test "$ac_init_help" = "recursive"; then
874 # If there are subdirs, report their specific --help.
876 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877 test -d $ac_dir || continue
880 if test "$ac_dir" != .; then
881 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
882 # A "../" for each directory in $ac_dir_suffix.
883 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
885 ac_dir_suffix= ac_top_builddir=
889 .) # No --srcdir option. We are building in place.
891 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
896 [\\/]* | ?:[\\/]* ) # Absolute path.
897 ac_srcdir=$srcdir$ac_dir_suffix;
898 ac_top_srcdir=$srcdir ;;
900 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 # Do not use `cd foo
&& pwd` to compute absolute paths, because
905 # the directories may not exist.
907 .) ac_abs_builddir="$ac_dir";;
910 .) ac_abs_builddir=`pwd`;;
911 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912 *) ac_abs_builddir=`pwd`/"$ac_dir";;
915 case $ac_abs_builddir in
916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 case ${ac_top_builddir}. in
919 .) ac_abs_top_builddir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 case $ac_abs_builddir in
925 .) ac_abs_srcdir=$ac_srcdir;;
928 .) ac_abs_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 case $ac_abs_builddir in
934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 case $ac_top_srcdir in
937 .) ac_abs_top_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
944 # Check for guested configure; otherwise get Cygnus style configure.
945 if test -f $ac_srcdir/configure.gnu; then
947 $SHELL $ac_srcdir/configure.gnu --help=recursive
948 elif test -f $ac_srcdir/configure; then
950 $SHELL $ac_srcdir/configure --help=recursive
951 elif test -f $ac_srcdir/configure.ac ||
952 test -f $ac_srcdir/configure.in; then
956 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962 test -n "$ac_init_help" && exit 0
963 if $ac_init_version; then
966 Copyright (C) 2003 Free Software Foundation, Inc.
967 This configure script is free software; the Free Software Foundation
968 gives unlimited permission to copy, distribute and modify it.
974 This file contains any messages produced by compilers while
975 running configure, to aid debugging if configure makes a mistake.
977 It was created by $as_me, which was
978 generated by GNU Autoconf 2.59. Invocation command line was
989 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
990 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
991 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
992 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
993 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
995 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
996 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
998 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1000 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1001 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1002 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1004 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 test -z "$as_dir" && as_dir=.
1013 echo "PATH: $as_dir"
1028 # Keep a trace of the command line.
1029 # Strip out --no-create and --no-recursion so they do not pile up.
1030 # Strip out --silent because we don't want to record it for future runs.
1031 # Also quote any args containing shell meta-characters.
1032 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_must_keep_next=false
1043 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045 | -silent | --silent | --silen | --sile | --sil)
1047 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1048 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1051 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1053 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1054 if test $ac_must_keep_next = true; then
1055 ac_must_keep_next=false # Got value, back to normal.
1058 *=* | --config-cache | -C | -disable-* | --disable-* \
1059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061 | -with-* | --with-* | -without-* | --without-* | --x)
1062 case "$ac_configure_args0 " in
1063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1066 -* ) ac_must_keep_next=true ;;
1069 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070 # Get rid of the leading space.
1076 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1077 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1079 # When interrupted or exit'd, cleanup temporary files, and complete
1080 # config.log. We remove comments because anyway the quotes in there
1081 # would cause problems or look ugly.
1082 # WARNING: Be sure not to use single quotes in there, as some shells,
1083 # such as our DU 5.0 friend, will then `close
' the trap.
1084 trap 'exit_status
=$?
1085 # Save into config.log some information that might help in debugging.
1090 ## ---------------- ##
1091 ## Cache variables. ##
1092 ## ---------------- ##
1095 # The following way of writing the cache mishandles newlines in values,
1098 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113 ## ----------------- ##
1114 ## Output variables. ##
1115 ## ----------------- ##
1118 for ac_var
in $ac_subst_vars
1120 eval ac_val
=$
`echo $ac_var`
1121 echo "$ac_var='"'"'$ac_val'"'"'"
1125 if test -n "$ac_subst_files"; then
1132 for ac_var
in $ac_subst_files
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -s confdefs.h
; then
1147 sed "/^$/d" confdefs.h |
sort
1150 test "$ac_signal" != 0 &&
1151 echo "$as_me: caught signal $ac_signal"
1152 echo "$as_me: exit $exit_status"
1154 rm -f core
*.core
&&
1155 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1158 for ac_signal in 1 2 13 15; do
1159 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1164 rm -rf conftest* confdefs.h
1165 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1168 # Predefined preprocessor variables.
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_NAME "$PACKAGE_NAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_STRING "$PACKAGE_STRING"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 # Let the site file select an alternate cache file if it wants to.
1196 # Prefer explicitly selected file to automatically selected ones.
1197 if test -z "$CONFIG_SITE"; then
1198 if test "x$prefix" != xNONE; then
1199 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1201 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1204 for ac_site_file in $CONFIG_SITE; do
1205 if test -r "$ac_site_file"; then
1206 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1207 echo "$as_me: loading site script $ac_site_file" >&6;}
1208 sed 's
/^
/|
/' "$ac_site_file" >&5
1213 if test -r "$cache_file"; then
1214 # Some versions of bash will fail to source /dev/null (special
1215 # files actually), so we avoid doing that.
1216 if test -f "$cache_file"; then
1217 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1218 echo "$as_me: loading cache $cache_file" >&6;}
1220 [\\/]* | ?:[\\/]* ) . $cache_file;;
1221 *) . ./$cache_file;;
1225 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226 echo "$as_me: creating cache $cache_file" >&6;}
1230 # Check that the precious variables saved in the cache have kept the same
1232 ac_cache_corrupted=false
1233 for ac_var in `(set) 2>&1 |
1234 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1235 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1236 eval ac_new_set=\$ac_env_${ac_var}_set
1237 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1238 eval ac_new_val="\$ac_env_${ac_var}_value"
1239 case $ac_old_set,$ac_new_set in
1241 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1242 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1243 ac_cache_corrupted=: ;;
1245 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1250 if test "x$ac_old_val" != "x$ac_new_val"; then
1251 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1252 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1253 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1254 echo "$as_me: former value: $ac_old_val" >&2;}
1255 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1256 echo "$as_me: current value: $ac_new_val" >&2;}
1257 ac_cache_corrupted=:
1260 # Pass precious variables to config.status.
1261 if test "$ac_new_set" = set; then
1263 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1265 *) ac_arg=$ac_var=$ac_new_val ;;
1267 case " $ac_configure_args " in
1268 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1269 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273 if $ac_cache_corrupted; then
1274 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1275 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1276 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1277 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1278 { (exit 1); exit 1; }; }
1282 ac_cpp='$CPP $CPPFLAGS'
1283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1284 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305 am__api_version="1.7"
1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1308 if test -f $ac_dir/install-sh; then
1310 ac_install_sh="$ac_aux_dir/install-sh -c"
1312 elif test -f $ac_dir/install.sh; then
1314 ac_install_sh="$ac_aux_dir/install.sh -c"
1316 elif test -f $ac_dir/shtool; then
1318 ac_install_sh="$ac_aux_dir/shtool install -c"
1322 if test -z "$ac_aux_dir"; then
1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1324 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1325 { (exit 1); exit 1; }; }
1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1331 # Find a good install program. We prefer a C program (faster),
1332 # so one script is as good as another. But avoid the broken or
1333 # incompatible versions:
1334 # SysV /etc/install, /usr/sbin/install
1335 # SunOS /usr/etc/install
1336 # IRIX /sbin/install
1338 # AmigaOS /C/install, which installs bootblocks on floppy discs
1339 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1340 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1341 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1342 # OS/2's system install, which has a completely different semantic
1343 # ./install, which can be erroneously created by make from ./install.sh.
1344 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1345 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1346 if test -z "$INSTALL"; then
1347 if test "${ac_cv_path_install+set}" = set; then
1348 echo $ECHO_N "(cached) $ECHO_C" >&6
1350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1354 test -z "$as_dir" && as_dir
=.
1355 # Account for people who put trailing slashes in PATH elements.
1357 .
/ | .
// |
/cC
/* | \
1358 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1359 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1362 # OSF1 and SCO ODT 3.0 have their own names for install.
1363 # Don't use installbsd from OSF since it installs stuff as root
1365 for ac_prog
in ginstall scoinst
install; do
1366 for ac_exec_ext
in '' $ac_executable_extensions; do
1367 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1368 if test $ac_prog = install &&
1369 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1370 # AIX install. It has an incompatible calling convention.
1372 elif test $ac_prog = install &&
1373 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1374 # program-specific install script used by HP pwplus--don't use.
1377 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1389 if test "${ac_cv_path_install+set}" = set; then
1390 INSTALL
=$ac_cv_path_install
1392 # As a last resort, use the slow shell script. We don't cache a
1393 # path for INSTALL within a source directory, because that will
1394 # break other packages using the cache if that directory is
1395 # removed, or if the path is relative.
1396 INSTALL
=$ac_install_sh
1399 echo "$as_me:$LINENO: result: $INSTALL" >&5
1400 echo "${ECHO_T}$INSTALL" >&6
1402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1403 # It thinks the first close brace ends the variable substitution.
1404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1408 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1410 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1411 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1414 echo timestamp
> conftest.
file
1415 # Do `set' in a subshell so we don't clobber the current shell's
1416 # arguments. Must try -L first in case configure is actually a
1417 # symlink; some systems play weird games with the mod time of symlinks
1418 # (eg FreeBSD returns the mod time of the symlink's containing
1421 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1422 if test "$*" = "X"; then
1424 set X
`ls -t $srcdir/configure conftest.file`
1427 if test "$*" != "X $srcdir/configure conftest.file" \
1428 && test "$*" != "X conftest.file $srcdir/configure"; then
1430 # If neither matched, then we have a broken ls. This can happen
1431 # if, for instance, CONFIG_SHELL is bash and it inherits a
1432 # broken ls alias from the environment. This has actually
1433 # happened. Such a system could not be considered "sane".
1434 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1435 alias in your environment" >&5
1436 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1437 alias in your environment" >&2;}
1438 { (exit 1); exit 1; }; }
1441 test "$2" = conftest.
file
1447 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1448 Check your system clock" >&5
1449 echo "$as_me: error: newly created file is older than distributed files!
1450 Check your system clock" >&2;}
1451 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: yes" >&5
1454 echo "${ECHO_T}yes" >&6
1455 test "$program_prefix" != NONE
&&
1456 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1457 # Use a double $ so make ignores it.
1458 test "$program_suffix" != NONE
&&
1459 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1460 # Double any \ or $. echo might interpret backslashes.
1461 # By default was `s,x,x', remove it if useless.
1462 cat <<\_ACEOF
>conftest.
sed
1463 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1465 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1469 # expand $ac_aux_dir to an absolute path
1470 am_aux_dir
=`cd $ac_aux_dir && pwd`
1472 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1473 # Use eval to expand $SHELL
1474 if eval "$MISSING --run true"; then
1475 am_missing_run
="$MISSING --run "
1478 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1479 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1482 for ac_prog
in gawk mawk nawk
awk
1484 # Extract the first word of "$ac_prog", so it can be a program name with args.
1485 set dummy
$ac_prog; ac_word
=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_AWK+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 if test -n "$AWK"; then
1492 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir
=.
1499 for ac_exec_ext
in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_AWK
="$ac_prog"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test -n "$AWK"; then
1512 echo "$as_me:$LINENO: result: $AWK" >&5
1513 echo "${ECHO_T}$AWK" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1519 test -n "$AWK" && break
1522 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1523 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1524 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1525 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 cat >conftest.
make <<\_ACEOF
1530 @
echo 'ac_maketemp="$(MAKE)"'
1532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1533 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1534 if test -n "$ac_maketemp"; then
1535 eval ac_cv_prog_make_
${ac_make}_set
=yes
1537 eval ac_cv_prog_make_
${ac_make}_set
=no
1541 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1542 echo "$as_me:$LINENO: result: yes" >&5
1543 echo "${ECHO_T}yes" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1548 SET_MAKE
="MAKE=${MAKE-make}"
1551 rm -rf .tst
2>/dev
/null
1552 mkdir .tst
2>/dev
/null
1553 if test -d .tst
; then
1558 rmdir .tst
2>/dev
/null
1560 # test to see if srcdir already configured
1561 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1562 test -f $srcdir/config.status
; then
1563 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1564 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1565 { (exit 1); exit 1; }; }
1568 # test whether we have cygpath
1569 if test -z "$CYGPATH_W"; then
1570 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1571 CYGPATH_W
='cygpath -w'
1578 # Define the identity of the package.
1583 cat >>confdefs.h
<<_ACEOF
1584 #define PACKAGE "$PACKAGE"
1588 cat >>confdefs.h
<<_ACEOF
1589 #define VERSION "$VERSION"
1592 # Some tools Automake needs.
1594 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1597 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1600 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1603 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1606 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1609 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1611 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1613 # Installed binaries are usually stripped using `strip' when the user
1614 # run `make install-strip'. However `strip' might not be the right
1615 # tool to use in cross-compilation environments, therefore Automake
1616 # will honor the `STRIP' environment variable to overrule this program.
1617 if test "$cross_compiling" != no
; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1620 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_STRIP+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$STRIP"; then
1627 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir
=.
1634 for ac_exec_ext
in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 STRIP
=$ac_cv_prog_STRIP
1646 if test -n "$STRIP"; then
1647 echo "$as_me:$LINENO: result: $STRIP" >&5
1648 echo "${ECHO_T}$STRIP" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_STRIP"; then
1657 # Extract the first word of "strip", so it can be a program name with args.
1658 set dummy strip
; ac_word
=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$ac_ct_STRIP"; then
1665 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir
=.
1672 for ac_exec_ext
in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_STRIP
="strip"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1684 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1685 if test -n "$ac_ct_STRIP"; then
1686 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1687 echo "${ECHO_T}$ac_ct_STRIP" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1695 STRIP
="$ac_cv_prog_STRIP"
1699 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1701 # We need awk for the "check" target. The system "awk" is bad on
1706 ac_config_headers
="$ac_config_headers config.h"
1710 ac_cpp
='$CPP $CPPFLAGS'
1711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1714 if test -n "$ac_tool_prefix"; then
1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1716 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1717 echo "$as_me:$LINENO: checking for $ac_word" >&5
1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719 if test "${ac_cv_prog_CC+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 if test -n "$CC"; then
1723 ac_cv_prog_CC
="$CC" # Let the user override the test.
1725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1729 test -z "$as_dir" && as_dir
=.
1730 for ac_exec_ext
in '' $ac_executable_extensions; do
1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 if test -n "$CC"; then
1743 echo "$as_me:$LINENO: result: $CC" >&5
1744 echo "${ECHO_T}$CC" >&6
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1751 if test -z "$ac_cv_prog_CC"; then
1753 # Extract the first word of "gcc", so it can be a program name with args.
1754 set dummy gcc
; ac_word
=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$ac_ct_CC"; then
1761 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir
=.
1768 for ac_exec_ext
in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_ac_ct_CC
="gcc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1780 if test -n "$ac_ct_CC"; then
1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1782 echo "${ECHO_T}$ac_ct_CC" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1793 if test -z "$CC"; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1796 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC
="$CC" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$CC"; then
1823 echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1831 if test -z "$ac_cv_prog_CC"; then
1833 # Extract the first word of "cc", so it can be a program name with args.
1834 set dummy cc
; ac_word
=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir
=.
1848 for ac_exec_ext
in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_CC
="cc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1860 if test -n "$ac_ct_CC"; then
1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1862 echo "${ECHO_T}$ac_ct_CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1874 if test -z "$CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc
; ac_word
=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1894 ac_prog_rejected
=yes
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 if test $ac_prog_rejected = yes; then
1905 # We found a bogon in the path, so make sure we never use it.
1906 set dummy
$ac_cv_prog_CC
1908 if test $# != 0; then
1909 # We chose a different compiler from the bogus one.
1910 # However, it has the same basename, so the bogon will be chosen
1911 # first if we set CC to just the basename; use the full file name.
1913 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1919 if test -n "$CC"; then
1920 echo "$as_me:$LINENO: result: $CC" >&5
1921 echo "${ECHO_T}$CC" >&6
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1933 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC
="$CC" # Let the user override the test.
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_exec_ext
in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
1967 test -n "$CC" && break
1970 if test -z "$CC"; then
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy
$ac_prog; ac_word
=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 for ac_exec_ext
in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC
="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2001 if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003 echo "${ECHO_T}$ac_ct_CC" >&6
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$ac_ct_CC" && break
2018 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&5
2020 echo "$as_me: error: no acceptable C compiler found in \$PATH
2021 See \`config.log' for more details." >&2;}
2022 { (exit 1); exit 1; }; }
2024 # Provide some information about the compiler.
2025 echo "$as_me:$LINENO:" \
2026 "checking for C compiler version" >&5
2027 ac_compiler
=`set X $ac_compile; echo $2`
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2029 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2034 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }
2038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2039 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }
2044 cat >conftest.
$ac_ext <<_ACEOF
2047 cat confdefs.h
>>conftest.
$ac_ext
2048 cat >>conftest.
$ac_ext <<_ACEOF
2049 /* end confdefs.h. */
2059 ac_clean_files_save
=$ac_clean_files
2060 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2061 # Try to create an executable without -o first, disregard a.out.
2062 # It will help us diagnose broken compilers, and finding out an intuition
2064 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2065 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2066 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2067 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2068 (eval $ac_link_default) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; then
2072 # Find the output, starting from the most likely. This scheme is
2073 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2076 # Be careful to initialize this variable, since it used to be cached.
2077 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2079 # b.out is created by i960 compilers.
2080 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2082 test -f "$ac_file" ||
continue
2084 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2087 # This is the source file.
2090 # We found the default executable, but exeext='' is most
2094 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2095 # FIXME: I believe we export ac_cv_exeext for Libtool,
2096 # but it would be cool to find out if it's true. Does anybody
2097 # maintain Libtool? --akim.
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2108 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&2;}
2112 { (exit 77); exit 77; }; }
2115 ac_exeext
=$ac_cv_exeext
2116 echo "$as_me:$LINENO: result: $ac_file" >&5
2117 echo "${ECHO_T}$ac_file" >&6
2119 # Check the compiler produces executables we can run. If not, either
2120 # the compiler is broken, or we cross compile.
2121 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2122 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2123 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2124 # If not cross compiling, check that we can run a simple program.
2125 if test "$cross_compiling" != yes; then
2126 if { ac_try
='./$ac_file'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; }; then
2134 if test "$cross_compiling" = maybe
; then
2137 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2138 If you meant to cross compile, use \`--host'.
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: cannot run C compiled programs.
2141 If you meant to cross compile, use \`--host'.
2142 See \`config.log' for more details." >&2;}
2143 { (exit 1); exit 1; }; }
2147 echo "$as_me:$LINENO: result: yes" >&5
2148 echo "${ECHO_T}yes" >&6
2150 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2151 ac_clean_files
=$ac_clean_files_save
2152 # Check the compiler produces executables we can run. If not, either
2153 # the compiler is broken, or we cross compile.
2154 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2155 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2156 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2157 echo "${ECHO_T}$cross_compiling" >&6
2159 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2160 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2162 (eval $ac_link) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; then
2166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2168 # work properly (i.e., refer to `conftest.exe'), while it won't with
2170 for ac_file
in conftest.exe conftest conftest.
*; do
2171 test -f "$ac_file" ||
continue
2173 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2174 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2181 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2182 See \`config.log' for more details." >&5
2183 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2184 See \`config.log' for more details." >&2;}
2185 { (exit 1); exit 1; }; }
2188 rm -f conftest
$ac_cv_exeext
2189 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2190 echo "${ECHO_T}$ac_cv_exeext" >&6
2192 rm -f conftest.
$ac_ext
2193 EXEEXT
=$ac_cv_exeext
2195 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2196 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2197 if test "${ac_cv_objext+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 cat >conftest.
$ac_ext <<_ACEOF
2203 cat confdefs.h
>>conftest.
$ac_ext
2204 cat >>conftest.
$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2215 rm -f conftest.o conftest.obj
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2223 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2224 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2239 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2242 echo "${ECHO_T}$ac_cv_objext" >&6
2243 OBJEXT
=$ac_cv_objext
2245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2301 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2303 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2304 ac_test_CFLAGS
=${CFLAGS+set}
2305 ac_save_CFLAGS
=$CFLAGS
2307 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2309 if test "${ac_cv_prog_cc_g+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 cat >conftest.
$ac_ext <<_ACEOF
2315 cat confdefs.h
>>conftest.
$ac_ext
2316 cat >>conftest.
$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2327 rm -f conftest.
$ac_objext
2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2329 (eval $ac_compile) 2>conftest.er1
2331 grep -v '^ *+' conftest.er1
>conftest.err
2333 cat conftest.err
>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } &&
2336 { ac_try
='test -z "$ac_c_werror_flag"
2337 || test ! -s conftest.err'
2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; } &&
2343 { ac_try
='test -s conftest.$ac_objext'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2360 if test "$ac_test_CFLAGS" = set; then
2361 CFLAGS
=$ac_save_CFLAGS
2362 elif test $ac_cv_prog_cc_g = yes; then
2363 if test "$GCC" = yes; then
2369 if test "$GCC" = yes; then
2375 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2376 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2377 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 ac_cv_prog_cc_stdc
=no
2382 cat >conftest.
$ac_ext <<_ACEOF
2385 cat confdefs.h
>>conftest.
$ac_ext
2386 cat >>conftest.
$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2390 #include <sys/types.h>
2391 #include <sys/stat.h>
2392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2393 struct buf { int x; };
2394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2395 static char *e (p, i)
2401 static char *f (char * (*g) (char **, int), char **p, ...)
2406 s = g (p, va_arg (v,int));
2411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2412 function prototypes and stuff, but not '\xHH' hex character constants.
2413 These don't provoke an error unfortunately, instead are silently treated
2414 as 'x'. The following induces an error, until -std1 is added to get
2415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2416 array size at least. It's necessary to write '\x00'==0 to get something
2417 that's true only with -std1. */
2418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2420 int test (int i, double x);
2421 struct s1 {int (*f) (int a);};
2422 struct s2 {int (*f) (double a);};
2423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2434 # Don't try gcc -ansi; that turns off useful extensions and
2435 # breaks some systems' header files.
2436 # AIX -qlanglvl=ansi
2437 # Ultrix and OSF/1 -std1
2438 # HP-UX 10.20 and later -Ae
2439 # HP-UX older versions -Aa -D_HPUX_SOURCE
2440 # SVR4 -Xc -D__EXTENSIONS__
2441 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2443 CC
="$ac_save_CC $ac_arg"
2444 rm -f conftest.
$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest.$ac_objext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_prog_cc_stdc
=$ac_arg
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext
2475 rm -f conftest.
$ac_ext conftest.
$ac_objext
2480 case "x$ac_cv_prog_cc_stdc" in
2482 echo "$as_me:$LINENO: result: none needed" >&5
2483 echo "${ECHO_T}none needed" >&6 ;;
2485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2486 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2487 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2490 # Some people use a C++ compiler to compile C. Since we use `exit',
2491 # in C++ we need to declare it. In case someone uses the same compiler
2492 # for both compiling C and C++ we need to have the C++ compiler decide
2493 # the declaration of exit, since it's the most demanding environment.
2494 cat >conftest.
$ac_ext <<_ACEOF
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 for ac_declaration
in \
2523 'extern "C" void std::exit (int) throw (); using std::exit;' \
2524 'extern "C" void std::exit (int); using std::exit;' \
2525 'extern "C" void exit (int) throw ();' \
2526 'extern "C" void exit (int);' \
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.
$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2594 grep -v '^ *+' conftest.er1
>conftest.err
2596 cat conftest.err
>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try
='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try
='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.
$ac_ext >&5
2618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2621 if test -n "$ac_declaration"; then
2622 echo '#ifdef __cplusplus' >>confdefs.h
2623 echo $ac_declaration >>confdefs.h
2624 echo '#endif' >>confdefs.h
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2634 ac_cpp
='$CPP $CPPFLAGS'
2635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2638 DEPDIR
="${am__leading_dot}deps"
2640 ac_config_commands
="$ac_config_commands depfiles"
2643 am_make
=${MAKE-make}
2644 cat > confinc
<< 'END'
2649 # If we don't find an include directive, just comment out the code.
2650 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2651 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2655 # First try GNU make style include.
2656 echo "include confinc" > confmf
2657 # We grep out `Entering directory' and `Leaving directory'
2658 # messages which can occur if `w' ends up in MAKEFLAGS.
2659 # In particular we don't look at `^make:' because GNU make might
2660 # be invoked under some other name (usually "gmake"), in which
2661 # case it prints its new name instead of `make'.
2662 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2667 # Now try BSD make style include.
2668 if test "$am__include" = "#"; then
2669 echo '.include "confinc"' > confmf
2670 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2671 am__include
=.include
2678 echo "$as_me:$LINENO: result: $_am_result" >&5
2679 echo "${ECHO_T}$_am_result" >&6
2680 rm -f confinc confmf
2682 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2683 if test "${enable_dependency_tracking+set}" = set; then
2684 enableval
="$enable_dependency_tracking"
2687 if test "x$enable_dependency_tracking" != xno
; then
2688 am_depcomp
="$ac_aux_dir/depcomp"
2693 if test "x$enable_dependency_tracking" != xno; then
2704 depcc
="$CC" am_compiler_list
=
2706 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2707 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2708 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2712 # We make a subdir and do the tests there. Otherwise we can end up
2713 # making bogus files that we don't know about and never remove. For
2714 # instance it was reported that on HP-UX the gcc test will end up
2715 # making a dummy file named `D' -- because `-MD' means `put the output
2718 # Copy depcomp to subdir because otherwise we won't find it if we're
2719 # using a relative directory.
2720 cp "$am_depcomp" conftest.dir
2722 # We will build objects and dependencies in a subdirectory because
2723 # it helps to detect inapplicable dependency modes. For instance
2724 # both Tru64's cc and ICC support -MD to output dependencies as a
2725 # side effect of compilation, but ICC will put the dependencies in
2726 # the current directory while Tru64 will put them in the object
2730 am_cv_CC_dependencies_compiler_type
=none
2731 if test "$am_compiler_list" = ""; then
2732 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2734 for depmode
in $am_compiler_list; do
2735 # Setup a source with many dependencies, because some compilers
2736 # like to wrap large dependency lists on column 80 (with \), and
2737 # we should not choose a depcomp mode which is confused by this.
2739 # We need to recreate these files for each test, as the compiler may
2740 # overwrite some of them when testing with obscure command lines.
2741 # This happens at least with the AIX C compiler.
2743 for i
in 1 2 3 4 5 6; do
2744 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2747 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2751 # after this tag, mechanisms are not by side-effect, so they'll
2752 # only be used when explicitly requested
2753 if test "x$enable_dependency_tracking" = xyes
; then
2761 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2762 # mode. It turns out that the SunPro C++ compiler does not properly
2763 # handle `-M -o', and we need to detect this.
2764 if depmode
=$depmode \
2765 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2766 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2767 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2768 >/dev
/null
2>conftest.err
&&
2769 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2770 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2771 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2772 # icc doesn't choke on unknown options, it will just issue warnings
2773 # (even with -Werror). So we grep stderr for any message
2774 # that says an option was ignored.
2775 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2776 am_cv_CC_dependencies_compiler_type
=$depmode
2785 am_cv_CC_dependencies_compiler_type
=none
2789 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2790 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2791 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2796 test "x$enable_dependency_tracking" != xno \
2797 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2799 am__fastdepCC_FALSE
='#'
2801 am__fastdepCC_TRUE
='#'
2802 am__fastdepCC_FALSE
=
2806 # Find a good install program. We prefer a C program (faster),
2807 # so one script is as good as another. But avoid the broken or
2808 # incompatible versions:
2809 # SysV /etc/install, /usr/sbin/install
2810 # SunOS /usr/etc/install
2811 # IRIX /sbin/install
2813 # AmigaOS /C/install, which installs bootblocks on floppy discs
2814 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2815 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2816 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2817 # OS/2's system install, which has a completely different semantic
2818 # ./install, which can be erroneously created by make from ./install.sh.
2819 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2820 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2821 if test -z "$INSTALL"; then
2822 if test "${ac_cv_path_install+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 # Account for people who put trailing slashes in PATH elements.
2832 .
/ | .
// |
/cC
/* | \
2833 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2834 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2837 # OSF1 and SCO ODT 3.0 have their own names for install.
2838 # Don't use installbsd from OSF since it installs stuff as root
2840 for ac_prog
in ginstall scoinst
install; do
2841 for ac_exec_ext
in '' $ac_executable_extensions; do
2842 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2843 if test $ac_prog = install &&
2844 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2845 # AIX install. It has an incompatible calling convention.
2847 elif test $ac_prog = install &&
2848 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2849 # program-specific install script used by HP pwplus--don't use.
2852 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2864 if test "${ac_cv_path_install+set}" = set; then
2865 INSTALL
=$ac_cv_path_install
2867 # As a last resort, use the slow shell script. We don't cache a
2868 # path for INSTALL within a source directory, because that will
2869 # break other packages using the cache if that directory is
2870 # removed, or if the path is relative.
2871 INSTALL
=$ac_install_sh
2874 echo "$as_me:$LINENO: result: $INSTALL" >&5
2875 echo "${ECHO_T}$INSTALL" >&6
2877 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2878 # It thinks the first close brace ends the variable substitution.
2879 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2881 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2883 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2885 # Extract the first word of "rm", so it can be a program name with args.
2886 set dummy
rm; ac_word
=$2
2887 echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2889 if test "${ac_cv_path_RM+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2899 for as_dir
in $as_dummy
2902 test -z "$as_dir" && as_dir
=.
2903 for ac_exec_ext
in '' $ac_executable_extensions; do
2904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
2918 if test -n "$RM"; then
2919 echo "$as_me:$LINENO: result: $RM" >&5
2920 echo "${ECHO_T}$RM" >&6
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2926 # Extract the first word of "cp", so it can be a program name with args.
2927 set dummy
cp; ac_word
=$2
2928 echo "$as_me:$LINENO: checking for $ac_word" >&5
2929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2930 if test "${ac_cv_path_CP+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2940 for as_dir
in $as_dummy
2943 test -z "$as_dir" && as_dir
=.
2944 for ac_exec_ext
in '' $ac_executable_extensions; do
2945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
2959 if test -n "$CP"; then
2960 echo "$as_me:$LINENO: result: $CP" >&5
2961 echo "${ECHO_T}$CP" >&6
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2967 # Extract the first word of "strip", so it can be a program name with args.
2968 set dummy strip
; ac_word
=$2
2969 echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2971 if test "${ac_cv_path_STRIP+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2981 for as_dir
in $as_dummy
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
2998 STRIP
=$ac_cv_path_STRIP
3000 if test -n "$STRIP"; then
3001 echo "$as_me:$LINENO: result: $STRIP" >&5
3002 echo "${ECHO_T}$STRIP" >&6
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3008 # Extract the first word of "chmod", so it can be a program name with args.
3009 set dummy
chmod; ac_word
=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${ac_cv_path_CHMOD+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
3022 for as_dir
in $as_dummy
3025 test -z "$as_dir" && as_dir
=.
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
3039 CHMOD
=$ac_cv_path_CHMOD
3041 if test -n "$CHMOD"; then
3042 echo "$as_me:$LINENO: result: $CHMOD" >&5
3043 echo "${ECHO_T}$CHMOD" >&6
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3051 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3052 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3053 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3054 if test "${enable_maintainer_mode+set}" = set; then
3055 enableval
="$enable_maintainer_mode"
3056 USE_MAINTAINER_MODE
=$enableval
3058 USE_MAINTAINER_MODE
=no
3060 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3061 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3064 if test $USE_MAINTAINER_MODE = yes; then
3065 MAINTAINER_MODE_TRUE
=
3066 MAINTAINER_MODE_FALSE
='#'
3068 MAINTAINER_MODE_TRUE
='#'
3069 MAINTAINER_MODE_FALSE
=
3072 MAINT
=$MAINTAINER_MODE_TRUE
3076 if test "$GCC" = yes; then
3077 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
3088 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3089 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3090 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3091 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 cat >conftest.
$ac_ext <<_ACEOF
3098 cat confdefs.h
>>conftest.
$ac_ext
3099 cat >>conftest.
$ac_ext <<_ACEOF
3100 /* end confdefs.h. */
3101 #include <sys/types.h>
3113 rm -f conftest.
$ac_objext
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>conftest.er1
3117 grep -v '^ *+' conftest.er1
>conftest.err
3119 cat conftest.err
>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try
='test -z "$ac_c_werror_flag"
3123 || test ! -s conftest.err'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; } &&
3129 { ac_try
='test -s conftest.$ac_objext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 eval "$as_ac_Header=yes"
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.
$ac_ext >&5
3140 eval "$as_ac_Header=no"
3142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3147 cat >>confdefs.h
<<_ACEOF
3148 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3151 ac_header_dirent
=$ac_hdr; break
3155 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3156 if test $ac_header_dirent = dirent.h
; then
3157 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3158 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3159 if test "${ac_cv_search_opendir+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 ac_func_search_save_LIBS
=$LIBS
3163 ac_cv_search_opendir
=no
3164 cat >conftest.
$ac_ext <<_ACEOF
3167 cat confdefs.h
>>conftest.
$ac_ext
3168 cat >>conftest.
$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3171 /* Override any gcc2 internal prototype to avoid an error. */
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3186 rm -f conftest.
$ac_objext conftest
$ac_exeext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188 (eval $ac_link) 2>conftest.er1
3190 grep -v '^ *+' conftest.er1
>conftest.err
3192 cat conftest.err
>&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try
='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try
='test -s conftest$ac_exeext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 ac_cv_search_opendir
="none required"
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.
$ac_ext >&5
3214 rm -f conftest.err conftest.
$ac_objext \
3215 conftest
$ac_exeext conftest.
$ac_ext
3216 if test "$ac_cv_search_opendir" = no
; then
3217 for ac_lib
in dir
; do
3218 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3219 cat >conftest.
$ac_ext <<_ACEOF
3222 cat confdefs.h
>>conftest.
$ac_ext
3223 cat >>conftest.
$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3226 /* Override any gcc2 internal prototype to avoid an error. */
3230 /* We use char because int might match the return type of a gcc2
3231 builtin and then its argument prototype would still apply. */
3241 rm -f conftest.
$ac_objext conftest
$ac_exeext
3242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3243 (eval $ac_link) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1
>conftest.err
3247 cat conftest.err
>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try
='test -z "$ac_c_werror_flag"
3251 || test ! -s conftest.err'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; } &&
3257 { ac_try
='test -s conftest$ac_exeext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 ac_cv_search_opendir
="-l$ac_lib"
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.
$ac_ext >&5
3270 rm -f conftest.err conftest.
$ac_objext \
3271 conftest
$ac_exeext conftest.
$ac_ext
3274 LIBS
=$ac_func_search_save_LIBS
3276 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3277 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3278 if test "$ac_cv_search_opendir" != no
; then
3279 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3284 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3285 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3286 if test "${ac_cv_search_opendir+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 ac_func_search_save_LIBS
=$LIBS
3290 ac_cv_search_opendir
=no
3291 cat >conftest.
$ac_ext <<_ACEOF
3294 cat confdefs.h
>>conftest.
$ac_ext
3295 cat >>conftest.
$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3298 /* Override any gcc2 internal prototype to avoid an error. */
3302 /* We use char because int might match the return type of a gcc2
3303 builtin and then its argument prototype would still apply. */
3313 rm -f conftest.
$ac_objext conftest
$ac_exeext
3314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3315 (eval $ac_link) 2>conftest.er1
3317 grep -v '^ *+' conftest.er1
>conftest.err
3319 cat conftest.err
>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } &&
3322 { ac_try
='test -z "$ac_c_werror_flag"
3323 || test ! -s conftest.err'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try
='test -s conftest$ac_exeext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_search_opendir
="none required"
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3341 rm -f conftest.err conftest.
$ac_objext \
3342 conftest
$ac_exeext conftest.
$ac_ext
3343 if test "$ac_cv_search_opendir" = no
; then
3345 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3346 cat >conftest.
$ac_ext <<_ACEOF
3349 cat confdefs.h
>>conftest.
$ac_ext
3350 cat >>conftest.
$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3353 /* Override any gcc2 internal prototype to avoid an error. */
3357 /* We use char because int might match the return type of a gcc2
3358 builtin and then its argument prototype would still apply. */
3368 rm -f conftest.
$ac_objext conftest
$ac_exeext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3370 (eval $ac_link) 2>conftest.er1
3372 grep -v '^ *+' conftest.er1
>conftest.err
3374 cat conftest.err
>&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } &&
3377 { ac_try
='test -z "$ac_c_werror_flag"
3378 || test ! -s conftest.err'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; } &&
3384 { ac_try
='test -s conftest$ac_exeext'
3385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; }; then
3390 ac_cv_search_opendir
="-l$ac_lib"
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3397 rm -f conftest.err conftest.
$ac_objext \
3398 conftest
$ac_exeext conftest.
$ac_ext
3401 LIBS
=$ac_func_search_save_LIBS
3403 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3404 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3405 if test "$ac_cv_search_opendir" != no
; then
3406 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3413 ac_cpp
='$CPP $CPPFLAGS'
3414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3417 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3418 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3419 # On Suns, sometimes $CPP names a directory.
3420 if test -n "$CPP" && test -d "$CPP"; then
3423 if test -z "$CPP"; then
3424 if test "${ac_cv_prog_CPP+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 # Double quotes because CPP needs to be expanded
3428 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3431 for ac_c_preproc_warn_flag
in '' yes
3433 # Use a header file that comes with gcc, so configuring glibc
3434 # with a fresh cross-compiler works.
3435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3436 # <limits.h> exists even on freestanding compilers.
3437 # On the NeXT, cc -E runs the code through the compiler's parser,
3438 # not just through cpp. "Syntax error" is here to catch this case.
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3446 # include <limits.h>
3448 # include <assert.h>
3452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1
>conftest.err
3457 cat conftest.err
>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } >/dev
/null
; then
3460 if test -s conftest.err
; then
3461 ac_cpp_err
=$ac_c_preproc_warn_flag
3462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3469 if test -z "$ac_cpp_err"; then
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.
$ac_ext >&5
3475 # Broken: fails on valid input.
3478 rm -f conftest.err conftest.
$ac_ext
3480 # OK, works on sane cases. Now check whether non-existent headers
3481 # can be detected and how.
3482 cat >conftest.
$ac_ext <<_ACEOF
3485 cat confdefs.h
>>conftest.
$ac_ext
3486 cat >>conftest.
$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3488 #include <ac_nonexistent.h>
3490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3493 grep -v '^ *+' conftest.er1
>conftest.err
3495 cat conftest.err
>&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } >/dev
/null
; then
3498 if test -s conftest.err
; then
3499 ac_cpp_err
=$ac_c_preproc_warn_flag
3500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3507 if test -z "$ac_cpp_err"; then
3508 # Broken: success on invalid input.
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.
$ac_ext >&5
3514 # Passes both tests.
3518 rm -f conftest.err conftest.
$ac_ext
3521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3522 rm -f conftest.err conftest.
$ac_ext
3523 if $ac_preproc_ok; then
3535 echo "$as_me:$LINENO: result: $CPP" >&5
3536 echo "${ECHO_T}$CPP" >&6
3538 for ac_c_preproc_warn_flag
in '' yes
3540 # Use a header file that comes with gcc, so configuring glibc
3541 # with a fresh cross-compiler works.
3542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3543 # <limits.h> exists even on freestanding compilers.
3544 # On the NeXT, cc -E runs the code through the compiler's parser,
3545 # not just through cpp. "Syntax error" is here to catch this case.
3546 cat >conftest.
$ac_ext <<_ACEOF
3549 cat confdefs.h
>>conftest.
$ac_ext
3550 cat >>conftest.
$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3553 # include <limits.h>
3555 # include <assert.h>
3559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1
>conftest.err
3564 cat conftest.err
>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } >/dev
/null
; then
3567 if test -s conftest.err
; then
3568 ac_cpp_err
=$ac_c_preproc_warn_flag
3569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3576 if test -z "$ac_cpp_err"; then
3579 echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3582 # Broken: fails on valid input.
3585 rm -f conftest.err conftest.
$ac_ext
3587 # OK, works on sane cases. Now check whether non-existent headers
3588 # can be detected and how.
3589 cat >conftest.
$ac_ext <<_ACEOF
3592 cat confdefs.h
>>conftest.
$ac_ext
3593 cat >>conftest.
$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3595 #include <ac_nonexistent.h>
3597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3600 grep -v '^ *+' conftest.er1
>conftest.err
3602 cat conftest.err
>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } >/dev
/null
; then
3605 if test -s conftest.err
; then
3606 ac_cpp_err
=$ac_c_preproc_warn_flag
3607 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3614 if test -z "$ac_cpp_err"; then
3615 # Broken: success on invalid input.
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3621 # Passes both tests.
3625 rm -f conftest.err conftest.
$ac_ext
3628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3629 rm -f conftest.err conftest.
$ac_ext
3630 if $ac_preproc_ok; then
3633 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3634 See \`config.log' for more details." >&5
3635 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3636 See \`config.log' for more details." >&2;}
3637 { (exit 1); exit 1; }; }
3641 ac_cpp
='$CPP $CPPFLAGS'
3642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3647 echo "$as_me:$LINENO: checking for egrep" >&5
3648 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3649 if test "${ac_cv_prog_egrep+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3653 then ac_cv_prog_egrep
='grep -E'
3654 else ac_cv_prog_egrep
='egrep'
3657 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3658 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3659 EGREP
=$ac_cv_prog_egrep
3662 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3663 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3664 if test "${ac_cv_header_stdc+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 cat >conftest.
$ac_ext <<_ACEOF
3670 cat confdefs.h
>>conftest.
$ac_ext
3671 cat >>conftest.
$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3686 rm -f conftest.
$ac_objext
3687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3688 (eval $ac_compile) 2>conftest.er1
3690 grep -v '^ *+' conftest.er1
>conftest.err
3692 cat conftest.err
>&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); } &&
3695 { ac_try
='test -z "$ac_c_werror_flag"
3696 || test ! -s conftest.err'
3697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); }; } &&
3702 { ac_try
='test -s conftest.$ac_objext'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; }; then
3708 ac_cv_header_stdc
=yes
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.
$ac_ext >&5
3713 ac_cv_header_stdc
=no
3715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3717 if test $ac_cv_header_stdc = yes; then
3718 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3729 $EGREP "memchr" >/dev
/null
2>&1; then
3732 ac_cv_header_stdc
=no
3738 if test $ac_cv_header_stdc = yes; then
3739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3750 $EGREP "free" >/dev
/null
2>&1; then
3753 ac_cv_header_stdc
=no
3759 if test $ac_cv_header_stdc = yes; then
3760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3761 if test "$cross_compiling" = yes; then
3764 cat >conftest.
$ac_ext <<_ACEOF
3767 cat confdefs.h
>>conftest.
$ac_ext
3768 cat >>conftest.
$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3771 #if ((' ' & 0x0FF) == 0x020)
3772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3775 # define ISLOWER(c) \
3776 (('a' <= (c) && (c) <= 'i') \
3777 || ('j' <= (c) && (c) <= 'r') \
3778 || ('s' <= (c) && (c) <= 'z'))
3779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3787 for (i = 0; i < 256; i++)
3788 if (XOR (islower (i), ISLOWER (i))
3789 || toupper (i) != TOUPPER (i))
3794 rm -f conftest
$ac_exeext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796 (eval $ac_link) 2>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; }; then
3807 echo "$as_me: program exited with status $ac_status" >&5
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.
$ac_ext >&5
3812 ac_cv_header_stdc
=no
3814 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3818 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3819 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3820 if test $ac_cv_header_stdc = yes; then
3822 cat >>confdefs.h
<<\_ACEOF
3823 #define STDC_HEADERS 1
3828 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3829 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3830 if test "${ac_cv_struct_tm+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 cat >conftest.
$ac_ext <<_ACEOF
3836 cat confdefs.h
>>conftest.
$ac_ext
3837 cat >>conftest.
$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3839 #include <sys/types.h>
3845 struct tm *tp; tp->tm_sec;
3850 rm -f conftest.
$ac_objext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852 (eval $ac_compile) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag"
3860 || test ! -s conftest.err'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; } &&
3866 { ac_try
='test -s conftest.$ac_objext'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; }; then
3872 ac_cv_struct_tm
=time.h
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 ac_cv_struct_tm
=sys
/time.h
3879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3881 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3882 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3883 if test $ac_cv_struct_tm = sys
/time.h
; then
3885 cat >>confdefs.h
<<\_ACEOF
3886 #define TM_IN_SYS_TIME 1
3891 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3901 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3902 inttypes.h stdint.h unistd.h
3904 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3905 echo "$as_me:$LINENO: checking for $ac_header" >&5
3906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 cat >conftest.
$ac_ext <<_ACEOF
3913 cat confdefs.h
>>conftest.
$ac_ext
3914 cat >>conftest.
$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3916 $ac_includes_default
3918 #include <$ac_header>
3920 rm -f conftest.
$ac_objext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922 (eval $ac_compile) 2>conftest.er1
3924 grep -v '^ *+' conftest.er1
>conftest.err
3926 cat conftest.err
>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try
='test -z "$ac_c_werror_flag"
3930 || test ! -s conftest.err'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; } &&
3936 { ac_try
='test -s conftest.$ac_objext'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; }; then
3942 eval "$as_ac_Header=yes"
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3947 eval "$as_ac_Header=no"
3949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3954 cat >>confdefs.h
<<_ACEOF
3955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3968 for ac_header
in fcntl.h unistd.h sys
/param.h stdlib.h limits.h
3970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3972 echo "$as_me:$LINENO: checking for $ac_header" >&5
3973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3980 # Is the header compilable?
3981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3983 cat >conftest.
$ac_ext <<_ACEOF
3986 cat confdefs.h
>>conftest.
$ac_ext
3987 cat >>conftest.
$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3989 $ac_includes_default
3990 #include <$ac_header>
3992 rm -f conftest.
$ac_objext
3993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3994 (eval $ac_compile) 2>conftest.er1
3996 grep -v '^ *+' conftest.er1
>conftest.err
3998 cat conftest.err
>&5
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); } &&
4001 { ac_try
='test -z "$ac_c_werror_flag"
4002 || test ! -s conftest.err'
4003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); }; } &&
4008 { ac_try
='test -s conftest.$ac_objext'
4009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); }; }; then
4014 ac_header_compiler
=yes
4016 echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.
$ac_ext >&5
4019 ac_header_compiler
=no
4021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4023 echo "${ECHO_T}$ac_header_compiler" >&6
4025 # Is the header present?
4026 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4028 cat >conftest.
$ac_ext <<_ACEOF
4031 cat confdefs.h
>>conftest.
$ac_ext
4032 cat >>conftest.
$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 #include <$ac_header>
4036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1
>conftest.err
4041 cat conftest.err
>&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } >/dev
/null
; then
4044 if test -s conftest.err
; then
4045 ac_cpp_err
=$ac_c_preproc_warn_flag
4046 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4053 if test -z "$ac_cpp_err"; then
4054 ac_header_preproc
=yes
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.
$ac_ext >&5
4059 ac_header_preproc
=no
4061 rm -f conftest.err conftest.
$ac_ext
4062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4063 echo "${ECHO_T}$ac_header_preproc" >&6
4065 # So? What about this header?
4066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4072 ac_header_preproc
=yes
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4089 ## ------------------------------------------ ##
4090 ## Report this to the AC_PACKAGE_NAME lists. ##
4091 ## ------------------------------------------ ##
4094 sed "s/^/$as_me: WARNING: /" >&2
4097 echo "$as_me:$LINENO: checking for $ac_header" >&5
4098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 eval "$as_ac_Header=\$ac_header_preproc"
4104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4109 cat >>confdefs.h
<<_ACEOF
4110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4118 echo "$as_me:$LINENO: checking for off_t" >&5
4119 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4120 if test "${ac_cv_type_off_t+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 cat >conftest.
$ac_ext <<_ACEOF
4126 cat confdefs.h
>>conftest.
$ac_ext
4127 cat >>conftest.
$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4129 $ac_includes_default
4141 rm -f conftest.
$ac_objext
4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4143 (eval $ac_compile) 2>conftest.er1
4145 grep -v '^ *+' conftest.er1
>conftest.err
4147 cat conftest.err
>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try
='test -z "$ac_c_werror_flag"
4151 || test ! -s conftest.err'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; } &&
4157 { ac_try
='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4163 ac_cv_type_off_t
=yes
4165 echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.
$ac_ext >&5
4170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4172 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4173 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4174 if test $ac_cv_type_off_t = yes; then
4178 cat >>confdefs.h
<<_ACEOF
4184 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4185 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4186 if test "${ac_cv_struct_tm+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 cat >conftest.
$ac_ext <<_ACEOF
4192 cat confdefs.h
>>conftest.
$ac_ext
4193 cat >>conftest.
$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4195 #include <sys/types.h>
4201 struct tm *tp; tp->tm_sec;
4206 rm -f conftest.
$ac_objext
4207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4208 (eval $ac_compile) 2>conftest.er1
4210 grep -v '^ *+' conftest.er1
>conftest.err
4212 cat conftest.err
>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -z "$ac_c_werror_flag"
4216 || test ! -s conftest.err'
4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; } &&
4222 { ac_try
='test -s conftest.$ac_objext'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 ac_cv_struct_tm
=time.h
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.
$ac_ext >&5
4233 ac_cv_struct_tm
=sys
/time.h
4235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4237 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4238 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4239 if test $ac_cv_struct_tm = sys
/time.h
; then
4241 cat >>confdefs.h
<<\_ACEOF
4242 #define TM_IN_SYS_TIME 1
4248 # mkdir takes a single argument on some systems.
4249 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4250 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4251 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 cat >conftest.
$ac_ext <<_ACEOF
4257 cat confdefs.h
>>conftest.
$ac_ext
4258 cat >>conftest.
$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4261 #include <sys/types.h>
4262 #ifdef HAVE_SYS_STAT_H
4263 # include <sys/stat.h>
4265 #ifdef HAVE_UNISTD_H
4266 # include <unistd.h>
4268 #ifdef HAVE_DIRECT_H
4269 # include <direct.h>
4279 rm -f conftest.
$ac_objext
4280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4281 (eval $ac_compile) 2>conftest.er1
4283 grep -v '^ *+' conftest.er1
>conftest.err
4285 cat conftest.err
>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } &&
4288 { ac_try
='test -z "$ac_c_werror_flag"
4289 || test ! -s conftest.err'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try
='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 gcc_cv_mkdir_takes_one_arg
=no
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.
$ac_ext >&5
4306 gcc_cv_mkdir_takes_one_arg
=yes
4308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4310 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4311 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4312 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4314 cat >>confdefs.h
<<\_ACEOF
4315 #define MKDIR_TAKES_ONE_ARG 1
4321 echo "$as_me:$LINENO: checking size of char" >&5
4322 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4323 if test "${ac_cv_sizeof_char+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4327 cat >conftest.
$ac_ext <<_ACEOF
4330 cat confdefs.h
>>conftest.
$ac_ext
4331 cat >>conftest.
$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4333 #include "confdefs.h"
4334 #include <sys/types.h>
4340 switch (0) case 0: case (sizeof (char) == $ac_size):;
4345 rm -f conftest.
$ac_objext
4346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4347 (eval $ac_compile) 2>conftest.er1
4349 grep -v '^ *+' conftest.er1
>conftest.err
4351 cat conftest.err
>&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } &&
4354 { ac_try
='test -z "$ac_c_werror_flag"
4355 || test ! -s conftest.err'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; } &&
4361 { ac_try
='test -s conftest.$ac_objext'
4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; }; then
4367 ac_cv_sizeof_char
=$ac_size
4369 echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4374 if test x
$ac_cv_sizeof_char != x
; then break; fi
4379 if test x
$ac_cv_sizeof_char = x
; then
4380 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
4381 echo "$as_me: error: cannot determine a size for char" >&2;}
4382 { (exit 1); exit 1; }; }
4384 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4385 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4387 cat >>confdefs.h
<<_ACEOF
4388 #define SIZEOF_CHAR $ac_cv_sizeof_char
4392 echo "$as_me:$LINENO: checking size of short" >&5
4393 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4394 if test "${ac_cv_sizeof_short+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4398 cat >conftest.
$ac_ext <<_ACEOF
4401 cat confdefs.h
>>conftest.
$ac_ext
4402 cat >>conftest.
$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4404 #include "confdefs.h"
4405 #include <sys/types.h>
4411 switch (0) case 0: case (sizeof (short) == $ac_size):;
4416 rm -f conftest.
$ac_objext
4417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4418 (eval $ac_compile) 2>conftest.er1
4420 grep -v '^ *+' conftest.er1
>conftest.err
4422 cat conftest.err
>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } &&
4425 { ac_try
='test -z "$ac_c_werror_flag"
4426 || test ! -s conftest.err'
4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; } &&
4432 { ac_try
='test -s conftest.$ac_objext'
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; }; then
4438 ac_cv_sizeof_short
=$ac_size
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.
$ac_ext >&5
4444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4445 if test x
$ac_cv_sizeof_short != x
; then break; fi
4450 if test x
$ac_cv_sizeof_short = x
; then
4451 { { echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
4452 echo "$as_me: error: cannot determine a size for short" >&2;}
4453 { (exit 1); exit 1; }; }
4455 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4456 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4458 cat >>confdefs.h
<<_ACEOF
4459 #define SIZEOF_SHORT $ac_cv_sizeof_short
4463 echo "$as_me:$LINENO: checking size of int" >&5
4464 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4465 if test "${ac_cv_sizeof_int+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4469 cat >conftest.
$ac_ext <<_ACEOF
4472 cat confdefs.h
>>conftest.
$ac_ext
4473 cat >>conftest.
$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 #include "confdefs.h"
4476 #include <sys/types.h>
4482 switch (0) case 0: case (sizeof (int) == $ac_size):;
4487 rm -f conftest.
$ac_objext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4489 (eval $ac_compile) 2>conftest.er1
4491 grep -v '^ *+' conftest.er1
>conftest.err
4493 cat conftest.err
>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } &&
4496 { ac_try
='test -z "$ac_c_werror_flag"
4497 || test ! -s conftest.err'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; } &&
4503 { ac_try
='test -s conftest.$ac_objext'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; }; then
4509 ac_cv_sizeof_int
=$ac_size
4511 echo "$as_me: failed program was:" >&5
4512 sed 's/^/| /' conftest.
$ac_ext >&5
4515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4516 if test x
$ac_cv_sizeof_int != x
; then break; fi
4521 if test x
$ac_cv_sizeof_int = x
; then
4522 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
4523 echo "$as_me: error: cannot determine a size for int" >&2;}
4524 { (exit 1); exit 1; }; }
4526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4527 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4529 cat >>confdefs.h
<<_ACEOF
4530 #define SIZEOF_INT $ac_cv_sizeof_int
4534 echo "$as_me:$LINENO: checking size of long" >&5
4535 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4536 if test "${ac_cv_sizeof_long+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4540 cat >conftest.
$ac_ext <<_ACEOF
4543 cat confdefs.h
>>conftest.
$ac_ext
4544 cat >>conftest.
$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4546 #include "confdefs.h"
4547 #include <sys/types.h>
4553 switch (0) case 0: case (sizeof (long) == $ac_size):;
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
4580 ac_cv_sizeof_long
=$ac_size
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.
$ac_ext >&5
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 if test x
$ac_cv_sizeof_long != x
; then break; fi
4592 if test x
$ac_cv_sizeof_long = x
; then
4593 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
4594 echo "$as_me: error: cannot determine a size for long" >&2;}
4595 { (exit 1); exit 1; }; }
4597 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4598 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4600 cat >>confdefs.h
<<_ACEOF
4601 #define SIZEOF_LONG $ac_cv_sizeof_long
4605 echo "$as_me:$LINENO: checking size of long long" >&5
4606 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4607 if test "${ac_cv_sizeof_long_long+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 cat confdefs.h
>>conftest.
$ac_ext
4615 cat >>conftest.
$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 #include "confdefs.h"
4618 #include <sys/types.h>
4624 switch (0) case 0: case (sizeof (long long) == $ac_size):;
4629 rm -f conftest.
$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631 (eval $ac_compile) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1
>conftest.err
4635 cat conftest.err
>&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try
='test -z "$ac_c_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try
='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_sizeof_long_long
=$ac_size
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.
$ac_ext >&5
4657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
4663 if test x
$ac_cv_sizeof_long_long = x
; then
4664 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
4665 echo "$as_me: error: cannot determine a size for long long" >&2;}
4666 { (exit 1); exit 1; }; }
4668 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4669 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4671 cat >>confdefs.h
<<_ACEOF
4672 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4677 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4678 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4679 if test "${ac_cv_c_bigendian+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cv_c_bigendian
=unknown
4683 # See if sys/param.h defines the BYTE_ORDER macro.
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4690 #include <sys/types.h>
4691 #include <sys/param.h>
4696 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4703 rm -f conftest.
$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1
>conftest.err
4709 cat conftest.err
>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try
='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 # It does; now see whether it defined to BIG_ENDIAN or not.
4726 cat >conftest.
$ac_ext <<_ACEOF
4729 cat confdefs.h
>>conftest.
$ac_ext
4730 cat >>conftest.
$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 #include <sys/types.h>
4733 #include <sys/param.h>
4738 #if BYTE_ORDER != BIG_ENDIAN
4745 rm -f conftest.
$ac_objext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>conftest.er1
4749 grep -v '^ *+' conftest.er1
>conftest.err
4751 cat conftest.err
>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); } &&
4754 { ac_try
='test -z "$ac_c_werror_flag"
4755 || test ! -s conftest.err'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; } &&
4761 { ac_try
='test -s conftest.$ac_objext'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; }; then
4767 ac_cv_c_bigendian
=yes
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.
$ac_ext >&5
4772 ac_cv_c_bigendian
=no
4774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.
$ac_ext >&5
4780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 if test $ac_cv_c_bigendian = unknown
; then
4782 if test "$cross_compiling" = yes; then
4783 echo $ac_n "cross-compiling... " 2>&6
4785 cat >conftest.
$ac_ext <<_ACEOF
4788 cat confdefs.h
>>conftest.
$ac_ext
4789 cat >>conftest.
$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4792 /* Are we little or big endian? From Harbison&Steele. */
4796 char c[sizeof (long)];
4799 exit (u.c[sizeof (long) - 1] == 1);
4802 rm -f conftest
$ac_exeext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4804 (eval $ac_link) 2>&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_cv_c_bigendian
=no
4815 echo "$as_me: program exited with status $ac_status" >&5
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4820 ac_cv_c_bigendian
=yes
4822 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4826 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4827 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4828 if test $ac_cv_c_bigendian = unknown
; then
4829 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
4830 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
4832 cat >conftest.c
<<EOF
4833 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4834 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4835 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
4836 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4837 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4838 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
4839 int main() { _ascii (); _ebcdic (); return 0; }
4841 if test -f conftest.c
; then
4842 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
4843 if test `grep -l BIGenDianSyS conftest.o` ; then
4844 echo $ac_n ' big endian probe OK, ' 1>&6
4845 ac_cv_c_bigendian
=yes
4847 if test `grep -l LiTTleEnDian conftest.o` ; then
4848 echo $ac_n ' little endian probe OK, ' 1>&6
4849 if test $ac_cv_c_bigendian = yes ; then
4850 ac_cv_c_bigendian
=unknown
;
4852 ac_cv_c_bigendian
=no
4855 echo $ac_n 'guessing bigendian ... ' >&6
4858 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4859 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4861 if test $ac_cv_c_bigendian = yes; then
4863 cat >>confdefs.h
<<\_ACEOF
4864 #define WORDS_BIGENDIAN 1
4868 cat >>confdefs.h
<<\_ACEOF
4869 #define HOST_WORDS_BIG_ENDIAN 1
4877 cat >>confdefs.h
<<_ACEOF
4878 #define BYTEORDER $BYTEORDER
4881 if test $ac_cv_c_bigendian = unknown
; then
4882 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
4883 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
4884 { (exit 1); exit 1; }; }
4889 # Check whether --with-system-zlib or --without-system-zlib was given.
4890 if test "${with_system_zlib+set}" = set; then
4891 withval
="$with_system_zlib"
4899 if test "$with_system_zlib" = yes; then
4900 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4901 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
4902 if test "${ac_cv_lib_z_deflate+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 ac_check_lib_save_LIBS
=$LIBS
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4914 /* Override any gcc2 internal prototype to avoid an error. */
4918 /* We use char because int might match the return type of a gcc2
4919 builtin and then its argument prototype would still apply. */
4929 rm -f conftest.
$ac_objext conftest
$ac_exeext
4930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4931 (eval $ac_link) 2>conftest.er1
4933 grep -v '^ *+' conftest.er1
>conftest.err
4935 cat conftest.err
>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } &&
4938 { ac_try
='test -z "$ac_c_werror_flag"
4939 || test ! -s conftest.err'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; } &&
4945 { ac_try
='test -s conftest$ac_exeext'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; }; then
4951 ac_cv_lib_z_deflate
=yes
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4956 ac_cv_lib_z_deflate
=no
4958 rm -f conftest.err conftest.
$ac_objext \
4959 conftest
$ac_exeext conftest.
$ac_ext
4960 LIBS
=$ac_check_lib_save_LIBS
4962 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4963 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
4964 if test $ac_cv_lib_z_deflate = yes; then
4974 if test "$use_zlib" = no
; then
4975 # Brain dead way to find tree's zlib.
4976 ZDEPS
='$(top_builddir)/../zlib/libz.a'
4977 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4978 ZINCS
='-I$(top_srcdir)/../zlib'
4984 # Get the version trigger filename from the toplevel
4985 if test "${with_gcc_version_trigger+set}" = set; then
4986 gcc_version_trigger
=$with_gcc_version_trigger
4988 gcc_version_trigger
=${srcdir}/version.c
4990 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
4991 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
4994 ac_config_files
="$ac_config_files Makefile install-defs.sh"
4995 cat >confcache
<<\_ACEOF
4996 # This file is a shell script that caches the results of configure
4997 # tests run on this system so they can be shared between configure
4998 # scripts and configure runs, see configure's option --config-cache.
4999 # It is not useful on other systems. If it contains results you don't
5000 # want to keep, you may remove or edit it.
5002 # config.status only pays attention to the cache file if you give it
5003 # the --recheck option to rerun configure.
5005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5011 # The following way of writing the cache mishandles newlines in values,
5012 # but we know of no workaround that is simple, portable, and efficient.
5013 # So, don't put newlines in cache variables' values.
5014 # Ultrix sh set writes to stderr and can't be redirected directly,
5015 # and sets the high bit in the cache file unless we assign to the vars.
5018 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5020 # `set' does not quote correctly, so add quotes (double-quote
5021 # substitution turns \\\\ into \\, and sed turns \\ into \).
5024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5027 # `set' quotes correctly as required by POSIX, so do not add quotes.
5029 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5038 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5040 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5041 if test -w $cache_file; then
5042 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5043 cat confcache
>$cache_file
5045 echo "not updating unwritable cache $cache_file"
5050 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5051 # Let make expand exec_prefix.
5052 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5054 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5055 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5056 # trailing colons and then remove the whole line if VPATH becomes empty
5057 # (actually we leave an empty line to preserve line numbers).
5058 if test "x$srcdir" = x.
; then
5059 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5060 s/:*\$(srcdir):*/:/;
5061 s/:*\${srcdir}:*/:/;
5063 s/^\([^=]*=[ ]*\):*/\1/;
5069 DEFS
=-DHAVE_CONFIG_H
5073 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5074 # 1. Remove the extension, and $U if already installed.
5075 ac_i
=`echo "$ac_i" |
5076 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5078 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5079 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5083 LTLIBOBJS
=$ac_ltlibobjs
5086 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5087 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5088 Usually this means the macro was only invoked conditionally." >&5
5089 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5090 Usually this means the macro was only invoked conditionally." >&2;}
5091 { (exit 1); exit 1; }; }
5093 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5094 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5095 Usually this means the macro was only invoked conditionally." >&5
5096 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5097 Usually this means the macro was only invoked conditionally." >&2;}
5098 { (exit 1); exit 1; }; }
5100 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5101 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5102 Usually this means the macro was only invoked conditionally." >&5
5103 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5104 Usually this means the macro was only invoked conditionally." >&2;}
5105 { (exit 1); exit 1; }; }
5108 : ${CONFIG_STATUS=./config.status}
5109 ac_clean_files_save
=$ac_clean_files
5110 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5111 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5112 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5113 cat >$CONFIG_STATUS <<_ACEOF
5115 # Generated by $as_me.
5116 # Run this file to recreate the current configuration.
5117 # Compiler output produced by configure, useful for debugging
5118 # configure, is in config.log if it exists.
5123 SHELL=\${CONFIG_SHELL-$SHELL}
5126 cat >>$CONFIG_STATUS <<\_ACEOF
5127 ## --------------------- ##
5128 ## M4sh Initialization. ##
5129 ## --------------------- ##
5131 # Be Bourne compatible
5132 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5135 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5136 # is contrary to our usage. Disable this feature.
5137 alias -g '${1+"$@"}'='"$@"'
5138 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5141 DUALCASE
=1; export DUALCASE
# for MKS sh
5143 # Support unset when possible.
5144 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5151 # Work around bugs in pre-3.0 UWIN ksh.
5152 $as_unset ENV MAIL MAILPATH
5159 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5160 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5161 LC_TELEPHONE LC_TIME
5163 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5164 eval $as_var=C
; export $as_var
5170 # Required to use basename.
5171 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5177 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5178 as_basename
=basename
5184 # Name of the executable.
5185 as_me
=`$as_basename "$0" ||
5186 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5187 X"$0" : 'X\(//\)$' \| \
5188 X"$0" : 'X\(/\)$' \| \
5189 . : '\(.\)' 2>/dev/null ||
5191 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5192 /^X\/\(\/\/\)$/{ s//\1/; q; }
5193 /^X\/\(\/\).*/{ s//\1/; q; }
5197 # PATH needs CR, and LINENO needs CR and PATH.
5198 # Avoid depending upon Character Ranges.
5199 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5200 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5201 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5202 as_cr_digits
='0123456789'
5203 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5205 # The user is always right.
5206 if test "${PATH_SEPARATOR+set}" != set; then
5207 echo "#! /bin/sh" >conf$$.sh
5208 echo "exit 0" >>conf$$.sh
5210 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5221 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5222 test "x$as_lineno_1" != "x$as_lineno_2" &&
5223 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5224 # Find who we are. Look in the path if we contain no path at all
5227 *[\\/]* ) as_myself
=$0 ;;
5228 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5238 # We did not find ourselves, most probably we were run as `sh COMMAND'
5239 # in which case we are not to be found in the path.
5240 if test "x$as_myself" = x
; then
5243 if test ! -f "$as_myself"; then
5244 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5245 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5246 { (exit 1); exit 1; }; }
5248 case $CONFIG_SHELL in
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5254 test -z "$as_dir" && as_dir
=.
5255 for as_base
in sh bash ksh sh5
; do
5258 if ("$as_dir/$as_base" -c '
5261 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5262 test "x$as_lineno_1" != "x$as_lineno_2" &&
5263 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5264 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5265 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5266 CONFIG_SHELL
=$as_dir/$as_base
5268 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5276 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5277 # uniformly replaced by the line number. The first 'sed' inserts a
5278 # line-number line before each line; the second 'sed' does the real
5279 # work. The second script uses 'N' to pair each line-number line
5280 # with the numbered line, and appends trailing '-' during
5281 # substitution so that $LINENO is not a special case at line end.
5282 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5283 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5284 sed '=' <$as_myself |
5289 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5292 s,^['$as_cr_digits']*\n,,
5294 chmod +x
$as_me.lineno ||
5295 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5296 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5297 { (exit 1); exit 1; }; }
5299 # Don't try to exec as it changes $[0], causing all sort of problems
5300 # (the dirname of $[0] is not the place where we might find the
5301 # original and so on. Autoconf is especially sensible to this).
5303 # Exit status is that of the last command.
5308 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5309 *c
*,-n*) ECHO_N
= ECHO_C
='
5311 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5312 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5315 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5321 rm -f conf$$ conf$$.exe conf$$.
file
5323 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5324 # We could just check for DJGPP; but this test a) works b) is more generic
5325 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5326 if test -f conf$$.exe
; then
5327 # Don't use ln at all; we don't have any links
5332 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5337 rm -f conf$$ conf$$.exe conf$$.
file
5339 if mkdir
-p .
2>/dev
/null
; then
5342 test -d .
/-p && rmdir .
/-p
5346 as_executable_p
="test -f"
5348 # Sed expression to map a string onto a valid CPP name.
5349 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5351 # Sed expression to map a string onto a valid variable name.
5352 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5356 # We need space, tab and new line, in precisely that order.
5366 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5367 # report actual input values of CONFIG_FILES etc. instead of their
5368 # values after options handling. Logging --version etc. is OK.
5372 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5373 ## Running $as_me. ##
5378 This file was extended by $as_me, which was
5379 generated by GNU Autoconf 2.59. Invocation command line was
5381 CONFIG_FILES = $CONFIG_FILES
5382 CONFIG_HEADERS = $CONFIG_HEADERS
5383 CONFIG_LINKS = $CONFIG_LINKS
5384 CONFIG_COMMANDS = $CONFIG_COMMANDS
5388 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5392 # Files that config.status was made for.
5393 if test -n "$ac_config_files"; then
5394 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5397 if test -n "$ac_config_headers"; then
5398 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5401 if test -n "$ac_config_links"; then
5402 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5405 if test -n "$ac_config_commands"; then
5406 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5409 cat >>$CONFIG_STATUS <<\_ACEOF
5412 \`$as_me' instantiates files from templates according to the
5413 current configuration.
5415 Usage: $0 [OPTIONS] [FILE]...
5417 -h, --help print this help, then exit
5418 -V, --version print version number, then exit
5419 -q, --quiet do not print progress messages
5420 -d, --debug don't remove temporary files
5421 --recheck update $as_me by reconfiguring in the same conditions
5422 --file=FILE[:TEMPLATE]
5423 instantiate the configuration file FILE
5424 --header=FILE[:TEMPLATE]
5425 instantiate the configuration header FILE
5427 Configuration files:
5430 Configuration headers:
5433 Configuration commands:
5436 Report bugs to <bug-autoconf@gnu.org>."
5439 cat >>$CONFIG_STATUS <<_ACEOF
5442 configured by $0, generated by GNU Autoconf 2.59,
5443 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5445 Copyright (C) 2003 Free Software Foundation, Inc.
5446 This config.status script is free software; the Free Software Foundation
5447 gives unlimited permission to copy, distribute and modify it."
5452 cat >>$CONFIG_STATUS <<\_ACEOF
5453 # If no file are specified by the user, then we need to provide default
5454 # value. By we need to know if files were specified by the user.
5460 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5461 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5469 *) # This is not an option, so the user has probably given explicit
5472 ac_need_defaults
=false
;;
5476 # Handling of the options.
5478 cat >>$CONFIG_STATUS <<\_ACEOF
5479 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5481 --version |
--vers* |
-V )
5482 echo "$ac_cs_version"; exit 0 ;;
5484 # Conflict between --help and --header
5485 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5486 Try \`$0 --help' for more information." >&5
5487 echo "$as_me: error: ambiguous option: $1
5488 Try \`$0 --help' for more information." >&2;}
5489 { (exit 1); exit 1; }; };;
5490 --help |
--hel |
-h )
5491 echo "$ac_cs_usage"; exit 0 ;;
5492 --debug |
--d* |
-d )
5494 --file |
--fil |
--fi |
--f )
5496 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5497 ac_need_defaults
=false
;;
5498 --header |
--heade |
--head |
--hea )
5500 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5501 ac_need_defaults
=false
;;
5502 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5503 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5507 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5508 Try \`$0 --help' for more information." >&5
5509 echo "$as_me: error: unrecognized option: $1
5510 Try \`$0 --help' for more information." >&2;}
5511 { (exit 1); exit 1; }; } ;;
5513 *) ac_config_targets
="$ac_config_targets $1" ;;
5519 ac_configure_extra_args
=
5521 if $ac_cs_silent; then
5523 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5527 cat >>$CONFIG_STATUS <<_ACEOF
5528 if \$ac_cs_recheck; then
5529 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5530 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5535 cat >>$CONFIG_STATUS <<_ACEOF
5537 # INIT-COMMANDS section.
5540 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5546 cat >>$CONFIG_STATUS <<\_ACEOF
5547 for ac_config_target
in $ac_config_targets
5549 case "$ac_config_target" in
5550 # Handling of arguments.
5551 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5552 "install-defs.sh" ) CONFIG_FILES
="$CONFIG_FILES install-defs.sh" ;;
5553 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5554 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5555 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5556 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5557 { (exit 1); exit 1; }; };;
5561 # If the user did not use the arguments to specify the items to instantiate,
5562 # then the envvar interface is used. Set only those that are not.
5563 # We use the long form for the default assignment because of an extremely
5564 # bizarre bug on SunOS 4.1.3.
5565 if $ac_need_defaults; then
5566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5571 # Have a temporary directory for convenience. Make it in the build tree
5572 # simply because there is no reason to put it here, and in addition,
5573 # creating and moving files from /tmp can sometimes cause problems.
5574 # Create a temporary directory, and hook for its removal unless debugging.
5577 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5578 trap '{ (exit 1); exit 1; }' 1 2 13 15
5581 # Create a (secure) tmp directory for tmp files.
5584 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5585 test -n "$tmp" && test -d "$tmp"
5588 tmp
=.
/confstat$$
-$RANDOM
5589 (umask 077 && mkdir
$tmp)
5592 echo "$me: cannot create a temporary directory in ." >&2
5593 { (exit 1); exit 1; }
5598 cat >>$CONFIG_STATUS <<_ACEOF
5601 # CONFIG_FILES section.
5604 # No need to generate the scripts if there are no CONFIG_FILES.
5605 # This happens for instance when ./config.status config.h
5606 if test -n "\$CONFIG_FILES"; then
5607 # Protect against being on the right side of a sed subst in config.status.
5608 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5609 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5610 s,@SHELL@,$SHELL,;t t
5611 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5612 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5613 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5614 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5615 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5616 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5617 s,@exec_prefix@,$exec_prefix,;t t
5618 s,@prefix@,$prefix,;t t
5619 s,@program_transform_name@,$program_transform_name,;t t
5620 s,@bindir@,$bindir,;t t
5621 s,@sbindir@,$sbindir,;t t
5622 s,@libexecdir@,$libexecdir,;t t
5623 s,@datadir@,$datadir,;t t
5624 s,@sysconfdir@,$sysconfdir,;t t
5625 s,@sharedstatedir@,$sharedstatedir,;t t
5626 s,@localstatedir@,$localstatedir,;t t
5627 s,@libdir@,$libdir,;t t
5628 s,@includedir@,$includedir,;t t
5629 s,@oldincludedir@,$oldincludedir,;t t
5630 s,@infodir@,$infodir,;t t
5631 s,@mandir@,$mandir,;t t
5632 s,@build_alias@,$build_alias,;t t
5633 s,@host_alias@,$host_alias,;t t
5634 s,@target_alias@,$target_alias,;t t
5636 s,@ECHO_C@,$ECHO_C,;t t
5637 s,@ECHO_N@,$ECHO_N,;t t
5638 s,@ECHO_T@,$ECHO_T,;t t
5640 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5641 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5642 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5643 s,@CYGPATH_W@,$CYGPATH_W,;t t
5644 s,@PACKAGE@,$PACKAGE,;t t
5645 s,@VERSION@,$VERSION,;t t
5646 s,@ACLOCAL@,$ACLOCAL,;t t
5647 s,@AUTOCONF@,$AUTOCONF,;t t
5648 s,@AUTOMAKE@,$AUTOMAKE,;t t
5649 s,@AUTOHEADER@,$AUTOHEADER,;t t
5650 s,@MAKEINFO@,$MAKEINFO,;t t
5651 s,@AMTAR@,$AMTAR,;t t
5652 s,@install_sh@,$install_sh,;t t
5653 s,@STRIP@,$STRIP,;t t
5654 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5655 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5657 s,@SET_MAKE@,$SET_MAKE,;t t
5658 s,@am__leading_dot@,$am__leading_dot,;t t
5660 s,@CFLAGS@,$CFLAGS,;t t
5661 s,@LDFLAGS@,$LDFLAGS,;t t
5662 s,@CPPFLAGS@,$CPPFLAGS,;t t
5663 s,@ac_ct_CC@,$ac_ct_CC,;t t
5664 s,@EXEEXT@,$EXEEXT,;t t
5665 s,@OBJEXT@,$OBJEXT,;t t
5666 s,@DEPDIR@,$DEPDIR,;t t
5667 s,@am__include@,$am__include,;t t
5668 s,@am__quote@,$am__quote,;t t
5669 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5670 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5671 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5672 s,@CCDEPMODE@,$CCDEPMODE,;t t
5673 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5674 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5677 s,@CHMOD@,$CHMOD,;t t
5678 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5679 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5680 s,@MAINT@,$MAINT,;t t
5681 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
5683 s,@EGREP@,$EGREP,;t t
5684 s,@ZLIBS@,$ZLIBS,;t t
5685 s,@ZDEPS@,$ZDEPS,;t t
5686 s,@ZINCS@,$ZINCS,;t t
5687 s,@gcc_version@,$gcc_version,;t t
5688 s,@LIBOBJS@,$LIBOBJS,;t t
5689 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5694 cat >>$CONFIG_STATUS <<\_ACEOF
5695 # Split the substitutions into bite-sized pieces for seds with
5696 # small command number limits, like on Digital OSF/1 and HP-UX.
5698 ac_sed_frag
=1 # Number of current file.
5699 ac_beg
=1 # First line for current file.
5700 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5703 while $ac_more_lines; do
5704 if test $ac_beg -gt 1; then
5705 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5707 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5709 if test ! -s $tmp/subs.frag
; then
5712 # The purpose of the label and of the branching condition is to
5713 # speed up the sed processing (if there are no `@' at all, there
5714 # is no need to browse any of the substitutions).
5715 # These are the two extra sed commands mentioned above.
5717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5718 if test -z "$ac_sed_cmds"; then
5719 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5721 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5723 ac_sed_frag
=`expr $ac_sed_frag + 1`
5725 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5728 if test -z "$ac_sed_cmds"; then
5731 fi # test -n "$CONFIG_FILES"
5734 cat >>$CONFIG_STATUS <<\_ACEOF
5735 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5738 - |
*:- |
*:-:* ) # input from stdin
5740 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5742 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5743 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5744 * ) ac_file_in
=$ac_file.
in ;;
5747 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5748 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5749 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5750 X"$ac_file" : 'X\(//\)[^/]' \| \
5751 X"$ac_file" : 'X\(//\)$' \| \
5752 X"$ac_file" : 'X\(/\)' \| \
5753 . : '\(.\)' 2>/dev/null ||
5755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5757 /^X\(\/\/\)$/{ s//\1/; q; }
5758 /^X\(\/\).*/{ s//\1/; q; }
5760 { if $as_mkdir_p; then
5765 while test ! -d "$as_dir"; do
5766 as_dirs
="$as_dir $as_dirs"
5767 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5769 X"$as_dir" : 'X\(//\)[^/]' \| \
5770 X"$as_dir" : 'X\(//\)$' \| \
5771 X"$as_dir" : 'X\(/\)' \| \
5772 . : '\(.\)' 2>/dev/null ||
5774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5776 /^X\(\/\/\)$/{ s//\1/; q; }
5777 /^X\(\/\).*/{ s//\1/; q; }
5780 test ! -n "$as_dirs" || mkdir
$as_dirs
5781 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5783 { (exit 1); exit 1; }; }; }
5787 if test "$ac_dir" != .
; then
5788 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5789 # A "../" for each directory in $ac_dir_suffix.
5790 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5792 ac_dir_suffix
= ac_top_builddir
=
5796 .
) # No --srcdir option. We are building in place.
5798 if test -z "$ac_top_builddir"; then
5801 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5803 [\\/]* | ?
:[\\/]* ) # Absolute path.
5804 ac_srcdir
=$srcdir$ac_dir_suffix;
5805 ac_top_srcdir
=$srcdir ;;
5807 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5808 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5811 # Do not use `cd foo && pwd` to compute absolute paths, because
5812 # the directories may not exist.
5814 .
) ac_abs_builddir
="$ac_dir";;
5817 .
) ac_abs_builddir
=`pwd`;;
5818 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5819 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5822 case $ac_abs_builddir in
5823 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5825 case ${ac_top_builddir}.
in
5826 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5827 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5828 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5831 case $ac_abs_builddir in
5832 .
) ac_abs_srcdir
=$ac_srcdir;;
5835 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5836 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5837 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5840 case $ac_abs_builddir in
5841 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5843 case $ac_top_srcdir in
5844 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5845 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5846 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5852 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5853 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5856 if test x
"$ac_file" != x-
; then
5857 { echo "$as_me:$LINENO: creating $ac_file" >&5
5858 echo "$as_me: creating $ac_file" >&6;}
5861 # Let's still pretend it is `configure' which instantiates (i.e., don't
5862 # use $as_me), people would be surprised to read:
5863 # /* config.h. Generated by config.status. */
5864 if test x
"$ac_file" = x-
; then
5867 configure_input
="$ac_file. "
5869 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5870 sed 's,.*/,,'` by configure."
5872 # First look for the input files in the build tree, otherwise in the
5874 ac_file_inputs
=`IFS=:
5875 for f in $ac_file_in; do
5877 -) echo $tmp/stdin ;;
5879 # Absolute (can't be DOS-style, as IFS=:)
5880 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5881 echo "$as_me: error: cannot find input file: $f" >&2;}
5882 { (exit 1); exit 1; }; }
5885 if test -f "$f"; then
5888 elif test -f "$srcdir/$f"; then
5893 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5894 echo "$as_me: error: cannot find input file: $f" >&2;}
5895 { (exit 1); exit 1; }; }
5898 done` ||
{ (exit 1); exit 1; }
5900 cat >>$CONFIG_STATUS <<_ACEOF
5904 cat >>$CONFIG_STATUS <<\_ACEOF
5906 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5907 s
,@configure_input@
,$configure_input,;t t
5908 s
,@srcdir@
,$ac_srcdir,;t t
5909 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5910 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5911 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5912 s
,@builddir@
,$ac_builddir,;t t
5913 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5914 s
,@top_builddir@
,$ac_top_builddir,;t t
5915 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5916 s
,@INSTALL@
,$ac_INSTALL,;t t
5917 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5919 if test x"$ac_file" != x-; then
5920 mv $tmp/out $ac_file
5928 cat >>$CONFIG_STATUS <<\_ACEOF
5931 # CONFIG_HEADER section.
5934 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5935 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5937 # ac_d sets the value in "#define NAME VALUE" lines.
5938 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5939 ac_dB
='[ ].*$,\1#\2'
5942 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5943 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5944 ac_uB
='$,\1#\2define\3'
5948 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5949 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5951 - |
*:- |
*:-:* ) # input from stdin
5953 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5954 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5955 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5956 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5957 * ) ac_file_in
=$ac_file.
in ;;
5960 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5961 echo "$as_me: creating $ac_file" >&6;}
5963 # First look for the input files in the build tree, otherwise in the
5965 ac_file_inputs
=`IFS=:
5966 for f in $ac_file_in; do
5968 -) echo $tmp/stdin ;;
5970 # Absolute (can't be DOS-style, as IFS=:)
5971 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5972 echo "$as_me: error: cannot find input file: $f" >&2;}
5973 { (exit 1); exit 1; }; }
5974 # Do quote $f, to prevent DOS paths from being IFS'd.
5977 if test -f "$f"; then
5980 elif test -f "$srcdir/$f"; then
5985 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5986 echo "$as_me: error: cannot find input file: $f" >&2;}
5987 { (exit 1); exit 1; }; }
5990 done` ||
{ (exit 1); exit 1; }
5991 # Remove the trailing spaces.
5992 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5996 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5997 # `conftest.undefs', that substitutes the proper values into
5998 # config.h.in to produce config.h. The first handles `#define'
5999 # templates, and the second `#undef' templates.
6000 # And first: Protect against being on the right side of a sed subst in
6001 # config.status. Protect against being in an unquoted here document
6003 rm -f conftest.defines conftest.undefs
6004 # Using a here document instead of a string reduces the quoting nightmare.
6005 # Putting comments in sed scripts is not portable.
6007 # `end' is used to avoid that the second main sed command (meant for
6008 # 0-ary CPP macros) applies to n-ary macro definitions.
6009 # See the Autoconf documentation for `clear'.
6010 cat >confdef2sed.
sed <<\_ACEOF
6015 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6017 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6020 # If some macros were called several times there might be several times
6021 # the same #defines, which is useless. Nevertheless, we may not want to
6022 # sort them, since we want the *last* AC-DEFINE to be honored.
6023 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6024 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6025 rm -f confdef2sed.sed
6027 # This sed command replaces #undef with comments. This is necessary, for
6028 # example, in the case of _POSIX_SOURCE, which is predefined and required
6029 # on some systems where configure will not decide to define it.
6030 cat >>conftest.undefs <<\_ACEOF
6031 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6034 # Break up conftest.defines because some shells have a limit on the size
6035 # of here documents, and old seds have small limits too (100 cmds).
6036 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6037 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6038 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6039 echo ' :' >>$CONFIG_STATUS
6041 while grep . conftest.defines >/dev/null
6043 # Write a limited-size here document to $tmp/defines.sed.
6044 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6045 # Speed up: don't consider the non `#define' lines.
6046 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6047 # Work around the forget-to-reset-the-flag bug.
6048 echo 't clr' >>$CONFIG_STATUS
6049 echo ': clr' >>$CONFIG_STATUS
6050 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6052 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6056 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6057 rm -f conftest.defines
6058 mv conftest.
tail conftest.defines
6060 rm -f conftest.defines
6061 echo ' fi # grep' >>$CONFIG_STATUS
6062 echo >>$CONFIG_STATUS
6064 # Break up conftest.undefs because some shells have a limit on the size
6065 # of here documents, and old seds have small limits too (100 cmds).
6066 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6068 while grep . conftest.undefs
>/dev
/null
6070 # Write a limited-size here document to $tmp/undefs.sed.
6071 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6072 # Speed up: don't consider the non
`#undef'
6073 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6074 # Work around the forget-to-reset-the-flag bug.
6075 echo 't clr' >>$CONFIG_STATUS
6076 echo ': clr' >>$CONFIG_STATUS
6077 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6079 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6083 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6084 rm -f conftest.undefs
6085 mv conftest.tail conftest.undefs
6087 rm -f conftest.undefs
6089 cat >>$CONFIG_STATUS <<\_ACEOF
6090 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6091 # use $as_me), people would be surprised to read:
6092 # /* config.h. Generated by config.status. */
6093 if test x
"$ac_file" = x-
; then
6094 echo "/* Generated by configure. */" >$tmp/config.h
6096 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6098 cat $tmp/in >>$tmp/config.h
6100 if test x
"$ac_file" != x-
; then
6101 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6102 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6103 echo "$as_me: $ac_file is unchanged" >&6;}
6105 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6106 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6107 X"$ac_file" : 'X\(//\)[^/]' \| \
6108 X"$ac_file" : 'X\(//\)$' \| \
6109 X"$ac_file" : 'X\(/\)' \| \
6110 . : '\(.\)' 2>/dev/null ||
6112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6114 /^X\(\/\/\)$/{ s//\1/; q; }
6115 /^X\(\/\).*/{ s//\1/; q; }
6117 { if $as_mkdir_p; then
6122 while test ! -d "$as_dir"; do
6123 as_dirs
="$as_dir $as_dirs"
6124 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6126 X"$as_dir" : 'X\(//\)[^/]' \| \
6127 X"$as_dir" : 'X\(//\)$' \| \
6128 X"$as_dir" : 'X\(/\)' \| \
6129 . : '\(.\)' 2>/dev/null ||
6131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6133 /^X\(\/\/\)$/{ s//\1/; q; }
6134 /^X\(\/\).*/{ s//\1/; q; }
6137 test ! -n "$as_dirs" || mkdir
$as_dirs
6138 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6139 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6140 { (exit 1); exit 1; }; }; }
6143 mv $tmp/config.h
$ac_file
6149 # Compute $ac_file's index in $config_headers.
6151 for _am_header
in $config_headers :; do
6153 $ac_file |
$ac_file:* )
6156 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6159 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6160 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6161 X$ac_file : 'X\(//\)[^/]' \| \
6162 X$ac_file : 'X\(//\)$' \| \
6163 X$ac_file : 'X\(/\)' \| \
6164 . : '\(.\)' 2>/dev/null ||
6166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6168 /^X\(\/\/\)$/{ s//\1/; q; }
6169 /^X\(\/\).*/{ s//\1/; q; }
6170 s/.*/./; q'`/stamp-h
$_am_stamp_count
6173 cat >>$CONFIG_STATUS <<\_ACEOF
6176 # CONFIG_COMMANDS section.
6178 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6179 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6180 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6181 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6182 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6183 X"$ac_dest" : 'X\(//\)[^/]' \| \
6184 X"$ac_dest" : 'X\(//\)$' \| \
6185 X"$ac_dest" : 'X\(/\)' \| \
6186 . : '\(.\)' 2>/dev/null ||
6188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6190 /^X\(\/\/\)$/{ s//\1/; q; }
6191 /^X\(\/\).*/{ s//\1/; q; }
6193 { if $as_mkdir_p; then
6198 while test ! -d "$as_dir"; do
6199 as_dirs
="$as_dir $as_dirs"
6200 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6202 X"$as_dir" : 'X\(//\)[^/]' \| \
6203 X"$as_dir" : 'X\(//\)$' \| \
6204 X"$as_dir" : 'X\(/\)' \| \
6205 . : '\(.\)' 2>/dev/null ||
6207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6209 /^X\(\/\/\)$/{ s//\1/; q; }
6210 /^X\(\/\).*/{ s//\1/; q; }
6213 test ! -n "$as_dirs" || mkdir
$as_dirs
6214 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6215 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6216 { (exit 1); exit 1; }; }; }
6220 if test "$ac_dir" != .
; then
6221 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6222 # A "../" for each directory in $ac_dir_suffix.
6223 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6225 ac_dir_suffix
= ac_top_builddir
=
6229 .
) # No --srcdir option. We are building in place.
6231 if test -z "$ac_top_builddir"; then
6234 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6236 [\\/]* | ?
:[\\/]* ) # Absolute path.
6237 ac_srcdir
=$srcdir$ac_dir_suffix;
6238 ac_top_srcdir
=$srcdir ;;
6240 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6241 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6244 # Do not use `cd foo && pwd` to compute absolute paths, because
6245 # the directories may not exist.
6247 .
) ac_abs_builddir
="$ac_dir";;
6250 .
) ac_abs_builddir
=`pwd`;;
6251 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6252 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6255 case $ac_abs_builddir in
6256 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6258 case ${ac_top_builddir}.
in
6259 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6260 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6261 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6264 case $ac_abs_builddir in
6265 .
) ac_abs_srcdir
=$ac_srcdir;;
6268 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6269 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6270 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6273 case $ac_abs_builddir in
6274 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6276 case $ac_top_srcdir in
6277 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6278 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6279 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6284 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6285 echo "$as_me: executing $ac_dest commands" >&6;}
6287 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6288 # Strip MF so we end up with the name of the file.
6289 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6290 # Check whether this is an Automake generated Makefile or not.
6291 # We used to match only the files named `Makefile.in', but
6292 # some people rename them; so instead we look at the file content.
6293 # Grep'ing the first line is not enough: some people post-process
6294 # each Makefile.in and add a new line on top of each file to say so.
6295 # So let's grep whole file.
6296 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6297 dirpart
=`(dirname "$mf") 2>/dev/null ||
6298 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6299 X"$mf" : 'X\(//\)[^/]' \| \
6300 X"$mf" : 'X\(//\)$' \| \
6301 X"$mf" : 'X\(/\)' \| \
6302 . : '\(.\)' 2>/dev/null ||
6304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6306 /^X\(\/\/\)$/{ s//\1/; q; }
6307 /^X\(\/\).*/{ s//\1/; q; }
6312 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
6313 # Extract the definition of DEP_FILES from the Makefile without
6315 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6316 test -z "$DEPDIR" && continue
6317 # When using ansi2knr, U may be empty or an underscore; expand it
6318 U
=`sed -n -e '/^U = / s///p' < "$mf"`
6319 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
6320 # We invoke sed twice because it is the simplest approach to
6321 # changing $(DEPDIR) to its actual value in the expansion.
6322 for file in `sed -n -e '
6323 /^DEP_FILES = .*\\\\$/ {
6332 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6333 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6334 # Make sure the directory exists.
6335 test -f "$dirpart/$file" && continue
6336 fdir
=`(dirname "$file") 2>/dev/null ||
6337 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6338 X"$file" : 'X\(//\)[^/]' \| \
6339 X"$file" : 'X\(//\)$' \| \
6340 X"$file" : 'X\(/\)' \| \
6341 . : '\(.\)' 2>/dev/null ||
6343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6345 /^X\(\/\/\)$/{ s//\1/; q; }
6346 /^X\(\/\).*/{ s//\1/; q; }
6348 { if $as_mkdir_p; then
6349 mkdir
-p $dirpart/$fdir
6351 as_dir
=$dirpart/$fdir
6353 while test ! -d "$as_dir"; do
6354 as_dirs
="$as_dir $as_dirs"
6355 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6357 X"$as_dir" : 'X\(//\)[^/]' \| \
6358 X"$as_dir" : 'X\(//\)$' \| \
6359 X"$as_dir" : 'X\(/\)' \| \
6360 . : '\(.\)' 2>/dev/null ||
6362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6364 /^X\(\/\/\)$/{ s//\1/; q; }
6365 /^X\(\/\).*/{ s//\1/; q; }
6368 test ! -n "$as_dirs" || mkdir
$as_dirs
6369 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6370 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6371 { (exit 1); exit 1; }; }; }
6373 # echo "creating $dirpart/$file"
6374 echo '# dummy' > "$dirpart/$file"
6382 cat >>$CONFIG_STATUS <<\_ACEOF
6384 { (exit 0); exit 0; }
6386 chmod +x
$CONFIG_STATUS
6387 ac_clean_files
=$ac_clean_files_save
6390 # configure is writing to config.log, and then calls config.status.
6391 # config.status does its own redirection, appending to config.log.
6392 # Unfortunately, on DOS this fails, as config.log is still kept open
6393 # by configure, so config.status won't be able to write to it; its
6394 # output is simply discarded. So we exec the FD to /dev/null,
6395 # effectively closing config.log, so it can be properly (re)opened and
6396 # appended to by config.status. When coming back to configure, we
6397 # need to make the FD available again.
6398 if test "$no_create" != yes; then
6400 ac_config_status_args
=
6401 test "$silent" = yes &&
6402 ac_config_status_args
="$ac_config_status_args --quiet"
6404 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6406 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6407 # would make configure fail if this is the last instruction.
6408 $ac_cs_success ||
{ (exit 1); exit 1; }