2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="zlib.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS zlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT COMPPATH 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 LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP target_all toolexecdir toolexeclibdir TARGET_LIBRARY_TRUE TARGET_LIBRARY_FALSE LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode enable make rules and dependencies not useful
854 (and sometimes confusing
) to the casual installer
855 --enable-multilib build many library versions
(default
)
856 --disable-dependency-tracking Speeds up one-time builds
857 --enable-dependency-tracking Do not reject slow dependency extractors
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
864 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
865 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
866 --with-target-subdir=SUBDIR
867 configuring
in a subdirectory
868 --with-cross-host=HOST configuring with a cross compiler
869 --with-system-zlib use installed libz
870 --with-gnu-ld assume the C compiler uses GNU ld default
=no
871 --with-pic try to use only PIC
/non-PIC objects default
=use both
873 Some influential environment variables
:
874 CC C compiler
command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
877 nonstandard directory
<lib dir
>
878 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
879 headers
in a nonstandard directory
<include dir
>
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright (C) 2003 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
1004 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1005 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1006 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1007 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1008 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1011 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1013 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1015 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1016 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1017 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1019 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_must_keep_next=false
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 -* ) ac_must_keep_next=true ;;
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close
' the trap.
1099 trap 'exit_status
=$?
1100 # Save into config.log some information that might help in debugging.
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1110 # The following way of writing the cache mishandles newlines in values,
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1133 for ac_var
in $ac_subst_vars
1135 eval ac_val
=$
`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -n "$ac_subst_files"; then
1147 for ac_var
in $ac_subst_files
1149 eval ac_val
=$
`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -s confdefs.h
; then
1162 sed "/^$/d" confdefs.h |
sort
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1169 rm -f core
*.core
&&
1170 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 # Predefined preprocessor variables.
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's
/^
/|
/' "$ac_site_file" >&5
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1245 # Check that the precious variables saved in the cache have kept the same
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1258 ac_cache_corrupted=: ;;
1260 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1267 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1292 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 # This works around the fact that libtool configuration may change LD
1323 # for this particular configuration, but some shells, instead of
1324 # keeping the changes in LD private, export them just because LD is
1326 ORIGINAL_LD_FOR_MULTILIBS=$LD
1329 if test "x${with_target_subdir}" != x && \
1330 test "${srcdir}" = "."; then
1331 if test "${with_target_subdir}" != "."; then
1332 zlib_basedir="${srcdir}/${with_multisrctop}../"
1334 zlib_basedir="${srcdir}/${with_multisrctop}"
1337 zlib_basedir="${srcdir}/"
1341 for ac_dir in $zlib_basedir.. $srcdir/$zlib_basedir..; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1366 # This overrides the previous occurrence for automake, but not for
1367 # autoconf, which is exactly what we want.
1369 for ac_dir in .. $srcdir/..; do
1370 if test -f $ac_dir/install-sh; then
1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1374 elif test -f $ac_dir/install.sh; then
1376 ac_install_sh="$ac_aux_dir/install.sh -c"
1378 elif test -f $ac_dir/shtool; then
1380 ac_install_sh="$ac_aux_dir/shtool install -c"
1384 if test -z "$ac_aux_dir"; then
1385 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1386 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1387 { (exit 1); exit 1; }; }
1389 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1390 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1391 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4 >/dev/null 2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1423 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1424 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_host_alias=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias=$ac_cv_build_alias
1435 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1444 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1445 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1446 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1449 echo "$as_me:$LINENO: checking target system type" >&5
1450 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451 if test "${ac_cv_target+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 ac_cv_target_alias=$target_alias
1455 test "x$ac_cv_target_alias" = "x" &&
1456 ac_cv_target_alias=$ac_cv_host_alias
1457 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464 echo "${ECHO_T}$ac_cv_target" >&6
1465 target=$ac_cv_target
1466 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1467 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1468 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1471 # The aliases save the names the user supplied, while $host etc.
1472 # will get canonicalized.
1473 test -n "$target_alias" &&
1474 test "$program_prefix$program_suffix$program_transform_name" = \
1476 program_prefix=${target_alias}-
1478 # This works around an automake problem.
1479 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1482 am__api_version="1.7"
1483 # Find a good install program. We prefer a C program (faster),
1484 # so one script is as good as another. But avoid the broken or
1485 # incompatible versions:
1486 # SysV /etc/install, /usr/sbin/install
1487 # SunOS /usr/etc/install
1488 # IRIX /sbin/install
1490 # AmigaOS /C/install, which installs bootblocks on floppy discs
1491 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1492 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1493 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1494 # OS/2's system install, which has a completely different semantic
1495 # ./install, which can be erroneously created by make from ./install.sh.
1496 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1497 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1498 if test -z "$INSTALL"; then
1499 if test "${ac_cv_path_install+set}" = set; then
1500 echo $ECHO_N "(cached) $ECHO_C" >&6
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 # Account for people who put trailing slashes in PATH elements.
1509 .
/ | .
// |
/cC
/* | \
1510 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1511 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1514 # OSF1 and SCO ODT 3.0 have their own names for install.
1515 # Don't use installbsd from OSF since it installs stuff as root
1517 for ac_prog
in ginstall scoinst
install; do
1518 for ac_exec_ext
in '' $ac_executable_extensions; do
1519 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1520 if test $ac_prog = install &&
1521 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1522 # AIX install. It has an incompatible calling convention.
1524 elif test $ac_prog = install &&
1525 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1526 # program-specific install script used by HP pwplus--don't use.
1529 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1541 if test "${ac_cv_path_install+set}" = set; then
1542 INSTALL
=$ac_cv_path_install
1544 # As a last resort, use the slow shell script. We don't cache a
1545 # path for INSTALL within a source directory, because that will
1546 # break other packages using the cache if that directory is
1547 # removed, or if the path is relative.
1548 INSTALL
=$ac_install_sh
1551 echo "$as_me:$LINENO: result: $INSTALL" >&5
1552 echo "${ECHO_T}$INSTALL" >&6
1554 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1555 # It thinks the first close brace ends the variable substitution.
1556 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1558 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1560 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1562 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1563 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1566 echo timestamp
> conftest.
file
1567 # Do `set' in a subshell so we don't clobber the current shell's
1568 # arguments. Must try -L first in case configure is actually a
1569 # symlink; some systems play weird games with the mod time of symlinks
1570 # (eg FreeBSD returns the mod time of the symlink's containing
1573 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1574 if test "$*" = "X"; then
1576 set X
`ls -t $srcdir/configure conftest.file`
1579 if test "$*" != "X $srcdir/configure conftest.file" \
1580 && test "$*" != "X conftest.file $srcdir/configure"; then
1582 # If neither matched, then we have a broken ls. This can happen
1583 # if, for instance, CONFIG_SHELL is bash and it inherits a
1584 # broken ls alias from the environment. This has actually
1585 # happened. Such a system could not be considered "sane".
1586 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1587 alias in your environment" >&5
1588 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1589 alias in your environment" >&2;}
1590 { (exit 1); exit 1; }; }
1593 test "$2" = conftest.
file
1599 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1600 Check your system clock" >&5
1601 echo "$as_me: error: newly created file is older than distributed files!
1602 Check your system clock" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: result: yes" >&5
1606 echo "${ECHO_T}yes" >&6
1607 test "$program_prefix" != NONE
&&
1608 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1609 # Use a double $ so make ignores it.
1610 test "$program_suffix" != NONE
&&
1611 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1612 # Double any \ or $. echo might interpret backslashes.
1613 # By default was `s,x,x', remove it if useless.
1614 cat <<\_ACEOF
>conftest.
sed
1615 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1617 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1621 # expand $ac_aux_dir to an absolute path
1622 am_aux_dir
=`cd $ac_aux_dir && pwd`
1624 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1625 # Use eval to expand $SHELL
1626 if eval "$MISSING --run true"; then
1627 am_missing_run
="$MISSING --run "
1630 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1631 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1634 for ac_prog
in gawk mawk nawk
awk
1636 # Extract the first word of "$ac_prog", so it can be a program name with args.
1637 set dummy
$ac_prog; ac_word
=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_AWK+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$AWK"; then
1644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_AWK
="$ac_prog"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$AWK"; then
1664 echo "$as_me:$LINENO: result: $AWK" >&5
1665 echo "${ECHO_T}$AWK" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1671 test -n "$AWK" && break
1674 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1675 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1676 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1677 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 cat >conftest.
make <<\_ACEOF
1682 @
echo 'ac_maketemp="$(MAKE)"'
1684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1685 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1686 if test -n "$ac_maketemp"; then
1687 eval ac_cv_prog_make_
${ac_make}_set
=yes
1689 eval ac_cv_prog_make_
${ac_make}_set
=no
1693 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1694 echo "$as_me:$LINENO: result: yes" >&5
1695 echo "${ECHO_T}yes" >&6
1698 echo "$as_me:$LINENO: result: no" >&5
1699 echo "${ECHO_T}no" >&6
1700 SET_MAKE
="MAKE=${MAKE-make}"
1703 rm -rf .tst
2>/dev
/null
1704 mkdir .tst
2>/dev
/null
1705 if test -d .tst
; then
1710 rmdir .tst
2>/dev
/null
1712 # test to see if srcdir already configured
1713 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1714 test -f $srcdir/config.status
; then
1715 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1716 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717 { (exit 1); exit 1; }; }
1720 # test whether we have cygpath
1721 if test -z "$CYGPATH_W"; then
1722 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1723 CYGPATH_W
='cygpath -w'
1730 # Define the identity of the package.
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE "$PACKAGE"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define VERSION "$VERSION"
1744 # Some tools Automake needs.
1746 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1749 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1752 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1755 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1758 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1761 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1763 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1765 # Installed binaries are usually stripped using `strip' when the user
1766 # run `make install-strip'. However `strip' might not be the right
1767 # tool to use in cross-compilation environments, therefore Automake
1768 # will honor the `STRIP' environment variable to overrule this program.
1769 if test "$cross_compiling" != no
; then
1770 if test -n "$ac_tool_prefix"; then
1771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1773 echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775 if test "${ac_cv_prog_STRIP+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 if test -n "$STRIP"; then
1779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1785 test -z "$as_dir" && as_dir
=.
1786 for ac_exec_ext
in '' $ac_executable_extensions; do
1787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 STRIP
=$ac_cv_prog_STRIP
1798 if test -n "$STRIP"; then
1799 echo "$as_me:$LINENO: result: $STRIP" >&5
1800 echo "${ECHO_T}$STRIP" >&6
1802 echo "$as_me:$LINENO: result: no" >&5
1803 echo "${ECHO_T}no" >&6
1807 if test -z "$ac_cv_prog_STRIP"; then
1809 # Extract the first word of "strip", so it can be a program name with args.
1810 set dummy strip
; ac_word
=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 if test -n "$ac_ct_STRIP"; then
1817 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir
=.
1824 for ac_exec_ext
in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_ac_ct_STRIP
="strip"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1836 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1837 if test -n "$ac_ct_STRIP"; then
1838 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1839 echo "${ECHO_T}$ac_ct_STRIP" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1847 STRIP
="$ac_cv_prog_STRIP"
1851 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1853 # We need awk for the "check" target. The system "awk" is bad on
1859 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1860 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1861 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1862 if test "${enable_maintainer_mode+set}" = set; then
1863 enableval
="$enable_maintainer_mode"
1864 USE_MAINTAINER_MODE
=$enableval
1866 USE_MAINTAINER_MODE
=no
1868 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1869 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1872 if test $USE_MAINTAINER_MODE = yes; then
1873 MAINTAINER_MODE_TRUE
=
1874 MAINTAINER_MODE_FALSE
='#'
1876 MAINTAINER_MODE_TRUE
='#'
1877 MAINTAINER_MODE_FALSE
=
1880 MAINT
=$MAINTAINER_MODE_TRUE
1885 # Check whether --with-target-subdir or --without-target-subdir was given.
1886 if test "${with_target_subdir+set}" = set; then
1887 withval
="$with_target_subdir"
1891 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
1899 # Check whether --with-cross-host or --without-cross-host was given.
1900 if test "${with_cross_host+set}" = set; then
1901 withval
="$with_cross_host"
1905 # Check whether --enable-multilib or --disable-multilib was given.
1906 if test "${enable_multilib+set}" = set; then
1907 enableval
="$enable_multilib"
1908 case "${enableval}" in
1909 yes) multilib
=yes ;;
1911 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1912 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1913 { (exit 1); exit 1; }; } ;;
1916 test -z "$with_target_subdir" && multilib
=no || multilib
=yes
1919 # Check whether --with-system-zlib or --without-system-zlib was given.
1920 if test "${with_system_zlib+set}" = set; then
1921 withval
="$with_system_zlib"
1925 # Make sure we don't test executables when making cross-tools.
1929 ac_cpp
='$CPP $CPPFLAGS'
1930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1933 if test -n "$ac_tool_prefix"; then
1934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1935 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC
="$CC" # Let the user override the test.
1944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir
=.
1949 for ac_exec_ext
in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 if test -n "$CC"; then
1962 echo "$as_me:$LINENO: result: $CC" >&5
1963 echo "${ECHO_T}$CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1970 if test -z "$ac_cv_prog_CC"; then
1972 # Extract the first word of "gcc", so it can be a program name with args.
1973 set dummy gcc
; ac_word
=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$ac_ct_CC"; then
1980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir
=.
1987 for ac_exec_ext
in '' $ac_executable_extensions; do
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_ac_ct_CC
="gcc"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1999 if test -n "$ac_ct_CC"; then
2000 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2001 echo "${ECHO_T}$ac_ct_CC" >&6
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2012 if test -z "$CC"; then
2013 if test -n "$ac_tool_prefix"; then
2014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2015 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2016 echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018 if test "${ac_cv_prog_CC+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 if test -n "$CC"; then
2022 ac_cv_prog_CC
="$CC" # Let the user override the test.
2024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2028 test -z "$as_dir" && as_dir
=.
2029 for ac_exec_ext
in '' $ac_executable_extensions; do
2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 if test -n "$CC"; then
2042 echo "$as_me:$LINENO: result: $CC" >&5
2043 echo "${ECHO_T}$CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2050 if test -z "$ac_cv_prog_CC"; then
2052 # Extract the first word of "cc", so it can be a program name with args.
2053 set dummy cc
; ac_word
=$2
2054 echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 if test -n "$ac_ct_CC"; then
2060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir
=.
2067 for ac_exec_ext
in '' $ac_executable_extensions; do
2068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_prog_ac_ct_CC
="cc"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2079 if test -n "$ac_ct_CC"; then
2080 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2081 echo "${ECHO_T}$ac_ct_CC" >&6
2083 echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6
2093 if test -z "$CC"; then
2094 # Extract the first word of "cc", so it can be a program name with args.
2095 set dummy cc
; ac_word
=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_CC+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$CC"; then
2102 ac_cv_prog_CC
="$CC" # Let the user override the test.
2105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir
=.
2110 for ac_exec_ext
in '' $ac_executable_extensions; do
2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2113 ac_prog_rejected
=yes
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test $ac_prog_rejected = yes; then
2124 # We found a bogon in the path, so make sure we never use it.
2125 set dummy
$ac_cv_prog_CC
2127 if test $# != 0; then
2128 # We chose a different compiler from the bogus one.
2129 # However, it has the same basename, so the bogon will be chosen
2130 # first if we set CC to just the basename; use the full file name.
2132 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2138 if test -n "$CC"; then
2139 echo "$as_me:$LINENO: result: $CC" >&5
2140 echo "${ECHO_T}$CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2147 if test -z "$CC"; then
2148 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2152 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_prog_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$CC"; then
2159 ac_cv_prog_CC
="$CC" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test -n "$CC"; then
2179 echo "$as_me:$LINENO: result: $CC" >&5
2180 echo "${ECHO_T}$CC" >&6
2182 echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6
2186 test -n "$CC" && break
2189 if test -z "$CC"; then
2193 # Extract the first word of "$ac_prog", so it can be a program name with args.
2194 set dummy
$ac_prog; ac_word
=$2
2195 echo "$as_me:$LINENO: checking for $ac_word" >&5
2196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 if test -n "$ac_ct_CC"; then
2201 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir
=.
2208 for ac_exec_ext
in '' $ac_executable_extensions; do
2209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2210 ac_cv_prog_ac_ct_CC
="$ac_prog"
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2220 if test -n "$ac_ct_CC"; then
2221 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2222 echo "${ECHO_T}$ac_ct_CC" >&6
2224 echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6
2228 test -n "$ac_ct_CC" && break
2237 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2238 See \`config.log' for more details." >&5
2239 echo "$as_me: error: no acceptable C compiler found in \$PATH
2240 See \`config.log' for more details." >&2;}
2241 { (exit 1); exit 1; }; }
2243 # Provide some information about the compiler.
2244 echo "$as_me:$LINENO:" \
2245 "checking for C compiler version" >&5
2246 ac_compiler
=`set X $ac_compile; echo $2`
2247 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2248 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }
2252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2253 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2257 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2258 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }
2263 cat >conftest.
$ac_ext <<_ACEOF
2266 cat confdefs.h
>>conftest.
$ac_ext
2267 cat >>conftest.
$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2280 (eval $ac_link) 2>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; then
2289 if test x
$gcc_no_link = xyes
; then
2290 # Setting cross_compile will disable run tests; it will
2291 # also disable AC_CHECK_FILE but that's generally
2292 # correct if we can't link.
2296 cat >conftest.
$ac_ext <<_ACEOF
2299 cat confdefs.h
>>conftest.
$ac_ext
2300 cat >>conftest.
$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2311 ac_clean_files_save
=$ac_clean_files
2312 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2313 # Try to create an executable without -o first, disregard a.out.
2314 # It will help us diagnose broken compilers, and finding out an intuition
2316 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2317 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2318 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2319 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2320 (eval $ac_link_default) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; then
2324 # Find the output, starting from the most likely. This scheme is
2325 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2328 # Be careful to initialize this variable, since it used to be cached.
2329 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2331 # b.out is created by i960 compilers.
2332 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2334 test -f "$ac_file" ||
continue
2336 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2339 # This is the source file.
2342 # We found the default executable, but exeext='' is most
2346 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2347 # FIXME: I believe we export ac_cv_exeext for Libtool,
2348 # but it would be cool to find out if it's true. Does anybody
2349 # maintain Libtool? --akim.
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2361 See \`config.log' for more details." >&5
2362 echo "$as_me: error: C compiler cannot create executables
2363 See \`config.log' for more details." >&2;}
2364 { (exit 77); exit 77; }; }
2367 ac_exeext
=$ac_cv_exeext
2368 echo "$as_me:$LINENO: result: $ac_file" >&5
2369 echo "${ECHO_T}$ac_file" >&6
2371 # Check the compiler produces executables we can run. If not, either
2372 # the compiler is broken, or we cross compile.
2373 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2374 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2375 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2376 # If not cross compiling, check that we can run a simple program.
2377 if test "$cross_compiling" != yes; then
2378 if { ac_try
='./$ac_file'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then
2386 if test "$cross_compiling" = maybe
; then
2389 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2390 If you meant to cross compile, use \`--host'.
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: cannot run C compiled programs.
2393 If you meant to cross compile, use \`--host'.
2394 See \`config.log' for more details." >&2;}
2395 { (exit 1); exit 1; }; }
2399 echo "$as_me:$LINENO: result: yes" >&5
2400 echo "${ECHO_T}yes" >&6
2402 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2403 ac_clean_files
=$ac_clean_files_save
2404 # Check the compiler produces executables we can run. If not, either
2405 # the compiler is broken, or we cross compile.
2406 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2407 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2408 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2409 echo "${ECHO_T}$cross_compiling" >&6
2411 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2412 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2414 (eval $ac_link) 2>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; then
2418 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2419 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2420 # work properly (i.e., refer to `conftest.exe'), while it won't with
2422 for ac_file
in conftest.exe conftest conftest.
*; do
2423 test -f "$ac_file" ||
continue
2425 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2426 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2434 See \`config.log' for more details." >&5
2435 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2440 rm -f conftest
$ac_cv_exeext
2441 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2442 echo "${ECHO_T}$ac_cv_exeext" >&6
2444 rm -f conftest.
$ac_ext
2445 EXEEXT
=$ac_cv_exeext
2448 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2449 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2450 if test "${ac_cv_objext+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 rm -f conftest.o conftest.obj
2469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2470 (eval $ac_compile) 2>&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; then
2474 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2476 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2477 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.
$ac_ext >&5
2485 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2488 See \`config.log' for more details." >&2;}
2489 { (exit 1); exit 1; }; }
2492 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2494 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2495 echo "${ECHO_T}$ac_cv_objext" >&6
2496 OBJEXT
=$ac_cv_objext
2498 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2499 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2500 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 cat >conftest.
$ac_ext <<_ACEOF
2506 cat confdefs.h
>>conftest.
$ac_ext
2507 cat >>conftest.
$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2521 rm -f conftest.
$ac_objext
2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523 (eval $ac_compile) 2>conftest.er1
2525 grep -v '^ *+' conftest.er1
>conftest.err
2527 cat conftest.err
>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } &&
2530 { ac_try
='test -z "$ac_c_werror_flag"
2531 || test ! -s conftest.err'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; } &&
2537 { ac_try
='test -s conftest.$ac_objext'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2545 echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.
$ac_ext >&5
2550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2551 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2554 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2555 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2556 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2557 ac_test_CFLAGS
=${CFLAGS+set}
2558 ac_save_CFLAGS
=$CFLAGS
2560 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2561 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2562 if test "${ac_cv_prog_cc_g+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.
$ac_ext <<_ACEOF
2568 cat confdefs.h
>>conftest.
$ac_ext
2569 cat >>conftest.
$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2580 rm -f conftest.
$ac_objext
2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2582 (eval $ac_compile) 2>conftest.er1
2584 grep -v '^ *+' conftest.er1
>conftest.err
2586 cat conftest.err
>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } &&
2589 { ac_try
='test -z "$ac_c_werror_flag"
2590 || test ! -s conftest.err'
2591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; } &&
2596 { ac_try
='test -s conftest.$ac_objext'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; }; then
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.
$ac_ext >&5
2609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2611 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2612 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2613 if test "$ac_test_CFLAGS" = set; then
2614 CFLAGS
=$ac_save_CFLAGS
2615 elif test $ac_cv_prog_cc_g = yes; then
2616 if test "$GCC" = yes; then
2622 if test "$GCC" = yes; then
2628 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2629 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2630 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 ac_cv_prog_cc_stdc
=no
2635 cat >conftest.
$ac_ext <<_ACEOF
2638 cat confdefs.h
>>conftest.
$ac_ext
2639 cat >>conftest.
$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2643 #include <sys/types.h>
2644 #include <sys/stat.h>
2645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2646 struct buf { int x; };
2647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2648 static char *e (p, i)
2654 static char *f (char * (*g) (char **, int), char **p, ...)
2659 s = g (p, va_arg (v,int));
2664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2665 function prototypes and stuff, but not '\xHH' hex character constants.
2666 These don't provoke an error unfortunately, instead are silently treated
2667 as 'x'. The following induces an error, until -std1 is added to get
2668 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2669 array size at least. It's necessary to write '\x00'==0 to get something
2670 that's true only with -std1. */
2671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2673 int test (int i, double x);
2674 struct s1 {int (*f) (int a);};
2675 struct s2 {int (*f) (double a);};
2676 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2682 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2687 # Don't try gcc -ansi; that turns off useful extensions and
2688 # breaks some systems' header files.
2689 # AIX -qlanglvl=ansi
2690 # Ultrix and OSF/1 -std1
2691 # HP-UX 10.20 and later -Ae
2692 # HP-UX older versions -Aa -D_HPUX_SOURCE
2693 # SVR4 -Xc -D__EXTENSIONS__
2694 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2696 CC
="$ac_save_CC $ac_arg"
2697 rm -f conftest.
$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try
='test -z "$ac_c_werror_flag"
2707 || test ! -s conftest.err'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2719 ac_cv_prog_cc_stdc
=$ac_arg
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2726 rm -f conftest.err conftest.
$ac_objext
2728 rm -f conftest.
$ac_ext conftest.
$ac_objext
2733 case "x$ac_cv_prog_cc_stdc" in
2735 echo "$as_me:$LINENO: result: none needed" >&5
2736 echo "${ECHO_T}none needed" >&6 ;;
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2740 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2743 # Some people use a C++ compiler to compile C. Since we use `exit',
2744 # in C++ we need to declare it. In case someone uses the same compiler
2745 # for both compiling C and C++ we need to have the C++ compiler decide
2746 # the declaration of exit, since it's the most demanding environment.
2747 cat >conftest.
$ac_ext <<_ACEOF
2752 rm -f conftest.
$ac_objext
2753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2754 (eval $ac_compile) 2>conftest.er1
2756 grep -v '^ *+' conftest.er1
>conftest.err
2758 cat conftest.err
>&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } &&
2761 { ac_try
='test -z "$ac_c_werror_flag"
2762 || test ! -s conftest.err'
2763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; } &&
2768 { ac_try
='test -s conftest.$ac_objext'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; }; then
2774 for ac_declaration
in \
2776 'extern "C" void std::exit (int) throw (); using std::exit;' \
2777 'extern "C" void std::exit (int); using std::exit;' \
2778 'extern "C" void exit (int) throw ();' \
2779 'extern "C" void exit (int);' \
2782 cat >conftest.
$ac_ext <<_ACEOF
2785 cat confdefs.h
>>conftest.
$ac_ext
2786 cat >>conftest.
$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2798 rm -f conftest.
$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
2802 grep -v '^ *+' conftest.er1
>conftest.err
2804 cat conftest.err
>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try
='test -z "$ac_c_werror_flag"
2808 || test ! -s conftest.err'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try
='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.
$ac_ext >&5
2827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2828 cat >conftest.
$ac_ext <<_ACEOF
2831 cat confdefs.h
>>conftest.
$ac_ext
2832 cat >>conftest.
$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2843 rm -f conftest.
$ac_objext
2844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2845 (eval $ac_compile) 2>conftest.er1
2847 grep -v '^ *+' conftest.er1
>conftest.err
2849 cat conftest.err
>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } &&
2852 { ac_try
='test -z "$ac_c_werror_flag"
2853 || test ! -s conftest.err'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; } &&
2859 { ac_try
='test -s conftest.$ac_objext'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; }; then
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2874 if test -n "$ac_declaration"; then
2875 echo '#ifdef __cplusplus' >>confdefs.h
2876 echo $ac_declaration >>confdefs.h
2877 echo '#endif' >>confdefs.h
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.
$ac_ext >&5
2885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2887 ac_cpp
='$CPP $CPPFLAGS'
2888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2891 DEPDIR
="${am__leading_dot}deps"
2893 ac_config_commands
="$ac_config_commands depfiles"
2896 am_make
=${MAKE-make}
2897 cat > confinc
<< 'END'
2902 # If we don't find an include directive, just comment out the code.
2903 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2904 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2908 # First try GNU make style include.
2909 echo "include confinc" > confmf
2910 # We grep out `Entering directory' and `Leaving directory'
2911 # messages which can occur if `w' ends up in MAKEFLAGS.
2912 # In particular we don't look at `^make:' because GNU make might
2913 # be invoked under some other name (usually "gmake"), in which
2914 # case it prints its new name instead of `make'.
2915 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2920 # Now try BSD make style include.
2921 if test "$am__include" = "#"; then
2922 echo '.include "confinc"' > confmf
2923 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2924 am__include
=.include
2931 echo "$as_me:$LINENO: result: $_am_result" >&5
2932 echo "${ECHO_T}$_am_result" >&6
2933 rm -f confinc confmf
2935 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2936 if test "${enable_dependency_tracking+set}" = set; then
2937 enableval
="$enable_dependency_tracking"
2940 if test "x$enable_dependency_tracking" != xno
; then
2941 am_depcomp
="$ac_aux_dir/depcomp"
2946 if test "x$enable_dependency_tracking" != xno; then
2957 depcc
="$CC" am_compiler_list
=
2959 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2960 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2961 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2965 # We make a subdir and do the tests there. Otherwise we can end up
2966 # making bogus files that we don't know about and never remove. For
2967 # instance it was reported that on HP-UX the gcc test will end up
2968 # making a dummy file named `D' -- because `-MD' means `put the output
2971 # Copy depcomp to subdir because otherwise we won't find it if we're
2972 # using a relative directory.
2973 cp "$am_depcomp" conftest.dir
2975 # We will build objects and dependencies in a subdirectory because
2976 # it helps to detect inapplicable dependency modes. For instance
2977 # both Tru64's cc and ICC support -MD to output dependencies as a
2978 # side effect of compilation, but ICC will put the dependencies in
2979 # the current directory while Tru64 will put them in the object
2983 am_cv_CC_dependencies_compiler_type
=none
2984 if test "$am_compiler_list" = ""; then
2985 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2987 for depmode
in $am_compiler_list; do
2988 # Setup a source with many dependencies, because some compilers
2989 # like to wrap large dependency lists on column 80 (with \), and
2990 # we should not choose a depcomp mode which is confused by this.
2992 # We need to recreate these files for each test, as the compiler may
2993 # overwrite some of them when testing with obscure command lines.
2994 # This happens at least with the AIX C compiler.
2996 for i
in 1 2 3 4 5 6; do
2997 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3000 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3004 # after this tag, mechanisms are not by side-effect, so they'll
3005 # only be used when explicitly requested
3006 if test "x$enable_dependency_tracking" = xyes
; then
3014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3015 # mode. It turns out that the SunPro C++ compiler does not properly
3016 # handle `-M -o', and we need to detect this.
3017 if depmode
=$depmode \
3018 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3019 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3020 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3021 >/dev
/null
2>conftest.err
&&
3022 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3023 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3024 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3025 # icc doesn't choke on unknown options, it will just issue warnings
3026 # (even with -Werror). So we grep stderr for any message
3027 # that says an option was ignored.
3028 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3029 am_cv_CC_dependencies_compiler_type
=$depmode
3038 am_cv_CC_dependencies_compiler_type
=none
3042 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3043 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3044 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3049 test "x$enable_dependency_tracking" != xno \
3050 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3052 am__fastdepCC_FALSE
='#'
3054 am__fastdepCC_TRUE
='#'
3055 am__fastdepCC_FALSE
=
3060 # Check whether --enable-shared or --disable-shared was given.
3061 if test "${enable_shared+set}" = set; then
3062 enableval
="$enable_shared"
3063 p
=${PACKAGE-default}
3065 yes) enable_shared
=yes ;;
3066 no
) enable_shared
=no
;;
3069 # Look at the argument we got. We use all the common list separators.
3070 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3071 for pkg
in $enableval; do
3072 if test "X$pkg" = "X$p"; then
3082 # Check whether --enable-static or --disable-static was given.
3083 if test "${enable_static+set}" = set; then
3084 enableval
="$enable_static"
3085 p
=${PACKAGE-default}
3087 yes) enable_static
=yes ;;
3088 no
) enable_static
=no
;;
3091 # Look at the argument we got. We use all the common list separators.
3092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3093 for pkg
in $enableval; do
3094 if test "X$pkg" = "X$p"; then
3104 # Check whether --enable-fast-install or --disable-fast-install was given.
3105 if test "${enable_fast_install+set}" = set; then
3106 enableval
="$enable_fast_install"
3107 p
=${PACKAGE-default}
3109 yes) enable_fast_install
=yes ;;
3110 no
) enable_fast_install
=no
;;
3112 enable_fast_install
=no
3113 # Look at the argument we got. We use all the common list separators.
3114 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3115 for pkg
in $enableval; do
3116 if test "X$pkg" = "X$p"; then
3117 enable_fast_install
=yes
3124 enable_fast_install
=yes
3127 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3128 if test "${with_gnu_ld+set}" = set; then
3129 withval
="$with_gnu_ld"
3130 test "$withval" = no || with_gnu_ld
=yes
3135 if test "$GCC" = yes; then
3136 # Check if gcc -print-prog-name=ld gives a path.
3137 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3138 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3141 # gcc leaves a trailing carriage return which upsets mingw
3142 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3144 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3147 # Accept absolute paths.
3148 [\\/]* |
[A-Za-z
]:[\\/]*)
3149 re_direlt
='/[^/][^/]*/\.\./'
3150 # Canonicalize the path of ld
3151 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3152 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3153 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3155 test -z "$LD" && LD
="$ac_prog"
3158 # If it fails, then pretend we aren't using GCC.
3162 # If it is relative, then search for the first ld in PATH.
3166 elif test "$with_gnu_ld" = yes; then
3167 echo "$as_me:$LINENO: checking for GNU ld" >&5
3168 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3170 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3171 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3173 if test "${lt_cv_path_LD+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 if test -z "$LD"; then
3177 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3178 for ac_dir
in $PATH; do
3179 test -z "$ac_dir" && ac_dir
=.
3180 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3181 lt_cv_path_LD
="$ac_dir/$ac_prog"
3182 # Check to see if the program is GNU ld. I'd rather use --version,
3183 # but apparently some GNU ld's only accept -v.
3184 # Break only if it was the GNU/non-GNU ld that we prefer.
3185 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3186 test "$with_gnu_ld" != no
&& break
3188 test "$with_gnu_ld" != yes && break
3194 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3199 if test -n "$LD"; then
3200 echo "$as_me:$LINENO: result: $LD" >&5
3201 echo "${ECHO_T}$LD" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3206 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3207 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3208 { (exit 1); exit 1; }; }
3209 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3210 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3211 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3215 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3216 lt_cv_prog_gnu_ld
=yes
3218 lt_cv_prog_gnu_ld
=no
3221 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3222 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3223 with_gnu_ld
=$lt_cv_prog_gnu_ld
3226 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3227 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3228 if test "${lt_cv_ld_reload_flag+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 lt_cv_ld_reload_flag
='-r'
3233 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3234 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3235 reload_flag
=$lt_cv_ld_reload_flag
3236 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3238 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3239 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3240 if test "${lt_cv_path_NM+set}" = set; then
3241 echo $ECHO_N "(cached) $ECHO_C" >&6
3243 if test -n "$NM"; then
3244 # Let the user override the test.
3247 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3248 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3249 test -z "$ac_dir" && ac_dir
=.
3250 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3251 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3252 # Check to see if the nm accepts a BSD-compat flag.
3253 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3254 # nm: unknown option "B" ignored
3255 # Tru64's nm complains that /dev/null is an invalid object file
3256 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3257 lt_cv_path_NM
="$tmp_nm -B"
3259 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3260 lt_cv_path_NM
="$tmp_nm -p"
3263 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3264 continue # so that we can try to find one that supports BSD flags
3269 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3274 echo "$as_me:$LINENO: result: $NM" >&5
3275 echo "${ECHO_T}$NM" >&6
3277 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3278 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3280 if test "$LN_S" = "ln -s"; then
3281 echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6
3284 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3285 echo "${ECHO_T}no, using $LN_S" >&6
3288 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3289 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3290 if test "${lt_cv_deplibs_check_method+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3294 lt_cv_file_magic_test_file
=
3295 lt_cv_deplibs_check_method
='unknown'
3296 # Need to set the preceding variable on all platforms that support
3297 # interlibrary dependencies.
3298 # 'none' -- dependencies not supported.
3299 # `unknown' -- same as none, but documents that we really don't know.
3300 # 'pass_all' -- all dependencies passed with no checks.
3301 # 'test_compile' -- check by making test program.
3302 # 'file_magic [regex]' -- check by looking for files in library path
3303 # which responds to the $file_magic_cmd with a given egrep regex.
3304 # If you have `file' or equivalent on your system and you're not sure
3305 # whether `pass_all' will *always* work, you probably want this one.
3309 lt_cv_deplibs_check_method
=pass_all
3313 lt_cv_deplibs_check_method
=pass_all
3317 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3318 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3319 lt_cv_file_magic_test_file
=/shlib
/libc.so
3322 cygwin
* | mingw
* |pw32
*)
3323 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3324 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3327 darwin
* | rhapsody
*)
3328 # this will be overwritten by pass_all, but leave it in just in case
3329 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3330 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3332 rhapsody
* | darwin1.012
)
3333 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3336 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3339 lt_cv_deplibs_check_method
=pass_all
3343 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3346 # Not sure whether the presence of OpenBSD here was a mistake.
3347 # Let's accept both of them until this is cleared up.
3348 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3349 lt_cv_file_magic_cmd
=/usr
/bin
/file
3350 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3354 lt_cv_deplibs_check_method
=pass_all
3359 lt_cv_deplibs_check_method
=pass_all
3365 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3366 lt_cv_file_magic_cmd
=/usr
/bin
/file
3367 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3370 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3371 lt_cv_file_magic_cmd
=/usr
/bin
/file
3372 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3380 # this will be overridden with pass_all, but let us keep it just in case
3381 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3385 *-32|
*"-32 ") libmagic
=32-bit;;
3386 *-n32|
*"-n32 ") libmagic
=N32
;;
3387 *-64|
*"-64 ") libmagic
=64-bit;;
3388 *) libmagic
=never-match
;;
3390 # this will be overridden with pass_all, but let us keep it just in case
3391 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3394 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3395 lt_cv_deplibs_check_method
=pass_all
3398 # This must be Linux ELF.
3401 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3402 lt_cv_deplibs_check_method
=pass_all
;;
3404 # glibc up to 2.1.1 does not perform some relocations on ARM
3405 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3407 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3411 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3412 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3414 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3419 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3420 lt_cv_file_magic_cmd
=/usr
/bin
/file
3421 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3424 osf3
* | osf4
* | osf5
*)
3425 # this will be overridden with pass_all, but let us keep it just in case
3426 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3427 lt_cv_file_magic_test_file
=/shlib
/libc.so
3428 lt_cv_deplibs_check_method
=pass_all
3432 lt_cv_deplibs_check_method
=pass_all
3436 lt_cv_deplibs_check_method
=pass_all
3437 lt_cv_file_magic_test_file
=/lib
/libc.so
3440 sysv5uw
[78]* | sysv4
*uw2
*)
3441 lt_cv_deplibs_check_method
=pass_all
3444 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3445 case $host_vendor in
3447 lt_cv_deplibs_check_method
=pass_all
3450 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3451 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3458 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3459 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3460 file_magic_cmd
=$lt_cv_file_magic_cmd
3461 deplibs_check_method
=$lt_cv_deplibs_check_method
3467 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3469 # Only perform the check for file, if the check method requires it
3470 case $deplibs_check_method in
3472 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3473 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3474 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3475 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3483 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3486 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3487 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3488 ac_dummy
="/usr/bin:$PATH"
3489 for ac_dir
in $ac_dummy; do
3490 test -z "$ac_dir" && ac_dir
=.
3491 if test -f $ac_dir/${ac_tool_prefix}file; then
3492 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3493 if test -n "$file_magic_test_file"; then
3494 case $deplibs_check_method in
3496 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3497 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3498 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3499 egrep "$file_magic_regex" > /dev
/null
; then
3504 *** Warning: the command libtool uses to detect shared libraries,
3505 *** $file_magic_cmd, produces output that libtool cannot recognize.
3506 *** The result is that libtool may fail to recognize shared libraries
3507 *** as such. This will affect the creation of libtool libraries that
3508 *** depend on shared libraries, but programs linked with such libtool
3509 *** libraries will work regardless of this problem. Nevertheless, you
3510 *** may want to report the problem to your system manager and/or to
3511 *** bug-libtool@gnu.org
3521 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3526 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3527 if test -n "$MAGIC_CMD"; then
3528 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3529 echo "${ECHO_T}$MAGIC_CMD" >&6
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3535 if test -z "$lt_cv_path_MAGIC_CMD"; then
3536 if test -n "$ac_tool_prefix"; then
3537 echo "$as_me:$LINENO: checking for file" >&5
3538 echo $ECHO_N "checking for file... $ECHO_C" >&6
3539 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3547 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3550 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3551 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3552 ac_dummy
="/usr/bin:$PATH"
3553 for ac_dir
in $ac_dummy; do
3554 test -z "$ac_dir" && ac_dir
=.
3555 if test -f $ac_dir/file; then
3556 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3557 if test -n "$file_magic_test_file"; then
3558 case $deplibs_check_method in
3560 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3561 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3562 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3563 egrep "$file_magic_regex" > /dev
/null
; then
3568 *** Warning: the command libtool uses to detect shared libraries,
3569 *** $file_magic_cmd, produces output that libtool cannot recognize.
3570 *** The result is that libtool may fail to recognize shared libraries
3571 *** as such. This will affect the creation of libtool libraries that
3572 *** depend on shared libraries, but programs linked with such libtool
3573 *** libraries will work regardless of this problem. Nevertheless, you
3574 *** may want to report the problem to your system manager and/or to
3575 *** bug-libtool@gnu.org
3585 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3590 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3591 if test -n "$MAGIC_CMD"; then
3592 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3593 echo "${ECHO_T}$MAGIC_CMD" >&6
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3610 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3611 echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3613 if test "${ac_cv_prog_RANLIB+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 if test -n "$RANLIB"; then
3617 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3626 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 RANLIB
=$ac_cv_prog_RANLIB
3636 if test -n "$RANLIB"; then
3637 echo "$as_me:$LINENO: result: $RANLIB" >&5
3638 echo "${ECHO_T}$RANLIB" >&6
3640 echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6
3645 if test -z "$ac_cv_prog_RANLIB"; then
3646 ac_ct_RANLIB
=$RANLIB
3647 # Extract the first word of "ranlib", so it can be a program name with args.
3648 set dummy ranlib
; ac_word
=$2
3649 echo "$as_me:$LINENO: checking for $ac_word" >&5
3650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3651 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 if test -n "$ac_ct_RANLIB"; then
3655 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3674 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3675 if test -n "$ac_ct_RANLIB"; then
3676 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3677 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3679 echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6
3683 RANLIB
=$ac_ct_RANLIB
3685 RANLIB
="$ac_cv_prog_RANLIB"
3688 if test -n "$ac_tool_prefix"; then
3689 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3690 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3691 echo "$as_me:$LINENO: checking for $ac_word" >&5
3692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3693 if test "${ac_cv_prog_STRIP+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 if test -n "$STRIP"; then
3697 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 STRIP
=$ac_cv_prog_STRIP
3716 if test -n "$STRIP"; then
3717 echo "$as_me:$LINENO: result: $STRIP" >&5
3718 echo "${ECHO_T}$STRIP" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3725 if test -z "$ac_cv_prog_STRIP"; then
3727 # Extract the first word of "strip", so it can be a program name with args.
3728 set dummy strip
; ac_word
=$2
3729 echo "$as_me:$LINENO: checking for $ac_word" >&5
3730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3731 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 if test -n "$ac_ct_STRIP"; then
3735 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir
=.
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_ac_ct_STRIP
="strip"
3745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3754 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3755 if test -n "$ac_ct_STRIP"; then
3756 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3757 echo "${ECHO_T}$ac_ct_STRIP" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3765 STRIP
="$ac_cv_prog_STRIP"
3769 # Check for any special flags to pass to ltconfig.
3770 libtool_flags
="--cache-file=$cache_file"
3771 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3772 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3773 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3774 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3775 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3778 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3779 if test "${enable_libtool_lock+set}" = set; then
3780 enableval
="$enable_libtool_lock"
3783 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3784 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3787 # Check whether --with-pic or --without-pic was given.
3788 if test "${with_pic+set}" = set; then
3794 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3795 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3797 # Some flags need to be propagated to the compiler or linker for good
3801 # Find out which ABI we are using.
3802 echo '#line 3802 "configure"' > conftest.
$ac_ext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; then
3808 if test "$lt_cv_prog_gnu_ld" = yes; then
3809 case `/usr/bin/file conftest.$ac_objext` in
3811 LD
="${LD-ld} -melf32bsmip"
3814 LD
="${LD-ld} -melf32bmipn32"
3817 LD
="${LD-ld} -melf64bmip"
3821 case `/usr/bin/file conftest.$ac_objext` in
3838 # Find out which ABI we are using.
3839 echo 'int i;' > conftest.
$ac_ext
3840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3841 (eval $ac_compile) 2>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; then
3845 case "`/usr/bin/file conftest.o`" in
3857 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3858 # Find out which ABI we are using.
3859 echo 'int i;' > conftest.
$ac_ext
3860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3861 (eval $ac_compile) 2>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; then
3865 case "`/usr/bin/file conftest.o`" in
3869 LD
="${LD-ld} -m elf_i386"
3871 ppc64-
*linux
*|powerpc64-
*linux
*)
3872 LD
="${LD-ld} -m elf32ppclinux"
3875 LD
="${LD-ld} -m elf_s390"
3878 LD
="${LD-ld} -m elf32_sparc"
3885 LD
="${LD-ld} -m elf_x86_64"
3887 ppc
*-*linux
*|powerpc
*-*linux
*)
3888 LD
="${LD-ld} -m elf64ppc"
3891 LD
="${LD-ld} -m elf64_s390"
3894 LD
="${LD-ld} -m elf64_sparc"
3904 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3905 SAVE_CFLAGS
="$CFLAGS"
3906 CFLAGS
="$CFLAGS -belf"
3907 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3908 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3909 if test "${lt_cv_cc_needs_belf+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 ac_cpp
='$CPP $CPPFLAGS'
3916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3920 if test x
$gcc_no_link = xyes
; then
3921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3923 { (exit 1); exit 1; }; }
3925 cat >conftest.
$ac_ext <<_ACEOF
3928 cat confdefs.h
>>conftest.
$ac_ext
3929 cat >>conftest.
$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3940 rm -f conftest.
$ac_objext conftest
$ac_exeext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3942 (eval $ac_link) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1
>conftest.err
3946 cat conftest.err
>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try
='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 lt_cv_cc_needs_belf
=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3967 lt_cv_cc_needs_belf
=no
3969 rm -f conftest.err conftest.
$ac_objext \
3970 conftest
$ac_exeext conftest.
$ac_ext
3972 ac_cpp
='$CPP $CPPFLAGS'
3973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3978 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3979 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3980 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3981 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3982 CFLAGS
="$SAVE_CFLAGS"
3990 # Save cache, so that ltconfig can load it
3991 cat >confcache
<<\_ACEOF
3992 # This file is a shell script that caches the results of configure
3993 # tests run on this system so they can be shared between configure
3994 # scripts and configure runs, see configure's option --config-cache.
3995 # It is not useful on other systems. If it contains results you don't
3996 # want to keep, you may remove or edit it.
3998 # config.status only pays attention to the cache file if you give it
3999 # the --recheck option to rerun configure.
4001 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4007 # The following way of writing the cache mishandles newlines in values,
4008 # but we know of no workaround that is simple, portable, and efficient.
4009 # So, don't put newlines in cache variables' values.
4010 # Ultrix sh set writes to stderr and can't be redirected directly,
4011 # and sets the high bit in the cache file unless we assign to the vars.
4014 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4016 # `set' does not quote correctly, so add quotes (double-quote
4017 # substitution turns \\\\ into \\, and sed turns \\ into \).
4020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4023 # `set' quotes correctly as required by POSIX, so do not add quotes.
4025 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4034 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4036 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4037 if test -w $cache_file; then
4038 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4039 cat confcache
>$cache_file
4041 echo "not updating unwritable cache $cache_file"
4046 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4047 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4048 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4049 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4050 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4051 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4052 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4053 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4054 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4055 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4056 echo "$as_me: error: libtool configure failed" >&2;}
4057 { (exit 1); exit 1; }; }
4059 # Reload cache, that may have been modified by ltconfig
4060 if test -r "$cache_file"; then
4061 # Some versions of bash will fail to source /dev/null (special
4062 # files actually), so we avoid doing that.
4063 if test -f "$cache_file"; then
4064 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4065 echo "$as_me: loading cache $cache_file" >&6;}
4067 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4068 *) . .
/$cache_file;;
4072 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4073 echo "$as_me: creating cache $cache_file" >&6;}
4078 # This can be used to rebuild libtool when needed
4079 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4081 # Always use our own libtool.
4082 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4084 # Redirect the config.log output again, so that the ltconfig log is not
4085 # clobbered by the next message.
4086 exec 5>>.
/config.log
4094 # Find CPP now so that any conditional tests below won't do it and
4095 # thereby make the resulting definitions conditional.
4097 ac_cpp
='$CPP $CPPFLAGS'
4098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4101 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4102 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4103 # On Suns, sometimes $CPP names a directory.
4104 if test -n "$CPP" && test -d "$CPP"; then
4107 if test -z "$CPP"; then
4108 if test "${ac_cv_prog_CPP+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 # Double quotes because CPP needs to be expanded
4112 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4115 for ac_c_preproc_warn_flag
in '' yes
4117 # Use a header file that comes with gcc, so configuring glibc
4118 # with a fresh cross-compiler works.
4119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4120 # <limits.h> exists even on freestanding compilers.
4121 # On the NeXT, cc -E runs the code through the compiler's parser,
4122 # not just through cpp. "Syntax error" is here to catch this case.
4123 cat >conftest.
$ac_ext <<_ACEOF
4126 cat confdefs.h
>>conftest.
$ac_ext
4127 cat >>conftest.
$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4130 # include <limits.h>
4132 # include <assert.h>
4136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4139 grep -v '^ *+' conftest.er1
>conftest.err
4141 cat conftest.err
>&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); } >/dev
/null
; then
4144 if test -s conftest.err
; then
4145 ac_cpp_err
=$ac_c_preproc_warn_flag
4146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4153 if test -z "$ac_cpp_err"; then
4156 echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.
$ac_ext >&5
4159 # Broken: fails on valid input.
4162 rm -f conftest.err conftest.
$ac_ext
4164 # OK, works on sane cases. Now check whether non-existent headers
4165 # can be detected and how.
4166 cat >conftest.
$ac_ext <<_ACEOF
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 #include <ac_nonexistent.h>
4174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1
>conftest.err
4179 cat conftest.err
>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } >/dev
/null
; then
4182 if test -s conftest.err
; then
4183 ac_cpp_err
=$ac_c_preproc_warn_flag
4184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4191 if test -z "$ac_cpp_err"; then
4192 # Broken: success on invalid input.
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4198 # Passes both tests.
4202 rm -f conftest.err conftest.
$ac_ext
4205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4206 rm -f conftest.err conftest.
$ac_ext
4207 if $ac_preproc_ok; then
4219 echo "$as_me:$LINENO: result: $CPP" >&5
4220 echo "${ECHO_T}$CPP" >&6
4222 for ac_c_preproc_warn_flag
in '' yes
4224 # Use a header file that comes with gcc, so configuring glibc
4225 # with a fresh cross-compiler works.
4226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4227 # <limits.h> exists even on freestanding compilers.
4228 # On the NeXT, cc -E runs the code through the compiler's parser,
4229 # not just through cpp. "Syntax error" is here to catch this case.
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 # include <limits.h>
4239 # include <assert.h>
4243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } >/dev
/null
; then
4251 if test -s conftest.err
; then
4252 ac_cpp_err
=$ac_c_preproc_warn_flag
4253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4260 if test -z "$ac_cpp_err"; then
4263 echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.
$ac_ext >&5
4266 # Broken: fails on valid input.
4269 rm -f conftest.err conftest.
$ac_ext
4271 # OK, works on sane cases. Now check whether non-existent headers
4272 # can be detected and how.
4273 cat >conftest.
$ac_ext <<_ACEOF
4276 cat confdefs.h
>>conftest.
$ac_ext
4277 cat >>conftest.
$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4279 #include <ac_nonexistent.h>
4281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4284 grep -v '^ *+' conftest.er1
>conftest.err
4286 cat conftest.err
>&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } >/dev
/null
; then
4289 if test -s conftest.err
; then
4290 ac_cpp_err
=$ac_c_preproc_warn_flag
4291 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4298 if test -z "$ac_cpp_err"; then
4299 # Broken: success on invalid input.
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.
$ac_ext >&5
4305 # Passes both tests.
4309 rm -f conftest.err conftest.
$ac_ext
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.err conftest.
$ac_ext
4314 if $ac_preproc_ok; then
4317 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4318 See \`config.log' for more details." >&5
4319 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4320 See \`config.log' for more details." >&2;}
4321 { (exit 1); exit 1; }; }
4325 ac_cpp
='$CPP $CPPFLAGS'
4326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4331 if test -n "$with_cross_host"; then
4332 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
4333 # may not work correctly, because the compiler may not be able to
4336 # We assume newlib. This lets us hard-code the functions we know
4338 cat >>confdefs.h
<<\_ACEOF
4339 #define HAVE_MEMCPY 1
4342 cat >>confdefs.h
<<\_ACEOF
4343 #define HAVE_STRERROR 1
4347 # We ignore --with-system-zlib in this case.
4348 target_all
=libzgcj.la
4350 if test x
$gcc_no_link = xyes
; then
4351 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4352 ac_cv_func_mmap_fixed_mapped
=no
4355 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4357 echo "$as_me:$LINENO: checking for egrep" >&5
4358 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4359 if test "${ac_cv_prog_egrep+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4363 then ac_cv_prog_egrep
='grep -E'
4364 else ac_cv_prog_egrep
='egrep'
4367 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4368 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4369 EGREP
=$ac_cv_prog_egrep
4372 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4373 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4374 if test "${ac_cv_header_stdc+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 cat >conftest.
$ac_ext <<_ACEOF
4380 cat confdefs.h
>>conftest.
$ac_ext
4381 cat >>conftest.
$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4396 rm -f conftest.
$ac_objext
4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4398 (eval $ac_compile) 2>conftest.er1
4400 grep -v '^ *+' conftest.er1
>conftest.err
4402 cat conftest.err
>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } &&
4405 { ac_try
='test -z "$ac_c_werror_flag"
4406 || test ! -s conftest.err'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; } &&
4412 { ac_try
='test -s conftest.$ac_objext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4418 ac_cv_header_stdc
=yes
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.
$ac_ext >&5
4423 ac_cv_header_stdc
=no
4425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4427 if test $ac_cv_header_stdc = yes; then
4428 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4429 cat >conftest.
$ac_ext <<_ACEOF
4432 cat confdefs.h
>>conftest.
$ac_ext
4433 cat >>conftest.
$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4439 $EGREP "memchr" >/dev
/null
2>&1; then
4442 ac_cv_header_stdc
=no
4448 if test $ac_cv_header_stdc = yes; then
4449 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4460 $EGREP "free" >/dev
/null
2>&1; then
4463 ac_cv_header_stdc
=no
4469 if test $ac_cv_header_stdc = yes; then
4470 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4471 if test "$cross_compiling" = yes; then
4474 cat >conftest.
$ac_ext <<_ACEOF
4477 cat confdefs.h
>>conftest.
$ac_ext
4478 cat >>conftest.
$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4481 #if ((' ' & 0x0FF) == 0x020)
4482 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4483 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4485 # define ISLOWER(c) \
4486 (('a' <= (c) && (c) <= 'i') \
4487 || ('j' <= (c) && (c) <= 'r') \
4488 || ('s' <= (c) && (c) <= 'z'))
4489 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4492 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4497 for (i = 0; i < 256; i++)
4498 if (XOR (islower (i), ISLOWER (i))
4499 || toupper (i) != TOUPPER (i))
4504 rm -f conftest
$ac_exeext
4505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4506 (eval $ac_link) 2>&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4517 echo "$as_me: program exited with status $ac_status" >&5
4518 echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.
$ac_ext >&5
4522 ac_cv_header_stdc
=no
4524 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4528 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4529 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4530 if test $ac_cv_header_stdc = yes; then
4532 cat >>confdefs.h
<<\_ACEOF
4533 #define STDC_HEADERS 1
4538 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4548 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4549 inttypes.h stdint.h unistd.h
4551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4552 echo "$as_me:$LINENO: checking for $ac_header" >&5
4553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4563 $ac_includes_default
4565 #include <$ac_header>
4567 rm -f conftest.
$ac_objext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>conftest.er1
4571 grep -v '^ *+' conftest.er1
>conftest.err
4573 cat conftest.err
>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } &&
4576 { ac_try
='test -z "$ac_c_werror_flag"
4577 || test ! -s conftest.err'
4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; } &&
4583 { ac_try
='test -s conftest.$ac_objext'
4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; }; then
4589 eval "$as_ac_Header=yes"
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.
$ac_ext >&5
4594 eval "$as_ac_Header=no"
4596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4601 cat >>confdefs.h
<<_ACEOF
4602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612 for ac_header
in stdlib.h unistd.h
4614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4616 echo "$as_me:$LINENO: checking for $ac_header" >&5
4617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4624 # Is the header compilable?
4625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4633 $ac_includes_default
4634 #include <$ac_header>
4636 rm -f conftest.
$ac_objext
4637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4638 (eval $ac_compile) 2>conftest.er1
4640 grep -v '^ *+' conftest.er1
>conftest.err
4642 cat conftest.err
>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try
='test -z "$ac_c_werror_flag"
4646 || test ! -s conftest.err'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; } &&
4652 { ac_try
='test -s conftest.$ac_objext'
4653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; }; then
4658 ac_header_compiler
=yes
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4663 ac_header_compiler
=no
4665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4667 echo "${ECHO_T}$ac_header_compiler" >&6
4669 # Is the header present?
4670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4672 cat >conftest.
$ac_ext <<_ACEOF
4675 cat confdefs.h
>>conftest.
$ac_ext
4676 cat >>conftest.
$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 #include <$ac_header>
4680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4683 grep -v '^ *+' conftest.er1
>conftest.err
4685 cat conftest.err
>&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); } >/dev
/null
; then
4688 if test -s conftest.err
; then
4689 ac_cpp_err
=$ac_c_preproc_warn_flag
4690 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4697 if test -z "$ac_cpp_err"; then
4698 ac_header_preproc
=yes
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.
$ac_ext >&5
4703 ac_header_preproc
=no
4705 rm -f conftest.err conftest.
$ac_ext
4706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4707 echo "${ECHO_T}$ac_header_preproc" >&6
4709 # So? What about this header?
4710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4716 ac_header_preproc
=yes
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4733 ## ------------------------------------------ ##
4734 ## Report this to the AC_PACKAGE_NAME lists. ##
4735 ## ------------------------------------------ ##
4738 sed "s/^/$as_me: WARNING: /" >&2
4741 echo "$as_me:$LINENO: checking for $ac_header" >&5
4742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 eval "$as_ac_Header=\$ac_header_preproc"
4748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4753 cat >>confdefs.h
<<_ACEOF
4754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4762 for ac_func
in getpagesize
4764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4765 echo "$as_me:$LINENO: checking for $ac_func" >&5
4766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4767 if eval "test \"\${$as_ac_var+set}\" = set"; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 if test x
$gcc_no_link = xyes
; then
4771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4773 { (exit 1); exit 1; }; }
4775 cat >conftest.
$ac_ext <<_ACEOF
4778 cat confdefs.h
>>conftest.
$ac_ext
4779 cat >>conftest.
$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4783 #define $ac_func innocuous_$ac_func
4785 /* System header to define __stub macros and hopefully few prototypes,
4786 which can conflict with char $ac_func (); below.
4787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4788 <limits.h> exists even on freestanding compilers. */
4791 # include <limits.h>
4793 # include <assert.h>
4798 /* Override any gcc2 internal prototype to avoid an error. */
4803 /* We use char because int might match the return type of a gcc2
4804 builtin and then its argument prototype would still apply. */
4806 /* The GNU C library defines this for functions which it implements
4807 to always fail with ENOSYS. Some functions are actually named
4808 something starting with __ and the normal name is an alias. */
4809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4812 char (*f) () = $ac_func;
4821 return f != $ac_func;
4826 rm -f conftest.
$ac_objext conftest
$ac_exeext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4828 (eval $ac_link) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1
>conftest.err
4832 cat conftest.err
>&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try
='test -z "$ac_c_werror_flag"
4836 || test ! -s conftest.err'
4837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; } &&
4842 { ac_try
='test -s conftest$ac_exeext'
4843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; }; then
4848 eval "$as_ac_var=yes"
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.
$ac_ext >&5
4853 eval "$as_ac_var=no"
4855 rm -f conftest.err conftest.
$ac_objext \
4856 conftest
$ac_exeext conftest.
$ac_ext
4858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4860 if test `eval echo '${'$as_ac_var'}'` = yes; then
4861 cat >>confdefs.h
<<_ACEOF
4862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4868 echo "$as_me:$LINENO: checking for working mmap" >&5
4869 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4870 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 if test "$cross_compiling" = yes; then
4874 ac_cv_func_mmap_fixed_mapped
=no
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4882 $ac_includes_default
4883 /* malloc might have been renamed as rpl_malloc. */
4886 /* Thanks to Mike Haertel and Jim Avera for this test.
4887 Here is a matrix of mmap possibilities:
4888 mmap private not fixed
4889 mmap private fixed at somewhere currently unmapped
4890 mmap private fixed at somewhere already mapped
4891 mmap shared not fixed
4892 mmap shared fixed at somewhere currently unmapped
4893 mmap shared fixed at somewhere already mapped
4894 For private mappings, we should verify that changes cannot be read()
4895 back from the file, nor mmap's back from the file at a different
4896 address. (There have been systems where private was not correctly
4897 implemented like the infamous i386 svr4.0, and systems where the
4898 VM page cache was not coherent with the file system buffer cache
4899 like early versions of FreeBSD and possibly contemporary NetBSD.)
4900 For shared mappings, we should conversely verify that changes get
4901 propagated back to all the places they're supposed to be.
4903 Grep wants private fixed already mapped.
4904 The main things grep needs to know about mmap are:
4905 * does it exist and is it safe to write into the mmap'd area
4906 * how to use it (BSD variants) */
4909 #include <sys/mman.h>
4911 #if !STDC_HEADERS && !HAVE_STDLIB_H
4915 /* This mess was copied from the GNU getpagesize.h. */
4916 #if !HAVE_GETPAGESIZE
4917 /* Assume that all systems that can run configure have sys/param.h. */
4918 # if !HAVE_SYS_PARAM_H
4919 # define HAVE_SYS_PARAM_H 1
4922 # ifdef _SC_PAGESIZE
4923 # define getpagesize() sysconf(_SC_PAGESIZE)
4924 # else /* no _SC_PAGESIZE */
4925 # if HAVE_SYS_PARAM_H
4926 # include <sys/param.h>
4927 # ifdef EXEC_PAGESIZE
4928 # define getpagesize() EXEC_PAGESIZE
4929 # else /* no EXEC_PAGESIZE */
4931 # define getpagesize() NBPG * CLSIZE
4934 # endif /* no CLSIZE */
4935 # else /* no NBPG */
4937 # define getpagesize() NBPC
4938 # else /* no NBPC */
4940 # define getpagesize() PAGESIZE
4941 # endif /* PAGESIZE */
4942 # endif /* no NBPC */
4943 # endif /* no NBPG */
4944 # endif /* no EXEC_PAGESIZE */
4945 # else /* no HAVE_SYS_PARAM_H */
4946 # define getpagesize() 8192 /* punt totally */
4947 # endif /* no HAVE_SYS_PARAM_H */
4948 # endif /* no _SC_PAGESIZE */
4950 #endif /* no HAVE_GETPAGESIZE */
4955 char *data, *data2, *data3;
4959 pagesize = getpagesize ();
4961 /* First, make a file with some known garbage in it. */
4962 data = (char *) malloc (pagesize);
4965 for (i = 0; i < pagesize; ++i)
4966 *(data + i) = rand ();
4968 fd = creat ("conftest.mmap", 0600);
4971 if (write (fd, data, pagesize) != pagesize)
4975 /* Next, try to mmap the file at a fixed address which already has
4976 something else allocated at it. If we can, also make sure that
4977 we see the same garbage. */
4978 fd = open ("conftest.mmap", O_RDWR);
4981 data2 = (char *) malloc (2 * pagesize);
4984 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4985 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4986 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4988 for (i = 0; i < pagesize; ++i)
4989 if (*(data + i) != *(data2 + i))
4992 /* Finally, make sure that changes to the mapped area do not
4993 percolate back to the file as seen by read(). (This is a bug on
4994 some variants of i386 svr4.0.) */
4995 for (i = 0; i < pagesize; ++i)
4996 *(data2 + i) = *(data2 + i) + 1;
4997 data3 = (char *) malloc (pagesize);
5000 if (read (fd, data3, pagesize) != pagesize)
5002 for (i = 0; i < pagesize; ++i)
5003 if (*(data + i) != *(data3 + i))
5009 rm -f conftest
$ac_exeext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5011 (eval $ac_link) 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 ac_cv_func_mmap_fixed_mapped
=yes
5022 echo "$as_me: program exited with status $ac_status" >&5
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.
$ac_ext >&5
5027 ac_cv_func_mmap_fixed_mapped
=no
5029 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5032 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5033 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5034 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5036 cat >>confdefs.h
<<\_ACEOF
5046 for ac_func
in memcpy strerror
5048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5049 echo "$as_me:$LINENO: checking for $ac_func" >&5
5050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5051 if eval "test \"\${$as_ac_var+set}\" = set"; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test x
$gcc_no_link = xyes
; then
5055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5057 { (exit 1); exit 1; }; }
5059 cat >conftest.
$ac_ext <<_ACEOF
5062 cat confdefs.h
>>conftest.
$ac_ext
5063 cat >>conftest.
$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5067 #define $ac_func innocuous_$ac_func
5069 /* System header to define __stub macros and hopefully few prototypes,
5070 which can conflict with char $ac_func (); below.
5071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5072 <limits.h> exists even on freestanding compilers. */
5075 # include <limits.h>
5077 # include <assert.h>
5082 /* Override any gcc2 internal prototype to avoid an error. */
5087 /* We use char because int might match the return type of a gcc2
5088 builtin and then its argument prototype would still apply. */
5090 /* The GNU C library defines this for functions which it implements
5091 to always fail with ENOSYS. Some functions are actually named
5092 something starting with __ and the normal name is an alias. */
5093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5096 char (*f) () = $ac_func;
5105 return f != $ac_func;
5110 rm -f conftest.
$ac_objext conftest
$ac_exeext
5111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5112 (eval $ac_link) 2>conftest.er1
5114 grep -v '^ *+' conftest.er1
>conftest.err
5116 cat conftest.err
>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } &&
5119 { ac_try
='test -z "$ac_c_werror_flag"
5120 || test ! -s conftest.err'
5121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; } &&
5126 { ac_try
='test -s conftest$ac_exeext'
5127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); }; }; then
5132 eval "$as_ac_var=yes"
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.
$ac_ext >&5
5137 eval "$as_ac_var=no"
5139 rm -f conftest.err conftest.
$ac_objext \
5140 conftest
$ac_exeext conftest.
$ac_ext
5142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5144 if test `eval echo '${'$as_ac_var'}'` = yes; then
5145 cat >>confdefs.h
<<_ACEOF
5146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5153 if test "$with_system_zlib" = yes; then
5154 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5155 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5156 if test "${ac_cv_lib_z_deflate+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 ac_check_lib_save_LIBS
=$LIBS
5161 if test x
$gcc_no_link = xyes
; then
5162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5164 { (exit 1); exit 1; }; }
5166 cat >conftest.
$ac_ext <<_ACEOF
5169 cat confdefs.h
>>conftest.
$ac_ext
5170 cat >>conftest.
$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5173 /* Override any gcc2 internal prototype to avoid an error. */
5177 /* We use char because int might match the return type of a gcc2
5178 builtin and then its argument prototype would still apply. */
5188 rm -f conftest.
$ac_objext conftest
$ac_exeext
5189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5190 (eval $ac_link) 2>conftest.er1
5192 grep -v '^ *+' conftest.er1
>conftest.err
5194 cat conftest.err
>&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } &&
5197 { ac_try
='test -z "$ac_c_werror_flag"
5198 || test ! -s conftest.err'
5199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); }; } &&
5204 { ac_try
='test -s conftest$ac_exeext'
5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; }; then
5210 ac_cv_lib_z_deflate
=yes
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.
$ac_ext >&5
5215 ac_cv_lib_z_deflate
=no
5217 rm -f conftest.err conftest.
$ac_objext \
5218 conftest
$ac_exeext conftest.
$ac_ext
5219 LIBS
=$ac_check_lib_save_LIBS
5221 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
5222 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5223 if test $ac_cv_lib_z_deflate = yes; then
5226 target_all
=libzgcj.la
5230 target_all
=libzgcj.la
5237 for ac_header
in unistd.h
5239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5241 echo "$as_me:$LINENO: checking for $ac_header" >&5
5242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5249 # Is the header compilable?
5250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5258 $ac_includes_default
5259 #include <$ac_header>
5261 rm -f conftest.
$ac_objext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5263 (eval $ac_compile) 2>conftest.er1
5265 grep -v '^ *+' conftest.er1
>conftest.err
5267 cat conftest.err
>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } &&
5270 { ac_try
='test -z "$ac_c_werror_flag"
5271 || test ! -s conftest.err'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; } &&
5277 { ac_try
='test -s conftest.$ac_objext'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; }; then
5283 ac_header_compiler
=yes
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5288 ac_header_compiler
=no
5290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 echo "${ECHO_T}$ac_header_compiler" >&6
5294 # Is the header present?
5295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5297 cat >conftest.
$ac_ext <<_ACEOF
5300 cat confdefs.h
>>conftest.
$ac_ext
5301 cat >>conftest.
$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 #include <$ac_header>
5305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5308 grep -v '^ *+' conftest.er1
>conftest.err
5310 cat conftest.err
>&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } >/dev
/null
; then
5313 if test -s conftest.err
; then
5314 ac_cpp_err
=$ac_c_preproc_warn_flag
5315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5322 if test -z "$ac_cpp_err"; then
5323 ac_header_preproc
=yes
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.
$ac_ext >&5
5328 ac_header_preproc
=no
5330 rm -f conftest.err conftest.
$ac_ext
5331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5332 echo "${ECHO_T}$ac_header_preproc" >&6
5334 # So? What about this header?
5335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5341 ac_header_preproc
=yes
5344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5358 ## ------------------------------------------ ##
5359 ## Report this to the AC_PACKAGE_NAME lists. ##
5360 ## ------------------------------------------ ##
5363 sed "s/^/$as_me: WARNING: /" >&2
5366 echo "$as_me:$LINENO: checking for $ac_header" >&5
5367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 eval "$as_ac_Header=\$ac_header_preproc"
5373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378 cat >>confdefs.h
<<_ACEOF
5379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5387 if test -n "$with_cross_host" &&
5388 test x
"$with_cross_host" != x
"no"; then
5389 toolexecdir
='$(exec_prefix)/$(target_alias)'
5390 toolexeclibdir
='$(toolexecdir)/lib'
5392 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5393 toolexeclibdir
='$(libdir)'
5395 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev
/null
2>&1; then
5396 multiosdir
=/`$CC -print-multi-os-directory`
5398 /.
) multiosdir
= ;; # Avoid trailing /.
5403 toolexeclibdir
=${toolexeclibdir}${multiosdir}
5409 if test -n "$with_target_subdir"; then
5410 TARGET_LIBRARY_TRUE
=
5411 TARGET_LIBRARY_FALSE
='#'
5413 TARGET_LIBRARY_TRUE
='#'
5414 TARGET_LIBRARY_FALSE
=
5418 if test "${multilib}" = "yes"; then
5419 multilib_arg
="--enable-multilib"
5424 ac_config_files
="$ac_config_files Makefile"
5427 ac_config_commands
="$ac_config_commands default"
5430 cat >confcache
<<\_ACEOF
5431 # This file is a shell script that caches the results of configure
5432 # tests run on this system so they can be shared between configure
5433 # scripts and configure runs, see configure's option --config-cache.
5434 # It is not useful on other systems. If it contains results you don't
5435 # want to keep, you may remove or edit it.
5437 # config.status only pays attention to the cache file if you give it
5438 # the --recheck option to rerun configure.
5440 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5441 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5446 # The following way of writing the cache mishandles newlines in values,
5447 # but we know of no workaround that is simple, portable, and efficient.
5448 # So, don't put newlines in cache variables' values.
5449 # Ultrix sh set writes to stderr and can't be redirected directly,
5450 # and sets the high bit in the cache file unless we assign to the vars.
5453 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5455 # `set' does not quote correctly, so add quotes (double-quote
5456 # substitution turns \\\\ into \\, and sed turns \\ into \).
5459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5462 # `set' quotes correctly as required by POSIX, so do not add quotes.
5464 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5473 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5475 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5476 if test -w $cache_file; then
5477 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5478 cat confcache
>$cache_file
5480 echo "not updating unwritable cache $cache_file"
5485 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5486 # Let make expand exec_prefix.
5487 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5489 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5490 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5491 # trailing colons and then remove the whole line if VPATH becomes empty
5492 # (actually we leave an empty line to preserve line numbers).
5493 if test "x$srcdir" = x.
; then
5494 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5495 s/:*\$(srcdir):*/:/;
5496 s/:*\${srcdir}:*/:/;
5498 s/^\([^=]*=[ ]*\):*/\1/;
5504 # Transform confdefs.h into DEFS.
5505 # Protect against shell expansion while executing Makefile rules.
5506 # Protect against Makefile macro expansion.
5508 # If the first sed substitution is executed (which looks for macros that
5509 # take arguments), then we branch to the quote section. Otherwise,
5510 # look for a macro that doesn't take arguments.
5511 cat >confdef2opt.
sed <<\_ACEOF
5514 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5516 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5520 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5526 # We use echo to avoid assuming a particular line-breaking character.
5527 # The extra dot is to prevent the shell from consuming trailing
5528 # line-breaks from the sub-command output. A line-break within
5529 # single-quotes doesn't work because, if this script is created in a
5530 # platform that uses two characters for line-breaks (e.g., DOS), tr
5532 ac_LF_and_DOT=`echo; echo .
`
5533 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5534 rm -f confdef2opt.sed
5539 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5540 # 1. Remove the extension, and $U if already installed.
5541 ac_i=`echo "$ac_i" |
5542 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5544 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5545 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5549 LTLIBOBJS=$ac_ltlibobjs
5552 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5553 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5554 Usually this means the macro was only invoked conditionally." >&5
5555 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5556 Usually this means the macro was only invoked conditionally." >&2;}
5557 { (exit 1); exit 1; }; }
5559 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5560 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5561 Usually this means the macro was only invoked conditionally." >&5
5562 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5563 Usually this means the macro was only invoked conditionally." >&2;}
5564 { (exit 1); exit 1; }; }
5566 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5567 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5568 Usually this means the macro was only invoked conditionally." >&5
5569 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5570 Usually this means the macro was only invoked conditionally." >&2;}
5571 { (exit 1); exit 1; }; }
5573 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
5574 { { echo "$as_me:$LINENO: error: conditional \"TARGET_LIBRARY\" was never defined.
5575 Usually this means the macro was only invoked conditionally." >&5
5576 echo "$as_me: error: conditional \"TARGET_LIBRARY\" was never defined.
5577 Usually this means the macro was only invoked conditionally." >&2;}
5578 { (exit 1); exit 1; }; }
5581 : ${CONFIG_STATUS=./config.status}
5582 ac_clean_files_save=$ac_clean_files
5583 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5584 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5585 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5586 cat >$CONFIG_STATUS <<_ACEOF
5588 # Generated by $as_me.
5589 # Run this file to recreate the current configuration.
5590 # Compiler output produced by configure, useful for debugging
5591 # configure, is in config.log if it exists.
5596 SHELL=\${CONFIG_SHELL-$SHELL}
5599 cat >>$CONFIG_STATUS <<\_ACEOF
5600 ## --------------------- ##
5601 ## M4sh Initialization. ##
5602 ## --------------------- ##
5604 # Be Bourne compatible
5605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5608 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5609 # is contrary to our usage. Disable this feature.
5610 alias -g '${1+"$@"}'='"$@"'
5611 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5614 DUALCASE=1; export DUALCASE # for MKS sh
5616 # Support unset when possible.
5617 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5624 # Work around bugs in pre-3.0 UWIN ksh.
5625 $as_unset ENV MAIL MAILPATH
5632 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5633 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5634 LC_TELEPHONE LC_TIME
5636 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5637 eval $as_var=C; export $as_var
5643 # Required to use basename.
5644 if expr a : '\(a\)' >/dev/null 2>&1; then
5650 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5651 as_basename=basename
5657 # Name of the executable.
5658 as_me=`$as_basename "$0" ||
5659 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5660 X
"$0" : 'X\(//\)$' \| \
5661 X
"$0" : 'X\(/\)$' \| \
5662 .
: '\(.\)' 2>/dev
/null ||
5664 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5665 /^X\/\(\/\/\)$/{ s//\1/; q; }
5666 /^X\/\(\/\).*/{ s//\1/; q; }
5670 # PATH needs CR, and LINENO needs CR and PATH.
5671 # Avoid depending upon Character Ranges.
5672 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5673 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5674 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5675 as_cr_digits='0123456789'
5676 as_cr_alnum=$as_cr_Letters$as_cr_digits
5678 # The user is always right.
5679 if test "${PATH_SEPARATOR+set}" != set; then
5680 echo "#! /bin/sh" >conf$$.sh
5681 echo "exit 0" >>conf$$.sh
5683 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5694 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5695 test "x$as_lineno_1" != "x$as_lineno_2" &&
5696 test "x$as_lineno_3" = "x$as_lineno_2" || {
5697 # Find who we are. Look in the path if we contain no path at all
5700 *[\\/]* ) as_myself=$0 ;;
5701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir=.
5706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5711 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5712 # in which case we are not to be found in the path.
5713 if test "x$as_myself" = x; then
5716 if test ! -f "$as_myself"; then
5717 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5718 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5719 { (exit 1); exit 1; }; }
5721 case $CONFIG_SHELL in
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5727 test -z "$as_dir" && as_dir=.
5728 for as_base in sh bash ksh sh5; do
5731 if ("$as_dir/$as_base" -c '
5734 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5735 test "x$as_lineno_1" != "x$as_lineno_2" &&
5736 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5737 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5738 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5739 CONFIG_SHELL=$as_dir/$as_base
5741 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5749 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5750 # uniformly replaced by the line number. The first 'sed' inserts a
5751 # line-number line before each line; the second 'sed' does the real
5752 # work. The second script uses 'N
' to pair each line-number line
5753 # with the numbered line, and appends trailing '-' during
5754 # substitution so that $LINENO is not a special case at line end.
5755 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5756 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5757 sed '=' <$as_myself |
5762 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5765 s,^['$as_cr_digits']*\n,,
5767 chmod +x
$as_me.lineno ||
5768 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5769 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5770 { (exit 1); exit 1; }; }
5772 # Don't try to exec as it changes $[0], causing all sort of problems
5773 # (the dirname of $[0] is not the place where we might find the
5774 # original and so on. Autoconf is especially sensible to this).
5776 # Exit status is that of the last command.
5781 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5782 *c
*,-n*) ECHO_N
= ECHO_C
='
5784 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5785 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5788 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5794 rm -f conf$$ conf$$.exe conf$$.
file
5796 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5797 # We could just check for DJGPP; but this test a) works b) is more generic
5798 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5799 if test -f conf$$.exe
; then
5800 # Don't use ln at all; we don't have any links
5805 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5810 rm -f conf$$ conf$$.exe conf$$.
file
5812 if mkdir
-p .
2>/dev
/null
; then
5815 test -d .
/-p && rmdir .
/-p
5819 as_executable_p
="test -f"
5821 # Sed expression to map a string onto a valid CPP name.
5822 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5824 # Sed expression to map a string onto a valid variable name.
5825 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5829 # We need space, tab and new line, in precisely that order.
5839 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5840 # report actual input values of CONFIG_FILES etc. instead of their
5841 # values after options handling. Logging --version etc. is OK.
5845 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5846 ## Running $as_me. ##
5851 This file was extended by $as_me, which was
5852 generated by GNU Autoconf 2.59. Invocation command line was
5854 CONFIG_FILES = $CONFIG_FILES
5855 CONFIG_HEADERS = $CONFIG_HEADERS
5856 CONFIG_LINKS = $CONFIG_LINKS
5857 CONFIG_COMMANDS = $CONFIG_COMMANDS
5861 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5865 # Files that config.status was made for.
5866 if test -n "$ac_config_files"; then
5867 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5870 if test -n "$ac_config_headers"; then
5871 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5874 if test -n "$ac_config_links"; then
5875 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5878 if test -n "$ac_config_commands"; then
5879 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5882 cat >>$CONFIG_STATUS <<\_ACEOF
5885 \`$as_me' instantiates files from templates according to the
5886 current configuration.
5888 Usage: $0 [OPTIONS] [FILE]...
5890 -h, --help print this help, then exit
5891 -V, --version print version number, then exit
5892 -q, --quiet do not print progress messages
5893 -d, --debug don't remove temporary files
5894 --recheck update $as_me by reconfiguring in the same conditions
5895 --file=FILE[:TEMPLATE]
5896 instantiate the configuration file FILE
5898 Configuration files:
5901 Configuration commands:
5904 Report bugs to <bug-autoconf@gnu.org>."
5907 cat >>$CONFIG_STATUS <<_ACEOF
5910 configured by $0, generated by GNU Autoconf 2.59,
5911 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5913 Copyright (C) 2003 Free Software Foundation, Inc.
5914 This config.status script is free software; the Free Software Foundation
5915 gives unlimited permission to copy, distribute and modify it."
5920 cat >>$CONFIG_STATUS <<\_ACEOF
5921 # If no file are specified by the user, then we need to provide default
5922 # value. By we need to know if files were specified by the user.
5928 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5929 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5937 *) # This is not an option, so the user has probably given explicit
5940 ac_need_defaults
=false
;;
5944 # Handling of the options.
5946 cat >>$CONFIG_STATUS <<\_ACEOF
5947 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5949 --version |
--vers* |
-V )
5950 echo "$ac_cs_version"; exit 0 ;;
5952 # Conflict between --help and --header
5953 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5954 Try \`$0 --help' for more information." >&5
5955 echo "$as_me: error: ambiguous option: $1
5956 Try \`$0 --help' for more information." >&2;}
5957 { (exit 1); exit 1; }; };;
5958 --help |
--hel |
-h )
5959 echo "$ac_cs_usage"; exit 0 ;;
5960 --debug |
--d* |
-d )
5962 --file |
--fil |
--fi |
--f )
5964 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5965 ac_need_defaults
=false
;;
5966 --header |
--heade |
--head |
--hea )
5968 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5969 ac_need_defaults
=false
;;
5970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5971 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5975 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5976 Try \`$0 --help' for more information." >&5
5977 echo "$as_me: error: unrecognized option: $1
5978 Try \`$0 --help' for more information." >&2;}
5979 { (exit 1); exit 1; }; } ;;
5981 *) ac_config_targets
="$ac_config_targets $1" ;;
5987 ac_configure_extra_args
=
5989 if $ac_cs_silent; then
5991 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5995 cat >>$CONFIG_STATUS <<_ACEOF
5996 if \$ac_cs_recheck; then
5997 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5998 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6003 cat >>$CONFIG_STATUS <<_ACEOF
6005 # INIT-COMMANDS section.
6008 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6012 with_multisubdir=${with_multisubdir}
6013 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6014 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6015 zlib_basedir=${zlib_basedir}
6018 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6025 cat >>$CONFIG_STATUS <<\_ACEOF
6026 for ac_config_target
in $ac_config_targets
6028 case "$ac_config_target" in
6029 # Handling of arguments.
6030 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6031 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6032 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6033 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6034 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6035 { (exit 1); exit 1; }; };;
6039 # If the user did not use the arguments to specify the items to instantiate,
6040 # then the envvar interface is used. Set only those that are not.
6041 # We use the long form for the default assignment because of an extremely
6042 # bizarre bug on SunOS 4.1.3.
6043 if $ac_need_defaults; then
6044 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6045 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6048 # Have a temporary directory for convenience. Make it in the build tree
6049 # simply because there is no reason to put it here, and in addition,
6050 # creating and moving files from /tmp can sometimes cause problems.
6051 # Create a temporary directory, and hook for its removal unless debugging.
6054 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6055 trap '{ (exit 1); exit 1; }' 1 2 13 15
6058 # Create a (secure) tmp directory for tmp files.
6061 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6062 test -n "$tmp" && test -d "$tmp"
6065 tmp
=.
/confstat$$
-$RANDOM
6066 (umask 077 && mkdir
$tmp)
6069 echo "$me: cannot create a temporary directory in ." >&2
6070 { (exit 1); exit 1; }
6075 cat >>$CONFIG_STATUS <<_ACEOF
6078 # CONFIG_FILES section.
6081 # No need to generate the scripts if there are no CONFIG_FILES.
6082 # This happens for instance when ./config.status config.h
6083 if test -n "\$CONFIG_FILES"; then
6084 # Protect against being on the right side of a sed subst in config.status.
6085 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6086 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6087 s,@SHELL@,$SHELL,;t t
6088 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6089 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6090 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6091 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6092 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6093 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6094 s,@exec_prefix@,$exec_prefix,;t t
6095 s,@prefix@,$prefix,;t t
6096 s,@program_transform_name@,$program_transform_name,;t t
6097 s,@bindir@,$bindir,;t t
6098 s,@sbindir@,$sbindir,;t t
6099 s,@libexecdir@,$libexecdir,;t t
6100 s,@datadir@,$datadir,;t t
6101 s,@sysconfdir@,$sysconfdir,;t t
6102 s,@sharedstatedir@,$sharedstatedir,;t t
6103 s,@localstatedir@,$localstatedir,;t t
6104 s,@libdir@,$libdir,;t t
6105 s,@includedir@,$includedir,;t t
6106 s,@oldincludedir@,$oldincludedir,;t t
6107 s,@infodir@,$infodir,;t t
6108 s,@mandir@,$mandir,;t t
6109 s,@build_alias@,$build_alias,;t t
6110 s,@host_alias@,$host_alias,;t t
6111 s,@target_alias@,$target_alias,;t t
6113 s,@ECHO_C@,$ECHO_C,;t t
6114 s,@ECHO_N@,$ECHO_N,;t t
6115 s,@ECHO_T@,$ECHO_T,;t t
6117 s,@zlib_basedir@,$zlib_basedir,;t t
6118 s,@build@,$build,;t t
6119 s,@build_cpu@,$build_cpu,;t t
6120 s,@build_vendor@,$build_vendor,;t t
6121 s,@build_os@,$build_os,;t t
6123 s,@host_cpu@,$host_cpu,;t t
6124 s,@host_vendor@,$host_vendor,;t t
6125 s,@host_os@,$host_os,;t t
6126 s,@target@,$target,;t t
6127 s,@target_cpu@,$target_cpu,;t t
6128 s,@target_vendor@,$target_vendor,;t t
6129 s,@target_os@,$target_os,;t t
6130 s,@mkinstalldirs@,$mkinstalldirs,;t t
6131 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6132 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6133 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6134 s,@CYGPATH_W@,$CYGPATH_W,;t t
6135 s,@PACKAGE@,$PACKAGE,;t t
6136 s,@VERSION@,$VERSION,;t t
6137 s,@ACLOCAL@,$ACLOCAL,;t t
6138 s,@AUTOCONF@,$AUTOCONF,;t t
6139 s,@AUTOMAKE@,$AUTOMAKE,;t t
6140 s,@AUTOHEADER@,$AUTOHEADER,;t t
6141 s,@MAKEINFO@,$MAKEINFO,;t t
6142 s,@AMTAR@,$AMTAR,;t t
6143 s,@install_sh@,$install_sh,;t t
6144 s,@STRIP@,$STRIP,;t t
6145 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6146 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6148 s,@SET_MAKE@,$SET_MAKE,;t t
6149 s,@am__leading_dot@,$am__leading_dot,;t t
6150 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6151 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6152 s,@MAINT@,$MAINT,;t t
6153 s,@COMPPATH@,$COMPPATH,;t t
6155 s,@CFLAGS@,$CFLAGS,;t t
6156 s,@LDFLAGS@,$LDFLAGS,;t t
6157 s,@CPPFLAGS@,$CPPFLAGS,;t t
6158 s,@ac_ct_CC@,$ac_ct_CC,;t t
6159 s,@EXEEXT@,$EXEEXT,;t t
6160 s,@OBJEXT@,$OBJEXT,;t t
6161 s,@DEPDIR@,$DEPDIR,;t t
6162 s,@am__include@,$am__include,;t t
6163 s,@am__quote@,$am__quote,;t t
6164 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6165 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6166 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6167 s,@CCDEPMODE@,$CCDEPMODE,;t t
6168 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6169 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6171 s,@RANLIB@,$RANLIB,;t t
6172 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6173 s,@LIBTOOL@,$LIBTOOL,;t t
6175 s,@EGREP@,$EGREP,;t t
6176 s,@target_all@,$target_all,;t t
6177 s,@toolexecdir@,$toolexecdir,;t t
6178 s,@toolexeclibdir@,$toolexeclibdir,;t t
6179 s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
6180 s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
6181 s,@LIBOBJS@,$LIBOBJS,;t t
6182 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6187 cat >>$CONFIG_STATUS <<\_ACEOF
6188 # Split the substitutions into bite-sized pieces for seds with
6189 # small command number limits, like on Digital OSF/1 and HP-UX.
6191 ac_sed_frag
=1 # Number of current file.
6192 ac_beg
=1 # First line for current file.
6193 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6196 while $ac_more_lines; do
6197 if test $ac_beg -gt 1; then
6198 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6200 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6202 if test ! -s $tmp/subs.frag
; then
6205 # The purpose of the label and of the branching condition is to
6206 # speed up the sed processing (if there are no `@' at all, there
6207 # is no need to browse any of the substitutions).
6208 # These are the two extra sed commands mentioned above.
6210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6211 if test -z "$ac_sed_cmds"; then
6212 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6214 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6216 ac_sed_frag
=`expr $ac_sed_frag + 1`
6218 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6221 if test -z "$ac_sed_cmds"; then
6224 fi # test -n "$CONFIG_FILES"
6227 cat >>$CONFIG_STATUS <<\_ACEOF
6228 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6229 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6231 - |
*:- |
*:-:* ) # input from stdin
6233 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6234 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6235 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6236 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6237 * ) ac_file_in
=$ac_file.
in ;;
6240 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6241 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6243 X"$ac_file" : 'X\(//\)[^/]' \| \
6244 X"$ac_file" : 'X\(//\)$' \| \
6245 X"$ac_file" : 'X\(/\)' \| \
6246 . : '\(.\)' 2>/dev/null ||
6248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6250 /^X\(\/\/\)$/{ s//\1/; q; }
6251 /^X\(\/\).*/{ s//\1/; q; }
6253 { if $as_mkdir_p; then
6258 while test ! -d "$as_dir"; do
6259 as_dirs
="$as_dir $as_dirs"
6260 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6262 X"$as_dir" : 'X\(//\)[^/]' \| \
6263 X"$as_dir" : 'X\(//\)$' \| \
6264 X"$as_dir" : 'X\(/\)' \| \
6265 . : '\(.\)' 2>/dev/null ||
6267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6269 /^X\(\/\/\)$/{ s//\1/; q; }
6270 /^X\(\/\).*/{ s//\1/; q; }
6273 test ! -n "$as_dirs" || mkdir
$as_dirs
6274 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6275 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6276 { (exit 1); exit 1; }; }; }
6280 if test "$ac_dir" != .
; then
6281 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6282 # A "../" for each directory in $ac_dir_suffix.
6283 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6285 ac_dir_suffix
= ac_top_builddir
=
6289 .
) # No --srcdir option. We are building in place.
6291 if test -z "$ac_top_builddir"; then
6294 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6296 [\\/]* | ?
:[\\/]* ) # Absolute path.
6297 ac_srcdir
=$srcdir$ac_dir_suffix;
6298 ac_top_srcdir
=$srcdir ;;
6300 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6301 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6304 # Do not use `cd foo && pwd` to compute absolute paths, because
6305 # the directories may not exist.
6307 .
) ac_abs_builddir
="$ac_dir";;
6310 .
) ac_abs_builddir
=`pwd`;;
6311 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6312 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6315 case $ac_abs_builddir in
6316 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6318 case ${ac_top_builddir}.
in
6319 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6320 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6321 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6324 case $ac_abs_builddir in
6325 .
) ac_abs_srcdir
=$ac_srcdir;;
6328 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6329 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6330 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6333 case $ac_abs_builddir in
6334 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6336 case $ac_top_srcdir in
6337 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6338 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6339 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6345 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6346 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6349 if test x
"$ac_file" != x-
; then
6350 { echo "$as_me:$LINENO: creating $ac_file" >&5
6351 echo "$as_me: creating $ac_file" >&6;}
6354 # Let's still pretend it is `configure' which instantiates (i.e., don't
6355 # use $as_me), people would be surprised to read:
6356 # /* config.h. Generated by config.status. */
6357 if test x
"$ac_file" = x-
; then
6360 configure_input
="$ac_file. "
6362 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6363 sed 's,.*/,,'` by configure."
6365 # First look for the input files in the build tree, otherwise in the
6367 ac_file_inputs
=`IFS=:
6368 for f in $ac_file_in; do
6370 -) echo $tmp/stdin ;;
6372 # Absolute (can't be DOS-style, as IFS=:)
6373 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6374 echo "$as_me: error: cannot find input file: $f" >&2;}
6375 { (exit 1); exit 1; }; }
6378 if test -f "$f"; then
6381 elif test -f "$srcdir/$f"; then
6386 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6387 echo "$as_me: error: cannot find input file: $f" >&2;}
6388 { (exit 1); exit 1; }; }
6391 done` ||
{ (exit 1); exit 1; }
6393 cat >>$CONFIG_STATUS <<_ACEOF
6397 cat >>$CONFIG_STATUS <<\_ACEOF
6399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6400 s
,@configure_input@
,$configure_input,;t t
6401 s
,@srcdir@
,$ac_srcdir,;t t
6402 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6403 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6404 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6405 s
,@builddir@
,$ac_builddir,;t t
6406 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6407 s
,@top_builddir@
,$ac_top_builddir,;t t
6408 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6409 s
,@INSTALL@
,$ac_INSTALL,;t t
6410 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6412 if test x"$ac_file" != x-; then
6413 mv $tmp/out $ac_file
6421 cat >>$CONFIG_STATUS <<\_ACEOF
6424 # CONFIG_COMMANDS section.
6426 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
6427 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6428 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6429 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6430 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6431 X"$ac_dest" : 'X\(//\)[^/]' \| \
6432 X"$ac_dest" : 'X\(//\)$' \| \
6433 X"$ac_dest" : 'X\(/\)' \| \
6434 . : '\(.\)' 2>/dev/null ||
6436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6438 /^X\(\/\/\)$/{ s//\1/; q; }
6439 /^X\(\/\).*/{ s//\1/; q; }
6441 { if $as_mkdir_p; then
6446 while test ! -d "$as_dir"; do
6447 as_dirs="$as_dir $as_dirs"
6448 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6450 X"$as_dir" : 'X\(//\)[^/]' \| \
6451 X"$as_dir" : 'X\(//\)$' \| \
6452 X"$as_dir" : 'X\(/\)' \| \
6453 . : '\(.\)' 2>/dev/null ||
6455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6457 /^X\(\/\/\)$/{ s//\1/; q; }
6458 /^X\(\/\).*/{ s//\1/; q; }
6461 test ! -n "$as_dirs" || mkdir $as_dirs
6462 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
6463 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
6464 { (exit 1); exit 1; }; }; }
6468 if test "$ac_dir" != .; then
6469 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6470 # A "..
/" for each directory in $ac_dir_suffix.
6471 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6473 ac_dir_suffix= ac_top_builddir=
6477 .) # No --srcdir option. We are building in place.
6479 if test -z "$ac_top_builddir"; then
6482 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6484 [\\/]* | ?:[\\/]* ) # Absolute path.
6485 ac_srcdir=$srcdir$ac_dir_suffix;
6486 ac_top_srcdir=$srcdir ;;
6488 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6489 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6492 # Do not use `cd foo && pwd` to compute absolute paths, because
6493 # the directories may not exist.
6495 .) ac_abs_builddir="$ac_dir";;
6498 .) ac_abs_builddir=`pwd`;;
6499 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6500 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6503 case $ac_abs_builddir in
6504 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6506 case ${ac_top_builddir}. in
6507 .) ac_abs_top_builddir=$ac_abs_builddir;;
6508 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6509 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6512 case $ac_abs_builddir in
6513 .) ac_abs_srcdir=$ac_srcdir;;
6516 .) ac_abs_srcdir=$ac_abs_builddir;;
6517 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6518 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6521 case $ac_abs_builddir in
6522 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6524 case $ac_top_srcdir in
6525 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6526 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6527 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6532 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
6533 echo "$as_me: executing
$ac_dest commands
" >&6;}
6535 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6536 # Strip MF so we end up with the name of the file.
6537 mf=`echo "$mf" | sed -e 's/:.*$//'`
6538 # Check whether this is an Automake generated Makefile or not.
6539 # We used to match only the files named `Makefile.in', but
6540 # some people rename them; so instead we look at the file content.
6541 # Grep'ing the first line is not enough: some people post-process
6542 # each Makefile.in and add a new line on top of each file to say so.
6543 # So let's grep whole file.
6544 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6545 dirpart=`(dirname "$mf") 2>/dev/null ||
6546 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6547 X"$mf" : 'X\(//\)[^/]' \| \
6548 X"$mf" : 'X\(//\)$' \| \
6549 X"$mf" : 'X\(/\)' \| \
6550 . : '\(.\)' 2>/dev/null ||
6552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6554 /^X\(\/\/\)$/{ s//\1/; q; }
6555 /^X\(\/\).*/{ s//\1/; q; }
6560 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6561 # Extract the definition of DEP_FILES from the Makefile without
6563 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6564 test -z "$DEPDIR" && continue
6565 # When using ansi2knr, U may be empty or an underscore; expand it
6566 U=`sed -n -e '/^U = / s///p' < "$mf"`
6567 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6568 # We invoke sed twice because it is the simplest approach to
6569 # changing $(DEPDIR) to its actual value in the expansion.
6570 for file in `sed -n -e '
6571 /^DEP_FILES = .*\\\\$/ {
6580 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6581 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6582 # Make sure the directory exists.
6583 test -f "$dirpart/$file" && continue
6584 fdir=`(dirname "$file") 2>/dev/null ||
6585 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6586 X"$file" : 'X\(//\)[^/]' \| \
6587 X"$file" : 'X\(//\)$' \| \
6588 X"$file" : 'X\(/\)' \| \
6589 . : '\(.\)' 2>/dev/null ||
6591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6593 /^X\(\/\/\)$/{ s//\1/; q; }
6594 /^X\(\/\).*/{ s//\1/; q; }
6596 { if $as_mkdir_p; then
6597 mkdir -p $dirpart/$fdir
6599 as_dir=$dirpart/$fdir
6601 while test ! -d "$as_dir"; do
6602 as_dirs="$as_dir $as_dirs"
6603 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6605 X"$as_dir" : 'X\(//\)[^/]' \| \
6606 X"$as_dir" : 'X\(//\)$' \| \
6607 X"$as_dir" : 'X\(/\)' \| \
6608 . : '\(.\)' 2>/dev/null ||
6610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6612 /^X\(\/\/\)$/{ s//\1/; q; }
6613 /^X\(\/\).*/{ s//\1/; q; }
6616 test ! -n "$as_dirs" || mkdir $as_dirs
6617 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
6618 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
6619 { (exit 1); exit 1; }; }; }
6621 # echo "creating
$dirpart/$file"
6622 echo '# dummy' > "$dirpart/$file"
6626 default ) if test -n "$CONFIG_FILES"; then
6627 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6628 ac_file=Makefile . ${zlib_basedir}/../config-ml.in
6634 cat >>$CONFIG_STATUS <<\_ACEOF
6636 { (exit 0); exit 0; }
6638 chmod +x $CONFIG_STATUS
6639 ac_clean_files=$ac_clean_files_save
6642 # configure is writing to config.log, and then calls config.status.
6643 # config.status does its own redirection, appending to config.log.
6644 # Unfortunately, on DOS this fails, as config.log is still kept open
6645 # by configure, so config.status won't be able to write to it; its
6646 # output is simply discarded. So we exec the FD to /dev/null,
6647 # effectively closing config.log, so it can be properly (re)opened and
6648 # appended to by config.status. When coming back to configure, we
6649 # need to make the FD available again.
6650 if test "$no_create" != yes; then
6652 ac_config_status_args=
6653 test "$silent" = yes &&
6654 ac_config_status_args="$ac_config_status_args --quiet"
6656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6659 # would make configure fail if this is the last instruction.
6660 $ac_cs_success || { (exit 1); exit 1; }