2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="jartool.h"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CPP_set
=${CPP+set}
769 ac_env_CPP_value
=$CPP
770 ac_cv_env_CPP_set
=${CPP+set}
771 ac_cv_env_CPP_value
=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 if test -n "$ac_init_help"; then
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --disable-dependency-tracking Speeds up one-time builds
848 --enable-dependency-tracking Do not reject slow dependency extractors
849 --enable-maintainer-mode enable make rules and dependencies not useful
850 (and sometimes confusing
) to the casual installer
851 --enable-generated-files-in-srcdir
852 put copies of generated files
in source dir
853 intended
for creating
source tarballs
for users
854 without texinfo
, perl
, bison or flex.
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-system-zlib use installed libz
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
910 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
936 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
937 Free Software Foundation, Inc.
938 This configure script is free software; the Free Software Foundation
939 gives unlimited permission to copy, distribute and modify it.
945 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake.
948 It was created by $as_me, which was
949 generated by GNU Autoconf 2.57. Invocation command line was
960 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
961 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
962 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
963 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
964 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
966 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
967 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
969 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
970 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
971 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
972 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
973 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
974 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
975 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 test -z "$as_dir" && as_dir=.
999 # Keep a trace of the command line.
1000 # Strip out --no-create and --no-recursion so they do not pile up.
1001 # Strip out --silent because we don't want to record it for future runs.
1002 # Also quote any args containing shell meta-characters.
1003 # Make two passes to allow for proper duplicate-argument suppression.
1008 ac_must_keep_next=false
1014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1018 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1019 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1022 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1024 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1025 if test $ac_must_keep_next = true; then
1026 ac_must_keep_next=false # Got value, back to normal.
1029 *=* | --config-cache | -C | -disable-* | --disable-* \
1030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1032 | -with-* | --with-* | -without-* | --without-* | --x)
1033 case "$ac_configure_args0 " in
1034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037 -* ) ac_must_keep_next=true ;;
1040 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1047 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1048 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1050 # When interrupted or exit'd, cleanup temporary files, and complete
1051 # config.log. We remove comments because anyway the quotes in there
1052 # would cause problems or look ugly.
1053 # WARNING: Be sure not to use single quotes in there, as some shells,
1054 # such as our DU 5.0 friend, will then `close
' the trap.
1055 trap 'exit_status
=$?
1056 # Save into config.log some information that might help in debugging.
1061 ## ---------------- ##
1062 ## Cache variables. ##
1063 ## ---------------- ##
1066 # The following way of writing the cache mishandles newlines in values,
1069 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1084 ## ----------------- ##
1085 ## Output variables. ##
1086 ## ----------------- ##
1089 for ac_var
in $ac_subst_vars
1091 eval ac_val
=$
`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1096 if test -n "$ac_subst_files"; then
1103 for ac_var
in $ac_subst_files
1105 eval ac_val
=$
`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1111 if test -s confdefs.h
; then
1118 sed "/^$/d" confdefs.h |
sort
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1125 rm -f core core.
* *.core
&&
1126 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1129 for ac_signal in 1 2 13 15; do
1130 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 # Predefined preprocessor variables.
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE; then
1170 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 for ac_site_file in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's
/^
/|
/' "$ac_site_file" >&5
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1191 [\\/]* | ?:[\\/]* ) . $cache_file;;
1192 *) . ./$cache_file;;
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1201 # Check that the precious variables saved in the cache have kept the same
1203 ac_cache_corrupted=false
1204 for ac_var in `(set) 2>&1 |
1205 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1207 eval ac_new_set=\$ac_env_${ac_var}_set
1208 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1214 ac_cache_corrupted=: ;;
1216 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1223 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted=:
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1234 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg=$ac_var=$ac_new_val ;;
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1248 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp='$CPP $CPPFLAGS'
1254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1255 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1276 am__api_version="1.7"
1278 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1279 if test -f $ac_dir/install-sh; then
1281 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 elif test -f $ac_dir/install.sh; then
1285 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 elif test -f $ac_dir/shtool; then
1289 ac_install_sh="$ac_aux_dir/shtool install -c"
1293 if test -z "$ac_aux_dir"; then
1294 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1295 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1296 { (exit 1); exit 1; }; }
1298 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1299 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1300 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302 # Find a good install program. We prefer a C program (faster),
1303 # so one script is as good as another. But avoid the broken or
1304 # incompatible versions:
1305 # SysV /etc/install, /usr/sbin/install
1306 # SunOS /usr/etc/install
1307 # IRIX /sbin/install
1309 # AmigaOS /C/install, which installs bootblocks on floppy discs
1310 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1313 # ./install, which can be erroneously created by make from ./install.sh.
1314 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1315 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1316 if test -z "$INSTALL"; then
1317 if test "${ac_cv_path_install+set}" = set; then
1318 echo $ECHO_N "(cached) $ECHO_C" >&6
1320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1324 test -z "$as_dir" && as_dir
=.
1325 # Account for people who put trailing slashes in PATH elements.
1327 .
/ | .
// |
/cC
/* | \
1328 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1331 # OSF1 and SCO ODT 3.0 have their own names for install.
1332 # Don't use installbsd from OSF since it installs stuff as root
1334 for ac_prog
in ginstall scoinst
install; do
1335 for ac_exec_ext
in '' $ac_executable_extensions; do
1336 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1337 if test $ac_prog = install &&
1338 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1339 # AIX install. It has an incompatible calling convention.
1341 elif test $ac_prog = install &&
1342 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1343 # program-specific install script used by HP pwplus--don't use.
1346 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1358 if test "${ac_cv_path_install+set}" = set; then
1359 INSTALL
=$ac_cv_path_install
1361 # As a last resort, use the slow shell script. We don't cache a
1362 # path for INSTALL within a source directory, because that will
1363 # break other packages using the cache if that directory is
1364 # removed, or if the path is relative.
1365 INSTALL
=$ac_install_sh
1368 echo "$as_me:$LINENO: result: $INSTALL" >&5
1369 echo "${ECHO_T}$INSTALL" >&6
1371 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1372 # It thinks the first close brace ends the variable substitution.
1373 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1375 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1377 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1379 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1380 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1383 echo timestamp
> conftest.
file
1384 # Do `set' in a subshell so we don't clobber the current shell's
1385 # arguments. Must try -L first in case configure is actually a
1386 # symlink; some systems play weird games with the mod time of symlinks
1387 # (eg FreeBSD returns the mod time of the symlink's containing
1390 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1391 if test "$*" = "X"; then
1393 set X
`ls -t $srcdir/configure conftest.file`
1396 if test "$*" != "X $srcdir/configure conftest.file" \
1397 && test "$*" != "X conftest.file $srcdir/configure"; then
1399 # If neither matched, then we have a broken ls. This can happen
1400 # if, for instance, CONFIG_SHELL is bash and it inherits a
1401 # broken ls alias from the environment. This has actually
1402 # happened. Such a system could not be considered "sane".
1403 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1404 alias in your environment" >&5
1405 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1406 alias in your environment" >&2;}
1407 { (exit 1); exit 1; }; }
1410 test "$2" = conftest.
file
1416 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1417 Check your system clock" >&5
1418 echo "$as_me: error: newly created file is older than distributed files!
1419 Check your system clock" >&2;}
1420 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: yes" >&5
1423 echo "${ECHO_T}yes" >&6
1424 test "$program_prefix" != NONE
&&
1425 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1426 # Use a double $ so make ignores it.
1427 test "$program_suffix" != NONE
&&
1428 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1429 # Double any \ or $. echo might interpret backslashes.
1430 # By default was `s,x,x', remove it if useless.
1431 cat <<\_ACEOF
>conftest.
sed
1432 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1434 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1438 # expand $ac_aux_dir to an absolute path
1439 am_aux_dir
=`cd $ac_aux_dir && pwd`
1441 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1442 # Use eval to expand $SHELL
1443 if eval "$MISSING --run true"; then
1444 am_missing_run
="$MISSING --run "
1447 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1448 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1451 for ac_prog
in gawk mawk nawk
awk
1453 # Extract the first word of "$ac_prog", so it can be a program name with args.
1454 set dummy
$ac_prog; ac_word
=$2
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_AWK+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$AWK"; then
1461 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1467 test -z "$as_dir" && as_dir
=.
1468 for ac_exec_ext
in '' $ac_executable_extensions; do
1469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1470 ac_cv_prog_AWK
="$ac_prog"
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480 if test -n "$AWK"; then
1481 echo "$as_me:$LINENO: result: $AWK" >&5
1482 echo "${ECHO_T}$AWK" >&6
1484 echo "$as_me:$LINENO: result: no" >&5
1485 echo "${ECHO_T}no" >&6
1488 test -n "$AWK" && break
1491 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1492 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1493 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1494 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 cat >conftest.
make <<\_ACEOF
1499 @
echo 'ac_maketemp="$(MAKE)"'
1501 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1502 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1503 if test -n "$ac_maketemp"; then
1504 eval ac_cv_prog_make_
${ac_make}_set
=yes
1506 eval ac_cv_prog_make_
${ac_make}_set
=no
1510 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1511 echo "$as_me:$LINENO: result: yes" >&5
1512 echo "${ECHO_T}yes" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1517 SET_MAKE
="MAKE=${MAKE-make}"
1520 rm -rf .tst
2>/dev
/null
1521 mkdir .tst
2>/dev
/null
1522 if test -d .tst
; then
1527 rmdir .tst
2>/dev
/null
1529 # test to see if srcdir already configured
1530 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1531 test -f $srcdir/config.status
; then
1532 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1533 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1534 { (exit 1); exit 1; }; }
1537 # test whether we have cygpath
1538 if test -z "$CYGPATH_W"; then
1539 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1540 CYGPATH_W
='cygpath -w'
1547 # Define the identity of the package.
1552 cat >>confdefs.h
<<_ACEOF
1553 #define PACKAGE "$PACKAGE"
1557 cat >>confdefs.h
<<_ACEOF
1558 #define VERSION "$VERSION"
1561 # Some tools Automake needs.
1563 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1566 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1569 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1572 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1575 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1578 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1580 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1582 # Installed binaries are usually stripped using `strip' when the user
1583 # run `make install-strip'. However `strip' might not be the right
1584 # tool to use in cross-compilation environments, therefore Automake
1585 # will honor the `STRIP' environment variable to overrule this program.
1586 if test "$cross_compiling" != no
; then
1587 if test -n "$ac_tool_prefix"; then
1588 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1589 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_STRIP+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$STRIP"; then
1596 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir
=.
1603 for ac_exec_ext
in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 STRIP
=$ac_cv_prog_STRIP
1615 if test -n "$STRIP"; then
1616 echo "$as_me:$LINENO: result: $STRIP" >&5
1617 echo "${ECHO_T}$STRIP" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1624 if test -z "$ac_cv_prog_STRIP"; then
1626 # Extract the first word of "strip", so it can be a program name with args.
1627 set dummy strip
; ac_word
=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 if test -n "$ac_ct_STRIP"; then
1634 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir
=.
1641 for ac_exec_ext
in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_ac_ct_STRIP
="strip"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1653 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1654 if test -n "$ac_ct_STRIP"; then
1655 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1656 echo "${ECHO_T}$ac_ct_STRIP" >&6
1658 echo "$as_me:$LINENO: result: no" >&5
1659 echo "${ECHO_T}no" >&6
1664 STRIP
="$ac_cv_prog_STRIP"
1668 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1670 # We need awk for the "check" target. The system "awk" is bad on
1675 ac_config_headers
="$ac_config_headers config.h"
1679 ac_cpp
='$CPP $CPPFLAGS'
1680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1683 if test -n "$ac_tool_prefix"; then
1684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC
="$CC" # Let the user override the test.
1694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir
=.
1699 for ac_exec_ext
in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 if test -n "$CC"; then
1712 echo "$as_me:$LINENO: result: $CC" >&5
1713 echo "${ECHO_T}$CC" >&6
1715 echo "$as_me:$LINENO: result: no" >&5
1716 echo "${ECHO_T}no" >&6
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "gcc", so it can be a program name with args.
1723 set dummy gcc
; ac_word
=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 for ac_exec_ext
in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC
="gcc"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1762 if test -z "$CC"; then
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1765 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC
="$CC" # Let the user override the test.
1774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir
=.
1779 for ac_exec_ext
in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$ac_cv_prog_CC"; then
1802 # Extract the first word of "cc", so it can be a program name with args.
1803 set dummy cc
; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$ac_ct_CC"; then
1810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_ac_ct_CC
="cc"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1829 if test -n "$ac_ct_CC"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1831 echo "${ECHO_T}$ac_ct_CC" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1843 if test -z "$CC"; then
1844 # Extract the first word of "cc", so it can be a program name with args.
1845 set dummy cc
; ac_word
=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$CC"; then
1852 ac_cv_prog_CC
="$CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1863 ac_prog_rejected
=yes
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test $ac_prog_rejected = yes; then
1874 # We found a bogon in the path, so make sure we never use it.
1875 set dummy
$ac_cv_prog_CC
1877 if test $# != 0; then
1878 # We chose a different compiler from the bogus one.
1879 # However, it has the same basename, so the bogon will be chosen
1880 # first if we set CC to just the basename; use the full file name.
1882 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
1901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 test -n "$CC" && break
1939 if test -z "$CC"; then
1943 # Extract the first word of "$ac_prog", so it can be a program name with args.
1944 set dummy
$ac_prog; ac_word
=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 for ac_exec_ext
in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_CC
="$ac_prog"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1978 test -n "$ac_ct_CC" && break
1987 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1988 See \`config.log' for more details." >&5
1989 echo "$as_me: error: no acceptable C compiler found in \$PATH
1990 See \`config.log' for more details." >&2;}
1991 { (exit 1); exit 1; }; }
1993 # Provide some information about the compiler.
1994 echo "$as_me:$LINENO:" \
1995 "checking for C compiler version" >&5
1996 ac_compiler
=`set X $ac_compile; echo $2`
1997 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1998 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }
2002 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2003 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2008 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }
2013 cat >conftest.
$ac_ext <<_ACEOF
2014 #line $LINENO "configure"
2017 cat confdefs.h
>>conftest.
$ac_ext
2018 cat >>conftest.
$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 ac_clean_files_save
=$ac_clean_files
2030 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2031 # Try to create an executable without -o first, disregard a.out.
2032 # It will help us diagnose broken compilers, and finding out an intuition
2034 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2035 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2036 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2037 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2038 (eval $ac_link_default) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 # Find the output, starting from the most likely. This scheme is
2043 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2046 # Be careful to initialize this variable, since it used to be cached.
2047 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2049 # b.out is created by i960 compilers.
2050 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2052 test -f "$ac_file" ||
continue
2054 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2057 # This is the source file.
2060 # We found the default executable, but exeext='' is most
2064 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2065 # FIXME: I believe we export ac_cv_exeext for Libtool,
2066 # but it would be cool to find out if it's true. Does anybody
2067 # maintain Libtool? --akim.
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2078 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: C compiler cannot create executables
2081 See \`config.log' for more details." >&2;}
2082 { (exit 77); exit 77; }; }
2085 ac_exeext
=$ac_cv_exeext
2086 echo "$as_me:$LINENO: result: $ac_file" >&5
2087 echo "${ECHO_T}$ac_file" >&6
2089 # Check the compiler produces executables we can run. If not, either
2090 # the compiler is broken, or we cross compile.
2091 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2092 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2093 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2094 # If not cross compiling, check that we can run a simple program.
2095 if test "$cross_compiling" != yes; then
2096 if { ac_try
='./$ac_file'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; }; then
2104 if test "$cross_compiling" = maybe
; then
2107 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2108 If you meant to cross compile, use \`--host'.
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: cannot run C compiled programs.
2111 If you meant to cross compile, use \`--host'.
2112 See \`config.log' for more details." >&2;}
2113 { (exit 1); exit 1; }; }
2117 echo "$as_me:$LINENO: result: yes" >&5
2118 echo "${ECHO_T}yes" >&6
2120 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2121 ac_clean_files
=$ac_clean_files_save
2122 # Check the compiler produces executables we can run. If not, either
2123 # the compiler is broken, or we cross compile.
2124 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2125 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2126 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2127 echo "${ECHO_T}$cross_compiling" >&6
2129 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2130 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2132 (eval $ac_link) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; then
2136 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2137 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2138 # work properly (i.e., refer to `conftest.exe'), while it won't with
2140 for ac_file
in conftest.exe conftest conftest.
*; do
2141 test -f "$ac_file" ||
continue
2143 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2144 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2151 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2154 See \`config.log' for more details." >&2;}
2155 { (exit 1); exit 1; }; }
2158 rm -f conftest
$ac_cv_exeext
2159 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2160 echo "${ECHO_T}$ac_cv_exeext" >&6
2162 rm -f conftest.
$ac_ext
2163 EXEEXT
=$ac_cv_exeext
2165 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2166 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2167 if test "${ac_cv_objext+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 cat >conftest.
$ac_ext <<_ACEOF
2171 #line $LINENO "configure"
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 rm -f conftest.o conftest.obj
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2195 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.
$ac_ext >&5
2203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2204 See \`config.log' for more details." >&5
2205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2206 See \`config.log' for more details." >&2;}
2207 { (exit 1); exit 1; }; }
2210 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2212 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2213 echo "${ECHO_T}$ac_cv_objext" >&6
2214 OBJEXT
=$ac_cv_objext
2216 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2217 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
$ac_ext <<_ACEOF
2222 #line $LINENO "configure"
2225 cat confdefs.h
>>conftest.
$ac_ext
2226 cat >>conftest.
$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2240 rm -f conftest.
$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } &&
2246 { ac_try
='test -s conftest.$ac_objext'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; }; then
2254 echo "$as_me: failed program was:" >&5
2255 sed 's/^/| /' conftest.
$ac_ext >&5
2259 rm -f conftest.
$ac_objext conftest.
$ac_ext
2260 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2263 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2264 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2265 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2266 ac_test_CFLAGS
=${CFLAGS+set}
2267 ac_save_CFLAGS
=$CFLAGS
2269 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2270 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2271 if test "${ac_cv_prog_cc_g+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 cat >conftest.
$ac_ext <<_ACEOF
2275 #line $LINENO "configure"
2278 cat confdefs.h
>>conftest.
$ac_ext
2279 cat >>conftest.
$ac_ext <<_ACEOF
2280 /* end confdefs.h. */
2290 rm -f conftest.
$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); } &&
2296 { ac_try
='test -s conftest.$ac_objext'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; }; then
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.
$ac_ext >&5
2309 rm -f conftest.
$ac_objext conftest.
$ac_ext
2311 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2312 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2313 if test "$ac_test_CFLAGS" = set; then
2314 CFLAGS
=$ac_save_CFLAGS
2315 elif test $ac_cv_prog_cc_g = yes; then
2316 if test "$GCC" = yes; then
2322 if test "$GCC" = yes; then
2328 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2329 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2330 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 ac_cv_prog_cc_stdc
=no
2335 cat >conftest.
$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2344 #include <sys/types.h>
2345 #include <sys/stat.h>
2346 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2347 struct buf { int x; };
2348 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2349 static char *e (p, i)
2355 static char *f (char * (*g) (char **, int), char **p, ...)
2360 s = g (p, va_arg (v,int));
2364 int test (int i, double x);
2365 struct s1 {int (*f) (int a);};
2366 struct s2 {int (*f) (double a);};
2367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2378 # Don't try gcc -ansi; that turns off useful extensions and
2379 # breaks some systems' header files.
2380 # AIX -qlanglvl=ansi
2381 # Ultrix and OSF/1 -std1
2382 # HP-UX 10.20 and later -Ae
2383 # HP-UX older versions -Aa -D_HPUX_SOURCE
2384 # SVR4 -Xc -D__EXTENSIONS__
2385 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2387 CC
="$ac_save_CC $ac_arg"
2388 rm -f conftest.
$ac_objext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390 (eval $ac_compile) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2400 ac_cv_prog_cc_stdc
=$ac_arg
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.
$ac_ext >&5
2407 rm -f conftest.
$ac_objext
2409 rm -f conftest.
$ac_ext conftest.
$ac_objext
2414 case "x$ac_cv_prog_cc_stdc" in
2416 echo "$as_me:$LINENO: result: none needed" >&5
2417 echo "${ECHO_T}none needed" >&6 ;;
2419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2420 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2421 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2424 # Some people use a C++ compiler to compile C. Since we use `exit',
2425 # in C++ we need to declare it. In case someone uses the same compiler
2426 # for both compiling C and C++ we need to have the C++ compiler decide
2427 # the declaration of exit, since it's the most demanding environment.
2428 cat >conftest.
$ac_ext <<_ACEOF
2433 rm -f conftest.
$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try
='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2445 for ac_declaration
in \
2447 '#include <stdlib.h>' \
2448 'extern "C" void std::exit (int) throw (); using std::exit;' \
2449 'extern "C" void std::exit (int); using std::exit;' \
2450 'extern "C" void exit (int) throw ();' \
2451 'extern "C" void exit (int);' \
2454 cat >conftest.
$ac_ext <<_ACEOF
2455 #line $LINENO "configure"
2458 cat confdefs.h
>>conftest.
$ac_ext
2459 cat >>conftest.
$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try
='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2490 rm -f conftest.
$ac_objext conftest.
$ac_ext
2491 cat >conftest.
$ac_ext <<_ACEOF
2492 #line $LINENO "configure"
2495 cat confdefs.h
>>conftest.
$ac_ext
2496 cat >>conftest.
$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2507 rm -f conftest.
$ac_objext
2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509 (eval $ac_compile) 2>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 { ac_try
='test -s conftest.$ac_objext'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; }; then
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f conftest.
$ac_objext conftest.
$ac_ext
2528 if test -n "$ac_declaration"; then
2529 echo '#ifdef __cplusplus' >>confdefs.h
2530 echo $ac_declaration >>confdefs.h
2531 echo '#endif' >>confdefs.h
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2539 rm -f conftest.
$ac_objext conftest.
$ac_ext
2541 ac_cpp
='$CPP $CPPFLAGS'
2542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2545 DEPDIR
="${am__leading_dot}deps"
2547 ac_config_commands
="$ac_config_commands depfiles"
2550 am_make
=${MAKE-make}
2551 cat > confinc
<< 'END'
2556 # If we don't find an include directive, just comment out the code.
2557 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2558 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2562 # First try GNU make style include.
2563 echo "include confinc" > confmf
2564 # We grep out `Entering directory' and `Leaving directory'
2565 # messages which can occur if `w' ends up in MAKEFLAGS.
2566 # In particular we don't look at `^make:' because GNU make might
2567 # be invoked under some other name (usually "gmake"), in which
2568 # case it prints its new name instead of `make'.
2569 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2574 # Now try BSD make style include.
2575 if test "$am__include" = "#"; then
2576 echo '.include "confinc"' > confmf
2577 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2578 am__include
=.include
2585 echo "$as_me:$LINENO: result: $_am_result" >&5
2586 echo "${ECHO_T}$_am_result" >&6
2587 rm -f confinc confmf
2589 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2590 if test "${enable_dependency_tracking+set}" = set; then
2591 enableval
="$enable_dependency_tracking"
2594 if test "x$enable_dependency_tracking" != xno
; then
2595 am_depcomp
="$ac_aux_dir/depcomp"
2600 if test "x$enable_dependency_tracking" != xno; then
2611 depcc
="$CC" am_compiler_list
=
2613 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2614 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2615 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2619 # We make a subdir and do the tests there. Otherwise we can end up
2620 # making bogus files that we don't know about and never remove. For
2621 # instance it was reported that on HP-UX the gcc test will end up
2622 # making a dummy file named `D' -- because `-MD' means `put the output
2625 # Copy depcomp to subdir because otherwise we won't find it if we're
2626 # using a relative directory.
2627 cp "$am_depcomp" conftest.dir
2629 # We will build objects and dependencies in a subdirectory because
2630 # it helps to detect inapplicable dependency modes. For instance
2631 # both Tru64's cc and ICC support -MD to output dependencies as a
2632 # side effect of compilation, but ICC will put the dependencies in
2633 # the current directory while Tru64 will put them in the object
2637 am_cv_CC_dependencies_compiler_type
=none
2638 if test "$am_compiler_list" = ""; then
2639 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2641 for depmode
in $am_compiler_list; do
2642 # Setup a source with many dependencies, because some compilers
2643 # like to wrap large dependency lists on column 80 (with \), and
2644 # we should not choose a depcomp mode which is confused by this.
2646 # We need to recreate these files for each test, as the compiler may
2647 # overwrite some of them when testing with obscure command lines.
2648 # This happens at least with the AIX C compiler.
2650 for i
in 1 2 3 4 5 6; do
2651 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2654 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2658 # after this tag, mechanisms are not by side-effect, so they'll
2659 # only be used when explicitly requested
2660 if test "x$enable_dependency_tracking" = xyes
; then
2668 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2669 # mode. It turns out that the SunPro C++ compiler does not properly
2670 # handle `-M -o', and we need to detect this.
2671 if depmode
=$depmode \
2672 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2673 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2674 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2675 >/dev
/null
2>conftest.err
&&
2676 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2677 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2678 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2679 # icc doesn't choke on unknown options, it will just issue warnings
2680 # (even with -Werror). So we grep stderr for any message
2681 # that says an option was ignored.
2682 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2683 am_cv_CC_dependencies_compiler_type
=$depmode
2692 am_cv_CC_dependencies_compiler_type
=none
2696 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2697 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2698 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2703 test "x$enable_dependency_tracking" != xno \
2704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2706 am__fastdepCC_FALSE
='#'
2708 am__fastdepCC_TRUE
='#'
2709 am__fastdepCC_FALSE
=
2713 # Find a good install program. We prefer a C program (faster),
2714 # so one script is as good as another. But avoid the broken or
2715 # incompatible versions:
2716 # SysV /etc/install, /usr/sbin/install
2717 # SunOS /usr/etc/install
2718 # IRIX /sbin/install
2720 # AmigaOS /C/install, which installs bootblocks on floppy discs
2721 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2722 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2723 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2724 # ./install, which can be erroneously created by make from ./install.sh.
2725 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2727 if test -z "$INSTALL"; then
2728 if test "${ac_cv_path_install+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir
=.
2736 # Account for people who put trailing slashes in PATH elements.
2738 .
/ | .
// |
/cC
/* | \
2739 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2742 # OSF1 and SCO ODT 3.0 have their own names for install.
2743 # Don't use installbsd from OSF since it installs stuff as root
2745 for ac_prog
in ginstall scoinst
install; do
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2748 if test $ac_prog = install &&
2749 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2750 # AIX install. It has an incompatible calling convention.
2752 elif test $ac_prog = install &&
2753 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2754 # program-specific install script used by HP pwplus--don't use.
2757 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2769 if test "${ac_cv_path_install+set}" = set; then
2770 INSTALL
=$ac_cv_path_install
2772 # As a last resort, use the slow shell script. We don't cache a
2773 # path for INSTALL within a source directory, because that will
2774 # break other packages using the cache if that directory is
2775 # removed, or if the path is relative.
2776 INSTALL
=$ac_install_sh
2779 echo "$as_me:$LINENO: result: $INSTALL" >&5
2780 echo "${ECHO_T}$INSTALL" >&6
2782 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2783 # It thinks the first close brace ends the variable substitution.
2784 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2786 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2788 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2790 # Extract the first word of "rm", so it can be a program name with args.
2791 set dummy
rm; ac_word
=$2
2792 echo "$as_me:$LINENO: checking for $ac_word" >&5
2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2794 if test "${ac_cv_path_RM+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2804 for as_dir
in $as_dummy
2807 test -z "$as_dir" && as_dir
=.
2808 for ac_exec_ext
in '' $ac_executable_extensions; do
2809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
2823 if test -n "$RM"; then
2824 echo "$as_me:$LINENO: result: $RM" >&5
2825 echo "${ECHO_T}$RM" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2831 # Extract the first word of "cp", so it can be a program name with args.
2832 set dummy
cp; ac_word
=$2
2833 echo "$as_me:$LINENO: checking for $ac_word" >&5
2834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2835 if test "${ac_cv_path_CP+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2845 for as_dir
in $as_dummy
2848 test -z "$as_dir" && as_dir
=.
2849 for ac_exec_ext
in '' $ac_executable_extensions; do
2850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
2864 if test -n "$CP"; then
2865 echo "$as_me:$LINENO: result: $CP" >&5
2866 echo "${ECHO_T}$CP" >&6
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2872 # Extract the first word of "strip", so it can be a program name with args.
2873 set dummy strip
; ac_word
=$2
2874 echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876 if test "${ac_cv_path_STRIP+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2886 for as_dir
in $as_dummy
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
2903 STRIP
=$ac_cv_path_STRIP
2905 if test -n "$STRIP"; then
2906 echo "$as_me:$LINENO: result: $STRIP" >&5
2907 echo "${ECHO_T}$STRIP" >&6
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2913 # Extract the first word of "chmod", so it can be a program name with args.
2914 set dummy
chmod; ac_word
=$2
2915 echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2917 if test "${ac_cv_path_CHMOD+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2927 for as_dir
in $as_dummy
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
2944 CHMOD
=$ac_cv_path_CHMOD
2946 if test -n "$CHMOD"; then
2947 echo "$as_me:$LINENO: result: $CHMOD" >&5
2948 echo "${ECHO_T}$CHMOD" >&6
2950 echo "$as_me:$LINENO: result: no" >&5
2951 echo "${ECHO_T}no" >&6
2956 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2957 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2958 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2959 if test "${enable_maintainer_mode+set}" = set; then
2960 enableval
="$enable_maintainer_mode"
2961 USE_MAINTAINER_MODE
=$enableval
2963 USE_MAINTAINER_MODE
=no
2965 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2966 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2969 if test $USE_MAINTAINER_MODE = yes; then
2970 MAINTAINER_MODE_TRUE
=
2971 MAINTAINER_MODE_FALSE
='#'
2973 MAINTAINER_MODE_TRUE
='#'
2974 MAINTAINER_MODE_FALSE
=
2977 MAINT
=$MAINTAINER_MODE_TRUE
2981 if test "$GCC" = yes; then
2982 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
2993 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
2994 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2995 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
2996 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
2997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 cat >conftest.
$ac_ext <<_ACEOF
3001 #line $LINENO "configure"
3004 cat confdefs.h
>>conftest.
$ac_ext
3005 cat >>conftest.
$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3007 #include <sys/types.h>
3019 rm -f conftest.
$ac_objext
3020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3021 (eval $ac_compile) 2>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try
='test -s conftest.$ac_objext'
3026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; }; then
3031 eval "$as_ac_Header=yes"
3033 echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.
$ac_ext >&5
3036 eval "$as_ac_Header=no"
3038 rm -f conftest.
$ac_objext conftest.
$ac_ext
3040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3043 cat >>confdefs.h
<<_ACEOF
3044 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3047 ac_header_dirent
=$ac_hdr; break
3051 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3052 if test $ac_header_dirent = dirent.h
; then
3053 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3054 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3055 if test "${ac_cv_search_opendir+set}" = set; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3058 ac_func_search_save_LIBS
=$LIBS
3059 ac_cv_search_opendir
=no
3060 cat >conftest.
$ac_ext <<_ACEOF
3061 #line $LINENO "configure"
3064 cat confdefs.h
>>conftest.
$ac_ext
3065 cat >>conftest.
$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3068 /* Override any gcc2 internal prototype to avoid an error. */
3072 /* We use char because int might match the return type of a gcc2
3073 builtin and then its argument prototype would still apply. */
3083 rm -f conftest.
$ac_objext conftest
$ac_exeext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3085 (eval $ac_link) 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } &&
3089 { ac_try
='test -s conftest$ac_exeext'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; }; then
3095 ac_cv_search_opendir
="none required"
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.
$ac_ext >&5
3101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3102 if test "$ac_cv_search_opendir" = no
; then
3103 for ac_lib
in dir
; do
3104 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3105 cat >conftest.
$ac_ext <<_ACEOF
3106 #line $LINENO "configure"
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3113 /* Override any gcc2 internal prototype to avoid an error. */
3117 /* We use char because int might match the return type of a gcc2
3118 builtin and then its argument prototype would still apply. */
3128 rm -f conftest.
$ac_objext conftest
$ac_exeext
3129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3130 (eval $ac_link) 2>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } &&
3134 { ac_try
='test -s conftest$ac_exeext'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 ac_cv_search_opendir
="-l$ac_lib"
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.
$ac_ext >&5
3147 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3150 LIBS
=$ac_func_search_save_LIBS
3152 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3153 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3154 if test "$ac_cv_search_opendir" != no
; then
3155 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3160 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3161 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3162 if test "${ac_cv_search_opendir+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 ac_func_search_save_LIBS
=$LIBS
3166 ac_cv_search_opendir
=no
3167 cat >conftest.
$ac_ext <<_ACEOF
3168 #line $LINENO "configure"
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>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } &&
3196 { ac_try
='test -s conftest$ac_exeext'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; }; then
3202 ac_cv_search_opendir
="none required"
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.
$ac_ext >&5
3208 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3209 if test "$ac_cv_search_opendir" = no
; then
3211 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3212 cat >conftest.
$ac_ext <<_ACEOF
3213 #line $LINENO "configure"
3216 cat confdefs.h
>>conftest.
$ac_ext
3217 cat >>conftest.
$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3220 /* Override any gcc2 internal prototype to avoid an error. */
3224 /* We use char because int might match the return type of a gcc2
3225 builtin and then its argument prototype would still apply. */
3235 rm -f conftest.
$ac_objext conftest
$ac_exeext
3236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3237 (eval $ac_link) 2>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try
='test -s conftest$ac_exeext'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; }; then
3247 ac_cv_search_opendir
="-l$ac_lib"
3250 echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.
$ac_ext >&5
3254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3257 LIBS
=$ac_func_search_save_LIBS
3259 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3260 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3261 if test "$ac_cv_search_opendir" != no
; then
3262 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3269 ac_cpp
='$CPP $CPPFLAGS'
3270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3273 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3274 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3275 # On Suns, sometimes $CPP names a directory.
3276 if test -n "$CPP" && test -d "$CPP"; then
3279 if test -z "$CPP"; then
3280 if test "${ac_cv_prog_CPP+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 # Double quotes because CPP needs to be expanded
3284 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3287 for ac_c_preproc_warn_flag
in '' yes
3289 # Use a header file that comes with gcc, so configuring glibc
3290 # with a fresh cross-compiler works.
3291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3292 # <limits.h> exists even on freestanding compilers.
3293 # On the NeXT, cc -E runs the code through the compiler's parser,
3294 # not just through cpp. "Syntax error" is here to catch this case.
3295 cat >conftest.
$ac_ext <<_ACEOF
3296 #line $LINENO "configure"
3299 cat confdefs.h
>>conftest.
$ac_ext
3300 cat >>conftest.
$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3303 # include <limits.h>
3305 # include <assert.h>
3309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1
>conftest.err
3314 cat conftest.err
>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } >/dev
/null
; then
3317 if test -s conftest.err
; then
3318 ac_cpp_err
=$ac_c_preproc_warn_flag
3325 if test -z "$ac_cpp_err"; then
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.
$ac_ext >&5
3331 # Broken: fails on valid input.
3334 rm -f conftest.err conftest.
$ac_ext
3336 # OK, works on sane cases. Now check whether non-existent headers
3337 # can be detected and how.
3338 cat >conftest.
$ac_ext <<_ACEOF
3339 #line $LINENO "configure"
3342 cat confdefs.h
>>conftest.
$ac_ext
3343 cat >>conftest.
$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3345 #include <ac_nonexistent.h>
3347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3350 grep -v '^ *+' conftest.er1
>conftest.err
3352 cat conftest.err
>&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); } >/dev
/null
; then
3355 if test -s conftest.err
; then
3356 ac_cpp_err
=$ac_c_preproc_warn_flag
3363 if test -z "$ac_cpp_err"; then
3364 # Broken: success on invalid input.
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.
$ac_ext >&5
3370 # Passes both tests.
3374 rm -f conftest.err conftest.
$ac_ext
3377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3378 rm -f conftest.err conftest.
$ac_ext
3379 if $ac_preproc_ok; then
3391 echo "$as_me:$LINENO: result: $CPP" >&5
3392 echo "${ECHO_T}$CPP" >&6
3394 for ac_c_preproc_warn_flag
in '' yes
3396 # Use a header file that comes with gcc, so configuring glibc
3397 # with a fresh cross-compiler works.
3398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3399 # <limits.h> exists even on freestanding compilers.
3400 # On the NeXT, cc -E runs the code through the compiler's parser,
3401 # not just through cpp. "Syntax error" is here to catch this case.
3402 cat >conftest.
$ac_ext <<_ACEOF
3403 #line $LINENO "configure"
3406 cat confdefs.h
>>conftest.
$ac_ext
3407 cat >>conftest.
$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3410 # include <limits.h>
3412 # include <assert.h>
3416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3419 grep -v '^ *+' conftest.er1
>conftest.err
3421 cat conftest.err
>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } >/dev
/null
; then
3424 if test -s conftest.err
; then
3425 ac_cpp_err
=$ac_c_preproc_warn_flag
3432 if test -z "$ac_cpp_err"; then
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.
$ac_ext >&5
3438 # Broken: fails on valid input.
3441 rm -f conftest.err conftest.
$ac_ext
3443 # OK, works on sane cases. Now check whether non-existent headers
3444 # can be detected and how.
3445 cat >conftest.
$ac_ext <<_ACEOF
3446 #line $LINENO "configure"
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1
>conftest.err
3459 cat conftest.err
>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } >/dev
/null
; then
3462 if test -s conftest.err
; then
3463 ac_cpp_err
=$ac_c_preproc_warn_flag
3470 if test -z "$ac_cpp_err"; then
3471 # Broken: success on invalid input.
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.
$ac_ext >&5
3477 # Passes both tests.
3481 rm -f conftest.err conftest.
$ac_ext
3484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3485 rm -f conftest.err conftest.
$ac_ext
3486 if $ac_preproc_ok; then
3489 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3490 See \`config.log' for more details." >&5
3491 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3492 See \`config.log' for more details." >&2;}
3493 { (exit 1); exit 1; }; }
3497 ac_cpp
='$CPP $CPPFLAGS'
3498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3503 echo "$as_me:$LINENO: checking for egrep" >&5
3504 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3505 if test "${ac_cv_prog_egrep+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3509 then ac_cv_prog_egrep
='grep -E'
3510 else ac_cv_prog_egrep
='egrep'
3513 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3514 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3515 EGREP
=$ac_cv_prog_egrep
3518 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3519 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3520 if test "${ac_cv_header_stdc+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3524 #line $LINENO "configure"
3527 cat confdefs.h
>>conftest.
$ac_ext
3528 cat >>conftest.
$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3543 rm -f conftest.
$ac_objext
3544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3545 (eval $ac_compile) 2>&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); } &&
3549 { ac_try
='test -s conftest.$ac_objext'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_cv_header_stdc
=yes
3557 echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.
$ac_ext >&5
3560 ac_cv_header_stdc
=no
3562 rm -f conftest.
$ac_objext conftest.
$ac_ext
3564 if test $ac_cv_header_stdc = yes; then
3565 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3566 cat >conftest.
$ac_ext <<_ACEOF
3567 #line $LINENO "configure"
3570 cat confdefs.h
>>conftest.
$ac_ext
3571 cat >>conftest.
$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577 $EGREP "memchr" >/dev
/null
2>&1; then
3580 ac_cv_header_stdc
=no
3586 if test $ac_cv_header_stdc = yes; then
3587 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3588 cat >conftest.
$ac_ext <<_ACEOF
3589 #line $LINENO "configure"
3592 cat confdefs.h
>>conftest.
$ac_ext
3593 cat >>conftest.
$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3599 $EGREP "free" >/dev
/null
2>&1; then
3602 ac_cv_header_stdc
=no
3608 if test $ac_cv_header_stdc = yes; then
3609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3610 if test "$cross_compiling" = yes; then
3613 cat >conftest.
$ac_ext <<_ACEOF
3614 #line $LINENO "configure"
3617 cat confdefs.h
>>conftest.
$ac_ext
3618 cat >>conftest.
$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3621 #if ((' ' & 0x0FF) == 0x020)
3622 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3623 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3625 # define ISLOWER(c) \
3626 (('a' <= (c) && (c) <= 'i') \
3627 || ('j' <= (c) && (c) <= 'r') \
3628 || ('s' <= (c) && (c) <= 'z'))
3629 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3632 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3637 for (i = 0; i < 256; i++)
3638 if (XOR (islower (i), ISLOWER (i))
3639 || toupper (i) != TOUPPER (i))
3644 rm -f conftest
$ac_exeext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3646 (eval $ac_link) 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then
3657 echo "$as_me: program exited with status $ac_status" >&5
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.
$ac_ext >&5
3662 ac_cv_header_stdc
=no
3664 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3668 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3669 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3670 if test $ac_cv_header_stdc = yes; then
3672 cat >>confdefs.h
<<\_ACEOF
3673 #define STDC_HEADERS 1
3678 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3679 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3680 if test "${ac_cv_struct_tm+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 cat >conftest.
$ac_ext <<_ACEOF
3684 #line $LINENO "configure"
3687 cat confdefs.h
>>conftest.
$ac_ext
3688 cat >>conftest.
$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3690 #include <sys/types.h>
3696 struct tm *tp; tp->tm_sec;
3701 rm -f conftest.
$ac_objext
3702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3703 (eval $ac_compile) 2>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try
='test -s conftest.$ac_objext'
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; }; then
3713 ac_cv_struct_tm
=time.h
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.
$ac_ext >&5
3718 ac_cv_struct_tm
=sys
/time.h
3720 rm -f conftest.
$ac_objext conftest.
$ac_ext
3722 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3723 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3724 if test $ac_cv_struct_tm = sys
/time.h
; then
3726 cat >>confdefs.h
<<\_ACEOF
3727 #define TM_IN_SYS_TIME 1
3732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3742 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3743 inttypes.h stdint.h unistd.h
3745 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3746 echo "$as_me:$LINENO: checking for $ac_header" >&5
3747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 cat >conftest.
$ac_ext <<_ACEOF
3752 #line $LINENO "configure"
3755 cat confdefs.h
>>conftest.
$ac_ext
3756 cat >>conftest.
$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3758 $ac_includes_default
3760 #include <$ac_header>
3762 rm -f conftest.
$ac_objext
3763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764 (eval $ac_compile) 2>&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 { ac_try
='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then
3774 eval "$as_ac_Header=yes"
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.
$ac_ext >&5
3779 eval "$as_ac_Header=no"
3781 rm -f conftest.
$ac_objext conftest.
$ac_ext
3783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3786 cat >>confdefs.h
<<_ACEOF
3787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3800 for ac_header
in fcntl.h unistd.h sys
/param.h stdlib.h limits.h
3802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3804 echo "$as_me:$LINENO: checking for $ac_header" >&5
3805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3812 # Is the header compilable?
3813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3815 cat >conftest.
$ac_ext <<_ACEOF
3816 #line $LINENO "configure"
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3822 $ac_includes_default
3823 #include <$ac_header>
3825 rm -f conftest.
$ac_objext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3827 (eval $ac_compile) 2>&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } &&
3831 { ac_try
='test -s conftest.$ac_objext'
3832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; }; then
3837 ac_header_compiler
=yes
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.
$ac_ext >&5
3842 ac_header_compiler
=no
3844 rm -f conftest.
$ac_objext conftest.
$ac_ext
3845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3846 echo "${ECHO_T}$ac_header_compiler" >&6
3848 # Is the header present?
3849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3851 cat >conftest.
$ac_ext <<_ACEOF
3852 #line $LINENO "configure"
3855 cat confdefs.h
>>conftest.
$ac_ext
3856 cat >>conftest.
$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3858 #include <$ac_header>
3860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3861 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev
/null
; then
3868 if test -s conftest.err
; then
3869 ac_cpp_err
=$ac_c_preproc_warn_flag
3876 if test -z "$ac_cpp_err"; then
3877 ac_header_preproc
=yes
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.
$ac_ext >&5
3882 ac_header_preproc
=no
3884 rm -f conftest.err conftest.
$ac_ext
3885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3886 echo "${ECHO_T}$ac_header_preproc" >&6
3888 # So? What about this header?
3889 case $ac_header_compiler:$ac_header_preproc in
3891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3897 ## ------------------------------------ ##
3898 ## Report this to bug-autoconf@gnu.org. ##
3899 ## ------------------------------------ ##
3902 sed "s/^/$as_me: WARNING: /" >&2
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3913 ## ------------------------------------ ##
3914 ## Report this to bug-autoconf@gnu.org. ##
3915 ## ------------------------------------ ##
3918 sed "s/^/$as_me: WARNING: /" >&2
3921 echo "$as_me:$LINENO: checking for $ac_header" >&5
3922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 eval "$as_ac_Header=$ac_header_preproc"
3928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3933 cat >>confdefs.h
<<_ACEOF
3934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3942 echo "$as_me:$LINENO: checking for off_t" >&5
3943 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3944 if test "${ac_cv_type_off_t+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 cat >conftest.
$ac_ext <<_ACEOF
3948 #line $LINENO "configure"
3951 cat confdefs.h
>>conftest.
$ac_ext
3952 cat >>conftest.
$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 $ac_includes_default
3966 rm -f conftest.
$ac_objext
3967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3968 (eval $ac_compile) 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try
='test -s conftest.$ac_objext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_type_off_t
=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3985 rm -f conftest.
$ac_objext conftest.
$ac_ext
3987 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3988 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3989 if test $ac_cv_type_off_t = yes; then
3993 cat >>confdefs.h
<<_ACEOF
3999 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4000 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4001 if test "${ac_cv_struct_tm+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 cat >conftest.
$ac_ext <<_ACEOF
4005 #line $LINENO "configure"
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 #include <sys/types.h>
4017 struct tm *tp; tp->tm_sec;
4022 rm -f conftest.
$ac_objext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } &&
4028 { ac_try
='test -s conftest.$ac_objext'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; }; then
4034 ac_cv_struct_tm
=time.h
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.
$ac_ext >&5
4039 ac_cv_struct_tm
=sys
/time.h
4041 rm -f conftest.
$ac_objext conftest.
$ac_ext
4043 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4044 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4045 if test $ac_cv_struct_tm = sys
/time.h
; then
4047 cat >>confdefs.h
<<\_ACEOF
4048 #define TM_IN_SYS_TIME 1
4054 # mkdir takes a single argument on some systems.
4055 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4056 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4057 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 cat >conftest.
$ac_ext <<_ACEOF
4061 #line $LINENO "configure"
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4068 #include <sys/types.h>
4069 #ifdef HAVE_SYS_STAT_H
4070 # include <sys/stat.h>
4072 #ifdef HAVE_UNISTD_H
4073 # include <unistd.h>
4075 #ifdef HAVE_DIRECT_H
4076 # include <direct.h>
4086 rm -f conftest.
$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088 (eval $ac_compile) 2>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } &&
4092 { ac_try
='test -s conftest.$ac_objext'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; }; then
4098 gcc_cv_mkdir_takes_one_arg
=no
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.
$ac_ext >&5
4103 gcc_cv_mkdir_takes_one_arg
=yes
4105 rm -f conftest.
$ac_objext conftest.
$ac_ext
4107 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4108 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4109 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4111 cat >>confdefs.h
<<\_ACEOF
4112 #define MKDIR_TAKES_ONE_ARG 1
4118 echo "$as_me:$LINENO: checking size of char" >&5
4119 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4120 if test "${ac_cv_sizeof_char+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4124 cat >conftest.
$ac_ext <<_ACEOF
4125 #line $LINENO "configure"
4128 cat confdefs.h
>>conftest.
$ac_ext
4129 cat >>conftest.
$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4131 #include "confdefs.h"
4132 #include <sys/types.h>
4138 switch (0) case 0: case (sizeof (char) == $ac_size):;
4143 rm -f conftest.
$ac_objext
4144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4145 (eval $ac_compile) 2>&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } &&
4149 { ac_try
='test -s conftest.$ac_objext'
4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; }; then
4155 ac_cv_sizeof_char
=$ac_size
4157 echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.
$ac_ext >&5
4161 rm -f conftest.
$ac_objext conftest.
$ac_ext
4162 if test x
$ac_cv_sizeof_char != x
; then break; fi
4167 if test x
$ac_cv_sizeof_char = x
; then
4168 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
4169 echo "$as_me: error: cannot determine a size for char" >&2;}
4170 { (exit 1); exit 1; }; }
4172 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4173 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4175 cat >>confdefs.h
<<_ACEOF
4176 #define SIZEOF_CHAR $ac_cv_sizeof_char
4180 echo "$as_me:$LINENO: checking size of short" >&5
4181 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4182 if test "${ac_cv_sizeof_short+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4186 cat >conftest.
$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 #include "confdefs.h"
4194 #include <sys/types.h>
4200 switch (0) case 0: case (sizeof (short) == $ac_size):;
4205 rm -f conftest.
$ac_objext
4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4207 (eval $ac_compile) 2>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try
='test -s conftest.$ac_objext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 ac_cv_sizeof_short
=$ac_size
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4223 rm -f conftest.
$ac_objext conftest.
$ac_ext
4224 if test x
$ac_cv_sizeof_short != x
; then break; fi
4229 if test x
$ac_cv_sizeof_short = x
; then
4230 { { echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
4231 echo "$as_me: error: cannot determine a size for short" >&2;}
4232 { (exit 1); exit 1; }; }
4234 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4235 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4237 cat >>confdefs.h
<<_ACEOF
4238 #define SIZEOF_SHORT $ac_cv_sizeof_short
4242 echo "$as_me:$LINENO: checking size of int" >&5
4243 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4244 if test "${ac_cv_sizeof_int+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4248 cat >conftest.
$ac_ext <<_ACEOF
4249 #line $LINENO "configure"
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 #include "confdefs.h"
4256 #include <sys/types.h>
4262 switch (0) case 0: case (sizeof (int) == $ac_size):;
4267 rm -f conftest.
$ac_objext
4268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4269 (eval $ac_compile) 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } &&
4273 { ac_try
='test -s conftest.$ac_objext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 ac_cv_sizeof_int
=$ac_size
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.
$ac_ext >&5
4285 rm -f conftest.
$ac_objext conftest.
$ac_ext
4286 if test x
$ac_cv_sizeof_int != x
; then break; fi
4291 if test x
$ac_cv_sizeof_int = x
; then
4292 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
4293 echo "$as_me: error: cannot determine a size for int" >&2;}
4294 { (exit 1); exit 1; }; }
4296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4297 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4299 cat >>confdefs.h
<<_ACEOF
4300 #define SIZEOF_INT $ac_cv_sizeof_int
4304 echo "$as_me:$LINENO: checking size of long" >&5
4305 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4306 if test "${ac_cv_sizeof_long+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4310 cat >conftest.
$ac_ext <<_ACEOF
4311 #line $LINENO "configure"
4314 cat confdefs.h
>>conftest.
$ac_ext
4315 cat >>conftest.
$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 #include "confdefs.h"
4318 #include <sys/types.h>
4324 switch (0) case 0: case (sizeof (long) == $ac_size):;
4329 rm -f conftest.
$ac_objext
4330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4331 (eval $ac_compile) 2>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -s conftest.$ac_objext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4341 ac_cv_sizeof_long
=$ac_size
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.
$ac_ext >&5
4347 rm -f conftest.
$ac_objext conftest.
$ac_ext
4348 if test x
$ac_cv_sizeof_long != x
; then break; fi
4353 if test x
$ac_cv_sizeof_long = x
; then
4354 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
4355 echo "$as_me: error: cannot determine a size for long" >&2;}
4356 { (exit 1); exit 1; }; }
4358 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4359 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4361 cat >>confdefs.h
<<_ACEOF
4362 #define SIZEOF_LONG $ac_cv_sizeof_long
4366 echo "$as_me:$LINENO: checking for long long" >&5
4367 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4368 if test "${ac_cv_type_long_long+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 cat >conftest.
$ac_ext <<_ACEOF
4372 #line $LINENO "configure"
4375 cat confdefs.h
>>conftest.
$ac_ext
4376 cat >>conftest.
$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 $ac_includes_default
4382 if ((long long *) 0)
4384 if (sizeof (long long))
4390 rm -f conftest.
$ac_objext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } &&
4396 { ac_try
='test -s conftest.$ac_objext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4402 ac_cv_type_long_long
=yes
4404 echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.
$ac_ext >&5
4407 ac_cv_type_long_long
=no
4409 rm -f conftest.
$ac_objext conftest.
$ac_ext
4411 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4412 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4413 if test $ac_cv_type_long_long = yes; then
4415 cat >>confdefs.h
<<_ACEOF
4416 #define HAVE_LONG_LONG 1
4419 echo "$as_me:$LINENO: checking size of long long" >&5
4420 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4421 if test "${ac_cv_sizeof_long_long+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4425 cat >conftest.
$ac_ext <<_ACEOF
4426 #line $LINENO "configure"
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4432 #include "confdefs.h"
4433 #include <sys/types.h>
4439 switch (0) case 0: case (sizeof (long long) == $ac_size):;
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try
='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 ac_cv_sizeof_long_long
=$ac_size
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.
$ac_ext >&5
4462 rm -f conftest.
$ac_objext conftest.
$ac_ext
4463 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
4468 if test x
$ac_cv_sizeof_long_long = x
; then
4469 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
4470 echo "$as_me: error: cannot determine a size for long long" >&2;}
4471 { (exit 1); exit 1; }; }
4473 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4474 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4476 cat >>confdefs.h
<<_ACEOF
4477 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4484 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4485 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4486 if test "${ac_cv_c_bigendian+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 ac_cv_c_bigendian
=unknown
4490 # See if sys/param.h defines the BYTE_ORDER macro.
4491 cat >conftest.
$ac_ext <<_ACEOF
4492 #line $LINENO "configure"
4495 cat confdefs.h
>>conftest.
$ac_ext
4496 cat >>conftest.
$ac_ext <<_ACEOF
4497 /* end confdefs.h. */
4498 #include <sys/types.h>
4499 #include <sys/param.h>
4504 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4511 rm -f conftest.
$ac_objext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4513 (eval $ac_compile) 2>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } &&
4517 { ac_try
='test -s conftest.$ac_objext'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; }; then
4523 # It does; now see whether it defined to BIG_ENDIAN or not.
4524 cat >conftest.
$ac_ext <<_ACEOF
4525 #line $LINENO "configure"
4528 cat confdefs.h
>>conftest.
$ac_ext
4529 cat >>conftest.
$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4531 #include <sys/types.h>
4532 #include <sys/param.h>
4537 #if BYTE_ORDER != BIG_ENDIAN
4544 rm -f conftest.
$ac_objext
4545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4546 (eval $ac_compile) 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -s conftest.$ac_objext'
4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; }; then
4556 ac_cv_c_bigendian
=yes
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.
$ac_ext >&5
4561 ac_cv_c_bigendian
=no
4563 rm -f conftest.
$ac_objext conftest.
$ac_ext
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4569 rm -f conftest.
$ac_objext conftest.
$ac_ext
4570 if test $ac_cv_c_bigendian = unknown
; then
4571 if test "$cross_compiling" = yes; then
4572 echo $ac_n "cross-compiling... " 2>&6
4574 cat >conftest.
$ac_ext <<_ACEOF
4575 #line $LINENO "configure"
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Are we little or big endian? From Harbison&Steele. */
4586 char c[sizeof (long)];
4589 exit (u.c[sizeof (long) - 1] == 1);
4592 rm -f conftest
$ac_exeext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4594 (eval $ac_link) 2>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_c_bigendian
=no
4605 echo "$as_me: program exited with status $ac_status" >&5
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4610 ac_cv_c_bigendian
=yes
4612 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4616 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4617 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4618 if test $ac_cv_c_bigendian = unknown
; then
4619 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
4620 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
4622 cat >conftest.c
<<EOF
4623 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4624 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4625 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
4626 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4627 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4628 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
4629 int main() { _ascii (); _ebcdic (); return 0; }
4631 if test -f conftest.c
; then
4632 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
4633 if test `grep -l BIGenDianSyS conftest.o` ; then
4634 echo $ac_n ' big endian probe OK, ' 1>&6
4635 ac_cv_c_bigendian
=yes
4637 if test `grep -l LiTTleEnDian conftest.o` ; then
4638 echo $ac_n ' little endian probe OK, ' 1>&6
4639 if test $ac_cv_c_bigendian = yes ; then
4640 ac_cv_c_bigendian
=unknown
;
4642 ac_cv_c_bigendian
=no
4645 echo $ac_n 'guessing bigendian ... ' >&6
4648 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4649 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4651 if test $ac_cv_c_bigendian = yes; then
4653 cat >>confdefs.h
<<\_ACEOF
4654 #define WORDS_BIGENDIAN 1
4658 cat >>confdefs.h
<<\_ACEOF
4659 #define HOST_WORDS_BIG_ENDIAN 1
4667 cat >>confdefs.h
<<_ACEOF
4668 #define BYTEORDER $BYTEORDER
4671 if test $ac_cv_c_bigendian = unknown
; then
4672 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
4673 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
4674 { (exit 1); exit 1; }; }
4679 # Check whether --with-system-zlib or --without-system-zlib was given.
4680 if test "${with_system_zlib+set}" = set; then
4681 withval
="$with_system_zlib"
4689 if test "$with_system_zlib" = yes; then
4690 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4691 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
4692 if test "${ac_cv_lib_z_deflate+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS
=$LIBS
4697 cat >conftest.
$ac_ext <<_ACEOF
4698 #line $LINENO "configure"
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4705 /* Override any gcc2 internal prototype to avoid an error. */
4709 /* We use char because int might match the return type of a gcc2
4710 builtin and then its argument prototype would still apply. */
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4722 (eval $ac_link) 2>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try
='test -s conftest$ac_exeext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4732 ac_cv_lib_z_deflate
=yes
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4737 ac_cv_lib_z_deflate
=no
4739 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4740 LIBS
=$ac_check_lib_save_LIBS
4742 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4743 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
4744 if test $ac_cv_lib_z_deflate = yes; then
4754 if test "$use_zlib" = no
; then
4755 # Brain dead way to find tree's zlib.
4756 ZDEPS
='$(top_builddir)/../zlib/libz.a'
4757 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4758 ZINCS
='-I$(top_srcdir)/../zlib'
4765 # We would like to our source tree to be readonly. However when releases or
4766 # pre-releases are generated, the man pages need to be included as they are
4767 # converted from the texi files via perl which we don't require end users to
4769 # Therefore we have --enable-generated-files-in-srcdir to do just that.
4771 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
4772 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
4773 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
4774 if test "${enable_generated_files_in_srcdir+set}" = set; then
4775 enableval
="$enable_generated_files_in_srcdir"
4776 generated_files_in_srcdir
=$enableval
4778 generated_files_in_srcdir
=no
4781 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
4782 echo "${ECHO_T}$generated_files_in_srcdir" >&6
4785 if test x
$generated_files_in_srcdir = xyes
; then
4794 # Get the version trigger filename from the toplevel
4795 if test "${with_gcc_version_trigger+set}" = set; then
4796 gcc_version_trigger
=$with_gcc_version_trigger
4798 gcc_version_trigger
=${srcdir}/version.c
4800 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
4801 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
4804 ac_config_files
="$ac_config_files Makefile install-defs.sh"
4805 cat >confcache
<<\_ACEOF
4806 # This file is a shell script that caches the results of configure
4807 # tests run on this system so they can be shared between configure
4808 # scripts and configure runs, see configure's option --config-cache.
4809 # It is not useful on other systems. If it contains results you don't
4810 # want to keep, you may remove or edit it.
4812 # config.status only pays attention to the cache file if you give it
4813 # the --recheck option to rerun configure.
4815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4821 # The following way of writing the cache mishandles newlines in values,
4822 # but we know of no workaround that is simple, portable, and efficient.
4823 # So, don't put newlines in cache variables' values.
4824 # Ultrix sh set writes to stderr and can't be redirected directly,
4825 # and sets the high bit in the cache file unless we assign to the vars.
4828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4830 # `set' does not quote correctly, so add quotes (double-quote
4831 # substitution turns \\\\ into \\, and sed turns \\ into \).
4834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4837 # `set' quotes correctly as required by POSIX, so do not add quotes.
4839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4850 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4851 if test -w $cache_file; then
4852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4853 cat confcache
>$cache_file
4855 echo "not updating unwritable cache $cache_file"
4860 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4861 # Let make expand exec_prefix.
4862 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4866 # trailing colons and then remove the whole line if VPATH becomes empty
4867 # (actually we leave an empty line to preserve line numbers).
4868 if test "x$srcdir" = x.
; then
4869 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4870 s/:*\$(srcdir):*/:/;
4871 s/:*\${srcdir}:*/:/;
4873 s/^\([^=]*=[ ]*\):*/\1/;
4879 DEFS
=-DHAVE_CONFIG_H
4883 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4884 # 1. Remove the extension, and $U if already installed.
4885 ac_i
=`echo "$ac_i" |
4886 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4888 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4889 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4893 LTLIBOBJS
=$ac_ltlibobjs
4896 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4897 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4898 Usually this means the macro was only invoked conditionally." >&5
4899 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4900 Usually this means the macro was only invoked conditionally." >&2;}
4901 { (exit 1); exit 1; }; }
4903 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4904 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4905 Usually this means the macro was only invoked conditionally." >&5
4906 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4907 Usually this means the macro was only invoked conditionally." >&2;}
4908 { (exit 1); exit 1; }; }
4910 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4911 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4912 Usually this means the macro was only invoked conditionally." >&5
4913 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4914 Usually this means the macro was only invoked conditionally." >&2;}
4915 { (exit 1); exit 1; }; }
4917 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
4918 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
4919 Usually this means the macro was only invoked conditionally." >&5
4920 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
4921 Usually this means the macro was only invoked conditionally." >&2;}
4922 { (exit 1); exit 1; }; }
4925 : ${CONFIG_STATUS=./config.status}
4926 ac_clean_files_save
=$ac_clean_files
4927 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4928 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4930 cat >$CONFIG_STATUS <<_ACEOF
4932 # Generated by $as_me.
4933 # Run this file to recreate the current configuration.
4934 # Compiler output produced by configure, useful for debugging
4935 # configure, is in config.log if it exists.
4940 SHELL=\${CONFIG_SHELL-$SHELL}
4943 cat >>$CONFIG_STATUS <<\_ACEOF
4944 ## --------------------- ##
4945 ## M4sh Initialization. ##
4946 ## --------------------- ##
4948 # Be Bourne compatible
4949 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4952 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4953 # is contrary to our usage. Disable this feature.
4954 alias -g '${1+"$@"}'='"$@"'
4955 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4959 # Support unset when possible.
4960 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
4967 # Work around bugs in pre-3.0 UWIN ksh.
4968 $as_unset ENV MAIL MAILPATH
4975 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4976 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4977 LC_TELEPHONE LC_TIME
4979 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4980 eval $as_var=C
; export $as_var
4986 # Required to use basename.
4987 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4993 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4994 as_basename
=basename
5000 # Name of the executable.
5001 as_me
=`$as_basename "$0" ||
5002 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5003 X"$0" : 'X\(//\)$' \| \
5004 X"$0" : 'X\(/\)$' \| \
5005 . : '\(.\)' 2>/dev/null ||
5007 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5008 /^X\/\(\/\/\)$/{ s//\1/; q; }
5009 /^X\/\(\/\).*/{ s//\1/; q; }
5013 # PATH needs CR, and LINENO needs CR and PATH.
5014 # Avoid depending upon Character Ranges.
5015 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5016 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5017 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5018 as_cr_digits
='0123456789'
5019 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5021 # The user is always right.
5022 if test "${PATH_SEPARATOR+set}" != set; then
5023 echo "#! /bin/sh" >conf$$.sh
5024 echo "exit 0" >>conf$$.sh
5026 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5037 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5038 test "x$as_lineno_1" != "x$as_lineno_2" &&
5039 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5040 # Find who we are. Look in the path if we contain no path at all
5043 *[\\/]* ) as_myself
=$0 ;;
5044 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5054 # We did not find ourselves, most probably we were run as `sh COMMAND'
5055 # in which case we are not to be found in the path.
5056 if test "x$as_myself" = x
; then
5059 if test ! -f "$as_myself"; then
5060 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5061 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5062 { (exit 1); exit 1; }; }
5064 case $CONFIG_SHELL in
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5070 test -z "$as_dir" && as_dir
=.
5071 for as_base
in sh bash ksh sh5
; do
5074 if ("$as_dir/$as_base" -c '
5077 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5078 test "x$as_lineno_1" != "x$as_lineno_2" &&
5079 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5080 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5081 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5082 CONFIG_SHELL
=$as_dir/$as_base
5084 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5093 # uniformly replaced by the line number. The first 'sed' inserts a
5094 # line-number line before each line; the second 'sed' does the real
5095 # work. The second script uses 'N' to pair each line-number line
5096 # with the numbered line, and appends trailing '-' during
5097 # substitution so that $LINENO is not a special case at line end.
5098 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5099 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5100 sed '=' <$as_myself |
5105 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5108 s,^['$as_cr_digits']*\n,,
5110 chmod +x
$as_me.lineno ||
5111 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5112 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5113 { (exit 1); exit 1; }; }
5115 # Don't try to exec as it changes $[0], causing all sort of problems
5116 # (the dirname of $[0] is not the place where we might find the
5117 # original and so on. Autoconf is especially sensible to this).
5119 # Exit status is that of the last command.
5124 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5125 *c
*,-n*) ECHO_N
= ECHO_C
='
5127 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5128 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5131 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5137 rm -f conf$$ conf$$.exe conf$$.
file
5139 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5140 # We could just check for DJGPP; but this test a) works b) is more generic
5141 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5142 if test -f conf$$.exe
; then
5143 # Don't use ln at all; we don't have any links
5148 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5153 rm -f conf$$ conf$$.exe conf$$.
file
5155 if mkdir
-p .
2>/dev
/null
; then
5161 as_executable_p
="test -f"
5163 # Sed expression to map a string onto a valid CPP name.
5164 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5166 # Sed expression to map a string onto a valid variable name.
5167 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5171 # We need space, tab and new line, in precisely that order.
5181 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5182 # report actual input values of CONFIG_FILES etc. instead of their
5183 # values after options handling. Logging --version etc. is OK.
5187 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5188 ## Running $as_me. ##
5193 This file was extended by $as_me, which was
5194 generated by GNU Autoconf 2.57. Invocation command line was
5196 CONFIG_FILES = $CONFIG_FILES
5197 CONFIG_HEADERS = $CONFIG_HEADERS
5198 CONFIG_LINKS = $CONFIG_LINKS
5199 CONFIG_COMMANDS = $CONFIG_COMMANDS
5203 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5207 # Files that config.status was made for.
5208 if test -n "$ac_config_files"; then
5209 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5212 if test -n "$ac_config_headers"; then
5213 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5216 if test -n "$ac_config_links"; then
5217 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5220 if test -n "$ac_config_commands"; then
5221 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5224 cat >>$CONFIG_STATUS <<\_ACEOF
5227 \`$as_me' instantiates files from templates according to the
5228 current configuration.
5230 Usage: $0 [OPTIONS] [FILE]...
5232 -h, --help print this help, then exit
5233 -V, --version print version number, then exit
5234 -q, --quiet do not print progress messages
5235 -d, --debug don't remove temporary files
5236 --recheck update $as_me by reconfiguring in the same conditions
5237 --file=FILE[:TEMPLATE]
5238 instantiate the configuration file FILE
5239 --header=FILE[:TEMPLATE]
5240 instantiate the configuration header FILE
5242 Configuration files:
5245 Configuration headers:
5248 Configuration commands:
5251 Report bugs to <bug-autoconf@gnu.org>."
5254 cat >>$CONFIG_STATUS <<_ACEOF
5257 configured by $0, generated by GNU Autoconf 2.57,
5258 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5260 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5261 Free Software Foundation, Inc.
5262 This config.status script is free software; the Free Software Foundation
5263 gives unlimited permission to copy, distribute and modify it."
5268 cat >>$CONFIG_STATUS <<\_ACEOF
5269 # If no file are specified by the user, then we need to provide default
5270 # value. By we need to know if files were specified by the user.
5276 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5277 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5285 *) # This is not an option, so the user has probably given explicit
5288 ac_need_defaults
=false
;;
5292 # Handling of the options.
5294 cat >>$CONFIG_STATUS <<\_ACEOF
5295 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5297 --version |
--vers* |
-V )
5298 echo "$ac_cs_version"; exit 0 ;;
5300 # Conflict between --help and --header
5301 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5302 Try \`$0 --help' for more information." >&5
5303 echo "$as_me: error: ambiguous option: $1
5304 Try \`$0 --help' for more information." >&2;}
5305 { (exit 1); exit 1; }; };;
5306 --help |
--hel |
-h )
5307 echo "$ac_cs_usage"; exit 0 ;;
5308 --debug |
--d* |
-d )
5310 --file |
--fil |
--fi |
--f )
5312 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5313 ac_need_defaults
=false
;;
5314 --header |
--heade |
--head |
--hea )
5316 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5317 ac_need_defaults
=false
;;
5318 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5319 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5323 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5324 Try \`$0 --help' for more information." >&5
5325 echo "$as_me: error: unrecognized option: $1
5326 Try \`$0 --help' for more information." >&2;}
5327 { (exit 1); exit 1; }; } ;;
5329 *) ac_config_targets
="$ac_config_targets $1" ;;
5335 ac_configure_extra_args
=
5337 if $ac_cs_silent; then
5339 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5343 cat >>$CONFIG_STATUS <<_ACEOF
5344 if \$ac_cs_recheck; then
5345 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5346 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5351 cat >>$CONFIG_STATUS <<_ACEOF
5353 # INIT-COMMANDS section.
5356 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5362 cat >>$CONFIG_STATUS <<\_ACEOF
5363 for ac_config_target
in $ac_config_targets
5365 case "$ac_config_target" in
5366 # Handling of arguments.
5367 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5368 "install-defs.sh" ) CONFIG_FILES
="$CONFIG_FILES install-defs.sh" ;;
5369 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5370 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5371 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5372 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5373 { (exit 1); exit 1; }; };;
5377 # If the user did not use the arguments to specify the items to instantiate,
5378 # then the envvar interface is used. Set only those that are not.
5379 # We use the long form for the default assignment because of an extremely
5380 # bizarre bug on SunOS 4.1.3.
5381 if $ac_need_defaults; then
5382 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5383 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5384 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5387 # Have a temporary directory for convenience. Make it in the build tree
5388 # simply because there is no reason to put it here, and in addition,
5389 # creating and moving files from /tmp can sometimes cause problems.
5390 # Create a temporary directory, and hook for its removal unless debugging.
5393 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5394 trap '{ (exit 1); exit 1; }' 1 2 13 15
5397 # Create a (secure) tmp directory for tmp files.
5400 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5401 test -n "$tmp" && test -d "$tmp"
5404 tmp
=.
/confstat$$
-$RANDOM
5405 (umask 077 && mkdir
$tmp)
5408 echo "$me: cannot create a temporary directory in ." >&2
5409 { (exit 1); exit 1; }
5414 cat >>$CONFIG_STATUS <<_ACEOF
5417 # CONFIG_FILES section.
5420 # No need to generate the scripts if there are no CONFIG_FILES.
5421 # This happens for instance when ./config.status config.h
5422 if test -n "\$CONFIG_FILES"; then
5423 # Protect against being on the right side of a sed subst in config.status.
5424 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5425 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5426 s,@SHELL@,$SHELL,;t t
5427 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5428 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5429 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5430 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5431 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5432 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5433 s,@exec_prefix@,$exec_prefix,;t t
5434 s,@prefix@,$prefix,;t t
5435 s,@program_transform_name@,$program_transform_name,;t t
5436 s,@bindir@,$bindir,;t t
5437 s,@sbindir@,$sbindir,;t t
5438 s,@libexecdir@,$libexecdir,;t t
5439 s,@datadir@,$datadir,;t t
5440 s,@sysconfdir@,$sysconfdir,;t t
5441 s,@sharedstatedir@,$sharedstatedir,;t t
5442 s,@localstatedir@,$localstatedir,;t t
5443 s,@libdir@,$libdir,;t t
5444 s,@includedir@,$includedir,;t t
5445 s,@oldincludedir@,$oldincludedir,;t t
5446 s,@infodir@,$infodir,;t t
5447 s,@mandir@,$mandir,;t t
5448 s,@build_alias@,$build_alias,;t t
5449 s,@host_alias@,$host_alias,;t t
5450 s,@target_alias@,$target_alias,;t t
5452 s,@ECHO_C@,$ECHO_C,;t t
5453 s,@ECHO_N@,$ECHO_N,;t t
5454 s,@ECHO_T@,$ECHO_T,;t t
5456 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5457 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5458 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5459 s,@CYGPATH_W@,$CYGPATH_W,;t t
5460 s,@PACKAGE@,$PACKAGE,;t t
5461 s,@VERSION@,$VERSION,;t t
5462 s,@ACLOCAL@,$ACLOCAL,;t t
5463 s,@AUTOCONF@,$AUTOCONF,;t t
5464 s,@AUTOMAKE@,$AUTOMAKE,;t t
5465 s,@AUTOHEADER@,$AUTOHEADER,;t t
5466 s,@MAKEINFO@,$MAKEINFO,;t t
5467 s,@AMTAR@,$AMTAR,;t t
5468 s,@install_sh@,$install_sh,;t t
5469 s,@STRIP@,$STRIP,;t t
5470 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5471 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5473 s,@SET_MAKE@,$SET_MAKE,;t t
5474 s,@am__leading_dot@,$am__leading_dot,;t t
5476 s,@CFLAGS@,$CFLAGS,;t t
5477 s,@LDFLAGS@,$LDFLAGS,;t t
5478 s,@CPPFLAGS@,$CPPFLAGS,;t t
5479 s,@ac_ct_CC@,$ac_ct_CC,;t t
5480 s,@EXEEXT@,$EXEEXT,;t t
5481 s,@OBJEXT@,$OBJEXT,;t t
5482 s,@DEPDIR@,$DEPDIR,;t t
5483 s,@am__include@,$am__include,;t t
5484 s,@am__quote@,$am__quote,;t t
5485 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5486 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5487 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5488 s,@CCDEPMODE@,$CCDEPMODE,;t t
5489 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5490 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5493 s,@CHMOD@,$CHMOD,;t t
5494 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5495 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5496 s,@MAINT@,$MAINT,;t t
5497 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
5499 s,@EGREP@,$EGREP,;t t
5500 s,@ZLIBS@,$ZLIBS,;t t
5501 s,@ZDEPS@,$ZDEPS,;t t
5502 s,@ZINCS@,$ZINCS,;t t
5503 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
5504 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
5505 s,@gcc_version@,$gcc_version,;t t
5506 s,@LIBOBJS@,$LIBOBJS,;t t
5507 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5512 cat >>$CONFIG_STATUS <<\_ACEOF
5513 # Split the substitutions into bite-sized pieces for seds with
5514 # small command number limits, like on Digital OSF/1 and HP-UX.
5516 ac_sed_frag
=1 # Number of current file.
5517 ac_beg
=1 # First line for current file.
5518 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5521 while $ac_more_lines; do
5522 if test $ac_beg -gt 1; then
5523 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5525 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5527 if test ! -s $tmp/subs.frag
; then
5530 # The purpose of the label and of the branching condition is to
5531 # speed up the sed processing (if there are no `@' at all, there
5532 # is no need to browse any of the substitutions).
5533 # These are the two extra sed commands mentioned above.
5535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5536 if test -z "$ac_sed_cmds"; then
5537 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5539 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5541 ac_sed_frag
=`expr $ac_sed_frag + 1`
5543 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5546 if test -z "$ac_sed_cmds"; then
5549 fi # test -n "$CONFIG_FILES"
5552 cat >>$CONFIG_STATUS <<\_ACEOF
5553 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5554 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5556 - |
*:- |
*:-:* ) # input from stdin
5558 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5559 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5560 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5561 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5562 * ) ac_file_in
=$ac_file.
in ;;
5565 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5566 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5568 X"$ac_file" : 'X\(//\)[^/]' \| \
5569 X"$ac_file" : 'X\(//\)$' \| \
5570 X"$ac_file" : 'X\(/\)' \| \
5571 . : '\(.\)' 2>/dev/null ||
5573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5575 /^X\(\/\/\)$/{ s//\1/; q; }
5576 /^X\(\/\).*/{ s//\1/; q; }
5578 { if $as_mkdir_p; then
5583 while test ! -d "$as_dir"; do
5584 as_dirs
="$as_dir $as_dirs"
5585 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5587 X"$as_dir" : 'X\(//\)[^/]' \| \
5588 X"$as_dir" : 'X\(//\)$' \| \
5589 X"$as_dir" : 'X\(/\)' \| \
5590 . : '\(.\)' 2>/dev/null ||
5592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5594 /^X\(\/\/\)$/{ s//\1/; q; }
5595 /^X\(\/\).*/{ s//\1/; q; }
5598 test ! -n "$as_dirs" || mkdir
$as_dirs
5599 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5600 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5601 { (exit 1); exit 1; }; }; }
5605 if test "$ac_dir" != .
; then
5606 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5607 # A "../" for each directory in $ac_dir_suffix.
5608 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5610 ac_dir_suffix
= ac_top_builddir
=
5614 .
) # No --srcdir option. We are building in place.
5616 if test -z "$ac_top_builddir"; then
5619 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5621 [\\/]* | ?
:[\\/]* ) # Absolute path.
5622 ac_srcdir
=$srcdir$ac_dir_suffix;
5623 ac_top_srcdir
=$srcdir ;;
5625 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5626 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5628 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5630 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5631 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5632 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5633 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5637 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5638 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5641 if test x
"$ac_file" != x-
; then
5642 { echo "$as_me:$LINENO: creating $ac_file" >&5
5643 echo "$as_me: creating $ac_file" >&6;}
5646 # Let's still pretend it is `configure' which instantiates (i.e., don't
5647 # use $as_me), people would be surprised to read:
5648 # /* config.h. Generated by config.status. */
5649 if test x
"$ac_file" = x-
; then
5652 configure_input
="$ac_file. "
5654 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5655 sed 's,.*/,,'` by configure."
5657 # First look for the input files in the build tree, otherwise in the
5659 ac_file_inputs
=`IFS=:
5660 for f in $ac_file_in; do
5662 -) echo $tmp/stdin ;;
5664 # Absolute (can't be DOS-style, as IFS=:)
5665 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5666 echo "$as_me: error: cannot find input file: $f" >&2;}
5667 { (exit 1); exit 1; }; }
5670 if test -f "$f"; then
5673 elif test -f "$srcdir/$f"; then
5678 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5679 echo "$as_me: error: cannot find input file: $f" >&2;}
5680 { (exit 1); exit 1; }; }
5683 done` ||
{ (exit 1); exit 1; }
5685 cat >>$CONFIG_STATUS <<_ACEOF
5689 cat >>$CONFIG_STATUS <<\_ACEOF
5691 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5692 s
,@configure_input@
,$configure_input,;t t
5693 s
,@srcdir@
,$ac_srcdir,;t t
5694 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5695 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5696 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5697 s
,@builddir@
,$ac_builddir,;t t
5698 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5699 s
,@top_builddir@
,$ac_top_builddir,;t t
5700 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5701 s
,@INSTALL@
,$ac_INSTALL,;t t
5702 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5704 if test x"$ac_file" != x-; then
5705 mv $tmp/out $ac_file
5713 cat >>$CONFIG_STATUS <<\_ACEOF
5716 # CONFIG_HEADER section.
5719 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5720 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5722 # ac_d sets the value in "#define NAME VALUE" lines.
5723 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5724 ac_dB
='[ ].*$,\1#\2'
5727 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5728 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5729 ac_uB
='$,\1#\2define\3'
5733 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5734 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5736 - |
*:- |
*:-:* ) # input from stdin
5738 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5739 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5740 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5742 * ) ac_file_in
=$ac_file.
in ;;
5745 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5746 echo "$as_me: creating $ac_file" >&6;}
5748 # First look for the input files in the build tree, otherwise in the
5750 ac_file_inputs
=`IFS=:
5751 for f in $ac_file_in; do
5753 -) echo $tmp/stdin ;;
5755 # Absolute (can't be DOS-style, as IFS=:)
5756 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5757 echo "$as_me: error: cannot find input file: $f" >&2;}
5758 { (exit 1); exit 1; }; }
5761 if test -f "$f"; then
5764 elif test -f "$srcdir/$f"; then
5769 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5770 echo "$as_me: error: cannot find input file: $f" >&2;}
5771 { (exit 1); exit 1; }; }
5774 done` ||
{ (exit 1); exit 1; }
5775 # Remove the trailing spaces.
5776 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5780 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5781 # `conftest.undefs', that substitutes the proper values into
5782 # config.h.in to produce config.h. The first handles `#define'
5783 # templates, and the second `#undef' templates.
5784 # And first: Protect against being on the right side of a sed subst in
5785 # config.status. Protect against being in an unquoted here document
5787 rm -f conftest.defines conftest.undefs
5788 # Using a here document instead of a string reduces the quoting nightmare.
5789 # Putting comments in sed scripts is not portable.
5791 # `end' is used to avoid that the second main sed command (meant for
5792 # 0-ary CPP macros) applies to n-ary macro definitions.
5793 # See the Autoconf documentation for `clear'.
5794 cat >confdef2sed.
sed <<\_ACEOF
5799 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5801 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5804 # If some macros were called several times there might be several times
5805 # the same #defines, which is useless. Nevertheless, we may not want to
5806 # sort them, since we want the *last* AC-DEFINE to be honored.
5807 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5808 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5809 rm -f confdef2sed.sed
5811 # This sed command replaces #undef with comments. This is necessary, for
5812 # example, in the case of _POSIX_SOURCE, which is predefined and required
5813 # on some systems where configure will not decide to define it.
5814 cat >>conftest.undefs <<\_ACEOF
5815 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5818 # Break up conftest.defines because some shells have a limit on the size
5819 # of here documents, and old seds have small limits too (100 cmds).
5820 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5821 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5822 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5823 echo ' :' >>$CONFIG_STATUS
5825 while grep . conftest.defines >/dev/null
5827 # Write a limited-size here document to $tmp/defines.sed.
5828 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5829 # Speed up: don't consider the non `#define' lines.
5830 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5831 # Work around the forget-to-reset-the-flag bug.
5832 echo 't clr' >>$CONFIG_STATUS
5833 echo ': clr' >>$CONFIG_STATUS
5834 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5836 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5840 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5841 rm -f conftest.defines
5842 mv conftest.
tail conftest.defines
5844 rm -f conftest.defines
5845 echo ' fi # grep' >>$CONFIG_STATUS
5846 echo >>$CONFIG_STATUS
5848 # Break up conftest.undefs because some shells have a limit on the size
5849 # of here documents, and old seds have small limits too (100 cmds).
5850 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5852 while grep . conftest.undefs
>/dev
/null
5854 # Write a limited-size here document to $tmp/undefs.sed.
5855 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5856 # Speed up: don't consider the non
`#undef'
5857 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5858 # Work around the forget-to-reset-the-flag bug.
5859 echo 't clr' >>$CONFIG_STATUS
5860 echo ': clr' >>$CONFIG_STATUS
5861 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5863 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5867 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5868 rm -f conftest.undefs
5869 mv conftest.tail conftest.undefs
5871 rm -f conftest.undefs
5873 cat >>$CONFIG_STATUS <<\_ACEOF
5874 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5875 # use $as_me), people would be surprised to read:
5876 # /* config.h. Generated by config.status. */
5877 if test x
"$ac_file" = x-
; then
5878 echo "/* Generated by configure. */" >$tmp/config.h
5880 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5882 cat $tmp/in >>$tmp/config.h
5884 if test x
"$ac_file" != x-
; then
5885 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5886 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5887 echo "$as_me: $ac_file is unchanged" >&6;}
5889 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5891 X"$ac_file" : 'X\(//\)[^/]' \| \
5892 X"$ac_file" : 'X\(//\)$' \| \
5893 X"$ac_file" : 'X\(/\)' \| \
5894 . : '\(.\)' 2>/dev/null ||
5896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5898 /^X\(\/\/\)$/{ s//\1/; q; }
5899 /^X\(\/\).*/{ s//\1/; q; }
5901 { if $as_mkdir_p; then
5906 while test ! -d "$as_dir"; do
5907 as_dirs
="$as_dir $as_dirs"
5908 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5910 X"$as_dir" : 'X\(//\)[^/]' \| \
5911 X"$as_dir" : 'X\(//\)$' \| \
5912 X"$as_dir" : 'X\(/\)' \| \
5913 . : '\(.\)' 2>/dev/null ||
5915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5917 /^X\(\/\/\)$/{ s//\1/; q; }
5918 /^X\(\/\).*/{ s//\1/; q; }
5921 test ! -n "$as_dirs" || mkdir
$as_dirs
5922 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5923 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5924 { (exit 1); exit 1; }; }; }
5927 mv $tmp/config.h
$ac_file
5933 # Compute $ac_file's index in $config_headers.
5935 for _am_header
in $config_headers :; do
5937 $ac_file |
$ac_file:* )
5940 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5943 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5944 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5945 X$ac_file : 'X\(//\)[^/]' \| \
5946 X$ac_file : 'X\(//\)$' \| \
5947 X$ac_file : 'X\(/\)' \| \
5948 . : '\(.\)' 2>/dev/null ||
5950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5951 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5952 /^X\(\/\/\)$/{ s//\1/; q; }
5953 /^X\(\/\).*/{ s//\1/; q; }
5954 s/.*/./; q'`/stamp-h
$_am_stamp_count
5957 cat >>$CONFIG_STATUS <<\_ACEOF
5960 # CONFIG_COMMANDS section.
5962 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5963 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5964 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5965 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5966 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5967 X"$ac_dest" : 'X\(//\)[^/]' \| \
5968 X"$ac_dest" : 'X\(//\)$' \| \
5969 X"$ac_dest" : 'X\(/\)' \| \
5970 . : '\(.\)' 2>/dev/null ||
5972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5974 /^X\(\/\/\)$/{ s//\1/; q; }
5975 /^X\(\/\).*/{ s//\1/; q; }
5979 if test "$ac_dir" != .
; then
5980 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5981 # A "../" for each directory in $ac_dir_suffix.
5982 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5984 ac_dir_suffix
= ac_top_builddir
=
5988 .
) # No --srcdir option. We are building in place.
5990 if test -z "$ac_top_builddir"; then
5993 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5995 [\\/]* | ?
:[\\/]* ) # Absolute path.
5996 ac_srcdir
=$srcdir$ac_dir_suffix;
5997 ac_top_srcdir
=$srcdir ;;
5999 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6000 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6002 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6004 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6005 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6006 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6007 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6010 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6011 echo "$as_me: executing $ac_dest commands" >&6;}
6013 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6014 # Strip MF so we end up with the name of the file.
6015 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6016 # Check whether this is an Automake generated Makefile or not.
6017 # We used to match only the files named `Makefile.in', but
6018 # some people rename them; so instead we look at the file content.
6019 # Grep'ing the first line is not enough: some people post-process
6020 # each Makefile.in and add a new line on top of each file to say so.
6021 # So let's grep whole file.
6022 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6023 dirpart
=`(dirname "$mf") 2>/dev/null ||
6024 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6025 X"$mf" : 'X\(//\)[^/]' \| \
6026 X"$mf" : 'X\(//\)$' \| \
6027 X"$mf" : 'X\(/\)' \| \
6028 . : '\(.\)' 2>/dev/null ||
6030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6032 /^X\(\/\/\)$/{ s//\1/; q; }
6033 /^X\(\/\).*/{ s//\1/; q; }
6038 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
6039 # Extract the definition of DEP_FILES from the Makefile without
6041 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6042 test -z "$DEPDIR" && continue
6043 # When using ansi2knr, U may be empty or an underscore; expand it
6044 U
=`sed -n -e '/^U = / s///p' < "$mf"`
6045 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
6046 # We invoke sed twice because it is the simplest approach to
6047 # changing $(DEPDIR) to its actual value in the expansion.
6048 for file in `sed -n -e '
6049 /^DEP_FILES = .*\\\\$/ {
6058 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6059 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6060 # Make sure the directory exists.
6061 test -f "$dirpart/$file" && continue
6062 fdir
=`(dirname "$file") 2>/dev/null ||
6063 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6064 X"$file" : 'X\(//\)[^/]' \| \
6065 X"$file" : 'X\(//\)$' \| \
6066 X"$file" : 'X\(/\)' \| \
6067 . : '\(.\)' 2>/dev/null ||
6069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6070 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6071 /^X\(\/\/\)$/{ s//\1/; q; }
6072 /^X\(\/\).*/{ s//\1/; q; }
6074 { if $as_mkdir_p; then
6075 mkdir
-p $dirpart/$fdir
6077 as_dir
=$dirpart/$fdir
6079 while test ! -d "$as_dir"; do
6080 as_dirs
="$as_dir $as_dirs"
6081 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6083 X"$as_dir" : 'X\(//\)[^/]' \| \
6084 X"$as_dir" : 'X\(//\)$' \| \
6085 X"$as_dir" : 'X\(/\)' \| \
6086 . : '\(.\)' 2>/dev/null ||
6088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6090 /^X\(\/\/\)$/{ s//\1/; q; }
6091 /^X\(\/\).*/{ s//\1/; q; }
6094 test ! -n "$as_dirs" || mkdir
$as_dirs
6095 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6096 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6097 { (exit 1); exit 1; }; }; }
6099 # echo "creating $dirpart/$file"
6100 echo '# dummy' > "$dirpart/$file"
6108 cat >>$CONFIG_STATUS <<\_ACEOF
6110 { (exit 0); exit 0; }
6112 chmod +x
$CONFIG_STATUS
6113 ac_clean_files
=$ac_clean_files_save
6116 # configure is writing to config.log, and then calls config.status.
6117 # config.status does its own redirection, appending to config.log.
6118 # Unfortunately, on DOS this fails, as config.log is still kept open
6119 # by configure, so config.status won't be able to write to it; its
6120 # output is simply discarded. So we exec the FD to /dev/null,
6121 # effectively closing config.log, so it can be properly (re)opened and
6122 # appended to by config.status. When coming back to configure, we
6123 # need to make the FD available again.
6124 if test "$no_create" != yes; then
6126 ac_config_status_args
=
6127 test "$silent" = yes &&
6128 ac_config_status_args
="$ac_config_status_args --quiet"
6130 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6132 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6133 # would make configure fail if this is the last instruction.
6134 $ac_cs_success ||
{ (exit 1); exit 1; }