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 GENINSRC_TRUE GENINSRC_FALSE 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
852 --enable-generated-files-in-srcdir
853 put copies of generated files
in source dir
854 intended
for creating
source tarballs
for users
855 without texinfo
, perl
, bison or flex.
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-system-zlib use installed libz
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Do not use `cd foo
&& pwd` to compute absolute paths, because
909 # the directories may not exist.
911 .) ac_abs_builddir="$ac_dir";;
914 .) ac_abs_builddir=`pwd`;;
915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 case ${ac_top_builddir}. in
923 .) ac_abs_top_builddir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
932 .) ac_abs_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 case $ac_top_srcdir in
941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
948 # Check for guested configure; otherwise get Cygnus style configure.
949 if test -f $ac_srcdir/configure.gnu; then
951 $SHELL $ac_srcdir/configure.gnu --help=recursive
952 elif test -f $ac_srcdir/configure; then
954 $SHELL $ac_srcdir/configure --help=recursive
955 elif test -f $ac_srcdir/configure.ac ||
956 test -f $ac_srcdir/configure.in; then
960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by $as_me, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1256 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1281 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1309 am__api_version="1.7"
1311 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1312 if test -f $ac_dir/install-sh; then
1314 ac_install_sh="$ac_aux_dir/install-sh -c"
1316 elif test -f $ac_dir/install.sh; then
1318 ac_install_sh="$ac_aux_dir/install.sh -c"
1320 elif test -f $ac_dir/shtool; then
1322 ac_install_sh="$ac_aux_dir/shtool install -c"
1326 if test -z "$ac_aux_dir"; then
1327 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1328 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1329 { (exit 1); exit 1; }; }
1331 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1332 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1333 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1335 # Find a good install program. We prefer a C program (faster),
1336 # so one script is as good as another. But avoid the broken or
1337 # incompatible versions:
1338 # SysV /etc/install, /usr/sbin/install
1339 # SunOS /usr/etc/install
1340 # IRIX /sbin/install
1342 # AmigaOS /C/install, which installs bootblocks on floppy discs
1343 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1346 # OS/2's system install, which has a completely different semantic
1347 # ./install, which can be erroneously created by make from ./install.sh.
1348 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1349 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1350 if test -z "$INSTALL"; then
1351 if test "${ac_cv_path_install+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir
=.
1359 # Account for people who put trailing slashes in PATH elements.
1361 .
/ | .
// |
/cC
/* | \
1362 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1363 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1366 # OSF1 and SCO ODT 3.0 have their own names for install.
1367 # Don't use installbsd from OSF since it installs stuff as root
1369 for ac_prog
in ginstall scoinst
install; do
1370 for ac_exec_ext
in '' $ac_executable_extensions; do
1371 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372 if test $ac_prog = install &&
1373 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1374 # AIX install. It has an incompatible calling convention.
1376 elif test $ac_prog = install &&
1377 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1378 # program-specific install script used by HP pwplus--don't use.
1381 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1393 if test "${ac_cv_path_install+set}" = set; then
1394 INSTALL
=$ac_cv_path_install
1396 # As a last resort, use the slow shell script. We don't cache a
1397 # path for INSTALL within a source directory, because that will
1398 # break other packages using the cache if that directory is
1399 # removed, or if the path is relative.
1400 INSTALL
=$ac_install_sh
1403 echo "$as_me:$LINENO: result: $INSTALL" >&5
1404 echo "${ECHO_T}$INSTALL" >&6
1406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1407 # It thinks the first close brace ends the variable substitution.
1408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1412 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1414 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1415 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1418 echo timestamp
> conftest.
file
1419 # Do `set' in a subshell so we don't clobber the current shell's
1420 # arguments. Must try -L first in case configure is actually a
1421 # symlink; some systems play weird games with the mod time of symlinks
1422 # (eg FreeBSD returns the mod time of the symlink's containing
1425 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1426 if test "$*" = "X"; then
1428 set X
`ls -t $srcdir/configure conftest.file`
1431 if test "$*" != "X $srcdir/configure conftest.file" \
1432 && test "$*" != "X conftest.file $srcdir/configure"; then
1434 # If neither matched, then we have a broken ls. This can happen
1435 # if, for instance, CONFIG_SHELL is bash and it inherits a
1436 # broken ls alias from the environment. This has actually
1437 # happened. Such a system could not be considered "sane".
1438 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1439 alias in your environment" >&5
1440 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1441 alias in your environment" >&2;}
1442 { (exit 1); exit 1; }; }
1445 test "$2" = conftest.
file
1451 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1452 Check your system clock" >&5
1453 echo "$as_me: error: newly created file is older than distributed files!
1454 Check your system clock" >&2;}
1455 { (exit 1); exit 1; }; }
1457 echo "$as_me:$LINENO: result: yes" >&5
1458 echo "${ECHO_T}yes" >&6
1459 test "$program_prefix" != NONE
&&
1460 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1461 # Use a double $ so make ignores it.
1462 test "$program_suffix" != NONE
&&
1463 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1464 # Double any \ or $. echo might interpret backslashes.
1465 # By default was `s,x,x', remove it if useless.
1466 cat <<\_ACEOF
>conftest.
sed
1467 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1469 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1473 # expand $ac_aux_dir to an absolute path
1474 am_aux_dir
=`cd $ac_aux_dir && pwd`
1476 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1477 # Use eval to expand $SHELL
1478 if eval "$MISSING --run true"; then
1479 am_missing_run
="$MISSING --run "
1482 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1483 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1486 for ac_prog
in gawk mawk nawk
awk
1488 # Extract the first word of "$ac_prog", so it can be a program name with args.
1489 set dummy
$ac_prog; ac_word
=$2
1490 echo "$as_me:$LINENO: checking for $ac_word" >&5
1491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1492 if test "${ac_cv_prog_AWK+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 if test -n "$AWK"; then
1496 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1502 test -z "$as_dir" && as_dir
=.
1503 for ac_exec_ext
in '' $ac_executable_extensions; do
1504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1505 ac_cv_prog_AWK
="$ac_prog"
1506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1515 if test -n "$AWK"; then
1516 echo "$as_me:$LINENO: result: $AWK" >&5
1517 echo "${ECHO_T}$AWK" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1523 test -n "$AWK" && break
1526 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1527 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1528 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1529 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 cat >conftest.
make <<\_ACEOF
1534 @
echo 'ac_maketemp="$(MAKE)"'
1536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1537 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1538 if test -n "$ac_maketemp"; then
1539 eval ac_cv_prog_make_
${ac_make}_set
=yes
1541 eval ac_cv_prog_make_
${ac_make}_set
=no
1545 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1546 echo "$as_me:$LINENO: result: yes" >&5
1547 echo "${ECHO_T}yes" >&6
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1552 SET_MAKE
="MAKE=${MAKE-make}"
1555 rm -rf .tst
2>/dev
/null
1556 mkdir .tst
2>/dev
/null
1557 if test -d .tst
; then
1562 rmdir .tst
2>/dev
/null
1564 # test to see if srcdir already configured
1565 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1566 test -f $srcdir/config.status
; then
1567 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1568 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1569 { (exit 1); exit 1; }; }
1572 # test whether we have cygpath
1573 if test -z "$CYGPATH_W"; then
1574 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1575 CYGPATH_W
='cygpath -w'
1582 # Define the identity of the package.
1587 cat >>confdefs.h
<<_ACEOF
1588 #define PACKAGE "$PACKAGE"
1592 cat >>confdefs.h
<<_ACEOF
1593 #define VERSION "$VERSION"
1596 # Some tools Automake needs.
1598 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1601 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1604 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1607 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1610 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1613 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1615 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1617 # Installed binaries are usually stripped using `strip' when the user
1618 # run `make install-strip'. However `strip' might not be the right
1619 # tool to use in cross-compilation environments, therefore Automake
1620 # will honor the `STRIP' environment variable to overrule this program.
1621 if test "$cross_compiling" != no
; then
1622 if test -n "$ac_tool_prefix"; then
1623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1624 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_STRIP+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$STRIP"; then
1631 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir
=.
1638 for ac_exec_ext
in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 STRIP
=$ac_cv_prog_STRIP
1650 if test -n "$STRIP"; then
1651 echo "$as_me:$LINENO: result: $STRIP" >&5
1652 echo "${ECHO_T}$STRIP" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1659 if test -z "$ac_cv_prog_STRIP"; then
1661 # Extract the first word of "strip", so it can be a program name with args.
1662 set dummy strip
; ac_word
=$2
1663 echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 if test -n "$ac_ct_STRIP"; then
1669 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1675 test -z "$as_dir" && as_dir
=.
1676 for ac_exec_ext
in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678 ac_cv_prog_ac_ct_STRIP
="strip"
1679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1688 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1689 if test -n "$ac_ct_STRIP"; then
1690 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1691 echo "${ECHO_T}$ac_ct_STRIP" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1699 STRIP
="$ac_cv_prog_STRIP"
1703 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1705 # We need awk for the "check" target. The system "awk" is bad on
1710 ac_config_headers
="$ac_config_headers config.h"
1714 ac_cpp
='$CPP $CPPFLAGS'
1715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1718 if test -n "$ac_tool_prefix"; then
1719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1720 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_CC+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 if test -n "$CC"; then
1727 ac_cv_prog_CC
="$CC" # Let the user override the test.
1729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1733 test -z "$as_dir" && as_dir
=.
1734 for ac_exec_ext
in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test -n "$CC"; then
1747 echo "$as_me:$LINENO: result: $CC" >&5
1748 echo "${ECHO_T}$CC" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1755 if test -z "$ac_cv_prog_CC"; then
1757 # Extract the first word of "gcc", so it can be a program name with args.
1758 set dummy gcc
; ac_word
=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$ac_ct_CC"; then
1765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir
=.
1772 for ac_exec_ext
in '' $ac_executable_extensions; do
1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774 ac_cv_prog_ac_ct_CC
="gcc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1784 if test -n "$ac_ct_CC"; then
1785 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1786 echo "${ECHO_T}$ac_ct_CC" >&6
1788 echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1797 if test -z "$CC"; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1800 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$CC"; then
1807 ac_cv_prog_CC
="$CC" # Let the user override the test.
1809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir
=.
1814 for ac_exec_ext
in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 if test -n "$CC"; then
1827 echo "$as_me:$LINENO: result: $CC" >&5
1828 echo "${ECHO_T}$CC" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1835 if test -z "$ac_cv_prog_CC"; then
1837 # Extract the first word of "cc", so it can be a program name with args.
1838 set dummy cc
; ac_word
=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$ac_ct_CC"; then
1845 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir
=.
1852 for ac_exec_ext
in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_CC
="cc"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1864 if test -n "$ac_ct_CC"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866 echo "${ECHO_T}$ac_ct_CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1878 if test -z "$CC"; then
1879 # Extract the first word of "cc", so it can be a program name with args.
1880 set dummy cc
; ac_word
=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_CC+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$CC"; then
1887 ac_cv_prog_CC
="$CC" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1898 ac_prog_rejected
=yes
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test $ac_prog_rejected = yes; then
1909 # We found a bogon in the path, so make sure we never use it.
1910 set dummy
$ac_cv_prog_CC
1912 if test $# != 0; then
1913 # We chose a different compiler from the bogus one.
1914 # However, it has the same basename, so the bogon will be chosen
1915 # first if we set CC to just the basename; use the full file name.
1917 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1923 if test -n "$CC"; then
1924 echo "$as_me:$LINENO: result: $CC" >&5
1925 echo "${ECHO_T}$CC" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$CC"; then
1933 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1937 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_CC+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$CC"; then
1944 ac_cv_prog_CC
="$CC" # Let the user override the test.
1946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir
=.
1951 for ac_exec_ext
in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1971 test -n "$CC" && break
1974 if test -z "$CC"; then
1978 # Extract the first word of "$ac_prog", so it can be a program name with args.
1979 set dummy
$ac_prog; ac_word
=$2
1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 if test -n "$ac_ct_CC"; then
1986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir
=.
1993 for ac_exec_ext
in '' $ac_executable_extensions; do
1994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995 ac_cv_prog_ac_ct_CC
="$ac_prog"
1996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2005 if test -n "$ac_ct_CC"; then
2006 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2007 echo "${ECHO_T}$ac_ct_CC" >&6
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2013 test -n "$ac_ct_CC" && break
2022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: no acceptable C compiler found in \$PATH
2025 See \`config.log' for more details." >&2;}
2026 { (exit 1); exit 1; }; }
2028 # Provide some information about the compiler.
2029 echo "$as_me:$LINENO:" \
2030 "checking for C compiler version" >&5
2031 ac_compiler
=`set X $ac_compile; echo $2`
2032 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2033 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }
2037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2038 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }
2042 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2043 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }
2048 cat >conftest.
$ac_ext <<_ACEOF
2051 cat confdefs.h
>>conftest.
$ac_ext
2052 cat >>conftest.
$ac_ext <<_ACEOF
2053 /* end confdefs.h. */
2063 ac_clean_files_save
=$ac_clean_files
2064 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2065 # Try to create an executable without -o first, disregard a.out.
2066 # It will help us diagnose broken compilers, and finding out an intuition
2068 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2070 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2071 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2072 (eval $ac_link_default) 2>&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; then
2076 # Find the output, starting from the most likely. This scheme is
2077 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2080 # Be careful to initialize this variable, since it used to be cached.
2081 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2083 # b.out is created by i960 compilers.
2084 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2086 test -f "$ac_file" ||
continue
2088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2091 # This is the source file.
2094 # We found the default executable, but exeext='' is most
2098 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2099 # FIXME: I believe we export ac_cv_exeext for Libtool,
2100 # but it would be cool to find out if it's true. Does anybody
2101 # maintain Libtool? --akim.
2109 echo "$as_me: failed program was:" >&5
2110 sed 's/^/| /' conftest.
$ac_ext >&5
2112 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: C compiler cannot create executables
2115 See \`config.log' for more details." >&2;}
2116 { (exit 77); exit 77; }; }
2119 ac_exeext
=$ac_cv_exeext
2120 echo "$as_me:$LINENO: result: $ac_file" >&5
2121 echo "${ECHO_T}$ac_file" >&6
2123 # Check the compiler produces executables we can run. If not, either
2124 # the compiler is broken, or we cross compile.
2125 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2128 # If not cross compiling, check that we can run a simple program.
2129 if test "$cross_compiling" != yes; then
2130 if { ac_try
='./$ac_file'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; }; then
2138 if test "$cross_compiling" = maybe
; then
2141 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2142 If you meant to cross compile, use \`--host'.
2143 See \`config.log' for more details." >&5
2144 echo "$as_me: error: cannot run C compiled programs.
2145 If you meant to cross compile, use \`--host'.
2146 See \`config.log' for more details." >&2;}
2147 { (exit 1); exit 1; }; }
2151 echo "$as_me:$LINENO: result: yes" >&5
2152 echo "${ECHO_T}yes" >&6
2154 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2155 ac_clean_files
=$ac_clean_files_save
2156 # Check the compiler produces executables we can run. If not, either
2157 # the compiler is broken, or we cross compile.
2158 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2159 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2160 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2161 echo "${ECHO_T}$cross_compiling" >&6
2163 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2164 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2166 (eval $ac_link) 2>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; then
2170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2172 # work properly (i.e., refer to `conftest.exe'), while it won't with
2174 for ac_file
in conftest.exe conftest conftest.
*; do
2175 test -f "$ac_file" ||
continue
2177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2178 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2185 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2186 See \`config.log' for more details." >&5
2187 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2188 See \`config.log' for more details." >&2;}
2189 { (exit 1); exit 1; }; }
2192 rm -f conftest
$ac_cv_exeext
2193 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2194 echo "${ECHO_T}$ac_cv_exeext" >&6
2196 rm -f conftest.
$ac_ext
2197 EXEEXT
=$ac_cv_exeext
2199 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2200 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2201 if test "${ac_cv_objext+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2219 rm -f conftest.o conftest.obj
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; then
2225 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2228 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2233 echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.
$ac_ext >&5
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }
2243 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2245 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2246 echo "${ECHO_T}$ac_cv_objext" >&6
2247 OBJEXT
=$ac_cv_objext
2249 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.
$ac_ext <<_ACEOF
2257 cat confdefs.h
>>conftest.
$ac_ext
2258 cat >>conftest.
$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2272 rm -f conftest.
$ac_objext
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274 (eval $ac_compile) 2>conftest.er1
2276 grep -v '^ *+' conftest.er1
>conftest.err
2278 cat conftest.err
>&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try
='test -z "$ac_c_werror_flag"
2282 || test ! -s conftest.err'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; } &&
2288 { ac_try
='test -s conftest.$ac_objext'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; }; then
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.
$ac_ext >&5
2301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2302 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2305 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2306 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2307 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2308 ac_test_CFLAGS
=${CFLAGS+set}
2309 ac_save_CFLAGS
=$CFLAGS
2311 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2312 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2313 if test "${ac_cv_prog_cc_g+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 cat >conftest.
$ac_ext <<_ACEOF
2319 cat confdefs.h
>>conftest.
$ac_ext
2320 cat >>conftest.
$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2331 rm -f conftest.
$ac_objext
2332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2333 (eval $ac_compile) 2>conftest.er1
2335 grep -v '^ *+' conftest.er1
>conftest.err
2337 cat conftest.err
>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); } &&
2340 { ac_try
='test -z "$ac_c_werror_flag"
2341 || test ! -s conftest.err'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; } &&
2347 { ac_try
='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.
$ac_ext >&5
2360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2364 if test "$ac_test_CFLAGS" = set; then
2365 CFLAGS
=$ac_save_CFLAGS
2366 elif test $ac_cv_prog_cc_g = yes; then
2367 if test "$GCC" = yes; then
2373 if test "$GCC" = yes; then
2379 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2380 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2381 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 ac_cv_prog_cc_stdc
=no
2386 cat >conftest.
$ac_ext <<_ACEOF
2389 cat confdefs.h
>>conftest.
$ac_ext
2390 cat >>conftest.
$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2394 #include <sys/types.h>
2395 #include <sys/stat.h>
2396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2397 struct buf { int x; };
2398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2399 static char *e (p, i)
2405 static char *f (char * (*g) (char **, int), char **p, ...)
2410 s = g (p, va_arg (v,int));
2415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2416 function prototypes and stuff, but not '\xHH' hex character constants.
2417 These don't provoke an error unfortunately, instead are silently treated
2418 as 'x'. The following induces an error, until -std1 is added to get
2419 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2420 array size at least. It's necessary to write '\x00'==0 to get something
2421 that's true only with -std1. */
2422 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2424 int test (int i, double x);
2425 struct s1 {int (*f) (int a);};
2426 struct s2 {int (*f) (double a);};
2427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2438 # Don't try gcc -ansi; that turns off useful extensions and
2439 # breaks some systems' header files.
2440 # AIX -qlanglvl=ansi
2441 # Ultrix and OSF/1 -std1
2442 # HP-UX 10.20 and later -Ae
2443 # HP-UX older versions -Aa -D_HPUX_SOURCE
2444 # SVR4 -Xc -D__EXTENSIONS__
2445 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 CC
="$ac_save_CC $ac_arg"
2448 rm -f conftest.
$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1
>conftest.err
2454 cat conftest.err
>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try
='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try
='test -s conftest.$ac_objext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2470 ac_cv_prog_cc_stdc
=$ac_arg
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.
$ac_ext >&5
2477 rm -f conftest.err conftest.
$ac_objext
2479 rm -f conftest.
$ac_ext conftest.
$ac_objext
2484 case "x$ac_cv_prog_cc_stdc" in
2486 echo "$as_me:$LINENO: result: none needed" >&5
2487 echo "${ECHO_T}none needed" >&6 ;;
2489 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2490 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2491 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2494 # Some people use a C++ compiler to compile C. Since we use `exit',
2495 # in C++ we need to declare it. In case someone uses the same compiler
2496 # for both compiling C and C++ we need to have the C++ compiler decide
2497 # the declaration of exit, since it's the most demanding environment.
2498 cat >conftest.
$ac_ext <<_ACEOF
2503 rm -f conftest.
$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>conftest.er1
2507 grep -v '^ *+' conftest.er1
>conftest.err
2509 cat conftest.err
>&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); } &&
2512 { ac_try
='test -z "$ac_c_werror_flag"
2513 || test ! -s conftest.err'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; } &&
2519 { ac_try
='test -s conftest.$ac_objext'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2525 for ac_declaration
in \
2527 'extern "C" void std::exit (int) throw (); using std::exit;' \
2528 'extern "C" void std::exit (int); using std::exit;' \
2529 'extern "C" void exit (int) throw ();' \
2530 'extern "C" void exit (int);' \
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2549 rm -f conftest.
$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>conftest.er1
2553 grep -v '^ *+' conftest.er1
>conftest.err
2555 cat conftest.err
>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -z "$ac_c_werror_flag"
2559 || test ! -s conftest.err'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; } &&
2565 { ac_try
='test -s conftest.$ac_objext'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; }; then
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2579 cat >conftest.
$ac_ext <<_ACEOF
2582 cat confdefs.h
>>conftest.
$ac_ext
2583 cat >>conftest.
$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.
$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>conftest.er1
2598 grep -v '^ *+' conftest.er1
>conftest.err
2600 cat conftest.err
>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try
='test -z "$ac_c_werror_flag"
2604 || test ! -s conftest.err'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; } &&
2610 { ac_try
='test -s conftest.$ac_objext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.
$ac_ext >&5
2622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2625 if test -n "$ac_declaration"; then
2626 echo '#ifdef __cplusplus' >>confdefs.h
2627 echo $ac_declaration >>confdefs.h
2628 echo '#endif' >>confdefs.h
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2638 ac_cpp
='$CPP $CPPFLAGS'
2639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2642 DEPDIR
="${am__leading_dot}deps"
2644 ac_config_commands
="$ac_config_commands depfiles"
2647 am_make
=${MAKE-make}
2648 cat > confinc
<< 'END'
2653 # If we don't find an include directive, just comment out the code.
2654 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2655 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2659 # First try GNU make style include.
2660 echo "include confinc" > confmf
2661 # We grep out `Entering directory' and `Leaving directory'
2662 # messages which can occur if `w' ends up in MAKEFLAGS.
2663 # In particular we don't look at `^make:' because GNU make might
2664 # be invoked under some other name (usually "gmake"), in which
2665 # case it prints its new name instead of `make'.
2666 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2671 # Now try BSD make style include.
2672 if test "$am__include" = "#"; then
2673 echo '.include "confinc"' > confmf
2674 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2675 am__include
=.include
2682 echo "$as_me:$LINENO: result: $_am_result" >&5
2683 echo "${ECHO_T}$_am_result" >&6
2684 rm -f confinc confmf
2686 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2687 if test "${enable_dependency_tracking+set}" = set; then
2688 enableval
="$enable_dependency_tracking"
2691 if test "x$enable_dependency_tracking" != xno
; then
2692 am_depcomp
="$ac_aux_dir/depcomp"
2697 if test "x$enable_dependency_tracking" != xno; then
2708 depcc
="$CC" am_compiler_list
=
2710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2716 # We make a subdir and do the tests there. Otherwise we can end up
2717 # making bogus files that we don't know about and never remove. For
2718 # instance it was reported that on HP-UX the gcc test will end up
2719 # making a dummy file named `D' -- because `-MD' means `put the output
2722 # Copy depcomp to subdir because otherwise we won't find it if we're
2723 # using a relative directory.
2724 cp "$am_depcomp" conftest.dir
2726 # We will build objects and dependencies in a subdirectory because
2727 # it helps to detect inapplicable dependency modes. For instance
2728 # both Tru64's cc and ICC support -MD to output dependencies as a
2729 # side effect of compilation, but ICC will put the dependencies in
2730 # the current directory while Tru64 will put them in the object
2734 am_cv_CC_dependencies_compiler_type
=none
2735 if test "$am_compiler_list" = ""; then
2736 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2738 for depmode
in $am_compiler_list; do
2739 # Setup a source with many dependencies, because some compilers
2740 # like to wrap large dependency lists on column 80 (with \), and
2741 # we should not choose a depcomp mode which is confused by this.
2743 # We need to recreate these files for each test, as the compiler may
2744 # overwrite some of them when testing with obscure command lines.
2745 # This happens at least with the AIX C compiler.
2747 for i
in 1 2 3 4 5 6; do
2748 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2751 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2755 # after this tag, mechanisms are not by side-effect, so they'll
2756 # only be used when explicitly requested
2757 if test "x$enable_dependency_tracking" = xyes
; then
2765 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2766 # mode. It turns out that the SunPro C++ compiler does not properly
2767 # handle `-M -o', and we need to detect this.
2768 if depmode
=$depmode \
2769 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2770 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2771 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2772 >/dev
/null
2>conftest.err
&&
2773 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2774 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2775 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2776 # icc doesn't choke on unknown options, it will just issue warnings
2777 # (even with -Werror). So we grep stderr for any message
2778 # that says an option was ignored.
2779 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2780 am_cv_CC_dependencies_compiler_type
=$depmode
2789 am_cv_CC_dependencies_compiler_type
=none
2793 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2794 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2795 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2800 test "x$enable_dependency_tracking" != xno \
2801 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2803 am__fastdepCC_FALSE
='#'
2805 am__fastdepCC_TRUE
='#'
2806 am__fastdepCC_FALSE
=
2810 # Find a good install program. We prefer a C program (faster),
2811 # so one script is as good as another. But avoid the broken or
2812 # incompatible versions:
2813 # SysV /etc/install, /usr/sbin/install
2814 # SunOS /usr/etc/install
2815 # IRIX /sbin/install
2817 # AmigaOS /C/install, which installs bootblocks on floppy discs
2818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2821 # OS/2's system install, which has a completely different semantic
2822 # ./install, which can be erroneously created by make from ./install.sh.
2823 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2824 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2825 if test -z "$INSTALL"; then
2826 if test "${ac_cv_path_install+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 # Account for people who put trailing slashes in PATH elements.
2836 .
/ | .
// |
/cC
/* | \
2837 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2838 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2841 # OSF1 and SCO ODT 3.0 have their own names for install.
2842 # Don't use installbsd from OSF since it installs stuff as root
2844 for ac_prog
in ginstall scoinst
install; do
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2847 if test $ac_prog = install &&
2848 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2849 # AIX install. It has an incompatible calling convention.
2851 elif test $ac_prog = install &&
2852 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2853 # program-specific install script used by HP pwplus--don't use.
2856 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2868 if test "${ac_cv_path_install+set}" = set; then
2869 INSTALL
=$ac_cv_path_install
2871 # As a last resort, use the slow shell script. We don't cache a
2872 # path for INSTALL within a source directory, because that will
2873 # break other packages using the cache if that directory is
2874 # removed, or if the path is relative.
2875 INSTALL
=$ac_install_sh
2878 echo "$as_me:$LINENO: result: $INSTALL" >&5
2879 echo "${ECHO_T}$INSTALL" >&6
2881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2882 # It thinks the first close brace ends the variable substitution.
2883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2887 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2889 # Extract the first word of "rm", so it can be a program name with args.
2890 set dummy
rm; ac_word
=$2
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2893 if test "${ac_cv_path_RM+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2903 for as_dir
in $as_dummy
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
2922 if test -n "$RM"; then
2923 echo "$as_me:$LINENO: result: $RM" >&5
2924 echo "${ECHO_T}$RM" >&6
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2930 # Extract the first word of "cp", so it can be a program name with args.
2931 set dummy
cp; ac_word
=$2
2932 echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 if test "${ac_cv_path_CP+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2944 for as_dir
in $as_dummy
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
2963 if test -n "$CP"; then
2964 echo "$as_me:$LINENO: result: $CP" >&5
2965 echo "${ECHO_T}$CP" >&6
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2971 # Extract the first word of "strip", so it can be a program name with args.
2972 set dummy strip
; ac_word
=$2
2973 echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2975 if test "${ac_cv_path_STRIP+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2985 for as_dir
in $as_dummy
2988 test -z "$as_dir" && as_dir
=.
2989 for ac_exec_ext
in '' $ac_executable_extensions; do
2990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2991 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
2992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
3002 STRIP
=$ac_cv_path_STRIP
3004 if test -n "$STRIP"; then
3005 echo "$as_me:$LINENO: result: $STRIP" >&5
3006 echo "${ECHO_T}$STRIP" >&6
3008 echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6
3012 # Extract the first word of "chmod", so it can be a program name with args.
3013 set dummy
chmod; ac_word
=$2
3014 echo "$as_me:$LINENO: checking for $ac_word" >&5
3015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3016 if test "${ac_cv_path_CHMOD+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
3026 for as_dir
in $as_dummy
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
3033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
3043 CHMOD
=$ac_cv_path_CHMOD
3045 if test -n "$CHMOD"; then
3046 echo "$as_me:$LINENO: result: $CHMOD" >&5
3047 echo "${ECHO_T}$CHMOD" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3057 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3058 if test "${enable_maintainer_mode+set}" = set; then
3059 enableval
="$enable_maintainer_mode"
3060 USE_MAINTAINER_MODE
=$enableval
3062 USE_MAINTAINER_MODE
=no
3064 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3068 if test $USE_MAINTAINER_MODE = yes; then
3069 MAINTAINER_MODE_TRUE
=
3070 MAINTAINER_MODE_FALSE
='#'
3072 MAINTAINER_MODE_TRUE
='#'
3073 MAINTAINER_MODE_FALSE
=
3076 MAINT
=$MAINTAINER_MODE_TRUE
3080 if test "$GCC" = yes; then
3081 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
3092 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3093 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3094 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3095 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 cat >conftest.
$ac_ext <<_ACEOF
3102 cat confdefs.h
>>conftest.
$ac_ext
3103 cat >>conftest.
$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3105 #include <sys/types.h>
3117 rm -f conftest.
$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119 (eval $ac_compile) 2>conftest.er1
3121 grep -v '^ *+' conftest.er1
>conftest.err
3123 cat conftest.err
>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try
='test -z "$ac_c_werror_flag"
3127 || test ! -s conftest.err'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; } &&
3133 { ac_try
='test -s conftest.$ac_objext'
3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }; }; then
3139 eval "$as_ac_Header=yes"
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.
$ac_ext >&5
3144 eval "$as_ac_Header=no"
3146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3151 cat >>confdefs.h
<<_ACEOF
3152 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3155 ac_header_dirent
=$ac_hdr; break
3159 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3160 if test $ac_header_dirent = dirent.h
; then
3161 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3162 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3163 if test "${ac_cv_search_opendir+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 ac_func_search_save_LIBS
=$LIBS
3167 ac_cv_search_opendir
=no
3168 cat >conftest.
$ac_ext <<_ACEOF
3171 cat confdefs.h
>>conftest.
$ac_ext
3172 cat >>conftest.
$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3175 /* Override any gcc2 internal prototype to avoid an error. */
3179 /* We use char because int might match the return type of a gcc2
3180 builtin and then its argument prototype would still apply. */
3190 rm -f conftest.
$ac_objext conftest
$ac_exeext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3192 (eval $ac_link) 2>conftest.er1
3194 grep -v '^ *+' conftest.er1
>conftest.err
3196 cat conftest.err
>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try
='test -z "$ac_c_werror_flag"
3200 || test ! -s conftest.err'
3201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; } &&
3206 { ac_try
='test -s conftest$ac_exeext'
3207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); }; }; then
3212 ac_cv_search_opendir
="none required"
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.
$ac_ext >&5
3218 rm -f conftest.err conftest.
$ac_objext \
3219 conftest
$ac_exeext conftest.
$ac_ext
3220 if test "$ac_cv_search_opendir" = no
; then
3221 for ac_lib
in dir
; do
3222 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3223 cat >conftest.
$ac_ext <<_ACEOF
3226 cat confdefs.h
>>conftest.
$ac_ext
3227 cat >>conftest.
$ac_ext <<_ACEOF
3228 /* end confdefs.h. */
3230 /* Override any gcc2 internal prototype to avoid an error. */
3234 /* We use char because int might match the return type of a gcc2
3235 builtin and then its argument prototype would still apply. */
3245 rm -f conftest.
$ac_objext conftest
$ac_exeext
3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3247 (eval $ac_link) 2>conftest.er1
3249 grep -v '^ *+' conftest.er1
>conftest.err
3251 cat conftest.err
>&5
3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); } &&
3254 { ac_try
='test -z "$ac_c_werror_flag"
3255 || test ! -s conftest.err'
3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; } &&
3261 { ac_try
='test -s conftest$ac_exeext'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; }; then
3267 ac_cv_search_opendir
="-l$ac_lib"
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.
$ac_ext >&5
3274 rm -f conftest.err conftest.
$ac_objext \
3275 conftest
$ac_exeext conftest.
$ac_ext
3278 LIBS
=$ac_func_search_save_LIBS
3280 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3281 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3282 if test "$ac_cv_search_opendir" != no
; then
3283 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3288 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3289 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3290 if test "${ac_cv_search_opendir+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_func_search_save_LIBS
=$LIBS
3294 ac_cv_search_opendir
=no
3295 cat >conftest.
$ac_ext <<_ACEOF
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3302 /* Override any gcc2 internal prototype to avoid an error. */
3306 /* We use char because int might match the return type of a gcc2
3307 builtin and then its argument prototype would still apply. */
3317 rm -f conftest.
$ac_objext conftest
$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
3321 grep -v '^ *+' conftest.er1
>conftest.err
3323 cat conftest.err
>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try
='test -z "$ac_c_werror_flag"
3327 || test ! -s conftest.err'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; } &&
3333 { ac_try
='test -s conftest$ac_exeext'
3334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }; }; then
3339 ac_cv_search_opendir
="none required"
3341 echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.
$ac_ext >&5
3345 rm -f conftest.err conftest.
$ac_objext \
3346 conftest
$ac_exeext conftest.
$ac_ext
3347 if test "$ac_cv_search_opendir" = no
; then
3349 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3350 cat >conftest.
$ac_ext <<_ACEOF
3353 cat confdefs.h
>>conftest.
$ac_ext
3354 cat >>conftest.
$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3357 /* Override any gcc2 internal prototype to avoid an error. */
3361 /* We use char because int might match the return type of a gcc2
3362 builtin and then its argument prototype would still apply. */
3372 rm -f conftest.
$ac_objext conftest
$ac_exeext
3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3374 (eval $ac_link) 2>conftest.er1
3376 grep -v '^ *+' conftest.er1
>conftest.err
3378 cat conftest.err
>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } &&
3381 { ac_try
='test -z "$ac_c_werror_flag"
3382 || test ! -s conftest.err'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; } &&
3388 { ac_try
='test -s conftest$ac_exeext'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; }; then
3394 ac_cv_search_opendir
="-l$ac_lib"
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.
$ac_ext >&5
3401 rm -f conftest.err conftest.
$ac_objext \
3402 conftest
$ac_exeext conftest.
$ac_ext
3405 LIBS
=$ac_func_search_save_LIBS
3407 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3408 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3409 if test "$ac_cv_search_opendir" != no
; then
3410 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3417 ac_cpp
='$CPP $CPPFLAGS'
3418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3421 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3422 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3423 # On Suns, sometimes $CPP names a directory.
3424 if test -n "$CPP" && test -d "$CPP"; then
3427 if test -z "$CPP"; then
3428 if test "${ac_cv_prog_CPP+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 # Double quotes because CPP needs to be expanded
3432 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3435 for ac_c_preproc_warn_flag
in '' yes
3437 # Use a header file that comes with gcc, so configuring glibc
3438 # with a fresh cross-compiler works.
3439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3440 # <limits.h> exists even on freestanding compilers.
3441 # On the NeXT, cc -E runs the code through the compiler's parser,
3442 # not just through cpp. "Syntax error" is here to catch this case.
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3450 # include <limits.h>
3452 # include <assert.h>
3456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3459 grep -v '^ *+' conftest.er1
>conftest.err
3461 cat conftest.err
>&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } >/dev
/null
; then
3464 if test -s conftest.err
; then
3465 ac_cpp_err
=$ac_c_preproc_warn_flag
3466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3473 if test -z "$ac_cpp_err"; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3479 # Broken: fails on valid input.
3482 rm -f conftest.err conftest.
$ac_ext
3484 # OK, works on sane cases. Now check whether non-existent headers
3485 # can be detected and how.
3486 cat >conftest.
$ac_ext <<_ACEOF
3489 cat confdefs.h
>>conftest.
$ac_ext
3490 cat >>conftest.
$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3492 #include <ac_nonexistent.h>
3494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3497 grep -v '^ *+' conftest.er1
>conftest.err
3499 cat conftest.err
>&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev
/null
; then
3502 if test -s conftest.err
; then
3503 ac_cpp_err
=$ac_c_preproc_warn_flag
3504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3511 if test -z "$ac_cpp_err"; then
3512 # Broken: success on invalid input.
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.
$ac_ext >&5
3518 # Passes both tests.
3522 rm -f conftest.err conftest.
$ac_ext
3525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3526 rm -f conftest.err conftest.
$ac_ext
3527 if $ac_preproc_ok; then
3539 echo "$as_me:$LINENO: result: $CPP" >&5
3540 echo "${ECHO_T}$CPP" >&6
3542 for ac_c_preproc_warn_flag
in '' yes
3544 # Use a header file that comes with gcc, so configuring glibc
3545 # with a fresh cross-compiler works.
3546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3547 # <limits.h> exists even on freestanding compilers.
3548 # On the NeXT, cc -E runs the code through the compiler's parser,
3549 # not just through cpp. "Syntax error" is here to catch this case.
3550 cat >conftest.
$ac_ext <<_ACEOF
3553 cat confdefs.h
>>conftest.
$ac_ext
3554 cat >>conftest.
$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3557 # include <limits.h>
3559 # include <assert.h>
3563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3566 grep -v '^ *+' conftest.er1
>conftest.err
3568 cat conftest.err
>&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } >/dev
/null
; then
3571 if test -s conftest.err
; then
3572 ac_cpp_err
=$ac_c_preproc_warn_flag
3573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3580 if test -z "$ac_cpp_err"; then
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3586 # Broken: fails on valid input.
3589 rm -f conftest.err conftest.
$ac_ext
3591 # OK, works on sane cases. Now check whether non-existent headers
3592 # can be detected and how.
3593 cat >conftest.
$ac_ext <<_ACEOF
3596 cat confdefs.h
>>conftest.
$ac_ext
3597 cat >>conftest.
$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3599 #include <ac_nonexistent.h>
3601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3602 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3604 grep -v '^ *+' conftest.er1
>conftest.err
3606 cat conftest.err
>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } >/dev
/null
; then
3609 if test -s conftest.err
; then
3610 ac_cpp_err
=$ac_c_preproc_warn_flag
3611 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3618 if test -z "$ac_cpp_err"; then
3619 # Broken: success on invalid input.
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.
$ac_ext >&5
3625 # Passes both tests.
3629 rm -f conftest.err conftest.
$ac_ext
3632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3633 rm -f conftest.err conftest.
$ac_ext
3634 if $ac_preproc_ok; then
3637 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3638 See \`config.log' for more details." >&5
3639 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3640 See \`config.log' for more details." >&2;}
3641 { (exit 1); exit 1; }; }
3645 ac_cpp
='$CPP $CPPFLAGS'
3646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3651 echo "$as_me:$LINENO: checking for egrep" >&5
3652 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3653 if test "${ac_cv_prog_egrep+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3657 then ac_cv_prog_egrep
='grep -E'
3658 else ac_cv_prog_egrep
='egrep'
3661 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3662 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3663 EGREP
=$ac_cv_prog_egrep
3666 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3667 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3668 if test "${ac_cv_header_stdc+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 cat >conftest.
$ac_ext <<_ACEOF
3674 cat confdefs.h
>>conftest.
$ac_ext
3675 cat >>conftest.
$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3690 rm -f conftest.
$ac_objext
3691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3692 (eval $ac_compile) 2>conftest.er1
3694 grep -v '^ *+' conftest.er1
>conftest.err
3696 cat conftest.err
>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try
='test -z "$ac_c_werror_flag"
3700 || test ! -s conftest.err'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; } &&
3706 { ac_try
='test -s conftest.$ac_objext'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; }; then
3712 ac_cv_header_stdc
=yes
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.
$ac_ext >&5
3717 ac_cv_header_stdc
=no
3719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3721 if test $ac_cv_header_stdc = yes; then
3722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3723 cat >conftest.
$ac_ext <<_ACEOF
3726 cat confdefs.h
>>conftest.
$ac_ext
3727 cat >>conftest.
$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733 $EGREP "memchr" >/dev
/null
2>&1; then
3736 ac_cv_header_stdc
=no
3742 if test $ac_cv_header_stdc = yes; then
3743 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3744 cat >conftest.
$ac_ext <<_ACEOF
3747 cat confdefs.h
>>conftest.
$ac_ext
3748 cat >>conftest.
$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3754 $EGREP "free" >/dev
/null
2>&1; then
3757 ac_cv_header_stdc
=no
3763 if test $ac_cv_header_stdc = yes; then
3764 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3765 if test "$cross_compiling" = yes; then
3768 cat >conftest.
$ac_ext <<_ACEOF
3771 cat confdefs.h
>>conftest.
$ac_ext
3772 cat >>conftest.
$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3775 #if ((' ' & 0x0FF) == 0x020)
3776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3779 # define ISLOWER(c) \
3780 (('a' <= (c) && (c) <= 'i') \
3781 || ('j' <= (c) && (c) <= 'r') \
3782 || ('s' <= (c) && (c) <= 'z'))
3783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3791 for (i = 0; i < 256; i++)
3792 if (XOR (islower (i), ISLOWER (i))
3793 || toupper (i) != TOUPPER (i))
3798 rm -f conftest
$ac_exeext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3811 echo "$as_me: program exited with status $ac_status" >&5
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.
$ac_ext >&5
3816 ac_cv_header_stdc
=no
3818 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3823 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3824 if test $ac_cv_header_stdc = yes; then
3826 cat >>confdefs.h
<<\_ACEOF
3827 #define STDC_HEADERS 1
3832 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3833 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3834 if test "${ac_cv_struct_tm+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3843 #include <sys/types.h>
3849 struct tm *tp; tp->tm_sec;
3854 rm -f conftest.
$ac_objext
3855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3856 (eval $ac_compile) 2>conftest.er1
3858 grep -v '^ *+' conftest.er1
>conftest.err
3860 cat conftest.err
>&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } &&
3863 { ac_try
='test -z "$ac_c_werror_flag"
3864 || test ! -s conftest.err'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; } &&
3870 { ac_try
='test -s conftest.$ac_objext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 ac_cv_struct_tm
=time.h
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 ac_cv_struct_tm
=sys
/time.h
3883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3885 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3886 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3887 if test $ac_cv_struct_tm = sys
/time.h
; then
3889 cat >>confdefs.h
<<\_ACEOF
3890 #define TM_IN_SYS_TIME 1
3895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3905 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3906 inttypes.h stdint.h unistd.h
3908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3909 echo "$as_me:$LINENO: checking for $ac_header" >&5
3910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3920 $ac_includes_default
3922 #include <$ac_header>
3924 rm -f conftest.
$ac_objext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3926 (eval $ac_compile) 2>conftest.er1
3928 grep -v '^ *+' conftest.er1
>conftest.err
3930 cat conftest.err
>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } &&
3933 { ac_try
='test -z "$ac_c_werror_flag"
3934 || test ! -s conftest.err'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; } &&
3940 { ac_try
='test -s conftest.$ac_objext'
3941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }; }; then
3946 eval "$as_ac_Header=yes"
3948 echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.
$ac_ext >&5
3951 eval "$as_ac_Header=no"
3953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3958 cat >>confdefs.h
<<_ACEOF
3959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3972 for ac_header
in fcntl.h unistd.h sys
/param.h stdlib.h limits.h
3974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3976 echo "$as_me:$LINENO: checking for $ac_header" >&5
3977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3984 # Is the header compilable?
3985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
3993 $ac_includes_default
3994 #include <$ac_header>
3996 rm -f conftest.
$ac_objext
3997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3998 (eval $ac_compile) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1
>conftest.err
4002 cat conftest.err
>&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } &&
4005 { ac_try
='test -z "$ac_c_werror_flag"
4006 || test ! -s conftest.err'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; } &&
4012 { ac_try
='test -s conftest.$ac_objext'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4018 ac_header_compiler
=yes
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4023 ac_header_compiler
=no
4025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4027 echo "${ECHO_T}$ac_header_compiler" >&6
4029 # Is the header present?
4030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4032 cat >conftest.
$ac_ext <<_ACEOF
4035 cat confdefs.h
>>conftest.
$ac_ext
4036 cat >>conftest.
$ac_ext <<_ACEOF
4037 /* end confdefs.h. */
4038 #include <$ac_header>
4040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4043 grep -v '^ *+' conftest.er1
>conftest.err
4045 cat conftest.err
>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev
/null
; then
4048 if test -s conftest.err
; then
4049 ac_cpp_err
=$ac_c_preproc_warn_flag
4050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4057 if test -z "$ac_cpp_err"; then
4058 ac_header_preproc
=yes
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4063 ac_header_preproc
=no
4065 rm -f conftest.err conftest.
$ac_ext
4066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4067 echo "${ECHO_T}$ac_header_preproc" >&6
4069 # So? What about this header?
4070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4076 ac_header_preproc
=yes
4079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4093 ## ------------------------------------------ ##
4094 ## Report this to the AC_PACKAGE_NAME lists. ##
4095 ## ------------------------------------------ ##
4098 sed "s/^/$as_me: WARNING: /" >&2
4101 echo "$as_me:$LINENO: checking for $ac_header" >&5
4102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 eval "$as_ac_Header=\$ac_header_preproc"
4108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4113 cat >>confdefs.h
<<_ACEOF
4114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4122 echo "$as_me:$LINENO: checking for off_t" >&5
4123 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4124 if test "${ac_cv_type_off_t+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.
$ac_ext <<_ACEOF
4130 cat confdefs.h
>>conftest.
$ac_ext
4131 cat >>conftest.
$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 $ac_includes_default
4145 rm -f conftest.
$ac_objext
4146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4147 (eval $ac_compile) 2>conftest.er1
4149 grep -v '^ *+' conftest.er1
>conftest.err
4151 cat conftest.err
>&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try
='test -z "$ac_c_werror_flag"
4155 || test ! -s conftest.err'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; } &&
4161 { ac_try
='test -s conftest.$ac_objext'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; }; then
4167 ac_cv_type_off_t
=yes
4169 echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.
$ac_ext >&5
4174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4176 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4177 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4178 if test $ac_cv_type_off_t = yes; then
4182 cat >>confdefs.h
<<_ACEOF
4188 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4189 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4190 if test "${ac_cv_struct_tm+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 cat >conftest.
$ac_ext <<_ACEOF
4196 cat confdefs.h
>>conftest.
$ac_ext
4197 cat >>conftest.
$ac_ext <<_ACEOF
4198 /* end confdefs.h. */
4199 #include <sys/types.h>
4205 struct tm *tp; tp->tm_sec;
4210 rm -f conftest.
$ac_objext
4211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4212 (eval $ac_compile) 2>conftest.er1
4214 grep -v '^ *+' conftest.er1
>conftest.err
4216 cat conftest.err
>&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); } &&
4219 { ac_try
='test -z "$ac_c_werror_flag"
4220 || test ! -s conftest.err'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try
='test -s conftest.$ac_objext'
4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; }; then
4232 ac_cv_struct_tm
=time.h
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.
$ac_ext >&5
4237 ac_cv_struct_tm
=sys
/time.h
4239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4242 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4243 if test $ac_cv_struct_tm = sys
/time.h
; then
4245 cat >>confdefs.h
<<\_ACEOF
4246 #define TM_IN_SYS_TIME 1
4252 # mkdir takes a single argument on some systems.
4253 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4254 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4255 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 cat confdefs.h
>>conftest.
$ac_ext
4262 cat >>conftest.
$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4265 #include <sys/types.h>
4266 #ifdef HAVE_SYS_STAT_H
4267 # include <sys/stat.h>
4269 #ifdef HAVE_UNISTD_H
4270 # include <unistd.h>
4272 #ifdef HAVE_DIRECT_H
4273 # include <direct.h>
4283 rm -f conftest.
$ac_objext
4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285 (eval $ac_compile) 2>conftest.er1
4287 grep -v '^ *+' conftest.er1
>conftest.err
4289 cat conftest.err
>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -z "$ac_c_werror_flag"
4293 || test ! -s conftest.err'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try
='test -s conftest.$ac_objext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 gcc_cv_mkdir_takes_one_arg
=no
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 gcc_cv_mkdir_takes_one_arg
=yes
4312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4314 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4315 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4316 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4318 cat >>confdefs.h
<<\_ACEOF
4319 #define MKDIR_TAKES_ONE_ARG 1
4325 echo "$as_me:$LINENO: checking size of char" >&5
4326 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4327 if test "${ac_cv_sizeof_char+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4331 cat >conftest.
$ac_ext <<_ACEOF
4334 cat confdefs.h
>>conftest.
$ac_ext
4335 cat >>conftest.
$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4337 #include "confdefs.h"
4338 #include <sys/types.h>
4344 switch (0) case 0: case (sizeof (char) == $ac_size):;
4349 rm -f conftest.
$ac_objext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4351 (eval $ac_compile) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try
='test -z "$ac_c_werror_flag"
4359 || test ! -s conftest.err'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try
='test -s conftest.$ac_objext'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4371 ac_cv_sizeof_char
=$ac_size
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4378 if test x
$ac_cv_sizeof_char != x
; then break; fi
4383 if test x
$ac_cv_sizeof_char = x
; then
4384 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
4385 echo "$as_me: error: cannot determine a size for char" >&2;}
4386 { (exit 1); exit 1; }; }
4388 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4389 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4391 cat >>confdefs.h
<<_ACEOF
4392 #define SIZEOF_CHAR $ac_cv_sizeof_char
4396 echo "$as_me:$LINENO: checking size of short" >&5
4397 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4398 if test "${ac_cv_sizeof_short+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4402 cat >conftest.
$ac_ext <<_ACEOF
4405 cat confdefs.h
>>conftest.
$ac_ext
4406 cat >>conftest.
$ac_ext <<_ACEOF
4407 /* end confdefs.h. */
4408 #include "confdefs.h"
4409 #include <sys/types.h>
4415 switch (0) case 0: case (sizeof (short) == $ac_size):;
4420 rm -f conftest.
$ac_objext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422 (eval $ac_compile) 2>conftest.er1
4424 grep -v '^ *+' conftest.er1
>conftest.err
4426 cat conftest.err
>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } &&
4429 { ac_try
='test -z "$ac_c_werror_flag"
4430 || test ! -s conftest.err'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; } &&
4436 { ac_try
='test -s conftest.$ac_objext'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; }; then
4442 ac_cv_sizeof_short
=$ac_size
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.
$ac_ext >&5
4448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4449 if test x
$ac_cv_sizeof_short != x
; then break; fi
4454 if test x
$ac_cv_sizeof_short = x
; then
4455 { { echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
4456 echo "$as_me: error: cannot determine a size for short" >&2;}
4457 { (exit 1); exit 1; }; }
4459 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4460 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4462 cat >>confdefs.h
<<_ACEOF
4463 #define SIZEOF_SHORT $ac_cv_sizeof_short
4467 echo "$as_me:$LINENO: checking size of int" >&5
4468 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4469 if test "${ac_cv_sizeof_int+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4473 cat >conftest.
$ac_ext <<_ACEOF
4476 cat confdefs.h
>>conftest.
$ac_ext
4477 cat >>conftest.
$ac_ext <<_ACEOF
4478 /* end confdefs.h. */
4479 #include "confdefs.h"
4480 #include <sys/types.h>
4486 switch (0) case 0: case (sizeof (int) == $ac_size):;
4491 rm -f conftest.
$ac_objext
4492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4493 (eval $ac_compile) 2>conftest.er1
4495 grep -v '^ *+' conftest.er1
>conftest.err
4497 cat conftest.err
>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try
='test -z "$ac_c_werror_flag"
4501 || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try
='test -s conftest.$ac_objext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_sizeof_int
=$ac_size
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.
$ac_ext >&5
4519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 if test x
$ac_cv_sizeof_int != x
; then break; fi
4525 if test x
$ac_cv_sizeof_int = x
; then
4526 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
4527 echo "$as_me: error: cannot determine a size for int" >&2;}
4528 { (exit 1); exit 1; }; }
4530 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4531 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4533 cat >>confdefs.h
<<_ACEOF
4534 #define SIZEOF_INT $ac_cv_sizeof_int
4538 echo "$as_me:$LINENO: checking size of long" >&5
4539 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4540 if test "${ac_cv_sizeof_long+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4544 cat >conftest.
$ac_ext <<_ACEOF
4547 cat confdefs.h
>>conftest.
$ac_ext
4548 cat >>conftest.
$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4550 #include "confdefs.h"
4551 #include <sys/types.h>
4557 switch (0) case 0: case (sizeof (long) == $ac_size):;
4562 rm -f conftest.
$ac_objext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4564 (eval $ac_compile) 2>conftest.er1
4566 grep -v '^ *+' conftest.er1
>conftest.err
4568 cat conftest.err
>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try
='test -z "$ac_c_werror_flag"
4572 || test ! -s conftest.err'
4573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }; } &&
4578 { ac_try
='test -s conftest.$ac_objext'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; }; then
4584 ac_cv_sizeof_long
=$ac_size
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.
$ac_ext >&5
4590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 if test x
$ac_cv_sizeof_long != x
; then break; fi
4596 if test x
$ac_cv_sizeof_long = x
; then
4597 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
4598 echo "$as_me: error: cannot determine a size for long" >&2;}
4599 { (exit 1); exit 1; }; }
4601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4602 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4604 cat >>confdefs.h
<<_ACEOF
4605 #define SIZEOF_LONG $ac_cv_sizeof_long
4609 echo "$as_me:$LINENO: checking size of long long" >&5
4610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4611 if test "${ac_cv_sizeof_long_long+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 #include "confdefs.h"
4622 #include <sys/types.h>
4628 switch (0) case 0: case (sizeof (long long) == $ac_size):;
4633 rm -f conftest.
$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>conftest.er1
4637 grep -v '^ *+' conftest.er1
>conftest.err
4639 cat conftest.err
>&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } &&
4642 { ac_try
='test -z "$ac_c_werror_flag"
4643 || test ! -s conftest.err'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; } &&
4649 { ac_try
='test -s conftest.$ac_objext'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; }; then
4655 ac_cv_sizeof_long_long
=$ac_size
4657 echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4662 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
4667 if test x
$ac_cv_sizeof_long_long = x
; then
4668 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
4669 echo "$as_me: error: cannot determine a size for long long" >&2;}
4670 { (exit 1); exit 1; }; }
4672 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4673 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4675 cat >>confdefs.h
<<_ACEOF
4676 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4681 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4682 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4683 if test "${ac_cv_c_bigendian+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 ac_cv_c_bigendian
=unknown
4687 # See if sys/param.h defines the BYTE_ORDER macro.
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 #include <sys/param.h>
4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4707 rm -f conftest.
$ac_objext
4708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4709 (eval $ac_compile) 2>conftest.er1
4711 grep -v '^ *+' conftest.er1
>conftest.err
4713 cat conftest.err
>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try
='test -z "$ac_c_werror_flag"
4717 || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try
='test -s conftest.$ac_objext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4729 # It does; now see whether it defined to BIG_ENDIAN or not.
4730 cat >conftest.
$ac_ext <<_ACEOF
4733 cat confdefs.h
>>conftest.
$ac_ext
4734 cat >>conftest.
$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4736 #include <sys/types.h>
4737 #include <sys/param.h>
4742 #if BYTE_ORDER != BIG_ENDIAN
4749 rm -f conftest.
$ac_objext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751 (eval $ac_compile) 2>conftest.er1
4753 grep -v '^ *+' conftest.er1
>conftest.err
4755 cat conftest.err
>&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); } &&
4758 { ac_try
='test -z "$ac_c_werror_flag"
4759 || test ! -s conftest.err'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; } &&
4765 { ac_try
='test -s conftest.$ac_objext'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; }; then
4771 ac_cv_c_bigendian
=yes
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.
$ac_ext >&5
4776 ac_cv_c_bigendian
=no
4778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.
$ac_ext >&5
4784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 if test $ac_cv_c_bigendian = unknown
; then
4786 if test "$cross_compiling" = yes; then
4787 echo $ac_n "cross-compiling... " 2>&6
4789 cat >conftest.
$ac_ext <<_ACEOF
4792 cat confdefs.h
>>conftest.
$ac_ext
4793 cat >>conftest.
$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4796 /* Are we little or big endian? From Harbison&Steele. */
4800 char c[sizeof (long)];
4803 exit (u.c[sizeof (long) - 1] == 1);
4806 rm -f conftest
$ac_exeext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4808 (eval $ac_link) 2>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 ac_cv_c_bigendian
=no
4819 echo "$as_me: program exited with status $ac_status" >&5
4820 echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.
$ac_ext >&5
4824 ac_cv_c_bigendian
=yes
4826 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4830 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4831 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4832 if test $ac_cv_c_bigendian = unknown
; then
4833 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
4834 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
4836 cat >conftest.c
<<EOF
4837 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4838 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4839 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
4840 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4841 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4842 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
4843 int main() { _ascii (); _ebcdic (); return 0; }
4845 if test -f conftest.c
; then
4846 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
4847 if test `grep -l BIGenDianSyS conftest.o` ; then
4848 echo $ac_n ' big endian probe OK, ' 1>&6
4849 ac_cv_c_bigendian
=yes
4851 if test `grep -l LiTTleEnDian conftest.o` ; then
4852 echo $ac_n ' little endian probe OK, ' 1>&6
4853 if test $ac_cv_c_bigendian = yes ; then
4854 ac_cv_c_bigendian
=unknown
;
4856 ac_cv_c_bigendian
=no
4859 echo $ac_n 'guessing bigendian ... ' >&6
4862 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4863 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4865 if test $ac_cv_c_bigendian = yes; then
4867 cat >>confdefs.h
<<\_ACEOF
4868 #define WORDS_BIGENDIAN 1
4872 cat >>confdefs.h
<<\_ACEOF
4873 #define HOST_WORDS_BIG_ENDIAN 1
4881 cat >>confdefs.h
<<_ACEOF
4882 #define BYTEORDER $BYTEORDER
4885 if test $ac_cv_c_bigendian = unknown
; then
4886 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
4887 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
4888 { (exit 1); exit 1; }; }
4893 # Check whether --with-system-zlib or --without-system-zlib was given.
4894 if test "${with_system_zlib+set}" = set; then
4895 withval
="$with_system_zlib"
4903 if test "$with_system_zlib" = yes; then
4904 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4905 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
4906 if test "${ac_cv_lib_z_deflate+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 ac_check_lib_save_LIBS
=$LIBS
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4918 /* Override any gcc2 internal prototype to avoid an error. */
4922 /* We use char because int might match the return type of a gcc2
4923 builtin and then its argument prototype would still apply. */
4933 rm -f conftest.
$ac_objext conftest
$ac_exeext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4935 (eval $ac_link) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } &&
4942 { ac_try
='test -z "$ac_c_werror_flag"
4943 || test ! -s conftest.err'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; } &&
4949 { ac_try
='test -s conftest$ac_exeext'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; }; then
4955 ac_cv_lib_z_deflate
=yes
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4960 ac_cv_lib_z_deflate
=no
4962 rm -f conftest.err conftest.
$ac_objext \
4963 conftest
$ac_exeext conftest.
$ac_ext
4964 LIBS
=$ac_check_lib_save_LIBS
4966 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4967 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
4968 if test $ac_cv_lib_z_deflate = yes; then
4978 if test "$use_zlib" = no
; then
4979 # Brain dead way to find tree's zlib.
4980 ZDEPS
='$(top_builddir)/../zlib/libz.a'
4981 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4982 ZINCS
='-I$(top_srcdir)/../zlib'
4989 # We would like to our source tree to be readonly. However when releases or
4990 # pre-releases are generated, the man pages need to be included as they are
4991 # converted from the texi files via perl which we don't require end users to
4993 # Therefore we have --enable-generated-files-in-srcdir to do just that.
4995 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
4996 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
4997 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
4998 if test "${enable_generated_files_in_srcdir+set}" = set; then
4999 enableval
="$enable_generated_files_in_srcdir"
5000 generated_files_in_srcdir
=$enableval
5002 generated_files_in_srcdir
=no
5005 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
5006 echo "${ECHO_T}$generated_files_in_srcdir" >&6
5009 if test x
$generated_files_in_srcdir = xyes
; then
5018 # Get the version trigger filename from the toplevel
5019 if test "${with_gcc_version_trigger+set}" = set; then
5020 gcc_version_trigger
=$with_gcc_version_trigger
5022 gcc_version_trigger
=${srcdir}/version.c
5024 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
5025 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
5028 ac_config_files
="$ac_config_files Makefile install-defs.sh"
5029 cat >confcache
<<\_ACEOF
5030 # This file is a shell script that caches the results of configure
5031 # tests run on this system so they can be shared between configure
5032 # scripts and configure runs, see configure's option --config-cache.
5033 # It is not useful on other systems. If it contains results you don't
5034 # want to keep, you may remove or edit it.
5036 # config.status only pays attention to the cache file if you give it
5037 # the --recheck option to rerun configure.
5039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5045 # The following way of writing the cache mishandles newlines in values,
5046 # but we know of no workaround that is simple, portable, and efficient.
5047 # So, don't put newlines in cache variables' values.
5048 # Ultrix sh set writes to stderr and can't be redirected directly,
5049 # and sets the high bit in the cache file unless we assign to the vars.
5052 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5054 # `set' does not quote correctly, so add quotes (double-quote
5055 # substitution turns \\\\ into \\, and sed turns \\ into \).
5058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5061 # `set' quotes correctly as required by POSIX, so do not add quotes.
5063 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5070 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5072 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5074 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5075 if test -w $cache_file; then
5076 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5077 cat confcache
>$cache_file
5079 echo "not updating unwritable cache $cache_file"
5084 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5085 # Let make expand exec_prefix.
5086 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5088 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5089 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5090 # trailing colons and then remove the whole line if VPATH becomes empty
5091 # (actually we leave an empty line to preserve line numbers).
5092 if test "x$srcdir" = x.
; then
5093 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5094 s/:*\$(srcdir):*/:/;
5095 s/:*\${srcdir}:*/:/;
5097 s/^\([^=]*=[ ]*\):*/\1/;
5103 DEFS
=-DHAVE_CONFIG_H
5107 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5108 # 1. Remove the extension, and $U if already installed.
5109 ac_i
=`echo "$ac_i" |
5110 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5112 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5113 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5117 LTLIBOBJS
=$ac_ltlibobjs
5120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5121 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5122 Usually this means the macro was only invoked conditionally." >&5
5123 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5124 Usually this means the macro was only invoked conditionally." >&2;}
5125 { (exit 1); exit 1; }; }
5127 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5128 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5129 Usually this means the macro was only invoked conditionally." >&5
5130 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5131 Usually this means the macro was only invoked conditionally." >&2;}
5132 { (exit 1); exit 1; }; }
5134 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5135 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5136 Usually this means the macro was only invoked conditionally." >&5
5137 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5138 Usually this means the macro was only invoked conditionally." >&2;}
5139 { (exit 1); exit 1; }; }
5141 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
5142 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
5143 Usually this means the macro was only invoked conditionally." >&5
5144 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
5145 Usually this means the macro was only invoked conditionally." >&2;}
5146 { (exit 1); exit 1; }; }
5149 : ${CONFIG_STATUS=./config.status}
5150 ac_clean_files_save
=$ac_clean_files
5151 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5154 cat >$CONFIG_STATUS <<_ACEOF
5156 # Generated by $as_me.
5157 # Run this file to recreate the current configuration.
5158 # Compiler output produced by configure, useful for debugging
5159 # configure, is in config.log if it exists.
5164 SHELL=\${CONFIG_SHELL-$SHELL}
5167 cat >>$CONFIG_STATUS <<\_ACEOF
5168 ## --------------------- ##
5169 ## M4sh Initialization. ##
5170 ## --------------------- ##
5172 # Be Bourne compatible
5173 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5176 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5177 # is contrary to our usage. Disable this feature.
5178 alias -g '${1+"$@"}'='"$@"'
5179 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5182 DUALCASE
=1; export DUALCASE
# for MKS sh
5184 # Support unset when possible.
5185 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5192 # Work around bugs in pre-3.0 UWIN ksh.
5193 $as_unset ENV MAIL MAILPATH
5200 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5201 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5202 LC_TELEPHONE LC_TIME
5204 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5205 eval $as_var=C
; export $as_var
5211 # Required to use basename.
5212 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5218 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5219 as_basename
=basename
5225 # Name of the executable.
5226 as_me
=`$as_basename "$0" ||
5227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5228 X"$0" : 'X\(//\)$' \| \
5229 X"$0" : 'X\(/\)$' \| \
5230 . : '\(.\)' 2>/dev/null ||
5232 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5233 /^X\/\(\/\/\)$/{ s//\1/; q; }
5234 /^X\/\(\/\).*/{ s//\1/; q; }
5238 # PATH needs CR, and LINENO needs CR and PATH.
5239 # Avoid depending upon Character Ranges.
5240 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5241 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5242 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5243 as_cr_digits
='0123456789'
5244 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5246 # The user is always right.
5247 if test "${PATH_SEPARATOR+set}" != set; then
5248 echo "#! /bin/sh" >conf$$.sh
5249 echo "exit 0" >>conf$$.sh
5251 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5262 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5263 test "x$as_lineno_1" != "x$as_lineno_2" &&
5264 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5265 # Find who we are. Look in the path if we contain no path at all
5268 *[\\/]* ) as_myself
=$0 ;;
5269 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir
=.
5274 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5279 # We did not find ourselves, most probably we were run as `sh COMMAND'
5280 # in which case we are not to be found in the path.
5281 if test "x$as_myself" = x
; then
5284 if test ! -f "$as_myself"; then
5285 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5286 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5287 { (exit 1); exit 1; }; }
5289 case $CONFIG_SHELL in
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5295 test -z "$as_dir" && as_dir
=.
5296 for as_base
in sh bash ksh sh5
; do
5299 if ("$as_dir/$as_base" -c '
5302 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5303 test "x$as_lineno_1" != "x$as_lineno_2" &&
5304 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5305 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5306 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5307 CONFIG_SHELL
=$as_dir/$as_base
5309 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5317 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5318 # uniformly replaced by the line number. The first 'sed' inserts a
5319 # line-number line before each line; the second 'sed' does the real
5320 # work. The second script uses 'N' to pair each line-number line
5321 # with the numbered line, and appends trailing '-' during
5322 # substitution so that $LINENO is not a special case at line end.
5323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5324 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5325 sed '=' <$as_myself |
5330 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5333 s,^['$as_cr_digits']*\n,,
5335 chmod +x
$as_me.lineno ||
5336 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5337 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5338 { (exit 1); exit 1; }; }
5340 # Don't try to exec as it changes $[0], causing all sort of problems
5341 # (the dirname of $[0] is not the place where we might find the
5342 # original and so on. Autoconf is especially sensible to this).
5344 # Exit status is that of the last command.
5349 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5350 *c
*,-n*) ECHO_N
= ECHO_C
='
5352 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5353 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5356 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5362 rm -f conf$$ conf$$.exe conf$$.
file
5364 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5365 # We could just check for DJGPP; but this test a) works b) is more generic
5366 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5367 if test -f conf$$.exe
; then
5368 # Don't use ln at all; we don't have any links
5373 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5378 rm -f conf$$ conf$$.exe conf$$.
file
5380 if mkdir
-p .
2>/dev
/null
; then
5383 test -d .
/-p && rmdir .
/-p
5387 as_executable_p
="test -f"
5389 # Sed expression to map a string onto a valid CPP name.
5390 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5392 # Sed expression to map a string onto a valid variable name.
5393 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5397 # We need space, tab and new line, in precisely that order.
5407 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5408 # report actual input values of CONFIG_FILES etc. instead of their
5409 # values after options handling. Logging --version etc. is OK.
5413 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5414 ## Running $as_me. ##
5419 This file was extended by $as_me, which was
5420 generated by GNU Autoconf 2.59. Invocation command line was
5422 CONFIG_FILES = $CONFIG_FILES
5423 CONFIG_HEADERS = $CONFIG_HEADERS
5424 CONFIG_LINKS = $CONFIG_LINKS
5425 CONFIG_COMMANDS = $CONFIG_COMMANDS
5429 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5433 # Files that config.status was made for.
5434 if test -n "$ac_config_files"; then
5435 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5438 if test -n "$ac_config_headers"; then
5439 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5442 if test -n "$ac_config_links"; then
5443 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5446 if test -n "$ac_config_commands"; then
5447 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5450 cat >>$CONFIG_STATUS <<\_ACEOF
5453 \`$as_me' instantiates files from templates according to the
5454 current configuration.
5456 Usage: $0 [OPTIONS] [FILE]...
5458 -h, --help print this help, then exit
5459 -V, --version print version number, then exit
5460 -q, --quiet do not print progress messages
5461 -d, --debug don't remove temporary files
5462 --recheck update $as_me by reconfiguring in the same conditions
5463 --file=FILE[:TEMPLATE]
5464 instantiate the configuration file FILE
5465 --header=FILE[:TEMPLATE]
5466 instantiate the configuration header FILE
5468 Configuration files:
5471 Configuration headers:
5474 Configuration commands:
5477 Report bugs to <bug-autoconf@gnu.org>."
5480 cat >>$CONFIG_STATUS <<_ACEOF
5483 configured by $0, generated by GNU Autoconf 2.59,
5484 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5486 Copyright (C) 2003 Free Software Foundation, Inc.
5487 This config.status script is free software; the Free Software Foundation
5488 gives unlimited permission to copy, distribute and modify it."
5493 cat >>$CONFIG_STATUS <<\_ACEOF
5494 # If no file are specified by the user, then we need to provide default
5495 # value. By we need to know if files were specified by the user.
5501 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5502 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5510 *) # This is not an option, so the user has probably given explicit
5513 ac_need_defaults
=false
;;
5517 # Handling of the options.
5519 cat >>$CONFIG_STATUS <<\_ACEOF
5520 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5522 --version |
--vers* |
-V )
5523 echo "$ac_cs_version"; exit 0 ;;
5525 # Conflict between --help and --header
5526 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5527 Try \`$0 --help' for more information." >&5
5528 echo "$as_me: error: ambiguous option: $1
5529 Try \`$0 --help' for more information." >&2;}
5530 { (exit 1); exit 1; }; };;
5531 --help |
--hel |
-h )
5532 echo "$ac_cs_usage"; exit 0 ;;
5533 --debug |
--d* |
-d )
5535 --file |
--fil |
--fi |
--f )
5537 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5538 ac_need_defaults
=false
;;
5539 --header |
--heade |
--head |
--hea )
5541 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5542 ac_need_defaults
=false
;;
5543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5544 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5548 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5549 Try \`$0 --help' for more information." >&5
5550 echo "$as_me: error: unrecognized option: $1
5551 Try \`$0 --help' for more information." >&2;}
5552 { (exit 1); exit 1; }; } ;;
5554 *) ac_config_targets
="$ac_config_targets $1" ;;
5560 ac_configure_extra_args
=
5562 if $ac_cs_silent; then
5564 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5568 cat >>$CONFIG_STATUS <<_ACEOF
5569 if \$ac_cs_recheck; then
5570 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5571 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5576 cat >>$CONFIG_STATUS <<_ACEOF
5578 # INIT-COMMANDS section.
5581 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5587 cat >>$CONFIG_STATUS <<\_ACEOF
5588 for ac_config_target
in $ac_config_targets
5590 case "$ac_config_target" in
5591 # Handling of arguments.
5592 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5593 "install-defs.sh" ) CONFIG_FILES
="$CONFIG_FILES install-defs.sh" ;;
5594 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5595 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5596 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5597 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5598 { (exit 1); exit 1; }; };;
5602 # If the user did not use the arguments to specify the items to instantiate,
5603 # then the envvar interface is used. Set only those that are not.
5604 # We use the long form for the default assignment because of an extremely
5605 # bizarre bug on SunOS 4.1.3.
5606 if $ac_need_defaults; then
5607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5608 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5609 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5612 # Have a temporary directory for convenience. Make it in the build tree
5613 # simply because there is no reason to put it here, and in addition,
5614 # creating and moving files from /tmp can sometimes cause problems.
5615 # Create a temporary directory, and hook for its removal unless debugging.
5618 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5619 trap '{ (exit 1); exit 1; }' 1 2 13 15
5622 # Create a (secure) tmp directory for tmp files.
5625 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5626 test -n "$tmp" && test -d "$tmp"
5629 tmp
=.
/confstat$$
-$RANDOM
5630 (umask 077 && mkdir
$tmp)
5633 echo "$me: cannot create a temporary directory in ." >&2
5634 { (exit 1); exit 1; }
5639 cat >>$CONFIG_STATUS <<_ACEOF
5642 # CONFIG_FILES section.
5645 # No need to generate the scripts if there are no CONFIG_FILES.
5646 # This happens for instance when ./config.status config.h
5647 if test -n "\$CONFIG_FILES"; then
5648 # Protect against being on the right side of a sed subst in config.status.
5649 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5650 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5651 s,@SHELL@,$SHELL,;t t
5652 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5653 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5654 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5655 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5656 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5657 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5658 s,@exec_prefix@,$exec_prefix,;t t
5659 s,@prefix@,$prefix,;t t
5660 s,@program_transform_name@,$program_transform_name,;t t
5661 s,@bindir@,$bindir,;t t
5662 s,@sbindir@,$sbindir,;t t
5663 s,@libexecdir@,$libexecdir,;t t
5664 s,@datadir@,$datadir,;t t
5665 s,@sysconfdir@,$sysconfdir,;t t
5666 s,@sharedstatedir@,$sharedstatedir,;t t
5667 s,@localstatedir@,$localstatedir,;t t
5668 s,@libdir@,$libdir,;t t
5669 s,@includedir@,$includedir,;t t
5670 s,@oldincludedir@,$oldincludedir,;t t
5671 s,@infodir@,$infodir,;t t
5672 s,@mandir@,$mandir,;t t
5673 s,@build_alias@,$build_alias,;t t
5674 s,@host_alias@,$host_alias,;t t
5675 s,@target_alias@,$target_alias,;t t
5677 s,@ECHO_C@,$ECHO_C,;t t
5678 s,@ECHO_N@,$ECHO_N,;t t
5679 s,@ECHO_T@,$ECHO_T,;t t
5681 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5682 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5683 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5684 s,@CYGPATH_W@,$CYGPATH_W,;t t
5685 s,@PACKAGE@,$PACKAGE,;t t
5686 s,@VERSION@,$VERSION,;t t
5687 s,@ACLOCAL@,$ACLOCAL,;t t
5688 s,@AUTOCONF@,$AUTOCONF,;t t
5689 s,@AUTOMAKE@,$AUTOMAKE,;t t
5690 s,@AUTOHEADER@,$AUTOHEADER,;t t
5691 s,@MAKEINFO@,$MAKEINFO,;t t
5692 s,@AMTAR@,$AMTAR,;t t
5693 s,@install_sh@,$install_sh,;t t
5694 s,@STRIP@,$STRIP,;t t
5695 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5696 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5698 s,@SET_MAKE@,$SET_MAKE,;t t
5699 s,@am__leading_dot@,$am__leading_dot,;t t
5701 s,@CFLAGS@,$CFLAGS,;t t
5702 s,@LDFLAGS@,$LDFLAGS,;t t
5703 s,@CPPFLAGS@,$CPPFLAGS,;t t
5704 s,@ac_ct_CC@,$ac_ct_CC,;t t
5705 s,@EXEEXT@,$EXEEXT,;t t
5706 s,@OBJEXT@,$OBJEXT,;t t
5707 s,@DEPDIR@,$DEPDIR,;t t
5708 s,@am__include@,$am__include,;t t
5709 s,@am__quote@,$am__quote,;t t
5710 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5711 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5712 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5713 s,@CCDEPMODE@,$CCDEPMODE,;t t
5714 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5715 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5718 s,@CHMOD@,$CHMOD,;t t
5719 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5720 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5721 s,@MAINT@,$MAINT,;t t
5722 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
5724 s,@EGREP@,$EGREP,;t t
5725 s,@ZLIBS@,$ZLIBS,;t t
5726 s,@ZDEPS@,$ZDEPS,;t t
5727 s,@ZINCS@,$ZINCS,;t t
5728 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
5729 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
5730 s,@gcc_version@,$gcc_version,;t t
5731 s,@LIBOBJS@,$LIBOBJS,;t t
5732 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5737 cat >>$CONFIG_STATUS <<\_ACEOF
5738 # Split the substitutions into bite-sized pieces for seds with
5739 # small command number limits, like on Digital OSF/1 and HP-UX.
5741 ac_sed_frag
=1 # Number of current file.
5742 ac_beg
=1 # First line for current file.
5743 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5746 while $ac_more_lines; do
5747 if test $ac_beg -gt 1; then
5748 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5750 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5752 if test ! -s $tmp/subs.frag
; then
5755 # The purpose of the label and of the branching condition is to
5756 # speed up the sed processing (if there are no `@' at all, there
5757 # is no need to browse any of the substitutions).
5758 # These are the two extra sed commands mentioned above.
5760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5761 if test -z "$ac_sed_cmds"; then
5762 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5764 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5766 ac_sed_frag
=`expr $ac_sed_frag + 1`
5768 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5771 if test -z "$ac_sed_cmds"; then
5774 fi # test -n "$CONFIG_FILES"
5777 cat >>$CONFIG_STATUS <<\_ACEOF
5778 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5779 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5781 - |
*:- |
*:-:* ) # input from stdin
5783 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5784 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5785 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5786 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5787 * ) ac_file_in
=$ac_file.
in ;;
5790 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5791 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5793 X"$ac_file" : 'X\(//\)[^/]' \| \
5794 X"$ac_file" : 'X\(//\)$' \| \
5795 X"$ac_file" : 'X\(/\)' \| \
5796 . : '\(.\)' 2>/dev/null ||
5798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5800 /^X\(\/\/\)$/{ s//\1/; q; }
5801 /^X\(\/\).*/{ s//\1/; q; }
5803 { if $as_mkdir_p; then
5808 while test ! -d "$as_dir"; do
5809 as_dirs
="$as_dir $as_dirs"
5810 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5812 X"$as_dir" : 'X\(//\)[^/]' \| \
5813 X"$as_dir" : 'X\(//\)$' \| \
5814 X"$as_dir" : 'X\(/\)' \| \
5815 . : '\(.\)' 2>/dev/null ||
5817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5819 /^X\(\/\/\)$/{ s//\1/; q; }
5820 /^X\(\/\).*/{ s//\1/; q; }
5823 test ! -n "$as_dirs" || mkdir
$as_dirs
5824 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5825 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5826 { (exit 1); exit 1; }; }; }
5830 if test "$ac_dir" != .
; then
5831 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5832 # A "../" for each directory in $ac_dir_suffix.
5833 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5835 ac_dir_suffix
= ac_top_builddir
=
5839 .
) # No --srcdir option. We are building in place.
5841 if test -z "$ac_top_builddir"; then
5844 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5846 [\\/]* | ?
:[\\/]* ) # Absolute path.
5847 ac_srcdir
=$srcdir$ac_dir_suffix;
5848 ac_top_srcdir
=$srcdir ;;
5850 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5851 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5854 # Do not use `cd foo && pwd` to compute absolute paths, because
5855 # the directories may not exist.
5857 .
) ac_abs_builddir
="$ac_dir";;
5860 .
) ac_abs_builddir
=`pwd`;;
5861 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5862 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5865 case $ac_abs_builddir in
5866 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5868 case ${ac_top_builddir}.
in
5869 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5870 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5871 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5874 case $ac_abs_builddir in
5875 .
) ac_abs_srcdir
=$ac_srcdir;;
5878 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5879 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5880 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5883 case $ac_abs_builddir in
5884 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5886 case $ac_top_srcdir in
5887 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5888 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5889 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5895 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5896 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5899 if test x
"$ac_file" != x-
; then
5900 { echo "$as_me:$LINENO: creating $ac_file" >&5
5901 echo "$as_me: creating $ac_file" >&6;}
5904 # Let's still pretend it is `configure' which instantiates (i.e., don't
5905 # use $as_me), people would be surprised to read:
5906 # /* config.h. Generated by config.status. */
5907 if test x
"$ac_file" = x-
; then
5910 configure_input
="$ac_file. "
5912 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5913 sed 's,.*/,,'` by configure."
5915 # First look for the input files in the build tree, otherwise in the
5917 ac_file_inputs
=`IFS=:
5918 for f in $ac_file_in; do
5920 -) echo $tmp/stdin ;;
5922 # Absolute (can't be DOS-style, as IFS=:)
5923 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5924 echo "$as_me: error: cannot find input file: $f" >&2;}
5925 { (exit 1); exit 1; }; }
5928 if test -f "$f"; then
5931 elif test -f "$srcdir/$f"; then
5936 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5937 echo "$as_me: error: cannot find input file: $f" >&2;}
5938 { (exit 1); exit 1; }; }
5941 done` ||
{ (exit 1); exit 1; }
5943 cat >>$CONFIG_STATUS <<_ACEOF
5947 cat >>$CONFIG_STATUS <<\_ACEOF
5949 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5950 s
,@configure_input@
,$configure_input,;t t
5951 s
,@srcdir@
,$ac_srcdir,;t t
5952 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5953 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5954 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5955 s
,@builddir@
,$ac_builddir,;t t
5956 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5957 s
,@top_builddir@
,$ac_top_builddir,;t t
5958 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5959 s
,@INSTALL@
,$ac_INSTALL,;t t
5960 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5962 if test x"$ac_file" != x-; then
5963 mv $tmp/out $ac_file
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5974 # CONFIG_HEADER section.
5977 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5978 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5980 # ac_d sets the value in "#define NAME VALUE" lines.
5981 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5982 ac_dB
='[ ].*$,\1#\2'
5985 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5986 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5987 ac_uB
='$,\1#\2define\3'
5991 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5992 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5994 - |
*:- |
*:-:* ) # input from stdin
5996 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5997 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5998 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5999 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6000 * ) ac_file_in
=$ac_file.
in ;;
6003 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6004 echo "$as_me: creating $ac_file" >&6;}
6006 # First look for the input files in the build tree, otherwise in the
6008 ac_file_inputs
=`IFS=:
6009 for f in $ac_file_in; do
6011 -) echo $tmp/stdin ;;
6013 # Absolute (can't be DOS-style, as IFS=:)
6014 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6015 echo "$as_me: error: cannot find input file: $f" >&2;}
6016 { (exit 1); exit 1; }; }
6017 # Do quote $f, to prevent DOS paths from being IFS'd.
6020 if test -f "$f"; then
6023 elif test -f "$srcdir/$f"; then
6028 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6029 echo "$as_me: error: cannot find input file: $f" >&2;}
6030 { (exit 1); exit 1; }; }
6033 done` ||
{ (exit 1); exit 1; }
6034 # Remove the trailing spaces.
6035 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6039 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6040 # `conftest.undefs', that substitutes the proper values into
6041 # config.h.in to produce config.h. The first handles `#define'
6042 # templates, and the second `#undef' templates.
6043 # And first: Protect against being on the right side of a sed subst in
6044 # config.status. Protect against being in an unquoted here document
6046 rm -f conftest.defines conftest.undefs
6047 # Using a here document instead of a string reduces the quoting nightmare.
6048 # Putting comments in sed scripts is not portable.
6050 # `end' is used to avoid that the second main sed command (meant for
6051 # 0-ary CPP macros) applies to n-ary macro definitions.
6052 # See the Autoconf documentation for `clear'.
6053 cat >confdef2sed.
sed <<\_ACEOF
6058 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6060 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6063 # If some macros were called several times there might be several times
6064 # the same #defines, which is useless. Nevertheless, we may not want to
6065 # sort them, since we want the *last* AC-DEFINE to be honored.
6066 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6067 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6068 rm -f confdef2sed.sed
6070 # This sed command replaces #undef with comments. This is necessary, for
6071 # example, in the case of _POSIX_SOURCE, which is predefined and required
6072 # on some systems where configure will not decide to define it.
6073 cat >>conftest.undefs <<\_ACEOF
6074 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6077 # Break up conftest.defines because some shells have a limit on the size
6078 # of here documents, and old seds have small limits too (100 cmds).
6079 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6080 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6081 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6082 echo ' :' >>$CONFIG_STATUS
6084 while grep . conftest.defines >/dev/null
6086 # Write a limited-size here document to $tmp/defines.sed.
6087 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6088 # Speed up: don't consider the non `#define' lines.
6089 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6090 # Work around the forget-to-reset-the-flag bug.
6091 echo 't clr' >>$CONFIG_STATUS
6092 echo ': clr' >>$CONFIG_STATUS
6093 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6095 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6099 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6100 rm -f conftest.defines
6101 mv conftest.
tail conftest.defines
6103 rm -f conftest.defines
6104 echo ' fi # grep' >>$CONFIG_STATUS
6105 echo >>$CONFIG_STATUS
6107 # Break up conftest.undefs because some shells have a limit on the size
6108 # of here documents, and old seds have small limits too (100 cmds).
6109 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6111 while grep . conftest.undefs
>/dev
/null
6113 # Write a limited-size here document to $tmp/undefs.sed.
6114 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6115 # Speed up: don't consider the non
`#undef'
6116 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6117 # Work around the forget-to-reset-the-flag bug.
6118 echo 't clr' >>$CONFIG_STATUS
6119 echo ': clr' >>$CONFIG_STATUS
6120 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6122 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6126 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6127 rm -f conftest.undefs
6128 mv conftest.tail conftest.undefs
6130 rm -f conftest.undefs
6132 cat >>$CONFIG_STATUS <<\_ACEOF
6133 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6134 # use $as_me), people would be surprised to read:
6135 # /* config.h. Generated by config.status. */
6136 if test x
"$ac_file" = x-
; then
6137 echo "/* Generated by configure. */" >$tmp/config.h
6139 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6141 cat $tmp/in >>$tmp/config.h
6143 if test x
"$ac_file" != x-
; then
6144 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6145 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6146 echo "$as_me: $ac_file is unchanged" >&6;}
6148 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6149 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6150 X"$ac_file" : 'X\(//\)[^/]' \| \
6151 X"$ac_file" : 'X\(//\)$' \| \
6152 X"$ac_file" : 'X\(/\)' \| \
6153 . : '\(.\)' 2>/dev/null ||
6155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6157 /^X\(\/\/\)$/{ s//\1/; q; }
6158 /^X\(\/\).*/{ s//\1/; q; }
6160 { if $as_mkdir_p; then
6165 while test ! -d "$as_dir"; do
6166 as_dirs
="$as_dir $as_dirs"
6167 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6169 X"$as_dir" : 'X\(//\)[^/]' \| \
6170 X"$as_dir" : 'X\(//\)$' \| \
6171 X"$as_dir" : 'X\(/\)' \| \
6172 . : '\(.\)' 2>/dev/null ||
6174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6176 /^X\(\/\/\)$/{ s//\1/; q; }
6177 /^X\(\/\).*/{ s//\1/; q; }
6180 test ! -n "$as_dirs" || mkdir
$as_dirs
6181 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6183 { (exit 1); exit 1; }; }; }
6186 mv $tmp/config.h
$ac_file
6192 # Compute $ac_file's index in $config_headers.
6194 for _am_header
in $config_headers :; do
6196 $ac_file |
$ac_file:* )
6199 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6202 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6203 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6204 X$ac_file : 'X\(//\)[^/]' \| \
6205 X$ac_file : 'X\(//\)$' \| \
6206 X$ac_file : 'X\(/\)' \| \
6207 . : '\(.\)' 2>/dev/null ||
6209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6211 /^X\(\/\/\)$/{ s//\1/; q; }
6212 /^X\(\/\).*/{ s//\1/; q; }
6213 s/.*/./; q'`/stamp-h
$_am_stamp_count
6216 cat >>$CONFIG_STATUS <<\_ACEOF
6219 # CONFIG_COMMANDS section.
6221 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6222 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6223 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6224 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6225 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6226 X"$ac_dest" : 'X\(//\)[^/]' \| \
6227 X"$ac_dest" : 'X\(//\)$' \| \
6228 X"$ac_dest" : 'X\(/\)' \| \
6229 . : '\(.\)' 2>/dev/null ||
6231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6233 /^X\(\/\/\)$/{ s//\1/; q; }
6234 /^X\(\/\).*/{ s//\1/; q; }
6236 { if $as_mkdir_p; then
6241 while test ! -d "$as_dir"; do
6242 as_dirs
="$as_dir $as_dirs"
6243 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6245 X"$as_dir" : 'X\(//\)[^/]' \| \
6246 X"$as_dir" : 'X\(//\)$' \| \
6247 X"$as_dir" : 'X\(/\)' \| \
6248 . : '\(.\)' 2>/dev/null ||
6250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6252 /^X\(\/\/\)$/{ s//\1/; q; }
6253 /^X\(\/\).*/{ s//\1/; q; }
6256 test ! -n "$as_dirs" || mkdir
$as_dirs
6257 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6259 { (exit 1); exit 1; }; }; }
6263 if test "$ac_dir" != .
; then
6264 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6265 # A "../" for each directory in $ac_dir_suffix.
6266 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6268 ac_dir_suffix
= ac_top_builddir
=
6272 .
) # No --srcdir option. We are building in place.
6274 if test -z "$ac_top_builddir"; then
6277 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6279 [\\/]* | ?
:[\\/]* ) # Absolute path.
6280 ac_srcdir
=$srcdir$ac_dir_suffix;
6281 ac_top_srcdir
=$srcdir ;;
6283 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6284 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6287 # Do not use `cd foo && pwd` to compute absolute paths, because
6288 # the directories may not exist.
6290 .
) ac_abs_builddir
="$ac_dir";;
6293 .
) ac_abs_builddir
=`pwd`;;
6294 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6295 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6298 case $ac_abs_builddir in
6299 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6301 case ${ac_top_builddir}.
in
6302 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6303 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6304 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6307 case $ac_abs_builddir in
6308 .
) ac_abs_srcdir
=$ac_srcdir;;
6311 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6312 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6313 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6316 case $ac_abs_builddir in
6317 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6319 case $ac_top_srcdir in
6320 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6321 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6322 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6327 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6328 echo "$as_me: executing $ac_dest commands" >&6;}
6330 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6331 # Strip MF so we end up with the name of the file.
6332 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6333 # Check whether this is an Automake generated Makefile or not.
6334 # We used to match only the files named `Makefile.in', but
6335 # some people rename them; so instead we look at the file content.
6336 # Grep'ing the first line is not enough: some people post-process
6337 # each Makefile.in and add a new line on top of each file to say so.
6338 # So let's grep whole file.
6339 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6340 dirpart
=`(dirname "$mf") 2>/dev/null ||
6341 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6342 X"$mf" : 'X\(//\)[^/]' \| \
6343 X"$mf" : 'X\(//\)$' \| \
6344 X"$mf" : 'X\(/\)' \| \
6345 . : '\(.\)' 2>/dev/null ||
6347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6349 /^X\(\/\/\)$/{ s//\1/; q; }
6350 /^X\(\/\).*/{ s//\1/; q; }
6355 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
6356 # Extract the definition of DEP_FILES from the Makefile without
6358 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6359 test -z "$DEPDIR" && continue
6360 # When using ansi2knr, U may be empty or an underscore; expand it
6361 U
=`sed -n -e '/^U = / s///p' < "$mf"`
6362 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
6363 # We invoke sed twice because it is the simplest approach to
6364 # changing $(DEPDIR) to its actual value in the expansion.
6365 for file in `sed -n -e '
6366 /^DEP_FILES = .*\\\\$/ {
6375 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6376 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6377 # Make sure the directory exists.
6378 test -f "$dirpart/$file" && continue
6379 fdir
=`(dirname "$file") 2>/dev/null ||
6380 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6381 X"$file" : 'X\(//\)[^/]' \| \
6382 X"$file" : 'X\(//\)$' \| \
6383 X"$file" : 'X\(/\)' \| \
6384 . : '\(.\)' 2>/dev/null ||
6386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6388 /^X\(\/\/\)$/{ s//\1/; q; }
6389 /^X\(\/\).*/{ s//\1/; q; }
6391 { if $as_mkdir_p; then
6392 mkdir
-p $dirpart/$fdir
6394 as_dir
=$dirpart/$fdir
6396 while test ! -d "$as_dir"; do
6397 as_dirs
="$as_dir $as_dirs"
6398 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6400 X"$as_dir" : 'X\(//\)[^/]' \| \
6401 X"$as_dir" : 'X\(//\)$' \| \
6402 X"$as_dir" : 'X\(/\)' \| \
6403 . : '\(.\)' 2>/dev/null ||
6405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6407 /^X\(\/\/\)$/{ s//\1/; q; }
6408 /^X\(\/\).*/{ s//\1/; q; }
6411 test ! -n "$as_dirs" || mkdir
$as_dirs
6412 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6413 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6414 { (exit 1); exit 1; }; }; }
6416 # echo "creating $dirpart/$file"
6417 echo '# dummy' > "$dirpart/$file"
6425 cat >>$CONFIG_STATUS <<\_ACEOF
6427 { (exit 0); exit 0; }
6429 chmod +x
$CONFIG_STATUS
6430 ac_clean_files
=$ac_clean_files_save
6433 # configure is writing to config.log, and then calls config.status.
6434 # config.status does its own redirection, appending to config.log.
6435 # Unfortunately, on DOS this fails, as config.log is still kept open
6436 # by configure, so config.status won't be able to write to it; its
6437 # output is simply discarded. So we exec the FD to /dev/null,
6438 # effectively closing config.log, so it can be properly (re)opened and
6439 # appended to by config.status. When coming back to configure, we
6440 # need to make the FD available again.
6441 if test "$no_create" != yes; then
6443 ac_config_status_args
=
6444 test "$silent" = yes &&
6445 ac_config_status_args
="$ac_config_status_args --quiet"
6447 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6449 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6450 # would make configure fail if this is the last instruction.
6451 $ac_cs_success ||
{ (exit 1); exit 1; }