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 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
853 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
854 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
855 --with-system-zlib use installed libz
857 Some influential environment variables
:
858 CC C compiler
command
859 CFLAGS C compiler flags
860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
861 nonstandard directory
<lib dir
>
862 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
863 headers
in a nonstandard directory
<include dir
>
866 Use these variables to override the choices made by
`configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
872 if test "$ac_init_help" = "recursive"; then
873 # If there are subdirs, report their specific --help.
875 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
876 test -d $ac_dir || continue
879 if test "$ac_dir" != .; then
880 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
881 # A "../" for each directory in $ac_dir_suffix.
882 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
884 ac_dir_suffix= ac_top_builddir=
888 .) # No --srcdir option. We are building in place.
890 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
895 [\\/]* | ?:[\\/]* ) # Absolute path.
896 ac_srcdir=$srcdir$ac_dir_suffix;
897 ac_top_srcdir=$srcdir ;;
899 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900 ac_top_srcdir=$ac_top_builddir$srcdir ;;
902 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
904 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
905 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
906 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
907 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
910 # Check for guested configure; otherwise get Cygnus style configure.
911 if test -f $ac_srcdir/configure.gnu; then
913 $SHELL $ac_srcdir/configure.gnu --help=recursive
914 elif test -f $ac_srcdir/configure; then
916 $SHELL $ac_srcdir/configure --help=recursive
917 elif test -f $ac_srcdir/configure.ac ||
918 test -f $ac_srcdir/configure.in; then
922 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928 test -n "$ac_init_help" && exit 0
929 if $ac_init_version; then
932 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
933 Free Software Foundation, Inc.
934 This configure script is free software; the Free Software Foundation
935 gives unlimited permission to copy, distribute and modify it.
941 This file contains any messages produced by compilers while
942 running configure, to aid debugging if configure makes a mistake.
944 It was created by $as_me, which was
945 generated by GNU Autoconf 2.57. Invocation command line was
956 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
957 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
958 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
959 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
960 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
962 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
963 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
965 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
966 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
967 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
968 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
969 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
970 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
971 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
979 test -z "$as_dir" && as_dir=.
995 # Keep a trace of the command line.
996 # Strip out --no-create and --no-recursion so they do not pile up.
997 # Strip out --silent because we don't want to record it for future runs.
998 # Also quote any args containing shell meta-characters.
999 # Make two passes to allow for proper duplicate-argument suppression.
1004 ac_must_keep_next=false
1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1021 if test $ac_must_keep_next = true; then
1022 ac_must_keep_next=false # Got value, back to normal.
1025 *=* | --config-cache | -C | -disable-* | --disable-* \
1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1028 | -with-* | --with-* | -without-* | --without-* | --x)
1029 case "$ac_configure_args0 " in
1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1033 -* ) ac_must_keep_next=true ;;
1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037 # Get rid of the leading space.
1043 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1044 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1046 # When interrupted or exit'd, cleanup temporary files, and complete
1047 # config.log. We remove comments because anyway the quotes in there
1048 # would cause problems or look ugly.
1049 # WARNING: Be sure not to use single quotes in there, as some shells,
1050 # such as our DU 5.0 friend, will then `close
' the trap.
1051 trap 'exit_status
=$?
1052 # Save into config.log some information that might help in debugging.
1057 ## ---------------- ##
1058 ## Cache variables. ##
1059 ## ---------------- ##
1062 # The following way of writing the cache mishandles newlines in values,
1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080 ## ----------------- ##
1081 ## Output variables. ##
1082 ## ----------------- ##
1085 for ac_var
in $ac_subst_vars
1087 eval ac_val
=$
`echo $ac_var`
1088 echo "$ac_var='"'"'$ac_val'"'"'"
1092 if test -n "$ac_subst_files"; then
1099 for ac_var
in $ac_subst_files
1101 eval ac_val
=$
`echo $ac_var`
1102 echo "$ac_var='"'"'$ac_val'"'"'"
1107 if test -s confdefs.h
; then
1114 sed "/^$/d" confdefs.h |
sort
1117 test "$ac_signal" != 0 &&
1118 echo "$as_me: caught signal $ac_signal"
1119 echo "$as_me: exit $exit_status"
1121 rm -f core core.
* *.core
&&
1122 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1125 for ac_signal in 1 2 13 15; do
1126 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1131 rm -rf conftest* confdefs.h
1132 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1135 # Predefined preprocessor variables.
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 # Let the site file select an alternate cache file if it wants to.
1163 # Prefer explicitly selected file to automatically selected ones.
1164 if test -z "$CONFIG_SITE"; then
1165 if test "x$prefix" != xNONE; then
1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171 for ac_site_file in $CONFIG_SITE; do
1172 if test -r "$ac_site_file"; then
1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1174 echo "$as_me: loading site script $ac_site_file" >&6;}
1175 sed 's
/^
/|
/' "$ac_site_file" >&5
1180 if test -r "$cache_file"; then
1181 # Some versions of bash will fail to source /dev/null (special
1182 # files actually), so we avoid doing that.
1183 if test -f "$cache_file"; then
1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1185 echo "$as_me: loading cache $cache_file" >&6;}
1187 [\\/]* | ?:[\\/]* ) . $cache_file;;
1188 *) . ./$cache_file;;
1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1193 echo "$as_me: creating cache $cache_file" >&6;}
1197 # Check that the precious variables saved in the cache have kept the same
1199 ac_cache_corrupted=false
1200 for ac_var in `(set) 2>&1 |
1201 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1203 eval ac_new_set=\$ac_env_${ac_var}_set
1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1205 eval ac_new_val="\$ac_env_${ac_var}_value"
1206 case $ac_old_set,$ac_new_set in
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1210 ac_cache_corrupted=: ;;
1212 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1217 if test "x$ac_old_val" != "x$ac_new_val"; then
1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1219 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1221 echo "$as_me: former value: $ac_old_val" >&2;}
1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1223 echo "$as_me: current value: $ac_new_val" >&2;}
1224 ac_cache_corrupted=:
1227 # Pass precious variables to config.status.
1228 if test "$ac_new_set" = set; then
1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1231 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1232 *) ac_arg=$ac_var=$ac_new_val ;;
1234 case " $ac_configure_args " in
1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1240 if $ac_cache_corrupted; then
1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1242 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1243 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1244 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1245 { (exit 1); exit 1; }; }
1249 ac_cpp='$CPP $CPPFLAGS'
1250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1251 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1272 am__api_version="1.7"
1274 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1275 if test -f $ac_dir/install-sh; then
1277 ac_install_sh="$ac_aux_dir/install-sh -c"
1279 elif test -f $ac_dir/install.sh; then
1281 ac_install_sh="$ac_aux_dir/install.sh -c"
1283 elif test -f $ac_dir/shtool; then
1285 ac_install_sh="$ac_aux_dir/shtool install -c"
1289 if test -z "$ac_aux_dir"; then
1290 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1291 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1292 { (exit 1); exit 1; }; }
1294 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1295 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1296 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1298 # Find a good install program. We prefer a C program (faster),
1299 # so one script is as good as another. But avoid the broken or
1300 # incompatible versions:
1301 # SysV /etc/install, /usr/sbin/install
1302 # SunOS /usr/etc/install
1303 # IRIX /sbin/install
1305 # AmigaOS /C/install, which installs bootblocks on floppy discs
1306 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1309 # ./install, which can be erroneously created by make from ./install.sh.
1310 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1312 if test -z "$INSTALL"; then
1313 if test "${ac_cv_path_install+set}" = set; then
1314 echo $ECHO_N "(cached) $ECHO_C" >&6
1316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1320 test -z "$as_dir" && as_dir
=.
1321 # Account for people who put trailing slashes in PATH elements.
1323 .
/ | .
// |
/cC
/* | \
1324 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1327 # OSF1 and SCO ODT 3.0 have their own names for install.
1328 # Don't use installbsd from OSF since it installs stuff as root
1330 for ac_prog
in ginstall scoinst
install; do
1331 for ac_exec_ext
in '' $ac_executable_extensions; do
1332 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1333 if test $ac_prog = install &&
1334 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1335 # AIX install. It has an incompatible calling convention.
1337 elif test $ac_prog = install &&
1338 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1339 # program-specific install script used by HP pwplus--don't use.
1342 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1354 if test "${ac_cv_path_install+set}" = set; then
1355 INSTALL
=$ac_cv_path_install
1357 # As a last resort, use the slow shell script. We don't cache a
1358 # path for INSTALL within a source directory, because that will
1359 # break other packages using the cache if that directory is
1360 # removed, or if the path is relative.
1361 INSTALL
=$ac_install_sh
1364 echo "$as_me:$LINENO: result: $INSTALL" >&5
1365 echo "${ECHO_T}$INSTALL" >&6
1367 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1368 # It thinks the first close brace ends the variable substitution.
1369 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1371 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1373 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1375 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1376 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1379 echo timestamp
> conftest.
file
1380 # Do `set' in a subshell so we don't clobber the current shell's
1381 # arguments. Must try -L first in case configure is actually a
1382 # symlink; some systems play weird games with the mod time of symlinks
1383 # (eg FreeBSD returns the mod time of the symlink's containing
1386 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1387 if test "$*" = "X"; then
1389 set X
`ls -t $srcdir/configure conftest.file`
1392 if test "$*" != "X $srcdir/configure conftest.file" \
1393 && test "$*" != "X conftest.file $srcdir/configure"; then
1395 # If neither matched, then we have a broken ls. This can happen
1396 # if, for instance, CONFIG_SHELL is bash and it inherits a
1397 # broken ls alias from the environment. This has actually
1398 # happened. Such a system could not be considered "sane".
1399 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1400 alias in your environment" >&5
1401 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1402 alias in your environment" >&2;}
1403 { (exit 1); exit 1; }; }
1406 test "$2" = conftest.
file
1412 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1413 Check your system clock" >&5
1414 echo "$as_me: error: newly created file is older than distributed files!
1415 Check your system clock" >&2;}
1416 { (exit 1); exit 1; }; }
1418 echo "$as_me:$LINENO: result: yes" >&5
1419 echo "${ECHO_T}yes" >&6
1420 test "$program_prefix" != NONE
&&
1421 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1422 # Use a double $ so make ignores it.
1423 test "$program_suffix" != NONE
&&
1424 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1425 # Double any \ or $. echo might interpret backslashes.
1426 # By default was `s,x,x', remove it if useless.
1427 cat <<\_ACEOF
>conftest.
sed
1428 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1430 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1434 # expand $ac_aux_dir to an absolute path
1435 am_aux_dir
=`cd $ac_aux_dir && pwd`
1437 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1438 # Use eval to expand $SHELL
1439 if eval "$MISSING --run true"; then
1440 am_missing_run
="$MISSING --run "
1443 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1444 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1447 for ac_prog
in gawk mawk nawk
awk
1449 # Extract the first word of "$ac_prog", so it can be a program name with args.
1450 set dummy
$ac_prog; ac_word
=$2
1451 echo "$as_me:$LINENO: checking for $ac_word" >&5
1452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 if test "${ac_cv_prog_AWK+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 if test -n "$AWK"; then
1457 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1463 test -z "$as_dir" && as_dir
=.
1464 for ac_exec_ext
in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1466 ac_cv_prog_AWK
="$ac_prog"
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1476 if test -n "$AWK"; then
1477 echo "$as_me:$LINENO: result: $AWK" >&5
1478 echo "${ECHO_T}$AWK" >&6
1480 echo "$as_me:$LINENO: result: no" >&5
1481 echo "${ECHO_T}no" >&6
1484 test -n "$AWK" && break
1487 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1488 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1489 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1490 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1491 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 cat >conftest.
make <<\_ACEOF
1495 @
echo 'ac_maketemp="$(MAKE)"'
1497 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1498 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1499 if test -n "$ac_maketemp"; then
1500 eval ac_cv_prog_make_
${ac_make}_set
=yes
1502 eval ac_cv_prog_make_
${ac_make}_set
=no
1506 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1507 echo "$as_me:$LINENO: result: yes" >&5
1508 echo "${ECHO_T}yes" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1513 SET_MAKE
="MAKE=${MAKE-make}"
1516 rm -rf .tst
2>/dev
/null
1517 mkdir .tst
2>/dev
/null
1518 if test -d .tst
; then
1523 rmdir .tst
2>/dev
/null
1525 # test to see if srcdir already configured
1526 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1527 test -f $srcdir/config.status
; then
1528 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1529 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1530 { (exit 1); exit 1; }; }
1533 # test whether we have cygpath
1534 if test -z "$CYGPATH_W"; then
1535 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1536 CYGPATH_W
='cygpath -w'
1543 # Define the identity of the package.
1548 cat >>confdefs.h
<<_ACEOF
1549 #define PACKAGE "$PACKAGE"
1553 cat >>confdefs.h
<<_ACEOF
1554 #define VERSION "$VERSION"
1557 # Some tools Automake needs.
1559 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1562 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1565 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1568 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1571 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1574 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1576 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1578 # Installed binaries are usually stripped using `strip' when the user
1579 # run `make install-strip'. However `strip' might not be the right
1580 # tool to use in cross-compilation environments, therefore Automake
1581 # will honor the `STRIP' environment variable to overrule this program.
1582 if test "$cross_compiling" != no
; then
1583 if test -n "$ac_tool_prefix"; then
1584 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1585 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588 if test "${ac_cv_prog_STRIP+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 if test -n "$STRIP"; then
1592 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir
=.
1599 for ac_exec_ext
in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1610 STRIP
=$ac_cv_prog_STRIP
1611 if test -n "$STRIP"; then
1612 echo "$as_me:$LINENO: result: $STRIP" >&5
1613 echo "${ECHO_T}$STRIP" >&6
1615 echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1620 if test -z "$ac_cv_prog_STRIP"; then
1622 # Extract the first word of "strip", so it can be a program name with args.
1623 set dummy strip
; ac_word
=$2
1624 echo "$as_me:$LINENO: checking for $ac_word" >&5
1625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1626 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 if test -n "$ac_ct_STRIP"; then
1630 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir
=.
1637 for ac_exec_ext
in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 ac_cv_prog_ac_ct_STRIP
="strip"
1640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1649 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1650 if test -n "$ac_ct_STRIP"; then
1651 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1652 echo "${ECHO_T}$ac_ct_STRIP" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1660 STRIP
="$ac_cv_prog_STRIP"
1664 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1666 # We need awk for the "check" target. The system "awk" is bad on
1671 ac_config_headers
="$ac_config_headers config.h"
1675 ac_cpp
='$CPP $CPPFLAGS'
1676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1681 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_CC+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$CC"; then
1688 ac_cv_prog_CC
="$CC" # Let the user override the test.
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1707 if test -n "$CC"; then
1708 echo "$as_me:$LINENO: result: $CC" >&5
1709 echo "${ECHO_T}$CC" >&6
1711 echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6
1716 if test -z "$ac_cv_prog_CC"; then
1718 # Extract the first word of "gcc", so it can be a program name with args.
1719 set dummy gcc
; ac_word
=$2
1720 echo "$as_me:$LINENO: checking for $ac_word" >&5
1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test -n "$ac_ct_CC"; then
1726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir
=.
1733 for ac_exec_ext
in '' $ac_executable_extensions; do
1734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1735 ac_cv_prog_ac_ct_CC
="gcc"
1736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1745 if test -n "$ac_ct_CC"; then
1746 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1747 echo "${ECHO_T}$ac_ct_CC" >&6
1749 echo "$as_me:$LINENO: result: no" >&5
1750 echo "${ECHO_T}no" >&6
1758 if test -z "$CC"; then
1759 if test -n "$ac_tool_prefix"; then
1760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1761 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_CC+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 if test -n "$CC"; then
1768 ac_cv_prog_CC
="$CC" # Let the user override the test.
1770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir
=.
1775 for ac_exec_ext
in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 if test -n "$CC"; then
1788 echo "$as_me:$LINENO: result: $CC" >&5
1789 echo "${ECHO_T}$CC" >&6
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1796 if test -z "$ac_cv_prog_CC"; then
1798 # Extract the first word of "cc", so it can be a program name with args.
1799 set dummy cc
; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC
="cc"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1839 if test -z "$CC"; then
1840 # Extract the first word of "cc", so it can be a program name with args.
1841 set dummy cc
; ac_word
=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844 if test "${ac_cv_prog_CC+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 if test -n "$CC"; then
1848 ac_cv_prog_CC
="$CC" # Let the user override the test.
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1859 ac_prog_rejected
=yes
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test $ac_prog_rejected = yes; then
1870 # We found a bogon in the path, so make sure we never use it.
1871 set dummy
$ac_cv_prog_CC
1873 if test $# != 0; then
1874 # We chose a different compiler from the bogus one.
1875 # However, it has the same basename, so the bogon will be chosen
1876 # first if we set CC to just the basename; use the full file name.
1878 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1884 if test -n "$CC"; then
1885 echo "$as_me:$LINENO: result: $CC" >&5
1886 echo "${ECHO_T}$CC" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1893 if test -z "$CC"; then
1894 if test -n "$ac_tool_prefix"; then
1897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1898 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1899 echo "$as_me:$LINENO: checking for $ac_word" >&5
1900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901 if test "${ac_cv_prog_CC+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 if test -n "$CC"; then
1905 ac_cv_prog_CC
="$CC" # Let the user override the test.
1907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir
=.
1912 for ac_exec_ext
in '' $ac_executable_extensions; do
1913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 if test -n "$CC"; then
1925 echo "$as_me:$LINENO: result: $CC" >&5
1926 echo "${ECHO_T}$CC" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1932 test -n "$CC" && break
1935 if test -z "$CC"; then
1939 # Extract the first word of "$ac_prog", so it can be a program name with args.
1940 set dummy
$ac_prog; ac_word
=$2
1941 echo "$as_me:$LINENO: checking for $ac_word" >&5
1942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 if test -n "$ac_ct_CC"; then
1947 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1953 test -z "$as_dir" && as_dir
=.
1954 for ac_exec_ext
in '' $ac_executable_extensions; do
1955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1956 ac_cv_prog_ac_ct_CC
="$ac_prog"
1957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1966 if test -n "$ac_ct_CC"; then
1967 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1968 echo "${ECHO_T}$ac_ct_CC" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1974 test -n "$ac_ct_CC" && break
1983 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1984 See \`config.log' for more details." >&5
1985 echo "$as_me: error: no acceptable C compiler found in \$PATH
1986 See \`config.log' for more details." >&2;}
1987 { (exit 1); exit 1; }; }
1989 # Provide some information about the compiler.
1990 echo "$as_me:$LINENO:" \
1991 "checking for C compiler version" >&5
1992 ac_compiler
=`set X $ac_compile; echo $2`
1993 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1994 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }
1998 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1999 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }
2003 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2004 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }
2009 cat >conftest.
$ac_ext <<_ACEOF
2010 #line $LINENO "configure"
2013 cat confdefs.h
>>conftest.
$ac_ext
2014 cat >>conftest.
$ac_ext <<_ACEOF
2015 /* end confdefs.h. */
2025 ac_clean_files_save
=$ac_clean_files
2026 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2027 # Try to create an executable without -o first, disregard a.out.
2028 # It will help us diagnose broken compilers, and finding out an intuition
2030 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2031 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2032 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2033 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2034 (eval $ac_link_default) 2>&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; then
2038 # Find the output, starting from the most likely. This scheme is
2039 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2042 # Be careful to initialize this variable, since it used to be cached.
2043 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2045 # b.out is created by i960 compilers.
2046 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2048 test -f "$ac_file" ||
continue
2050 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2053 # This is the source file.
2056 # We found the default executable, but exeext='' is most
2060 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2061 # FIXME: I believe we export ac_cv_exeext for Libtool,
2062 # but it would be cool to find out if it's true. Does anybody
2063 # maintain Libtool? --akim.
2071 echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2074 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2075 See \`config.log' for more details." >&5
2076 echo "$as_me: error: C compiler cannot create executables
2077 See \`config.log' for more details." >&2;}
2078 { (exit 77); exit 77; }; }
2081 ac_exeext
=$ac_cv_exeext
2082 echo "$as_me:$LINENO: result: $ac_file" >&5
2083 echo "${ECHO_T}$ac_file" >&6
2085 # Check the compiler produces executables we can run. If not, either
2086 # the compiler is broken, or we cross compile.
2087 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2088 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2089 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2090 # If not cross compiling, check that we can run a simple program.
2091 if test "$cross_compiling" != yes; then
2092 if { ac_try
='./$ac_file'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 if test "$cross_compiling" = maybe
; then
2103 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2104 If you meant to cross compile, use \`--host'.
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: cannot run C compiled programs.
2107 If you meant to cross compile, use \`--host'.
2108 See \`config.log' for more details." >&2;}
2109 { (exit 1); exit 1; }; }
2113 echo "$as_me:$LINENO: result: yes" >&5
2114 echo "${ECHO_T}yes" >&6
2116 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2117 ac_clean_files
=$ac_clean_files_save
2118 # Check the compiler produces executables we can run. If not, either
2119 # the compiler is broken, or we cross compile.
2120 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2121 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2122 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2123 echo "${ECHO_T}$cross_compiling" >&6
2125 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2126 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2128 (eval $ac_link) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; then
2132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2134 # work properly (i.e., refer to `conftest.exe'), while it won't with
2136 for ac_file
in conftest.exe conftest conftest.
*; do
2137 test -f "$ac_file" ||
continue
2139 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2140 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2148 See \`config.log' for more details." >&5
2149 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2150 See \`config.log' for more details." >&2;}
2151 { (exit 1); exit 1; }; }
2154 rm -f conftest
$ac_cv_exeext
2155 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2156 echo "${ECHO_T}$ac_cv_exeext" >&6
2158 rm -f conftest.
$ac_ext
2159 EXEEXT
=$ac_cv_exeext
2161 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2162 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2163 if test "${ac_cv_objext+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 cat >conftest.
$ac_ext <<_ACEOF
2167 #line $LINENO "configure"
2170 cat confdefs.h
>>conftest.
$ac_ext
2171 cat >>conftest.
$ac_ext <<_ACEOF
2172 /* end confdefs.h. */
2182 rm -f conftest.o conftest.obj
2183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2184 (eval $ac_compile) 2>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; then
2188 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2190 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2191 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2196 echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.
$ac_ext >&5
2199 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2200 See \`config.log' for more details." >&5
2201 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2202 See \`config.log' for more details." >&2;}
2203 { (exit 1); exit 1; }; }
2206 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2208 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2209 echo "${ECHO_T}$ac_cv_objext" >&6
2210 OBJEXT
=$ac_cv_objext
2212 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2213 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2214 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 cat >conftest.
$ac_ext <<_ACEOF
2218 #line $LINENO "configure"
2221 cat confdefs.h
>>conftest.
$ac_ext
2222 cat >>conftest.
$ac_ext <<_ACEOF
2223 /* end confdefs.h. */
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.
$ac_ext >&5
2255 rm -f conftest.
$ac_objext conftest.
$ac_ext
2256 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2259 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2260 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2261 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2262 ac_test_CFLAGS
=${CFLAGS+set}
2263 ac_save_CFLAGS
=$CFLAGS
2265 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2266 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2267 if test "${ac_cv_prog_cc_g+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 cat >conftest.
$ac_ext <<_ACEOF
2271 #line $LINENO "configure"
2274 cat confdefs.h
>>conftest.
$ac_ext
2275 cat >>conftest.
$ac_ext <<_ACEOF
2276 /* end confdefs.h. */
2286 rm -f conftest.
$ac_objext
2287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try
='test -s conftest.$ac_objext'
2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; }; then
2300 echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.
$ac_ext >&5
2305 rm -f conftest.
$ac_objext conftest.
$ac_ext
2307 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2308 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2309 if test "$ac_test_CFLAGS" = set; then
2310 CFLAGS
=$ac_save_CFLAGS
2311 elif test $ac_cv_prog_cc_g = yes; then
2312 if test "$GCC" = yes; then
2318 if test "$GCC" = yes; then
2324 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2325 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2326 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 ac_cv_prog_cc_stdc
=no
2331 cat >conftest.
$ac_ext <<_ACEOF
2332 #line $LINENO "configure"
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2340 #include <sys/types.h>
2341 #include <sys/stat.h>
2342 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2343 struct buf { int x; };
2344 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2345 static char *e (p, i)
2351 static char *f (char * (*g) (char **, int), char **p, ...)
2356 s = g (p, va_arg (v,int));
2360 int test (int i, double x);
2361 struct s1 {int (*f) (int a);};
2362 struct s2 {int (*f) (double a);};
2363 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2369 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2374 # Don't try gcc -ansi; that turns off useful extensions and
2375 # breaks some systems' header files.
2376 # AIX -qlanglvl=ansi
2377 # Ultrix and OSF/1 -std1
2378 # HP-UX 10.20 and later -Ae
2379 # HP-UX older versions -Aa -D_HPUX_SOURCE
2380 # SVR4 -Xc -D__EXTENSIONS__
2381 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2383 CC
="$ac_save_CC $ac_arg"
2384 rm -f conftest.
$ac_objext
2385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386 (eval $ac_compile) 2>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); } &&
2390 { ac_try
='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2396 ac_cv_prog_cc_stdc
=$ac_arg
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.
$ac_objext
2405 rm -f conftest.
$ac_ext conftest.
$ac_objext
2410 case "x$ac_cv_prog_cc_stdc" in
2412 echo "$as_me:$LINENO: result: none needed" >&5
2413 echo "${ECHO_T}none needed" >&6 ;;
2415 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2416 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2417 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2420 # Some people use a C++ compiler to compile C. Since we use `exit',
2421 # in C++ we need to declare it. In case someone uses the same compiler
2422 # for both compiling C and C++ we need to have the C++ compiler decide
2423 # the declaration of exit, since it's the most demanding environment.
2424 cat >conftest.
$ac_ext <<_ACEOF
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } &&
2435 { ac_try
='test -s conftest.$ac_objext'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; }; then
2441 for ac_declaration
in \
2443 '#include <stdlib.h>' \
2444 'extern "C" void std::exit (int) throw (); using std::exit;' \
2445 'extern "C" void std::exit (int); using std::exit;' \
2446 'extern "C" void exit (int) throw ();' \
2447 'extern "C" void exit (int);' \
2450 cat >conftest.
$ac_ext <<_ACEOF
2451 #line $LINENO "configure"
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2467 rm -f conftest.
$ac_objext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469 (eval $ac_compile) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } &&
2473 { ac_try
='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2486 rm -f conftest.
$ac_objext conftest.
$ac_ext
2487 cat >conftest.
$ac_ext <<_ACEOF
2488 #line $LINENO "configure"
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2503 rm -f conftest.
$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try
='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.
$ac_ext >&5
2521 rm -f conftest.
$ac_objext conftest.
$ac_ext
2524 if test -n "$ac_declaration"; then
2525 echo '#ifdef __cplusplus' >>confdefs.h
2526 echo $ac_declaration >>confdefs.h
2527 echo '#endif' >>confdefs.h
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2535 rm -f conftest.
$ac_objext conftest.
$ac_ext
2537 ac_cpp
='$CPP $CPPFLAGS'
2538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2541 DEPDIR
="${am__leading_dot}deps"
2543 ac_config_commands
="$ac_config_commands depfiles"
2546 am_make
=${MAKE-make}
2547 cat > confinc
<< 'END'
2552 # If we don't find an include directive, just comment out the code.
2553 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2554 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2558 # First try GNU make style include.
2559 echo "include confinc" > confmf
2560 # We grep out `Entering directory' and `Leaving directory'
2561 # messages which can occur if `w' ends up in MAKEFLAGS.
2562 # In particular we don't look at `^make:' because GNU make might
2563 # be invoked under some other name (usually "gmake"), in which
2564 # case it prints its new name instead of `make'.
2565 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2570 # Now try BSD make style include.
2571 if test "$am__include" = "#"; then
2572 echo '.include "confinc"' > confmf
2573 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2574 am__include
=.include
2581 echo "$as_me:$LINENO: result: $_am_result" >&5
2582 echo "${ECHO_T}$_am_result" >&6
2583 rm -f confinc confmf
2585 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2586 if test "${enable_dependency_tracking+set}" = set; then
2587 enableval
="$enable_dependency_tracking"
2590 if test "x$enable_dependency_tracking" != xno
; then
2591 am_depcomp
="$ac_aux_dir/depcomp"
2596 if test "x$enable_dependency_tracking" != xno; then
2607 depcc
="$CC" am_compiler_list
=
2609 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2610 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2611 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2615 # We make a subdir and do the tests there. Otherwise we can end up
2616 # making bogus files that we don't know about and never remove. For
2617 # instance it was reported that on HP-UX the gcc test will end up
2618 # making a dummy file named `D' -- because `-MD' means `put the output
2621 # Copy depcomp to subdir because otherwise we won't find it if we're
2622 # using a relative directory.
2623 cp "$am_depcomp" conftest.dir
2625 # We will build objects and dependencies in a subdirectory because
2626 # it helps to detect inapplicable dependency modes. For instance
2627 # both Tru64's cc and ICC support -MD to output dependencies as a
2628 # side effect of compilation, but ICC will put the dependencies in
2629 # the current directory while Tru64 will put them in the object
2633 am_cv_CC_dependencies_compiler_type
=none
2634 if test "$am_compiler_list" = ""; then
2635 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2637 for depmode
in $am_compiler_list; do
2638 # Setup a source with many dependencies, because some compilers
2639 # like to wrap large dependency lists on column 80 (with \), and
2640 # we should not choose a depcomp mode which is confused by this.
2642 # We need to recreate these files for each test, as the compiler may
2643 # overwrite some of them when testing with obscure command lines.
2644 # This happens at least with the AIX C compiler.
2646 for i
in 1 2 3 4 5 6; do
2647 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2650 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2654 # after this tag, mechanisms are not by side-effect, so they'll
2655 # only be used when explicitly requested
2656 if test "x$enable_dependency_tracking" = xyes
; then
2664 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2665 # mode. It turns out that the SunPro C++ compiler does not properly
2666 # handle `-M -o', and we need to detect this.
2667 if depmode
=$depmode \
2668 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2669 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2670 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2671 >/dev
/null
2>conftest.err
&&
2672 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2673 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2674 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2675 # icc doesn't choke on unknown options, it will just issue warnings
2676 # (even with -Werror). So we grep stderr for any message
2677 # that says an option was ignored.
2678 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2679 am_cv_CC_dependencies_compiler_type
=$depmode
2688 am_cv_CC_dependencies_compiler_type
=none
2692 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2693 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2694 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2699 test "x$enable_dependency_tracking" != xno \
2700 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2702 am__fastdepCC_FALSE
='#'
2704 am__fastdepCC_TRUE
='#'
2705 am__fastdepCC_FALSE
=
2709 # Find a good install program. We prefer a C program (faster),
2710 # so one script is as good as another. But avoid the broken or
2711 # incompatible versions:
2712 # SysV /etc/install, /usr/sbin/install
2713 # SunOS /usr/etc/install
2714 # IRIX /sbin/install
2716 # AmigaOS /C/install, which installs bootblocks on floppy discs
2717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2720 # ./install, which can be erroneously created by make from ./install.sh.
2721 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2722 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2723 if test -z "$INSTALL"; then
2724 if test "${ac_cv_path_install+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 # Account for people who put trailing slashes in PATH elements.
2734 .
/ | .
// |
/cC
/* | \
2735 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2738 # OSF1 and SCO ODT 3.0 have their own names for install.
2739 # Don't use installbsd from OSF since it installs stuff as root
2741 for ac_prog
in ginstall scoinst
install; do
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2744 if test $ac_prog = install &&
2745 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2746 # AIX install. It has an incompatible calling convention.
2748 elif test $ac_prog = install &&
2749 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2750 # program-specific install script used by HP pwplus--don't use.
2753 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2765 if test "${ac_cv_path_install+set}" = set; then
2766 INSTALL
=$ac_cv_path_install
2768 # As a last resort, use the slow shell script. We don't cache a
2769 # path for INSTALL within a source directory, because that will
2770 # break other packages using the cache if that directory is
2771 # removed, or if the path is relative.
2772 INSTALL
=$ac_install_sh
2775 echo "$as_me:$LINENO: result: $INSTALL" >&5
2776 echo "${ECHO_T}$INSTALL" >&6
2778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2779 # It thinks the first close brace ends the variable substitution.
2780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2784 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2786 # Extract the first word of "rm", so it can be a program name with args.
2787 set dummy
rm; ac_word
=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_path_RM+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2800 for as_dir
in $as_dummy
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2806 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
2819 if test -n "$RM"; then
2820 echo "$as_me:$LINENO: result: $RM" >&5
2821 echo "${ECHO_T}$RM" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2827 # Extract the first word of "cp", so it can be a program name with args.
2828 set dummy
cp; ac_word
=$2
2829 echo "$as_me:$LINENO: checking for $ac_word" >&5
2830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2831 if test "${ac_cv_path_CP+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2841 for as_dir
in $as_dummy
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
2860 if test -n "$CP"; then
2861 echo "$as_me:$LINENO: result: $CP" >&5
2862 echo "${ECHO_T}$CP" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2868 # Extract the first word of "strip", so it can be a program name with args.
2869 set dummy strip
; ac_word
=$2
2870 echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872 if test "${ac_cv_path_STRIP+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2882 for as_dir
in $as_dummy
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
2899 STRIP
=$ac_cv_path_STRIP
2901 if test -n "$STRIP"; then
2902 echo "$as_me:$LINENO: result: $STRIP" >&5
2903 echo "${ECHO_T}$STRIP" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2909 # Extract the first word of "chmod", so it can be a program name with args.
2910 set dummy
chmod; ac_word
=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${ac_cv_path_CHMOD+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 as_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
2923 for as_dir
in $as_dummy
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
2940 CHMOD
=$ac_cv_path_CHMOD
2942 if test -n "$CHMOD"; then
2943 echo "$as_me:$LINENO: result: $CHMOD" >&5
2944 echo "${ECHO_T}$CHMOD" >&6
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2952 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2953 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2954 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2955 if test "${enable_maintainer_mode+set}" = set; then
2956 enableval
="$enable_maintainer_mode"
2957 USE_MAINTAINER_MODE
=$enableval
2959 USE_MAINTAINER_MODE
=no
2961 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2962 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2965 if test $USE_MAINTAINER_MODE = yes; then
2966 MAINTAINER_MODE_TRUE
=
2967 MAINTAINER_MODE_FALSE
='#'
2969 MAINTAINER_MODE_TRUE
='#'
2970 MAINTAINER_MODE_FALSE
=
2973 MAINT
=$MAINTAINER_MODE_TRUE
2977 if test "$GCC" = yes; then
2978 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
2989 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
2990 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2991 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
2992 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
2993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 cat >conftest.
$ac_ext <<_ACEOF
2997 #line $LINENO "configure"
3000 cat confdefs.h
>>conftest.
$ac_ext
3001 cat >>conftest.
$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3003 #include <sys/types.h>
3015 rm -f conftest.
$ac_objext
3016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017 (eval $ac_compile) 2>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try
='test -s conftest.$ac_objext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3027 eval "$as_ac_Header=yes"
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.
$ac_ext >&5
3032 eval "$as_ac_Header=no"
3034 rm -f conftest.
$ac_objext conftest.
$ac_ext
3036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3039 cat >>confdefs.h
<<_ACEOF
3040 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3043 ac_header_dirent
=$ac_hdr; break
3047 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3048 if test $ac_header_dirent = dirent.h
; then
3049 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3050 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3051 if test "${ac_cv_search_opendir+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 ac_func_search_save_LIBS
=$LIBS
3055 ac_cv_search_opendir
=no
3056 cat >conftest.
$ac_ext <<_ACEOF
3057 #line $LINENO "configure"
3060 cat confdefs.h
>>conftest.
$ac_ext
3061 cat >>conftest.
$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3064 /* Override any gcc2 internal prototype to avoid an error. */
3068 /* We use char because int might match the return type of a gcc2
3069 builtin and then its argument prototype would still apply. */
3079 rm -f conftest.
$ac_objext conftest
$ac_exeext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3081 (eval $ac_link) 2>&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } &&
3085 { ac_try
='test -s conftest$ac_exeext'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; }; then
3091 ac_cv_search_opendir
="none required"
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3097 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3098 if test "$ac_cv_search_opendir" = no
; then
3099 for ac_lib
in dir
; do
3100 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3101 cat >conftest.
$ac_ext <<_ACEOF
3102 #line $LINENO "configure"
3105 cat confdefs.h
>>conftest.
$ac_ext
3106 cat >>conftest.
$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3109 /* Override any gcc2 internal prototype to avoid an error. */
3113 /* We use char because int might match the return type of a gcc2
3114 builtin and then its argument prototype would still apply. */
3124 rm -f conftest.
$ac_objext conftest
$ac_exeext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3126 (eval $ac_link) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try
='test -s conftest$ac_exeext'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3136 ac_cv_search_opendir
="-l$ac_lib"
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.
$ac_ext >&5
3143 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3146 LIBS
=$ac_func_search_save_LIBS
3148 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3149 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3150 if test "$ac_cv_search_opendir" != no
; then
3151 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3156 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3157 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3158 if test "${ac_cv_search_opendir+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 ac_func_search_save_LIBS
=$LIBS
3162 ac_cv_search_opendir
=no
3163 cat >conftest.
$ac_ext <<_ACEOF
3164 #line $LINENO "configure"
3167 cat confdefs.h
>>conftest.
$ac_ext
3168 cat >>conftest.
$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3171 /* Override any gcc2 internal prototype to avoid an error. */
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3186 rm -f conftest.
$ac_objext conftest
$ac_exeext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188 (eval $ac_link) 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try
='test -s conftest$ac_exeext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3198 ac_cv_search_opendir
="none required"
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.
$ac_ext >&5
3204 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3205 if test "$ac_cv_search_opendir" = no
; then
3207 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3208 cat >conftest.
$ac_ext <<_ACEOF
3209 #line $LINENO "configure"
3212 cat confdefs.h
>>conftest.
$ac_ext
3213 cat >>conftest.
$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3216 /* Override any gcc2 internal prototype to avoid an error. */
3220 /* We use char because int might match the return type of a gcc2
3221 builtin and then its argument prototype would still apply. */
3231 rm -f conftest.
$ac_objext conftest
$ac_exeext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3233 (eval $ac_link) 2>&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } &&
3237 { ac_try
='test -s conftest$ac_exeext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 ac_cv_search_opendir
="-l$ac_lib"
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.
$ac_ext >&5
3250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3253 LIBS
=$ac_func_search_save_LIBS
3255 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3256 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3257 if test "$ac_cv_search_opendir" != no
; then
3258 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3265 ac_cpp
='$CPP $CPPFLAGS'
3266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3269 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3270 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3271 # On Suns, sometimes $CPP names a directory.
3272 if test -n "$CPP" && test -d "$CPP"; then
3275 if test -z "$CPP"; then
3276 if test "${ac_cv_prog_CPP+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 # Double quotes because CPP needs to be expanded
3280 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3283 for ac_c_preproc_warn_flag
in '' yes
3285 # Use a header file that comes with gcc, so configuring glibc
3286 # with a fresh cross-compiler works.
3287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3288 # <limits.h> exists even on freestanding compilers.
3289 # On the NeXT, cc -E runs the code through the compiler's parser,
3290 # not just through cpp. "Syntax error" is here to catch this case.
3291 cat >conftest.
$ac_ext <<_ACEOF
3292 #line $LINENO "configure"
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3299 # include <limits.h>
3301 # include <assert.h>
3305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3308 grep -v '^ *+' conftest.er1
>conftest.err
3310 cat conftest.err
>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } >/dev
/null
; then
3313 if test -s conftest.err
; then
3314 ac_cpp_err
=$ac_c_preproc_warn_flag
3321 if test -z "$ac_cpp_err"; then
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 # Broken: fails on valid input.
3330 rm -f conftest.err conftest.
$ac_ext
3332 # OK, works on sane cases. Now check whether non-existent headers
3333 # can be detected and how.
3334 cat >conftest.
$ac_ext <<_ACEOF
3335 #line $LINENO "configure"
3338 cat confdefs.h
>>conftest.
$ac_ext
3339 cat >>conftest.
$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3341 #include <ac_nonexistent.h>
3343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3346 grep -v '^ *+' conftest.er1
>conftest.err
3348 cat conftest.err
>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } >/dev
/null
; then
3351 if test -s conftest.err
; then
3352 ac_cpp_err
=$ac_c_preproc_warn_flag
3359 if test -z "$ac_cpp_err"; then
3360 # Broken: success on invalid input.
3363 echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.
$ac_ext >&5
3366 # Passes both tests.
3370 rm -f conftest.err conftest.
$ac_ext
3373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3374 rm -f conftest.err conftest.
$ac_ext
3375 if $ac_preproc_ok; then
3387 echo "$as_me:$LINENO: result: $CPP" >&5
3388 echo "${ECHO_T}$CPP" >&6
3390 for ac_c_preproc_warn_flag
in '' yes
3392 # Use a header file that comes with gcc, so configuring glibc
3393 # with a fresh cross-compiler works.
3394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395 # <limits.h> exists even on freestanding compilers.
3396 # On the NeXT, cc -E runs the code through the compiler's parser,
3397 # not just through cpp. "Syntax error" is here to catch this case.
3398 cat >conftest.
$ac_ext <<_ACEOF
3399 #line $LINENO "configure"
3402 cat confdefs.h
>>conftest.
$ac_ext
3403 cat >>conftest.
$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3406 # include <limits.h>
3408 # include <assert.h>
3412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3415 grep -v '^ *+' conftest.er1
>conftest.err
3417 cat conftest.err
>&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } >/dev
/null
; then
3420 if test -s conftest.err
; then
3421 ac_cpp_err
=$ac_c_preproc_warn_flag
3428 if test -z "$ac_cpp_err"; then
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3434 # Broken: fails on valid input.
3437 rm -f conftest.err conftest.
$ac_ext
3439 # OK, works on sane cases. Now check whether non-existent headers
3440 # can be detected and how.
3441 cat >conftest.
$ac_ext <<_ACEOF
3442 #line $LINENO "configure"
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 #include <ac_nonexistent.h>
3450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3453 grep -v '^ *+' conftest.er1
>conftest.err
3455 cat conftest.err
>&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); } >/dev
/null
; then
3458 if test -s conftest.err
; then
3459 ac_cpp_err
=$ac_c_preproc_warn_flag
3466 if test -z "$ac_cpp_err"; then
3467 # Broken: success on invalid input.
3470 echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.
$ac_ext >&5
3473 # Passes both tests.
3477 rm -f conftest.err conftest.
$ac_ext
3480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3481 rm -f conftest.err conftest.
$ac_ext
3482 if $ac_preproc_ok; then
3485 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3486 See \`config.log' for more details." >&5
3487 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3488 See \`config.log' for more details." >&2;}
3489 { (exit 1); exit 1; }; }
3493 ac_cpp
='$CPP $CPPFLAGS'
3494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3499 echo "$as_me:$LINENO: checking for egrep" >&5
3500 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3501 if test "${ac_cv_prog_egrep+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3505 then ac_cv_prog_egrep
='grep -E'
3506 else ac_cv_prog_egrep
='egrep'
3509 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3510 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3511 EGREP
=$ac_cv_prog_egrep
3514 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3515 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3516 if test "${ac_cv_header_stdc+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 cat >conftest.
$ac_ext <<_ACEOF
3520 #line $LINENO "configure"
3523 cat confdefs.h
>>conftest.
$ac_ext
3524 cat >>conftest.
$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3539 rm -f conftest.
$ac_objext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3541 (eval $ac_compile) 2>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } &&
3545 { ac_try
='test -s conftest.$ac_objext'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; }; then
3551 ac_cv_header_stdc
=yes
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.
$ac_ext >&5
3556 ac_cv_header_stdc
=no
3558 rm -f conftest.
$ac_objext conftest.
$ac_ext
3560 if test $ac_cv_header_stdc = yes; then
3561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3562 cat >conftest.
$ac_ext <<_ACEOF
3563 #line $LINENO "configure"
3566 cat confdefs.h
>>conftest.
$ac_ext
3567 cat >>conftest.
$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3573 $EGREP "memchr" >/dev
/null
2>&1; then
3576 ac_cv_header_stdc
=no
3582 if test $ac_cv_header_stdc = yes; then
3583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3584 cat >conftest.
$ac_ext <<_ACEOF
3585 #line $LINENO "configure"
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3595 $EGREP "free" >/dev
/null
2>&1; then
3598 ac_cv_header_stdc
=no
3604 if test $ac_cv_header_stdc = yes; then
3605 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3606 if test "$cross_compiling" = yes; then
3609 cat >conftest.
$ac_ext <<_ACEOF
3610 #line $LINENO "configure"
3613 cat confdefs.h
>>conftest.
$ac_ext
3614 cat >>conftest.
$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3617 #if ((' ' & 0x0FF) == 0x020)
3618 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3619 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3621 # define ISLOWER(c) \
3622 (('a' <= (c) && (c) <= 'i') \
3623 || ('j' <= (c) && (c) <= 'r') \
3624 || ('s' <= (c) && (c) <= 'z'))
3625 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3628 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3633 for (i = 0; i < 256; i++)
3634 if (XOR (islower (i), ISLOWER (i))
3635 || toupper (i) != TOUPPER (i))
3640 rm -f conftest
$ac_exeext
3641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3642 (eval $ac_link) 2>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3653 echo "$as_me: program exited with status $ac_status" >&5
3654 echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.
$ac_ext >&5
3658 ac_cv_header_stdc
=no
3660 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3664 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3665 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3666 if test $ac_cv_header_stdc = yes; then
3668 cat >>confdefs.h
<<\_ACEOF
3669 #define STDC_HEADERS 1
3674 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3675 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3676 if test "${ac_cv_struct_tm+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 cat >conftest.
$ac_ext <<_ACEOF
3680 #line $LINENO "configure"
3683 cat confdefs.h
>>conftest.
$ac_ext
3684 cat >>conftest.
$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3686 #include <sys/types.h>
3692 struct tm *tp; tp->tm_sec;
3697 rm -f conftest.
$ac_objext
3698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3699 (eval $ac_compile) 2>&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } &&
3703 { ac_try
='test -s conftest.$ac_objext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 ac_cv_struct_tm
=time.h
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 ac_cv_struct_tm
=sys
/time.h
3716 rm -f conftest.
$ac_objext conftest.
$ac_ext
3718 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3719 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3720 if test $ac_cv_struct_tm = sys
/time.h
; then
3722 cat >>confdefs.h
<<\_ACEOF
3723 #define TM_IN_SYS_TIME 1
3728 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3738 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3739 inttypes.h stdint.h unistd.h
3741 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3742 echo "$as_me:$LINENO: checking for $ac_header" >&5
3743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 cat >conftest.
$ac_ext <<_ACEOF
3748 #line $LINENO "configure"
3751 cat confdefs.h
>>conftest.
$ac_ext
3752 cat >>conftest.
$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 $ac_includes_default
3756 #include <$ac_header>
3758 rm -f conftest.
$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } &&
3764 { ac_try
='test -s conftest.$ac_objext'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then
3770 eval "$as_ac_Header=yes"
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.
$ac_ext >&5
3775 eval "$as_ac_Header=no"
3777 rm -f conftest.
$ac_objext conftest.
$ac_ext
3779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3782 cat >>confdefs.h
<<_ACEOF
3783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3796 for ac_header
in fcntl.h unistd.h sys
/param.h stdlib.h limits.h
3798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3800 echo "$as_me:$LINENO: checking for $ac_header" >&5
3801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3808 # Is the header compilable?
3809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3811 cat >conftest.
$ac_ext <<_ACEOF
3812 #line $LINENO "configure"
3815 cat confdefs.h
>>conftest.
$ac_ext
3816 cat >>conftest.
$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3818 $ac_includes_default
3819 #include <$ac_header>
3821 rm -f conftest.
$ac_objext
3822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3823 (eval $ac_compile) 2>&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); } &&
3827 { ac_try
='test -s conftest.$ac_objext'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; }; then
3833 ac_header_compiler
=yes
3835 echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.
$ac_ext >&5
3838 ac_header_compiler
=no
3840 rm -f conftest.
$ac_objext conftest.
$ac_ext
3841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3842 echo "${ECHO_T}$ac_header_compiler" >&6
3844 # Is the header present?
3845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3847 cat >conftest.
$ac_ext <<_ACEOF
3848 #line $LINENO "configure"
3851 cat confdefs.h
>>conftest.
$ac_ext
3852 cat >>conftest.
$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #include <$ac_header>
3856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } >/dev
/null
; then
3864 if test -s conftest.err
; then
3865 ac_cpp_err
=$ac_c_preproc_warn_flag
3872 if test -z "$ac_cpp_err"; then
3873 ac_header_preproc
=yes
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.
$ac_ext >&5
3878 ac_header_preproc
=no
3880 rm -f conftest.err conftest.
$ac_ext
3881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3882 echo "${ECHO_T}$ac_header_preproc" >&6
3884 # So? What about this header?
3885 case $ac_header_compiler:$ac_header_preproc in
3887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3893 ## ------------------------------------ ##
3894 ## Report this to bug-autoconf@gnu.org. ##
3895 ## ------------------------------------ ##
3898 sed "s/^/$as_me: WARNING: /" >&2
3901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3909 ## ------------------------------------ ##
3910 ## Report this to bug-autoconf@gnu.org. ##
3911 ## ------------------------------------ ##
3914 sed "s/^/$as_me: WARNING: /" >&2
3917 echo "$as_me:$LINENO: checking for $ac_header" >&5
3918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 eval "$as_ac_Header=$ac_header_preproc"
3924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3929 cat >>confdefs.h
<<_ACEOF
3930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3938 echo "$as_me:$LINENO: checking for off_t" >&5
3939 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3940 if test "${ac_cv_type_off_t+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 cat >conftest.
$ac_ext <<_ACEOF
3944 #line $LINENO "configure"
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3962 rm -f conftest.
$ac_objext
3963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3964 (eval $ac_compile) 2>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } &&
3968 { ac_try
='test -s conftest.$ac_objext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3974 ac_cv_type_off_t
=yes
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.
$ac_ext >&5
3981 rm -f conftest.
$ac_objext conftest.
$ac_ext
3983 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3984 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3985 if test $ac_cv_type_off_t = yes; then
3989 cat >>confdefs.h
<<_ACEOF
3995 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3996 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3997 if test "${ac_cv_struct_tm+set}" = set; then
3998 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 cat >conftest.
$ac_ext <<_ACEOF
4001 #line $LINENO "configure"
4004 cat confdefs.h
>>conftest.
$ac_ext
4005 cat >>conftest.
$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 #include <sys/types.h>
4013 struct tm *tp; tp->tm_sec;
4018 rm -f conftest.
$ac_objext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } &&
4024 { ac_try
='test -s conftest.$ac_objext'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; }; then
4030 ac_cv_struct_tm
=time.h
4032 echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.
$ac_ext >&5
4035 ac_cv_struct_tm
=sys
/time.h
4037 rm -f conftest.
$ac_objext conftest.
$ac_ext
4039 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4040 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4041 if test $ac_cv_struct_tm = sys
/time.h
; then
4043 cat >>confdefs.h
<<\_ACEOF
4044 #define TM_IN_SYS_TIME 1
4050 # mkdir takes a single argument on some systems.
4051 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4052 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4053 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 cat >conftest.
$ac_ext <<_ACEOF
4057 #line $LINENO "configure"
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4064 #include <sys/types.h>
4065 #ifdef HAVE_SYS_STAT_H
4066 # include <sys/stat.h>
4068 #ifdef HAVE_UNISTD_H
4069 # include <unistd.h>
4071 #ifdef HAVE_DIRECT_H
4072 # include <direct.h>
4082 rm -f conftest.
$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try
='test -s conftest.$ac_objext'
4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); }; }; then
4094 gcc_cv_mkdir_takes_one_arg
=no
4096 echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.
$ac_ext >&5
4099 gcc_cv_mkdir_takes_one_arg
=yes
4101 rm -f conftest.
$ac_objext conftest.
$ac_ext
4103 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4104 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4105 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4107 cat >>confdefs.h
<<\_ACEOF
4108 #define MKDIR_TAKES_ONE_ARG 1
4114 echo "$as_me:$LINENO: checking size of char" >&5
4115 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4116 if test "${ac_cv_sizeof_char+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4120 cat >conftest.
$ac_ext <<_ACEOF
4121 #line $LINENO "configure"
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 #include "confdefs.h"
4128 #include <sys/types.h>
4134 switch (0) case 0: case (sizeof (char) == $ac_size):;
4139 rm -f conftest.
$ac_objext
4140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4141 (eval $ac_compile) 2>&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); } &&
4145 { ac_try
='test -s conftest.$ac_objext'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; }; then
4151 ac_cv_sizeof_char
=$ac_size
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.
$ac_ext >&5
4157 rm -f conftest.
$ac_objext conftest.
$ac_ext
4158 if test x
$ac_cv_sizeof_char != x
; then break; fi
4163 if test x
$ac_cv_sizeof_char = x
; then
4164 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
4165 echo "$as_me: error: cannot determine a size for char" >&2;}
4166 { (exit 1); exit 1; }; }
4168 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4169 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4171 cat >>confdefs.h
<<_ACEOF
4172 #define SIZEOF_CHAR $ac_cv_sizeof_char
4176 echo "$as_me:$LINENO: checking size of short" >&5
4177 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4178 if test "${ac_cv_sizeof_short+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4182 cat >conftest.
$ac_ext <<_ACEOF
4183 #line $LINENO "configure"
4186 cat confdefs.h
>>conftest.
$ac_ext
4187 cat >>conftest.
$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 #include "confdefs.h"
4190 #include <sys/types.h>
4196 switch (0) case 0: case (sizeof (short) == $ac_size):;
4201 rm -f conftest.
$ac_objext
4202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4203 (eval $ac_compile) 2>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } &&
4207 { ac_try
='test -s conftest.$ac_objext'
4208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); }; }; then
4213 ac_cv_sizeof_short
=$ac_size
4215 echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.
$ac_ext >&5
4219 rm -f conftest.
$ac_objext conftest.
$ac_ext
4220 if test x
$ac_cv_sizeof_short != x
; then break; fi
4225 if test x
$ac_cv_sizeof_short = x
; then
4226 { { echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
4227 echo "$as_me: error: cannot determine a size for short" >&2;}
4228 { (exit 1); exit 1; }; }
4230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4231 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4233 cat >>confdefs.h
<<_ACEOF
4234 #define SIZEOF_SHORT $ac_cv_sizeof_short
4238 echo "$as_me:$LINENO: checking size of int" >&5
4239 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4240 if test "${ac_cv_sizeof_int+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4244 cat >conftest.
$ac_ext <<_ACEOF
4245 #line $LINENO "configure"
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 #include "confdefs.h"
4252 #include <sys/types.h>
4258 switch (0) case 0: case (sizeof (int) == $ac_size):;
4263 rm -f conftest.
$ac_objext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265 (eval $ac_compile) 2>&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } &&
4269 { ac_try
='test -s conftest.$ac_objext'
4270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then
4275 ac_cv_sizeof_int
=$ac_size
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.
$ac_ext >&5
4281 rm -f conftest.
$ac_objext conftest.
$ac_ext
4282 if test x
$ac_cv_sizeof_int != x
; then break; fi
4287 if test x
$ac_cv_sizeof_int = x
; then
4288 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
4289 echo "$as_me: error: cannot determine a size for int" >&2;}
4290 { (exit 1); exit 1; }; }
4292 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4293 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4295 cat >>confdefs.h
<<_ACEOF
4296 #define SIZEOF_INT $ac_cv_sizeof_int
4300 echo "$as_me:$LINENO: checking size of long" >&5
4301 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4302 if test "${ac_cv_sizeof_long+set}" = set; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4306 cat >conftest.
$ac_ext <<_ACEOF
4307 #line $LINENO "configure"
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 #include "confdefs.h"
4314 #include <sys/types.h>
4320 switch (0) case 0: case (sizeof (long) == $ac_size):;
4325 rm -f conftest.
$ac_objext
4326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4327 (eval $ac_compile) 2>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } &&
4331 { ac_try
='test -s conftest.$ac_objext'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; }; then
4337 ac_cv_sizeof_long
=$ac_size
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.
$ac_ext >&5
4343 rm -f conftest.
$ac_objext conftest.
$ac_ext
4344 if test x
$ac_cv_sizeof_long != x
; then break; fi
4349 if test x
$ac_cv_sizeof_long = x
; then
4350 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
4351 echo "$as_me: error: cannot determine a size for long" >&2;}
4352 { (exit 1); exit 1; }; }
4354 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4355 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4357 cat >>confdefs.h
<<_ACEOF
4358 #define SIZEOF_LONG $ac_cv_sizeof_long
4362 echo "$as_me:$LINENO: checking size of long long" >&5
4363 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4364 if test "${ac_cv_sizeof_long_long+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
4368 cat >conftest.
$ac_ext <<_ACEOF
4369 #line $LINENO "configure"
4372 cat confdefs.h
>>conftest.
$ac_ext
4373 cat >>conftest.
$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4375 #include "confdefs.h"
4376 #include <sys/types.h>
4382 switch (0) case 0: case (sizeof (long long) == $ac_size):;
4387 rm -f conftest.
$ac_objext
4388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4389 (eval $ac_compile) 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); } &&
4393 { ac_try
='test -s conftest.$ac_objext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 ac_cv_sizeof_long_long
=$ac_size
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4405 rm -f conftest.
$ac_objext conftest.
$ac_ext
4406 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
4411 if test x
$ac_cv_sizeof_long_long = x
; then
4412 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
4413 echo "$as_me: error: cannot determine a size for long long" >&2;}
4414 { (exit 1); exit 1; }; }
4416 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4417 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4419 cat >>confdefs.h
<<_ACEOF
4420 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4425 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4426 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4427 if test "${ac_cv_c_bigendian+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 ac_cv_c_bigendian
=unknown
4431 # See if sys/param.h defines the BYTE_ORDER macro.
4432 cat >conftest.
$ac_ext <<_ACEOF
4433 #line $LINENO "configure"
4436 cat confdefs.h
>>conftest.
$ac_ext
4437 cat >>conftest.
$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 #include <sys/types.h>
4440 #include <sys/param.h>
4445 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4452 rm -f conftest.
$ac_objext
4453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4454 (eval $ac_compile) 2>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } &&
4458 { ac_try
='test -s conftest.$ac_objext'
4459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; }; then
4464 # It does; now see whether it defined to BIG_ENDIAN or not.
4465 cat >conftest.
$ac_ext <<_ACEOF
4466 #line $LINENO "configure"
4469 cat confdefs.h
>>conftest.
$ac_ext
4470 cat >>conftest.
$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4472 #include <sys/types.h>
4473 #include <sys/param.h>
4478 #if BYTE_ORDER != BIG_ENDIAN
4485 rm -f conftest.
$ac_objext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -s conftest.$ac_objext'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then
4497 ac_cv_c_bigendian
=yes
4499 echo "$as_me: failed program was:" >&5
4500 sed 's/^/| /' conftest.
$ac_ext >&5
4502 ac_cv_c_bigendian
=no
4504 rm -f conftest.
$ac_objext conftest.
$ac_ext
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4510 rm -f conftest.
$ac_objext conftest.
$ac_ext
4511 if test $ac_cv_c_bigendian = unknown
; then
4512 if test "$cross_compiling" = yes; then
4513 echo $ac_n "cross-compiling... " 2>&6
4515 cat >conftest.
$ac_ext <<_ACEOF
4516 #line $LINENO "configure"
4519 cat confdefs.h
>>conftest.
$ac_ext
4520 cat >>conftest.
$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4523 /* Are we little or big endian? From Harbison&Steele. */
4527 char c[sizeof (long)];
4530 exit (u.c[sizeof (long) - 1] == 1);
4533 rm -f conftest
$ac_exeext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4535 (eval $ac_link) 2>&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; }; then
4544 ac_cv_c_bigendian
=no
4546 echo "$as_me: program exited with status $ac_status" >&5
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.
$ac_ext >&5
4551 ac_cv_c_bigendian
=yes
4553 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4557 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4558 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4559 if test $ac_cv_c_bigendian = unknown
; then
4560 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
4561 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
4563 cat >conftest.c
<<EOF
4564 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4565 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4566 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
4567 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4568 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4569 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
4570 int main() { _ascii (); _ebcdic (); return 0; }
4572 if test -f conftest.c
; then
4573 if ${CC-cc} ${CFLAGS} conftest.c
-o conftest.o
&& test -f conftest.o
; then
4574 if test `grep -l BIGenDianSyS conftest.o` ; then
4575 echo $ac_n ' big endian probe OK, ' 1>&6
4576 ac_cv_c_bigendian
=yes
4578 if test `grep -l LiTTleEnDian conftest.o` ; then
4579 echo $ac_n ' little endian probe OK, ' 1>&6
4580 if test $ac_cv_c_bigendian = yes ; then
4581 ac_cv_c_bigendian
=unknown
;
4583 ac_cv_c_bigendian
=no
4586 echo $ac_n 'guessing bigendian ... ' >&6
4589 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4590 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4592 if test $ac_cv_c_bigendian = yes; then
4594 cat >>confdefs.h
<<\_ACEOF
4595 #define WORDS_BIGENDIAN 1
4599 cat >>confdefs.h
<<\_ACEOF
4600 #define HOST_WORDS_BIG_ENDIAN 1
4608 cat >>confdefs.h
<<_ACEOF
4609 #define BYTEORDER $BYTEORDER
4612 if test $ac_cv_c_bigendian = unknown
; then
4613 { { echo "$as_me:$LINENO: error: unknown endianess - sorry" >&5
4614 echo "$as_me: error: unknown endianess - sorry" >&2;}
4615 { (exit please pre-set ac_cv_c_bigendian
); exit please pre-set ac_cv_c_bigendian
; }; }
4620 # Check whether --with-system-zlib or --without-system-zlib was given.
4621 if test "${with_system_zlib+set}" = set; then
4622 withval
="$with_system_zlib"
4630 if test "$with_system_zlib" = yes; then
4631 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4632 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
4633 if test "${ac_cv_lib_z_deflate+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 ac_check_lib_save_LIBS
=$LIBS
4638 cat >conftest.
$ac_ext <<_ACEOF
4639 #line $LINENO "configure"
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4646 /* Override any gcc2 internal prototype to avoid an error. */
4650 /* We use char because int might match the return type of a gcc2
4651 builtin and then its argument prototype would still apply. */
4661 rm -f conftest.
$ac_objext conftest
$ac_exeext
4662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4663 (eval $ac_link) 2>&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try
='test -s conftest$ac_exeext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_cv_lib_z_deflate
=yes
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4678 ac_cv_lib_z_deflate
=no
4680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4681 LIBS
=$ac_check_lib_save_LIBS
4683 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4684 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
4685 if test $ac_cv_lib_z_deflate = yes; then
4695 if test "$use_zlib" = no
; then
4696 # Brain dead way to find tree's zlib.
4697 ZDEPS
='$(top_builddir)/../zlib/libz.a'
4698 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4699 ZINCS
='-I$(top_srcdir)/../zlib'
4705 # Get the version trigger filename from the toplevel
4706 if test "${with_gcc_version_trigger+set}" = set; then
4707 gcc_version_trigger
=$with_gcc_version_trigger
4709 gcc_version_trigger
=${srcdir}/version.c
4711 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
4712 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
4715 ac_config_files
="$ac_config_files Makefile install-defs.sh"
4716 cat >confcache
<<\_ACEOF
4717 # This file is a shell script that caches the results of configure
4718 # tests run on this system so they can be shared between configure
4719 # scripts and configure runs, see configure's option --config-cache.
4720 # It is not useful on other systems. If it contains results you don't
4721 # want to keep, you may remove or edit it.
4723 # config.status only pays attention to the cache file if you give it
4724 # the --recheck option to rerun configure.
4726 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4727 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4732 # The following way of writing the cache mishandles newlines in values,
4733 # but we know of no workaround that is simple, portable, and efficient.
4734 # So, don't put newlines in cache variables' values.
4735 # Ultrix sh set writes to stderr and can't be redirected directly,
4736 # and sets the high bit in the cache file unless we assign to the vars.
4739 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4741 # `set' does not quote correctly, so add quotes (double-quote
4742 # substitution turns \\\\ into \\, and sed turns \\ into \).
4745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4748 # `set' quotes correctly as required by POSIX, so do not add quotes.
4750 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4757 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4759 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4761 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4762 if test -w $cache_file; then
4763 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4764 cat confcache
>$cache_file
4766 echo "not updating unwritable cache $cache_file"
4771 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4772 # Let make expand exec_prefix.
4773 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4775 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4776 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4777 # trailing colons and then remove the whole line if VPATH becomes empty
4778 # (actually we leave an empty line to preserve line numbers).
4779 if test "x$srcdir" = x.
; then
4780 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4781 s/:*\$(srcdir):*/:/;
4782 s/:*\${srcdir}:*/:/;
4784 s/^\([^=]*=[ ]*\):*/\1/;
4790 DEFS
=-DHAVE_CONFIG_H
4794 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4795 # 1. Remove the extension, and $U if already installed.
4796 ac_i
=`echo "$ac_i" |
4797 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4799 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4800 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4804 LTLIBOBJS
=$ac_ltlibobjs
4807 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4808 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4809 Usually this means the macro was only invoked conditionally." >&5
4810 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4811 Usually this means the macro was only invoked conditionally." >&2;}
4812 { (exit 1); exit 1; }; }
4814 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4815 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4816 Usually this means the macro was only invoked conditionally." >&5
4817 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4818 Usually this means the macro was only invoked conditionally." >&2;}
4819 { (exit 1); exit 1; }; }
4821 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4822 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4823 Usually this means the macro was only invoked conditionally." >&5
4824 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4825 Usually this means the macro was only invoked conditionally." >&2;}
4826 { (exit 1); exit 1; }; }
4829 : ${CONFIG_STATUS=./config.status}
4830 ac_clean_files_save
=$ac_clean_files
4831 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4832 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4833 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4834 cat >$CONFIG_STATUS <<_ACEOF
4836 # Generated by $as_me.
4837 # Run this file to recreate the current configuration.
4838 # Compiler output produced by configure, useful for debugging
4839 # configure, is in config.log if it exists.
4844 SHELL=\${CONFIG_SHELL-$SHELL}
4847 cat >>$CONFIG_STATUS <<\_ACEOF
4848 ## --------------------- ##
4849 ## M4sh Initialization. ##
4850 ## --------------------- ##
4852 # Be Bourne compatible
4853 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4856 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4857 # is contrary to our usage. Disable this feature.
4858 alias -g '${1+"$@"}'='"$@"'
4859 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4863 # Support unset when possible.
4864 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
4871 # Work around bugs in pre-3.0 UWIN ksh.
4872 $as_unset ENV MAIL MAILPATH
4879 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4880 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4881 LC_TELEPHONE LC_TIME
4883 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4884 eval $as_var=C
; export $as_var
4890 # Required to use basename.
4891 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4897 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4898 as_basename
=basename
4904 # Name of the executable.
4905 as_me
=`$as_basename "$0" ||
4906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4907 X"$0" : 'X\(//\)$' \| \
4908 X"$0" : 'X\(/\)$' \| \
4909 . : '\(.\)' 2>/dev/null ||
4911 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4912 /^X\/\(\/\/\)$/{ s//\1/; q; }
4913 /^X\/\(\/\).*/{ s//\1/; q; }
4917 # PATH needs CR, and LINENO needs CR and PATH.
4918 # Avoid depending upon Character Ranges.
4919 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4920 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4921 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4922 as_cr_digits
='0123456789'
4923 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4925 # The user is always right.
4926 if test "${PATH_SEPARATOR+set}" != set; then
4927 echo "#! /bin/sh" >conf$$.sh
4928 echo "exit 0" >>conf$$.sh
4930 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4941 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4942 test "x$as_lineno_1" != "x$as_lineno_2" &&
4943 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4944 # Find who we are. Look in the path if we contain no path at all
4947 *[\\/]* ) as_myself
=$0 ;;
4948 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir
=.
4953 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4958 # We did not find ourselves, most probably we were run as `sh COMMAND'
4959 # in which case we are not to be found in the path.
4960 if test "x$as_myself" = x
; then
4963 if test ! -f "$as_myself"; then
4964 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4965 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4966 { (exit 1); exit 1; }; }
4968 case $CONFIG_SHELL in
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4971 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4974 test -z "$as_dir" && as_dir
=.
4975 for as_base
in sh bash ksh sh5
; do
4978 if ("$as_dir/$as_base" -c '
4981 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4982 test "x$as_lineno_1" != "x$as_lineno_2" &&
4983 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4984 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4985 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4986 CONFIG_SHELL
=$as_dir/$as_base
4988 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4996 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4997 # uniformly replaced by the line number. The first 'sed' inserts a
4998 # line-number line before each line; the second 'sed' does the real
4999 # work. The second script uses 'N' to pair each line-number line
5000 # with the numbered line, and appends trailing '-' during
5001 # substitution so that $LINENO is not a special case at line end.
5002 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5003 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5004 sed '=' <$as_myself |
5009 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5012 s,^['$as_cr_digits']*\n,,
5014 chmod +x
$as_me.lineno ||
5015 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5016 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5017 { (exit 1); exit 1; }; }
5019 # Don't try to exec as it changes $[0], causing all sort of problems
5020 # (the dirname of $[0] is not the place where we might find the
5021 # original and so on. Autoconf is especially sensible to this).
5023 # Exit status is that of the last command.
5028 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5029 *c
*,-n*) ECHO_N
= ECHO_C
='
5031 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5032 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5035 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5041 rm -f conf$$ conf$$.exe conf$$.
file
5043 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5044 # We could just check for DJGPP; but this test a) works b) is more generic
5045 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5046 if test -f conf$$.exe
; then
5047 # Don't use ln at all; we don't have any links
5052 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5057 rm -f conf$$ conf$$.exe conf$$.
file
5059 if mkdir
-p .
2>/dev
/null
; then
5065 as_executable_p
="test -f"
5067 # Sed expression to map a string onto a valid CPP name.
5068 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5070 # Sed expression to map a string onto a valid variable name.
5071 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5075 # We need space, tab and new line, in precisely that order.
5085 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5086 # report actual input values of CONFIG_FILES etc. instead of their
5087 # values after options handling. Logging --version etc. is OK.
5091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5092 ## Running $as_me. ##
5097 This file was extended by $as_me, which was
5098 generated by GNU Autoconf 2.57. Invocation command line was
5100 CONFIG_FILES = $CONFIG_FILES
5101 CONFIG_HEADERS = $CONFIG_HEADERS
5102 CONFIG_LINKS = $CONFIG_LINKS
5103 CONFIG_COMMANDS = $CONFIG_COMMANDS
5107 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5111 # Files that config.status was made for.
5112 if test -n "$ac_config_files"; then
5113 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5116 if test -n "$ac_config_headers"; then
5117 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5120 if test -n "$ac_config_links"; then
5121 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5124 if test -n "$ac_config_commands"; then
5125 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5128 cat >>$CONFIG_STATUS <<\_ACEOF
5131 \`$as_me' instantiates files from templates according to the
5132 current configuration.
5134 Usage: $0 [OPTIONS] [FILE]...
5136 -h, --help print this help, then exit
5137 -V, --version print version number, then exit
5138 -q, --quiet do not print progress messages
5139 -d, --debug don't remove temporary files
5140 --recheck update $as_me by reconfiguring in the same conditions
5141 --file=FILE[:TEMPLATE]
5142 instantiate the configuration file FILE
5143 --header=FILE[:TEMPLATE]
5144 instantiate the configuration header FILE
5146 Configuration files:
5149 Configuration headers:
5152 Configuration commands:
5155 Report bugs to <bug-autoconf@gnu.org>."
5158 cat >>$CONFIG_STATUS <<_ACEOF
5161 configured by $0, generated by GNU Autoconf 2.57,
5162 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5164 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5165 Free Software Foundation, Inc.
5166 This config.status script is free software; the Free Software Foundation
5167 gives unlimited permission to copy, distribute and modify it."
5172 cat >>$CONFIG_STATUS <<\_ACEOF
5173 # If no file are specified by the user, then we need to provide default
5174 # value. By we need to know if files were specified by the user.
5180 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5181 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5189 *) # This is not an option, so the user has probably given explicit
5192 ac_need_defaults
=false
;;
5196 # Handling of the options.
5198 cat >>$CONFIG_STATUS <<\_ACEOF
5199 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5201 --version |
--vers* |
-V )
5202 echo "$ac_cs_version"; exit 0 ;;
5204 # Conflict between --help and --header
5205 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5206 Try \`$0 --help' for more information." >&5
5207 echo "$as_me: error: ambiguous option: $1
5208 Try \`$0 --help' for more information." >&2;}
5209 { (exit 1); exit 1; }; };;
5210 --help |
--hel |
-h )
5211 echo "$ac_cs_usage"; exit 0 ;;
5212 --debug |
--d* |
-d )
5214 --file |
--fil |
--fi |
--f )
5216 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5217 ac_need_defaults
=false
;;
5218 --header |
--heade |
--head |
--hea )
5220 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5221 ac_need_defaults
=false
;;
5222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5223 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5227 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5228 Try \`$0 --help' for more information." >&5
5229 echo "$as_me: error: unrecognized option: $1
5230 Try \`$0 --help' for more information." >&2;}
5231 { (exit 1); exit 1; }; } ;;
5233 *) ac_config_targets
="$ac_config_targets $1" ;;
5239 ac_configure_extra_args
=
5241 if $ac_cs_silent; then
5243 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5247 cat >>$CONFIG_STATUS <<_ACEOF
5248 if \$ac_cs_recheck; then
5249 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5250 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5255 cat >>$CONFIG_STATUS <<_ACEOF
5257 # INIT-COMMANDS section.
5260 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5266 cat >>$CONFIG_STATUS <<\_ACEOF
5267 for ac_config_target
in $ac_config_targets
5269 case "$ac_config_target" in
5270 # Handling of arguments.
5271 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5272 "install-defs.sh" ) CONFIG_FILES
="$CONFIG_FILES install-defs.sh" ;;
5273 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5274 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5275 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5276 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5277 { (exit 1); exit 1; }; };;
5281 # If the user did not use the arguments to specify the items to instantiate,
5282 # then the envvar interface is used. Set only those that are not.
5283 # We use the long form for the default assignment because of an extremely
5284 # bizarre bug on SunOS 4.1.3.
5285 if $ac_need_defaults; then
5286 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5287 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5288 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5291 # Have a temporary directory for convenience. Make it in the build tree
5292 # simply because there is no reason to put it here, and in addition,
5293 # creating and moving files from /tmp can sometimes cause problems.
5294 # Create a temporary directory, and hook for its removal unless debugging.
5297 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5298 trap '{ (exit 1); exit 1; }' 1 2 13 15
5301 # Create a (secure) tmp directory for tmp files.
5304 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5305 test -n "$tmp" && test -d "$tmp"
5308 tmp
=.
/confstat$$
-$RANDOM
5309 (umask 077 && mkdir
$tmp)
5312 echo "$me: cannot create a temporary directory in ." >&2
5313 { (exit 1); exit 1; }
5318 cat >>$CONFIG_STATUS <<_ACEOF
5321 # CONFIG_FILES section.
5324 # No need to generate the scripts if there are no CONFIG_FILES.
5325 # This happens for instance when ./config.status config.h
5326 if test -n "\$CONFIG_FILES"; then
5327 # Protect against being on the right side of a sed subst in config.status.
5328 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5329 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5330 s,@SHELL@,$SHELL,;t t
5331 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5332 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5333 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5334 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5335 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5336 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5337 s,@exec_prefix@,$exec_prefix,;t t
5338 s,@prefix@,$prefix,;t t
5339 s,@program_transform_name@,$program_transform_name,;t t
5340 s,@bindir@,$bindir,;t t
5341 s,@sbindir@,$sbindir,;t t
5342 s,@libexecdir@,$libexecdir,;t t
5343 s,@datadir@,$datadir,;t t
5344 s,@sysconfdir@,$sysconfdir,;t t
5345 s,@sharedstatedir@,$sharedstatedir,;t t
5346 s,@localstatedir@,$localstatedir,;t t
5347 s,@libdir@,$libdir,;t t
5348 s,@includedir@,$includedir,;t t
5349 s,@oldincludedir@,$oldincludedir,;t t
5350 s,@infodir@,$infodir,;t t
5351 s,@mandir@,$mandir,;t t
5352 s,@build_alias@,$build_alias,;t t
5353 s,@host_alias@,$host_alias,;t t
5354 s,@target_alias@,$target_alias,;t t
5356 s,@ECHO_C@,$ECHO_C,;t t
5357 s,@ECHO_N@,$ECHO_N,;t t
5358 s,@ECHO_T@,$ECHO_T,;t t
5360 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5361 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5362 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5363 s,@CYGPATH_W@,$CYGPATH_W,;t t
5364 s,@PACKAGE@,$PACKAGE,;t t
5365 s,@VERSION@,$VERSION,;t t
5366 s,@ACLOCAL@,$ACLOCAL,;t t
5367 s,@AUTOCONF@,$AUTOCONF,;t t
5368 s,@AUTOMAKE@,$AUTOMAKE,;t t
5369 s,@AUTOHEADER@,$AUTOHEADER,;t t
5370 s,@MAKEINFO@,$MAKEINFO,;t t
5371 s,@AMTAR@,$AMTAR,;t t
5372 s,@install_sh@,$install_sh,;t t
5373 s,@STRIP@,$STRIP,;t t
5374 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5375 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5377 s,@SET_MAKE@,$SET_MAKE,;t t
5378 s,@am__leading_dot@,$am__leading_dot,;t t
5380 s,@CFLAGS@,$CFLAGS,;t t
5381 s,@LDFLAGS@,$LDFLAGS,;t t
5382 s,@CPPFLAGS@,$CPPFLAGS,;t t
5383 s,@ac_ct_CC@,$ac_ct_CC,;t t
5384 s,@EXEEXT@,$EXEEXT,;t t
5385 s,@OBJEXT@,$OBJEXT,;t t
5386 s,@DEPDIR@,$DEPDIR,;t t
5387 s,@am__include@,$am__include,;t t
5388 s,@am__quote@,$am__quote,;t t
5389 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5390 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5391 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5392 s,@CCDEPMODE@,$CCDEPMODE,;t t
5393 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5394 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5397 s,@CHMOD@,$CHMOD,;t t
5398 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5399 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5400 s,@MAINT@,$MAINT,;t t
5401 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
5403 s,@EGREP@,$EGREP,;t t
5404 s,@ZLIBS@,$ZLIBS,;t t
5405 s,@ZDEPS@,$ZDEPS,;t t
5406 s,@ZINCS@,$ZINCS,;t t
5407 s,@gcc_version@,$gcc_version,;t t
5408 s,@LIBOBJS@,$LIBOBJS,;t t
5409 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5414 cat >>$CONFIG_STATUS <<\_ACEOF
5415 # Split the substitutions into bite-sized pieces for seds with
5416 # small command number limits, like on Digital OSF/1 and HP-UX.
5418 ac_sed_frag
=1 # Number of current file.
5419 ac_beg
=1 # First line for current file.
5420 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5423 while $ac_more_lines; do
5424 if test $ac_beg -gt 1; then
5425 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5427 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5429 if test ! -s $tmp/subs.frag
; then
5432 # The purpose of the label and of the branching condition is to
5433 # speed up the sed processing (if there are no `@' at all, there
5434 # is no need to browse any of the substitutions).
5435 # These are the two extra sed commands mentioned above.
5437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5438 if test -z "$ac_sed_cmds"; then
5439 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5441 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5443 ac_sed_frag
=`expr $ac_sed_frag + 1`
5445 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5448 if test -z "$ac_sed_cmds"; then
5451 fi # test -n "$CONFIG_FILES"
5454 cat >>$CONFIG_STATUS <<\_ACEOF
5455 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5456 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5458 - |
*:- |
*:-:* ) # input from stdin
5460 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5461 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5462 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5463 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5464 * ) ac_file_in
=$ac_file.
in ;;
5467 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5468 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5470 X"$ac_file" : 'X\(//\)[^/]' \| \
5471 X"$ac_file" : 'X\(//\)$' \| \
5472 X"$ac_file" : 'X\(/\)' \| \
5473 . : '\(.\)' 2>/dev/null ||
5475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5477 /^X\(\/\/\)$/{ s//\1/; q; }
5478 /^X\(\/\).*/{ s//\1/; q; }
5480 { if $as_mkdir_p; then
5485 while test ! -d "$as_dir"; do
5486 as_dirs
="$as_dir $as_dirs"
5487 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5489 X"$as_dir" : 'X\(//\)[^/]' \| \
5490 X"$as_dir" : 'X\(//\)$' \| \
5491 X"$as_dir" : 'X\(/\)' \| \
5492 . : '\(.\)' 2>/dev/null ||
5494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5496 /^X\(\/\/\)$/{ s//\1/; q; }
5497 /^X\(\/\).*/{ s//\1/; q; }
5500 test ! -n "$as_dirs" || mkdir
$as_dirs
5501 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5502 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5503 { (exit 1); exit 1; }; }; }
5507 if test "$ac_dir" != .
; then
5508 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5509 # A "../" for each directory in $ac_dir_suffix.
5510 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5512 ac_dir_suffix
= ac_top_builddir
=
5516 .
) # No --srcdir option. We are building in place.
5518 if test -z "$ac_top_builddir"; then
5521 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5523 [\\/]* | ?
:[\\/]* ) # Absolute path.
5524 ac_srcdir
=$srcdir$ac_dir_suffix;
5525 ac_top_srcdir
=$srcdir ;;
5527 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5528 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5530 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5532 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5533 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5534 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5535 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5539 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5540 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5543 if test x
"$ac_file" != x-
; then
5544 { echo "$as_me:$LINENO: creating $ac_file" >&5
5545 echo "$as_me: creating $ac_file" >&6;}
5548 # Let's still pretend it is `configure' which instantiates (i.e., don't
5549 # use $as_me), people would be surprised to read:
5550 # /* config.h. Generated by config.status. */
5551 if test x
"$ac_file" = x-
; then
5554 configure_input
="$ac_file. "
5556 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5557 sed 's,.*/,,'` by configure."
5559 # First look for the input files in the build tree, otherwise in the
5561 ac_file_inputs
=`IFS=:
5562 for f in $ac_file_in; do
5564 -) echo $tmp/stdin ;;
5566 # Absolute (can't be DOS-style, as IFS=:)
5567 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5568 echo "$as_me: error: cannot find input file: $f" >&2;}
5569 { (exit 1); exit 1; }; }
5572 if test -f "$f"; then
5575 elif test -f "$srcdir/$f"; then
5580 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5581 echo "$as_me: error: cannot find input file: $f" >&2;}
5582 { (exit 1); exit 1; }; }
5585 done` ||
{ (exit 1); exit 1; }
5587 cat >>$CONFIG_STATUS <<_ACEOF
5591 cat >>$CONFIG_STATUS <<\_ACEOF
5593 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5594 s
,@configure_input@
,$configure_input,;t t
5595 s
,@srcdir@
,$ac_srcdir,;t t
5596 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5597 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5598 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5599 s
,@builddir@
,$ac_builddir,;t t
5600 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5601 s
,@top_builddir@
,$ac_top_builddir,;t t
5602 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5603 s
,@INSTALL@
,$ac_INSTALL,;t t
5604 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5606 if test x"$ac_file" != x-; then
5607 mv $tmp/out $ac_file
5615 cat >>$CONFIG_STATUS <<\_ACEOF
5618 # CONFIG_HEADER section.
5621 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5622 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5624 # ac_d sets the value in "#define NAME VALUE" lines.
5625 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5626 ac_dB
='[ ].*$,\1#\2'
5629 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5630 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5631 ac_uB
='$,\1#\2define\3'
5635 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5636 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5638 - |
*:- |
*:-:* ) # input from stdin
5640 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5641 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5642 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5643 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5644 * ) ac_file_in
=$ac_file.
in ;;
5647 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5648 echo "$as_me: creating $ac_file" >&6;}
5650 # First look for the input files in the build tree, otherwise in the
5652 ac_file_inputs
=`IFS=:
5653 for f in $ac_file_in; do
5655 -) echo $tmp/stdin ;;
5657 # Absolute (can't be DOS-style, as IFS=:)
5658 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5659 echo "$as_me: error: cannot find input file: $f" >&2;}
5660 { (exit 1); exit 1; }; }
5663 if test -f "$f"; then
5666 elif test -f "$srcdir/$f"; then
5671 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5672 echo "$as_me: error: cannot find input file: $f" >&2;}
5673 { (exit 1); exit 1; }; }
5676 done` ||
{ (exit 1); exit 1; }
5677 # Remove the trailing spaces.
5678 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5682 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5683 # `conftest.undefs', that substitutes the proper values into
5684 # config.h.in to produce config.h. The first handles `#define'
5685 # templates, and the second `#undef' templates.
5686 # And first: Protect against being on the right side of a sed subst in
5687 # config.status. Protect against being in an unquoted here document
5689 rm -f conftest.defines conftest.undefs
5690 # Using a here document instead of a string reduces the quoting nightmare.
5691 # Putting comments in sed scripts is not portable.
5693 # `end' is used to avoid that the second main sed command (meant for
5694 # 0-ary CPP macros) applies to n-ary macro definitions.
5695 # See the Autoconf documentation for `clear'.
5696 cat >confdef2sed.
sed <<\_ACEOF
5701 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5703 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5706 # If some macros were called several times there might be several times
5707 # the same #defines, which is useless. Nevertheless, we may not want to
5708 # sort them, since we want the *last* AC-DEFINE to be honored.
5709 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5710 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5711 rm -f confdef2sed.sed
5713 # This sed command replaces #undef with comments. This is necessary, for
5714 # example, in the case of _POSIX_SOURCE, which is predefined and required
5715 # on some systems where configure will not decide to define it.
5716 cat >>conftest.undefs <<\_ACEOF
5717 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5720 # Break up conftest.defines because some shells have a limit on the size
5721 # of here documents, and old seds have small limits too (100 cmds).
5722 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5723 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5724 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5725 echo ' :' >>$CONFIG_STATUS
5727 while grep . conftest.defines >/dev/null
5729 # Write a limited-size here document to $tmp/defines.sed.
5730 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5731 # Speed up: don't consider the non `#define' lines.
5732 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5733 # Work around the forget-to-reset-the-flag bug.
5734 echo 't clr' >>$CONFIG_STATUS
5735 echo ': clr' >>$CONFIG_STATUS
5736 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5738 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5742 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5743 rm -f conftest.defines
5744 mv conftest.
tail conftest.defines
5746 rm -f conftest.defines
5747 echo ' fi # grep' >>$CONFIG_STATUS
5748 echo >>$CONFIG_STATUS
5750 # Break up conftest.undefs because some shells have a limit on the size
5751 # of here documents, and old seds have small limits too (100 cmds).
5752 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5754 while grep . conftest.undefs
>/dev
/null
5756 # Write a limited-size here document to $tmp/undefs.sed.
5757 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5758 # Speed up: don't consider the non
`#undef'
5759 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5760 # Work around the forget-to-reset-the-flag bug.
5761 echo 't clr' >>$CONFIG_STATUS
5762 echo ': clr' >>$CONFIG_STATUS
5763 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5765 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5769 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5770 rm -f conftest.undefs
5771 mv conftest.tail conftest.undefs
5773 rm -f conftest.undefs
5775 cat >>$CONFIG_STATUS <<\_ACEOF
5776 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5777 # use $as_me), people would be surprised to read:
5778 # /* config.h. Generated by config.status. */
5779 if test x
"$ac_file" = x-
; then
5780 echo "/* Generated by configure. */" >$tmp/config.h
5782 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5784 cat $tmp/in >>$tmp/config.h
5786 if test x
"$ac_file" != x-
; then
5787 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5788 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5789 echo "$as_me: $ac_file is unchanged" >&6;}
5791 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5793 X"$ac_file" : 'X\(//\)[^/]' \| \
5794 X"$ac_file" : 'X\(//\)$' \| \
5795 X"$ac_file" : 'X\(/\)' \| \
5796 . : '\(.\)' 2>/dev/null ||
5798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5800 /^X\(\/\/\)$/{ s//\1/; q; }
5801 /^X\(\/\).*/{ s//\1/; q; }
5803 { if $as_mkdir_p; then
5808 while test ! -d "$as_dir"; do
5809 as_dirs
="$as_dir $as_dirs"
5810 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5812 X"$as_dir" : 'X\(//\)[^/]' \| \
5813 X"$as_dir" : 'X\(//\)$' \| \
5814 X"$as_dir" : 'X\(/\)' \| \
5815 . : '\(.\)' 2>/dev/null ||
5817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5819 /^X\(\/\/\)$/{ s//\1/; q; }
5820 /^X\(\/\).*/{ s//\1/; q; }
5823 test ! -n "$as_dirs" || mkdir
$as_dirs
5824 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5825 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5826 { (exit 1); exit 1; }; }; }
5829 mv $tmp/config.h
$ac_file
5835 # Compute $ac_file's index in $config_headers.
5837 for _am_header
in $config_headers :; do
5839 $ac_file |
$ac_file:* )
5842 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5845 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5846 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5847 X$ac_file : 'X\(//\)[^/]' \| \
5848 X$ac_file : 'X\(//\)$' \| \
5849 X$ac_file : 'X\(/\)' \| \
5850 . : '\(.\)' 2>/dev/null ||
5852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5854 /^X\(\/\/\)$/{ s//\1/; q; }
5855 /^X\(\/\).*/{ s//\1/; q; }
5856 s/.*/./; q'`/stamp-h
$_am_stamp_count
5859 cat >>$CONFIG_STATUS <<\_ACEOF
5862 # CONFIG_COMMANDS section.
5864 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5865 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5866 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5867 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5868 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5869 X"$ac_dest" : 'X\(//\)[^/]' \| \
5870 X"$ac_dest" : 'X\(//\)$' \| \
5871 X"$ac_dest" : 'X\(/\)' \| \
5872 . : '\(.\)' 2>/dev/null ||
5874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5876 /^X\(\/\/\)$/{ s//\1/; q; }
5877 /^X\(\/\).*/{ s//\1/; q; }
5881 if test "$ac_dir" != .
; then
5882 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5883 # A "../" for each directory in $ac_dir_suffix.
5884 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5886 ac_dir_suffix
= ac_top_builddir
=
5890 .
) # No --srcdir option. We are building in place.
5892 if test -z "$ac_top_builddir"; then
5895 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5897 [\\/]* | ?
:[\\/]* ) # Absolute path.
5898 ac_srcdir
=$srcdir$ac_dir_suffix;
5899 ac_top_srcdir
=$srcdir ;;
5901 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5902 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5904 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5906 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5907 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5908 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5909 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5912 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5913 echo "$as_me: executing $ac_dest commands" >&6;}
5915 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
5916 # Strip MF so we end up with the name of the file.
5917 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5918 # Check whether this is an Automake generated Makefile or not.
5919 # We used to match only the files named `Makefile.in', but
5920 # some people rename them; so instead we look at the file content.
5921 # Grep'ing the first line is not enough: some people post-process
5922 # each Makefile.in and add a new line on top of each file to say so.
5923 # So let's grep whole file.
5924 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5925 dirpart
=`(dirname "$mf") 2>/dev/null ||
5926 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5927 X"$mf" : 'X\(//\)[^/]' \| \
5928 X"$mf" : 'X\(//\)$' \| \
5929 X"$mf" : 'X\(/\)' \| \
5930 . : '\(.\)' 2>/dev/null ||
5932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5933 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5934 /^X\(\/\/\)$/{ s//\1/; q; }
5935 /^X\(\/\).*/{ s//\1/; q; }
5940 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
5941 # Extract the definition of DEP_FILES from the Makefile without
5943 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5944 test -z "$DEPDIR" && continue
5945 # When using ansi2knr, U may be empty or an underscore; expand it
5946 U
=`sed -n -e '/^U = / s///p' < "$mf"`
5947 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
5948 # We invoke sed twice because it is the simplest approach to
5949 # changing $(DEPDIR) to its actual value in the expansion.
5950 for file in `sed -n -e '
5951 /^DEP_FILES = .*\\\\$/ {
5960 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5961 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5962 # Make sure the directory exists.
5963 test -f "$dirpart/$file" && continue
5964 fdir
=`(dirname "$file") 2>/dev/null ||
5965 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5966 X"$file" : 'X\(//\)[^/]' \| \
5967 X"$file" : 'X\(//\)$' \| \
5968 X"$file" : 'X\(/\)' \| \
5969 . : '\(.\)' 2>/dev/null ||
5971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5973 /^X\(\/\/\)$/{ s//\1/; q; }
5974 /^X\(\/\).*/{ s//\1/; q; }
5976 { if $as_mkdir_p; then
5977 mkdir
-p $dirpart/$fdir
5979 as_dir
=$dirpart/$fdir
5981 while test ! -d "$as_dir"; do
5982 as_dirs
="$as_dir $as_dirs"
5983 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5985 X"$as_dir" : 'X\(//\)[^/]' \| \
5986 X"$as_dir" : 'X\(//\)$' \| \
5987 X"$as_dir" : 'X\(/\)' \| \
5988 . : '\(.\)' 2>/dev/null ||
5990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5992 /^X\(\/\/\)$/{ s//\1/; q; }
5993 /^X\(\/\).*/{ s//\1/; q; }
5996 test ! -n "$as_dirs" || mkdir
$as_dirs
5997 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5998 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5999 { (exit 1); exit 1; }; }; }
6001 # echo "creating $dirpart/$file"
6002 echo '# dummy' > "$dirpart/$file"
6010 cat >>$CONFIG_STATUS <<\_ACEOF
6012 { (exit 0); exit 0; }
6014 chmod +x
$CONFIG_STATUS
6015 ac_clean_files
=$ac_clean_files_save
6018 # configure is writing to config.log, and then calls config.status.
6019 # config.status does its own redirection, appending to config.log.
6020 # Unfortunately, on DOS this fails, as config.log is still kept open
6021 # by configure, so config.status won't be able to write to it; its
6022 # output is simply discarded. So we exec the FD to /dev/null,
6023 # effectively closing config.log, so it can be properly (re)opened and
6024 # appended to by config.status. When coming back to configure, we
6025 # need to make the FD available again.
6026 if test "$no_create" != yes; then
6028 ac_config_status_args
=
6029 test "$silent" = yes &&
6030 ac_config_status_args
="$ac_config_status_args --quiet"
6032 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6034 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6035 # would make configure fail if this is the last instruction.
6036 $ac_cs_success ||
{ (exit 1); exit 1; }