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 multi_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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT COMPPATH CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP CPPFLAGS 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_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures this package to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
828 --build=BUILD configure
for building on BUILD
[guessed
]
829 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
830 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
834 if test -n "$ac_init_help"; then
839 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
840 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
841 --enable-multilib build many library versions
(default
)
842 --enable-maintainer-mode enable make rules and dependencies not useful
843 (and sometimes confusing
) to the casual installer
844 --disable-dependency-tracking speeds up one-time build
845 --enable-dependency-tracking do not reject slow dependency extractors
846 --enable-shared=PKGS build shared libraries default
=yes
847 --enable-static=PKGS build static libraries default
=yes
848 --enable-fast-install=PKGS optimize
for fast installation default
=yes
849 --disable-libtool-lock avoid locking
(might
break parallel builds
)
852 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
853 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
854 --with-target-subdir=SUBDIR
855 configuring
in a subdirectory
856 --with-cross-host=HOST configuring with a cross compiler
857 --with-system-zlib use installed libz
858 --with-gnu-ld assume the C compiler uses GNU ld default
=no
859 --with-pic try to use only PIC
/non-PIC objects default
=use both
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 # Default to --enable-multilib
1311 # Check whether --enable-multilib or --disable-multilib was given.
1312 if test "${enable_multilib+set}" = set; then
1313 enableval="$enable_multilib"
1314 case "$enableval" in
1315 yes) multilib=yes ;;
1317 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1318 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1319 { (exit 1); exit 1; }; } ;;
1325 # We may get other options which we leave undocumented:
1326 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1327 # See config-ml.in if you want the gory details.
1329 if test "$srcdir" = "."; then
1330 if test "$with_target_subdir" != "."; then
1331 multi_basedir="$srcdir/$with_multisrctop../.."
1333 multi_basedir="$srcdir/$with_multisrctop.."
1336 multi_basedir="$srcdir/.."
1340 # Even if the default multilib is not a cross compilation,
1341 # it may be that some of the other multilibs are.
1342 if test $cross_compiling = no && test $multilib = yes \
1343 && test "x${with_multisubdir}" != x ; then
1344 cross_compiling=maybe
1347 ac_config_commands="$ac_config_commands default-1"
1351 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1352 if test -f $ac_dir/install-sh; then
1354 ac_install_sh="$ac_aux_dir/install-sh -c"
1356 elif test -f $ac_dir/install.sh; then
1358 ac_install_sh="$ac_aux_dir/install.sh -c"
1360 elif test -f $ac_dir/shtool; then
1362 ac_install_sh="$ac_aux_dir/shtool install -c"
1366 if test -z "$ac_aux_dir"; then
1367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1368 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1369 { (exit 1); exit 1; }; }
1371 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1372 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1373 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1375 # Make sure we can run config.sub.
1376 $ac_config_sub sun4 >/dev/null 2>&1 ||
1377 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1378 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1379 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: checking build system type" >&5
1382 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1383 if test "${ac_cv_build+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_build_alias=$build_alias
1387 test -z "$ac_cv_build_alias" &&
1388 ac_cv_build_alias=`$ac_config_guess`
1389 test -z "$ac_cv_build_alias" &&
1390 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1391 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1392 { (exit 1); exit 1; }; }
1393 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1395 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1396 { (exit 1); exit 1; }; }
1399 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1400 echo "${ECHO_T}$ac_cv_build" >&6
1402 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1403 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1404 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1407 echo "$as_me:$LINENO: checking host system type" >&5
1408 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1409 if test "${ac_cv_host+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_host_alias=$host_alias
1413 test -z "$ac_cv_host_alias" &&
1414 ac_cv_host_alias=$ac_cv_build_alias
1415 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1417 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1418 { (exit 1); exit 1; }; }
1421 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1422 echo "${ECHO_T}$ac_cv_host" >&6
1424 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1425 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1426 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1429 echo "$as_me:$LINENO: checking target system type" >&5
1430 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1431 if test "${ac_cv_target+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 ac_cv_target_alias=$target_alias
1435 test "x$ac_cv_target_alias" = "x" &&
1436 ac_cv_target_alias=$ac_cv_host_alias
1437 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1438 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1439 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1440 { (exit 1); exit 1; }; }
1443 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1444 echo "${ECHO_T}$ac_cv_target" >&6
1445 target=$ac_cv_target
1446 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1447 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1448 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1451 # The aliases save the names the user supplied, while $host etc.
1452 # will get canonicalized.
1453 test -n "$target_alias" &&
1454 test "$program_prefix$program_suffix$program_transform_name" = \
1456 program_prefix=${target_alias}-
1458 # This works around an automake problem.
1459 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1462 am__api_version="1.9"
1463 # Find a good install program. We prefer a C program (faster),
1464 # so one script is as good as another. But avoid the broken or
1465 # incompatible versions:
1466 # SysV /etc/install, /usr/sbin/install
1467 # SunOS /usr/etc/install
1468 # IRIX /sbin/install
1470 # AmigaOS /C/install, which installs bootblocks on floppy discs
1471 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1474 # OS/2's system install, which has a completely different semantic
1475 # ./install, which can be erroneously created by make from ./install.sh.
1476 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1477 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1478 if test -z "$INSTALL"; then
1479 if test "${ac_cv_path_install+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir
=.
1487 # Account for people who put trailing slashes in PATH elements.
1489 .
/ | .
// |
/cC
/* | \
1490 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1491 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1494 # OSF1 and SCO ODT 3.0 have their own names for install.
1495 # Don't use installbsd from OSF since it installs stuff as root
1497 for ac_prog
in ginstall scoinst
install; do
1498 for ac_exec_ext
in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1500 if test $ac_prog = install &&
1501 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1502 # AIX install. It has an incompatible calling convention.
1504 elif test $ac_prog = install &&
1505 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1506 # program-specific install script used by HP pwplus--don't use.
1509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1521 if test "${ac_cv_path_install+set}" = set; then
1522 INSTALL
=$ac_cv_path_install
1524 # As a last resort, use the slow shell script. We don't cache a
1525 # path for INSTALL within a source directory, because that will
1526 # break other packages using the cache if that directory is
1527 # removed, or if the path is relative.
1528 INSTALL
=$ac_install_sh
1531 echo "$as_me:$LINENO: result: $INSTALL" >&5
1532 echo "${ECHO_T}$INSTALL" >&6
1534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1535 # It thinks the first close brace ends the variable substitution.
1536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1542 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1543 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1546 echo timestamp
> conftest.
file
1547 # Do `set' in a subshell so we don't clobber the current shell's
1548 # arguments. Must try -L first in case configure is actually a
1549 # symlink; some systems play weird games with the mod time of symlinks
1550 # (eg FreeBSD returns the mod time of the symlink's containing
1553 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1554 if test "$*" = "X"; then
1556 set X
`ls -t $srcdir/configure conftest.file`
1559 if test "$*" != "X $srcdir/configure conftest.file" \
1560 && test "$*" != "X conftest.file $srcdir/configure"; then
1562 # If neither matched, then we have a broken ls. This can happen
1563 # if, for instance, CONFIG_SHELL is bash and it inherits a
1564 # broken ls alias from the environment. This has actually
1565 # happened. Such a system could not be considered "sane".
1566 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1567 alias in your environment" >&5
1568 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1569 alias in your environment" >&2;}
1570 { (exit 1); exit 1; }; }
1573 test "$2" = conftest.
file
1579 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1580 Check your system clock" >&5
1581 echo "$as_me: error: newly created file is older than distributed files!
1582 Check your system clock" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: result: yes" >&5
1586 echo "${ECHO_T}yes" >&6
1587 test "$program_prefix" != NONE
&&
1588 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1589 # Use a double $ so make ignores it.
1590 test "$program_suffix" != NONE
&&
1591 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1592 # Double any \ or $. echo might interpret backslashes.
1593 # By default was `s,x,x', remove it if useless.
1594 cat <<\_ACEOF
>conftest.
sed
1595 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1597 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1600 # expand $ac_aux_dir to an absolute path
1601 am_aux_dir
=`cd $ac_aux_dir && pwd`
1603 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1604 # Use eval to expand $SHELL
1605 if eval "$MISSING --run true"; then
1606 am_missing_run
="$MISSING --run "
1609 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1610 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1613 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1614 # We used to keeping the `.' as first argument, in order to
1615 # allow $(mkdir_p) to be used without argument. As in
1616 # $(mkdir_p) $(somedir)
1617 # where $(somedir) is conditionally defined. However this is wrong
1619 # 1. if the package is installed by a user who cannot write `.'
1620 # make install will fail,
1621 # 2. the above comment should most certainly read
1622 # $(mkdir_p) $(DESTDIR)$(somedir)
1623 # so it does not work when $(somedir) is undefined and
1624 # $(DESTDIR) is not.
1625 # To support the latter case, we have to write
1626 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1627 # so the `.' trick is pointless.
1628 mkdir_p
='mkdir -p --'
1630 # On NextStep and OpenStep, the `mkdir' command does not
1631 # recognize any option. It will interpret all options as
1632 # directories to create, and then abort because `.' already
1634 for d
in .
/-p .
/--version;
1636 test -d $d && rmdir $d
1638 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1639 if test -f "$ac_aux_dir/mkinstalldirs"; then
1640 mkdir_p
='$(mkinstalldirs)'
1642 mkdir_p
='$(install_sh) -d'
1646 for ac_prog
in gawk mawk nawk
awk
1648 # Extract the first word of "$ac_prog", so it can be a program name with args.
1649 set dummy
$ac_prog; ac_word
=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_AWK+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$AWK"; then
1656 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir
=.
1663 for ac_exec_ext
in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_AWK
="$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 if test -n "$AWK"; then
1676 echo "$as_me:$LINENO: result: $AWK" >&5
1677 echo "${ECHO_T}$AWK" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$AWK" && break
1686 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1687 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1688 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1689 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 cat >conftest.
make <<\_ACEOF
1694 @
echo 'ac_maketemp="$(MAKE)"'
1696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1697 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1698 if test -n "$ac_maketemp"; then
1699 eval ac_cv_prog_make_
${ac_make}_set
=yes
1701 eval ac_cv_prog_make_
${ac_make}_set
=no
1705 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1706 echo "$as_me:$LINENO: result: yes" >&5
1707 echo "${ECHO_T}yes" >&6
1710 echo "$as_me:$LINENO: result: no" >&5
1711 echo "${ECHO_T}no" >&6
1712 SET_MAKE
="MAKE=${MAKE-make}"
1715 rm -rf .tst
2>/dev
/null
1716 mkdir .tst
2>/dev
/null
1717 if test -d .tst
; then
1722 rmdir .tst
2>/dev
/null
1724 # test to see if srcdir already configured
1725 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1726 test -f $srcdir/config.status
; then
1727 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1728 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1729 { (exit 1); exit 1; }; }
1732 # test whether we have cygpath
1733 if test -z "$CYGPATH_W"; then
1734 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1735 CYGPATH_W
='cygpath -w'
1742 # Define the identity of the package.
1747 cat >>confdefs.h
<<_ACEOF
1748 #define PACKAGE "$PACKAGE"
1752 cat >>confdefs.h
<<_ACEOF
1753 #define VERSION "$VERSION"
1756 # Some tools Automake needs.
1758 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1761 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1764 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1767 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1770 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1772 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1774 # Installed binaries are usually stripped using `strip' when the user
1775 # run `make install-strip'. However `strip' might not be the right
1776 # tool to use in cross-compilation environments, therefore Automake
1777 # will honor the `STRIP' environment variable to overrule this program.
1778 if test "$cross_compiling" != no
; then
1779 if test -n "$ac_tool_prefix"; then
1780 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1781 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1782 echo "$as_me:$LINENO: checking for $ac_word" >&5
1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1784 if test "${ac_cv_prog_STRIP+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 if test -n "$STRIP"; then
1788 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1794 test -z "$as_dir" && as_dir
=.
1795 for ac_exec_ext
in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1797 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1806 STRIP
=$ac_cv_prog_STRIP
1807 if test -n "$STRIP"; then
1808 echo "$as_me:$LINENO: result: $STRIP" >&5
1809 echo "${ECHO_T}$STRIP" >&6
1811 echo "$as_me:$LINENO: result: no" >&5
1812 echo "${ECHO_T}no" >&6
1816 if test -z "$ac_cv_prog_STRIP"; then
1818 # Extract the first word of "strip", so it can be a program name with args.
1819 set dummy strip
; ac_word
=$2
1820 echo "$as_me:$LINENO: checking for $ac_word" >&5
1821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1822 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 if test -n "$ac_ct_STRIP"; then
1826 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir
=.
1833 for ac_exec_ext
in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835 ac_cv_prog_ac_ct_STRIP
="strip"
1836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1845 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1846 if test -n "$ac_ct_STRIP"; then
1847 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1848 echo "${ECHO_T}$ac_ct_STRIP" >&6
1850 echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6
1856 STRIP
="$ac_cv_prog_STRIP"
1860 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1862 # We need awk for the "check" target. The system "awk" is bad on
1864 # Always define AMTAR for backward compatibility.
1866 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1868 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1875 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1876 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1877 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1878 if test "${enable_maintainer_mode+set}" = set; then
1879 enableval
="$enable_maintainer_mode"
1880 USE_MAINTAINER_MODE
=$enableval
1882 USE_MAINTAINER_MODE
=no
1884 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1885 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1888 if test $USE_MAINTAINER_MODE = yes; then
1889 MAINTAINER_MODE_TRUE
=
1890 MAINTAINER_MODE_FALSE
='#'
1892 MAINTAINER_MODE_TRUE
='#'
1893 MAINTAINER_MODE_FALSE
=
1896 MAINT
=$MAINTAINER_MODE_TRUE
1901 # Check whether --with-target-subdir or --without-target-subdir was given.
1902 if test "${with_target_subdir+set}" = set; then
1903 withval
="$with_target_subdir"
1907 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
1915 # Check whether --with-cross-host or --without-cross-host was given.
1916 if test "${with_cross_host+set}" = set; then
1917 withval
="$with_cross_host"
1921 # Check whether --enable-multilib or --disable-multilib was given.
1922 if test "${enable_multilib+set}" = set; then
1923 enableval
="$enable_multilib"
1924 case "${enableval}" in
1925 yes) multilib
=yes ;;
1927 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1928 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1929 { (exit 1); exit 1; }; } ;;
1932 test -z "$with_target_subdir" && multilib
=no || multilib
=yes
1935 # Check whether --with-system-zlib or --without-system-zlib was given.
1936 if test "${with_system_zlib+set}" = set; then
1937 withval
="$with_system_zlib"
1941 # Make sure we don't test executables when making cross-tools.
1944 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1945 # We must force CC to /not/ be precious variables; otherwise
1946 # the wrong, non-multilib-adjusted value will be used in multilibs.
1947 # As a side effect, we have to subst CFLAGS ourselves.
1952 ac_cpp
='$CPP $CPPFLAGS'
1953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1956 if test -n "$ac_tool_prefix"; then
1957 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1958 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1959 echo "$as_me:$LINENO: checking for $ac_word" >&5
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961 if test "${ac_cv_prog_CC+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test -n "$CC"; then
1965 ac_cv_prog_CC
="$CC" # Let the user override the test.
1967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir
=.
1972 for ac_exec_ext
in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 if test -n "$CC"; then
1985 echo "$as_me:$LINENO: result: $CC" >&5
1986 echo "${ECHO_T}$CC" >&6
1988 echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6
1993 if test -z "$ac_cv_prog_CC"; then
1995 # Extract the first word of "gcc", so it can be a program name with args.
1996 set dummy gcc
; ac_word
=$2
1997 echo "$as_me:$LINENO: checking for $ac_word" >&5
1998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 if test -n "$ac_ct_CC"; then
2003 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir
=.
2010 for ac_exec_ext
in '' $ac_executable_extensions; do
2011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012 ac_cv_prog_ac_ct_CC
="gcc"
2013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2022 if test -n "$ac_ct_CC"; then
2023 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2024 echo "${ECHO_T}$ac_ct_CC" >&6
2026 echo "$as_me:$LINENO: result: no" >&5
2027 echo "${ECHO_T}no" >&6
2035 if test -z "$CC"; then
2036 if test -n "$ac_tool_prefix"; then
2037 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2038 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_CC+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 if test -n "$CC"; then
2045 ac_cv_prog_CC
="$CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 if test -n "$CC"; then
2065 echo "$as_me:$LINENO: result: $CC" >&5
2066 echo "${ECHO_T}$CC" >&6
2068 echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6
2073 if test -z "$ac_cv_prog_CC"; then
2075 # Extract the first word of "cc", so it can be a program name with args.
2076 set dummy cc
; ac_word
=$2
2077 echo "$as_me:$LINENO: checking for $ac_word" >&5
2078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2079 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2080 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 if test -n "$ac_ct_CC"; then
2083 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir
=.
2090 for ac_exec_ext
in '' $ac_executable_extensions; do
2091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_ac_ct_CC
="cc"
2093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2102 if test -n "$ac_ct_CC"; then
2103 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2104 echo "${ECHO_T}$ac_ct_CC" >&6
2106 echo "$as_me:$LINENO: result: no" >&5
2107 echo "${ECHO_T}no" >&6
2116 if test -z "$CC"; then
2117 # Extract the first word of "cc", so it can be a program name with args.
2118 set dummy cc
; ac_word
=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC
="$CC" # Let the user override the test.
2128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir
=.
2133 for ac_exec_ext
in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2136 ac_prog_rejected
=yes
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test $ac_prog_rejected = yes; then
2147 # We found a bogon in the path, so make sure we never use it.
2148 set dummy
$ac_cv_prog_CC
2150 if test $# != 0; then
2151 # We chose a different compiler from the bogus one.
2152 # However, it has the same basename, so the bogon will be chosen
2153 # first if we set CC to just the basename; use the full file name.
2155 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2161 if test -n "$CC"; then
2162 echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6
2165 echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2170 if test -z "$CC"; then
2171 if test -n "$ac_tool_prefix"; then
2174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2176 echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2178 if test "${ac_cv_prog_CC+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$CC"; then
2182 ac_cv_prog_CC
="$CC" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2191 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test -n "$CC"; then
2202 echo "$as_me:$LINENO: result: $CC" >&5
2203 echo "${ECHO_T}$CC" >&6
2205 echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6
2209 test -n "$CC" && break
2212 if test -z "$CC"; then
2216 # Extract the first word of "$ac_prog", so it can be a program name with args.
2217 set dummy
$ac_prog; ac_word
=$2
2218 echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$ac_ct_CC"; then
2224 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 for ac_exec_ext
in '' $ac_executable_extensions; do
2232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233 ac_cv_prog_ac_ct_CC
="$ac_prog"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2243 if test -n "$ac_ct_CC"; then
2244 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2245 echo "${ECHO_T}$ac_ct_CC" >&6
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2251 test -n "$ac_ct_CC" && break
2260 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2261 See \`config.log' for more details." >&5
2262 echo "$as_me: error: no acceptable C compiler found in \$PATH
2263 See \`config.log' for more details." >&2;}
2264 { (exit 1); exit 1; }; }
2266 # Provide some information about the compiler.
2267 echo "$as_me:$LINENO:" \
2268 "checking for C compiler version" >&5
2269 ac_compiler
=`set X $ac_compile; echo $2`
2270 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2271 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }
2275 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2276 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }
2280 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2281 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }
2286 cat >conftest.
$ac_ext <<_ACEOF
2289 cat confdefs.h
>>conftest.
$ac_ext
2290 cat >>conftest.
$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2303 (eval $ac_link) 2>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; then
2312 if test x
$gcc_no_link = xyes
; then
2313 # Setting cross_compile will disable run tests; it will
2314 # also disable AC_CHECK_FILE but that's generally
2315 # correct if we can't link.
2319 cat >conftest.
$ac_ext <<_ACEOF
2322 cat confdefs.h
>>conftest.
$ac_ext
2323 cat >>conftest.
$ac_ext <<_ACEOF
2324 /* end confdefs.h. */
2334 ac_clean_files_save
=$ac_clean_files
2335 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2336 # Try to create an executable without -o first, disregard a.out.
2337 # It will help us diagnose broken compilers, and finding out an intuition
2339 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2340 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2341 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2342 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2343 (eval $ac_link_default) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; then
2347 # Find the output, starting from the most likely. This scheme is
2348 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2351 # Be careful to initialize this variable, since it used to be cached.
2352 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2354 # b.out is created by i960 compilers.
2355 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2357 test -f "$ac_file" ||
continue
2359 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2362 # This is the source file.
2365 # We found the default executable, but exeext='' is most
2369 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2370 # FIXME: I believe we export ac_cv_exeext for Libtool,
2371 # but it would be cool to find out if it's true. Does anybody
2372 # maintain Libtool? --akim.
2380 echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.
$ac_ext >&5
2383 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2384 See \`config.log' for more details." >&5
2385 echo "$as_me: error: C compiler cannot create executables
2386 See \`config.log' for more details." >&2;}
2387 { (exit 77); exit 77; }; }
2390 ac_exeext
=$ac_cv_exeext
2391 echo "$as_me:$LINENO: result: $ac_file" >&5
2392 echo "${ECHO_T}$ac_file" >&6
2394 # Check the compiler produces executables we can run. If not, either
2395 # the compiler is broken, or we cross compile.
2396 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2397 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2399 # If not cross compiling, check that we can run a simple program.
2400 if test "$cross_compiling" != yes; then
2401 if { ac_try
='./$ac_file'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 if test "$cross_compiling" = maybe
; then
2412 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2413 If you meant to cross compile, use \`--host'.
2414 See \`config.log' for more details." >&5
2415 echo "$as_me: error: cannot run C compiled programs.
2416 If you meant to cross compile, use \`--host'.
2417 See \`config.log' for more details." >&2;}
2418 { (exit 1); exit 1; }; }
2422 echo "$as_me:$LINENO: result: yes" >&5
2423 echo "${ECHO_T}yes" >&6
2425 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2426 ac_clean_files
=$ac_clean_files_save
2427 # Check the compiler produces executables we can run. If not, either
2428 # the compiler is broken, or we cross compile.
2429 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2430 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2431 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2432 echo "${ECHO_T}$cross_compiling" >&6
2434 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2435 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2437 (eval $ac_link) 2>&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; then
2441 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2442 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2443 # work properly (i.e., refer to `conftest.exe'), while it won't with
2445 for ac_file
in conftest.exe conftest conftest.
*; do
2446 test -f "$ac_file" ||
continue
2448 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2449 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2459 See \`config.log' for more details." >&2;}
2460 { (exit 1); exit 1; }; }
2463 rm -f conftest
$ac_cv_exeext
2464 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2465 echo "${ECHO_T}$ac_cv_exeext" >&6
2467 rm -f conftest.
$ac_ext
2468 EXEEXT
=$ac_cv_exeext
2471 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2472 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2473 if test "${ac_cv_objext+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 cat >conftest.
$ac_ext <<_ACEOF
2479 cat confdefs.h
>>conftest.
$ac_ext
2480 cat >>conftest.
$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2491 rm -f conftest.o conftest.obj
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493 (eval $ac_compile) 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; then
2497 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2499 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2500 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2505 echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2508 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2511 See \`config.log' for more details." >&2;}
2512 { (exit 1); exit 1; }; }
2515 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2517 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2518 echo "${ECHO_T}$ac_cv_objext" >&6
2519 OBJEXT
=$ac_cv_objext
2521 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2522 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2523 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.
$ac_ext <<_ACEOF
2529 cat confdefs.h
>>conftest.
$ac_ext
2530 cat >>conftest.
$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2544 rm -f conftest.
$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1
>conftest.err
2550 cat conftest.err
>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try
='test -z "$ac_c_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try
='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2574 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2577 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2578 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2579 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2580 ac_test_CFLAGS
=${CFLAGS+set}
2581 ac_save_CFLAGS
=$CFLAGS
2583 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2584 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2585 if test "${ac_cv_prog_cc_g+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 cat >conftest.
$ac_ext <<_ACEOF
2591 cat confdefs.h
>>conftest.
$ac_ext
2592 cat >>conftest.
$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2603 rm -f conftest.
$ac_objext
2604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2605 (eval $ac_compile) 2>conftest.er1
2607 grep -v '^ *+' conftest.er1
>conftest.err
2609 cat conftest.err
>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } &&
2612 { ac_try
='test -z "$ac_c_werror_flag"
2613 || test ! -s conftest.err'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; } &&
2619 { ac_try
='test -s conftest.$ac_objext'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; }; then
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2634 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2635 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2636 if test "$ac_test_CFLAGS" = set; then
2637 CFLAGS
=$ac_save_CFLAGS
2638 elif test $ac_cv_prog_cc_g = yes; then
2639 if test "$GCC" = yes; then
2645 if test "$GCC" = yes; then
2651 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2652 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2653 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 ac_cv_prog_cc_stdc
=no
2658 cat >conftest.
$ac_ext <<_ACEOF
2661 cat confdefs.h
>>conftest.
$ac_ext
2662 cat >>conftest.
$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2666 #include <sys/types.h>
2667 #include <sys/stat.h>
2668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2669 struct buf { int x; };
2670 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2671 static char *e (p, i)
2677 static char *f (char * (*g) (char **, int), char **p, ...)
2682 s = g (p, va_arg (v,int));
2687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2688 function prototypes and stuff, but not '\xHH' hex character constants.
2689 These don't provoke an error unfortunately, instead are silently treated
2690 as 'x'. The following induces an error, until -std1 is added to get
2691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2692 array size at least. It's necessary to write '\x00'==0 to get something
2693 that's true only with -std1. */
2694 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2696 int test (int i, double x);
2697 struct s1 {int (*f) (int a);};
2698 struct s2 {int (*f) (double a);};
2699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2710 # Don't try gcc -ansi; that turns off useful extensions and
2711 # breaks some systems' header files.
2712 # AIX -qlanglvl=ansi
2713 # Ultrix and OSF/1 -std1
2714 # HP-UX 10.20 and later -Ae
2715 # HP-UX older versions -Aa -D_HPUX_SOURCE
2716 # SVR4 -Xc -D__EXTENSIONS__
2717 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2719 CC
="$ac_save_CC $ac_arg"
2720 rm -f conftest.
$ac_objext
2721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>conftest.er1
2724 grep -v '^ *+' conftest.er1
>conftest.err
2726 cat conftest.err
>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try
='test -z "$ac_c_werror_flag"
2730 || test ! -s conftest.err'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; } &&
2736 { ac_try
='test -s conftest.$ac_objext'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2742 ac_cv_prog_cc_stdc
=$ac_arg
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.
$ac_ext >&5
2749 rm -f conftest.err conftest.
$ac_objext
2751 rm -f conftest.
$ac_ext conftest.
$ac_objext
2756 case "x$ac_cv_prog_cc_stdc" in
2758 echo "$as_me:$LINENO: result: none needed" >&5
2759 echo "${ECHO_T}none needed" >&6 ;;
2761 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2762 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2763 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2766 # Some people use a C++ compiler to compile C. Since we use `exit',
2767 # in C++ we need to declare it. In case someone uses the same compiler
2768 # for both compiling C and C++ we need to have the C++ compiler decide
2769 # the declaration of exit, since it's the most demanding environment.
2770 cat >conftest.
$ac_ext <<_ACEOF
2775 rm -f conftest.
$ac_objext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2777 (eval $ac_compile) 2>conftest.er1
2779 grep -v '^ *+' conftest.er1
>conftest.err
2781 cat conftest.err
>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -z "$ac_c_werror_flag"
2785 || test ! -s conftest.err'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try
='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 for ac_declaration
in \
2799 'extern "C" void std::exit (int) throw (); using std::exit;' \
2800 'extern "C" void std::exit (int); using std::exit;' \
2801 'extern "C" void exit (int) throw ();' \
2802 'extern "C" void exit (int);' \
2805 cat >conftest.
$ac_ext <<_ACEOF
2808 cat confdefs.h
>>conftest.
$ac_ext
2809 cat >>conftest.
$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1
>conftest.err
2827 cat conftest.err
>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try
='test -z "$ac_c_werror_flag"
2831 || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 cat >conftest.
$ac_ext <<_ACEOF
2854 cat confdefs.h
>>conftest.
$ac_ext
2855 cat >>conftest.
$ac_ext <<_ACEOF
2856 /* end confdefs.h. */
2866 rm -f conftest.
$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2870 grep -v '^ *+' conftest.er1
>conftest.err
2872 cat conftest.err
>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try
='test -z "$ac_c_werror_flag"
2876 || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try
='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.
$ac_ext >&5
2894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2897 if test -n "$ac_declaration"; then
2898 echo '#ifdef __cplusplus' >>confdefs.h
2899 echo $ac_declaration >>confdefs.h
2900 echo '#endif' >>confdefs.h
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 DEPDIR
="${am__leading_dot}deps"
2916 ac_config_commands
="$ac_config_commands depfiles"
2919 am_make
=${MAKE-make}
2920 cat > confinc
<< 'END'
2925 # If we don't find an include directive, just comment out the code.
2926 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2927 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2931 # First try GNU make style include.
2932 echo "include confinc" > confmf
2933 # We grep out `Entering directory' and `Leaving directory'
2934 # messages which can occur if `w' ends up in MAKEFLAGS.
2935 # In particular we don't look at `^make:' because GNU make might
2936 # be invoked under some other name (usually "gmake"), in which
2937 # case it prints its new name instead of `make'.
2938 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2943 # Now try BSD make style include.
2944 if test "$am__include" = "#"; then
2945 echo '.include "confinc"' > confmf
2946 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2947 am__include
=.include
2954 echo "$as_me:$LINENO: result: $_am_result" >&5
2955 echo "${ECHO_T}$_am_result" >&6
2956 rm -f confinc confmf
2958 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2959 if test "${enable_dependency_tracking+set}" = set; then
2960 enableval
="$enable_dependency_tracking"
2963 if test "x$enable_dependency_tracking" != xno
; then
2964 am_depcomp
="$ac_aux_dir/depcomp"
2969 if test "x$enable_dependency_tracking" != xno; then
2980 depcc
="$CC" am_compiler_list
=
2982 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2983 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2984 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2988 # We make a subdir and do the tests there. Otherwise we can end up
2989 # making bogus files that we don't know about and never remove. For
2990 # instance it was reported that on HP-UX the gcc test will end up
2991 # making a dummy file named `D' -- because `-MD' means `put the output
2994 # Copy depcomp to subdir because otherwise we won't find it if we're
2995 # using a relative directory.
2996 cp "$am_depcomp" conftest.dir
2998 # We will build objects and dependencies in a subdirectory because
2999 # it helps to detect inapplicable dependency modes. For instance
3000 # both Tru64's cc and ICC support -MD to output dependencies as a
3001 # side effect of compilation, but ICC will put the dependencies in
3002 # the current directory while Tru64 will put them in the object
3006 am_cv_CC_dependencies_compiler_type
=none
3007 if test "$am_compiler_list" = ""; then
3008 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3010 for depmode
in $am_compiler_list; do
3011 # Setup a source with many dependencies, because some compilers
3012 # like to wrap large dependency lists on column 80 (with \), and
3013 # we should not choose a depcomp mode which is confused by this.
3015 # We need to recreate these files for each test, as the compiler may
3016 # overwrite some of them when testing with obscure command lines.
3017 # This happens at least with the AIX C compiler.
3019 for i
in 1 2 3 4 5 6; do
3020 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3021 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3022 # Solaris 8's {/usr,}/bin/sh.
3023 touch sub
/conftst
$i.h
3025 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3029 # after this tag, mechanisms are not by side-effect, so they'll
3030 # only be used when explicitly requested
3031 if test "x$enable_dependency_tracking" = xyes
; then
3039 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3040 # mode. It turns out that the SunPro C++ compiler does not properly
3041 # handle `-M -o', and we need to detect this.
3042 if depmode
=$depmode \
3043 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3044 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3045 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3046 >/dev
/null
2>conftest.err
&&
3047 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3048 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3049 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3050 # icc doesn't choke on unknown options, it will just issue warnings
3051 # or remarks (even with -Werror). So we grep stderr for any message
3052 # that says an option was ignored or not supported.
3053 # When given -MP, icc 7.0 and 7.1 complain thusly:
3054 # icc: Command line warning: ignoring option '-M'; no argument required
3055 # The diagnosis changed in icc 8.0:
3056 # icc: Command line remark: option '-MP' not supported
3057 if (grep 'ignoring option' conftest.err ||
3058 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3059 am_cv_CC_dependencies_compiler_type
=$depmode
3068 am_cv_CC_dependencies_compiler_type
=none
3072 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3073 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3074 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3079 test "x$enable_dependency_tracking" != xno \
3080 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3082 am__fastdepCC_FALSE
='#'
3084 am__fastdepCC_TRUE
='#'
3085 am__fastdepCC_FALSE
=
3093 # Check whether --enable-shared or --disable-shared was given.
3094 if test "${enable_shared+set}" = set; then
3095 enableval
="$enable_shared"
3096 p
=${PACKAGE-default}
3098 yes) enable_shared
=yes ;;
3099 no
) enable_shared
=no
;;
3102 # Look at the argument we got. We use all the common list separators.
3103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3104 for pkg
in $enableval; do
3105 if test "X$pkg" = "X$p"; then
3115 # Check whether --enable-static or --disable-static was given.
3116 if test "${enable_static+set}" = set; then
3117 enableval
="$enable_static"
3118 p
=${PACKAGE-default}
3120 yes) enable_static
=yes ;;
3121 no
) enable_static
=no
;;
3124 # Look at the argument we got. We use all the common list separators.
3125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3126 for pkg
in $enableval; do
3127 if test "X$pkg" = "X$p"; then
3137 # Check whether --enable-fast-install or --disable-fast-install was given.
3138 if test "${enable_fast_install+set}" = set; then
3139 enableval
="$enable_fast_install"
3140 p
=${PACKAGE-default}
3142 yes) enable_fast_install
=yes ;;
3143 no
) enable_fast_install
=no
;;
3145 enable_fast_install
=no
3146 # Look at the argument we got. We use all the common list separators.
3147 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3148 for pkg
in $enableval; do
3149 if test "X$pkg" = "X$p"; then
3150 enable_fast_install
=yes
3157 enable_fast_install
=yes
3160 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3161 if test "${with_gnu_ld+set}" = set; then
3162 withval
="$with_gnu_ld"
3163 test "$withval" = no || with_gnu_ld
=yes
3168 if test "$GCC" = yes; then
3169 # Check if gcc -print-prog-name=ld gives a path.
3170 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3171 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3174 # gcc leaves a trailing carriage return which upsets mingw
3175 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3177 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3180 # Accept absolute paths.
3181 [\\/]* |
[A-Za-z
]:[\\/]*)
3182 re_direlt
='/[^/][^/]*/\.\./'
3183 # Canonicalize the path of ld
3184 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3185 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3186 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3188 test -z "$LD" && LD
="$ac_prog"
3191 # If it fails, then pretend we aren't using GCC.
3195 # If it is relative, then search for the first ld in PATH.
3199 elif test "$with_gnu_ld" = yes; then
3200 echo "$as_me:$LINENO: checking for GNU ld" >&5
3201 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3203 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3204 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3206 if test "${lt_cv_path_LD+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 if test -z "$LD"; then
3210 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3211 for ac_dir
in $PATH; do
3212 test -z "$ac_dir" && ac_dir
=.
3213 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3214 lt_cv_path_LD
="$ac_dir/$ac_prog"
3215 # Check to see if the program is GNU ld. I'd rather use --version,
3216 # but apparently some GNU ld's only accept -v.
3217 # Break only if it was the GNU/non-GNU ld that we prefer.
3218 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3219 test "$with_gnu_ld" != no
&& break
3221 test "$with_gnu_ld" != yes && break
3227 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3232 if test -n "$LD"; then
3233 echo "$as_me:$LINENO: result: $LD" >&5
3234 echo "${ECHO_T}$LD" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3239 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3240 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3241 { (exit 1); exit 1; }; }
3242 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3243 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3244 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3248 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3249 lt_cv_prog_gnu_ld
=yes
3251 lt_cv_prog_gnu_ld
=no
3254 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3255 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3256 with_gnu_ld
=$lt_cv_prog_gnu_ld
3259 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3260 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3261 if test "${lt_cv_ld_reload_flag+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 lt_cv_ld_reload_flag
='-r'
3266 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3267 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3268 reload_flag
=$lt_cv_ld_reload_flag
3269 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3271 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3272 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3273 if test "${lt_cv_path_NM+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 if test -n "$NM"; then
3277 # Let the user override the test.
3280 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3281 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3282 test -z "$ac_dir" && ac_dir
=.
3283 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3284 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3285 # Check to see if the nm accepts a BSD-compat flag.
3286 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3287 # nm: unknown option "B" ignored
3288 # Tru64's nm complains that /dev/null is an invalid object file
3289 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3290 lt_cv_path_NM
="$tmp_nm -B"
3292 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3293 lt_cv_path_NM
="$tmp_nm -p"
3296 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3297 continue # so that we can try to find one that supports BSD flags
3302 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3307 echo "$as_me:$LINENO: result: $NM" >&5
3308 echo "${ECHO_T}$NM" >&6
3310 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3311 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3313 if test "$LN_S" = "ln -s"; then
3314 echo "$as_me:$LINENO: result: yes" >&5
3315 echo "${ECHO_T}yes" >&6
3317 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3318 echo "${ECHO_T}no, using $LN_S" >&6
3321 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3322 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3323 if test "${lt_cv_deplibs_check_method+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6
3326 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3327 lt_cv_file_magic_test_file
=
3328 lt_cv_deplibs_check_method
='unknown'
3329 # Need to set the preceding variable on all platforms that support
3330 # interlibrary dependencies.
3331 # 'none' -- dependencies not supported.
3332 # `unknown' -- same as none, but documents that we really don't know.
3333 # 'pass_all' -- all dependencies passed with no checks.
3334 # 'test_compile' -- check by making test program.
3335 # 'file_magic [regex]' -- check by looking for files in library path
3336 # which responds to the $file_magic_cmd with a given egrep regex.
3337 # If you have `file' or equivalent on your system and you're not sure
3338 # whether `pass_all' will *always* work, you probably want this one.
3342 lt_cv_deplibs_check_method
=pass_all
3346 lt_cv_deplibs_check_method
=pass_all
3350 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3351 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3352 lt_cv_file_magic_test_file
=/shlib
/libc.so
3355 cygwin
* | mingw
* |pw32
*)
3356 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3357 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3360 darwin
* | rhapsody
*)
3361 # this will be overwritten by pass_all, but leave it in just in case
3362 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3363 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3365 rhapsody
* | darwin1.012
)
3366 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3369 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3372 lt_cv_deplibs_check_method
=pass_all
3375 freebsd
* | kfreebsd
*-gnu)
3376 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3379 # Not sure whether the presence of OpenBSD here was a mistake.
3380 # Let's accept both of them until this is cleared up.
3381 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3382 lt_cv_file_magic_cmd
=/usr
/bin
/file
3383 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3387 lt_cv_deplibs_check_method
=pass_all
3392 lt_cv_deplibs_check_method
=pass_all
3398 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3399 lt_cv_file_magic_cmd
=/usr
/bin
/file
3400 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3403 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3404 lt_cv_file_magic_cmd
=/usr
/bin
/file
3405 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3413 # this will be overridden with pass_all, but let us keep it just in case
3414 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3418 *-32|
*"-32 ") libmagic
=32-bit;;
3419 *-n32|
*"-n32 ") libmagic
=N32
;;
3420 *-64|
*"-64 ") libmagic
=64-bit;;
3421 *) libmagic
=never-match
;;
3423 # this will be overridden with pass_all, but let us keep it just in case
3424 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3427 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3428 lt_cv_deplibs_check_method
=pass_all
3431 # This must be Linux ELF.
3433 lt_cv_deplibs_check_method
=pass_all
3436 netbsd
* | knetbsd
*-gnu)
3437 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3438 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3440 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3445 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3446 lt_cv_file_magic_cmd
=/usr
/bin
/file
3447 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3450 osf3
* | osf4
* | osf5
*)
3451 # this will be overridden with pass_all, but let us keep it just in case
3452 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3453 lt_cv_file_magic_test_file
=/shlib
/libc.so
3454 lt_cv_deplibs_check_method
=pass_all
3458 lt_cv_deplibs_check_method
=pass_all
3462 lt_cv_deplibs_check_method
=pass_all
3463 lt_cv_file_magic_test_file
=/lib
/libc.so
3466 sysv5uw
[78]* | sysv4
*uw2
*)
3467 lt_cv_deplibs_check_method
=pass_all
3470 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3471 case $host_vendor in
3473 lt_cv_deplibs_check_method
=pass_all
3476 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]'
3477 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3484 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3485 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3486 file_magic_cmd
=$lt_cv_file_magic_cmd
3487 deplibs_check_method
=$lt_cv_deplibs_check_method
3493 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3495 # find the maximum length of command line arguments
3496 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3497 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3498 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 # On DJGPP, this test can blow up pretty badly due to problems in libc
3507 # (any single argument exceeding 2000 bytes causes a buffer overrun
3508 # during glob expansion). Even if it were fixed, the result of this
3509 # check would be larger than it should be.
3510 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3514 # On Win9x/ME, this test blows up -- it succeeds, but takes
3515 # about 5 minutes as the teststring grows exponentially.
3516 # Worse, since 9x/ME are not pre-emptively multitasking,
3517 # you end up with a "frozen" computer, even though with patience
3518 # the test eventually succeeds (with a max line length of 256k).
3519 # Instead, let's just punt: use the minimum linelength reported by
3520 # all of the supported platforms: 8192 (on NT/2K/XP).
3521 lt_cv_sys_max_cmd_len
=8192;
3525 # On AmigaOS with pdksh, this test takes hours, literally.
3526 # So we just punt and use a minimum line length of 8192.
3527 lt_cv_sys_max_cmd_len
=8192;
3530 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3531 # This has been around since 386BSD, at least. Likely further.
3532 if test -x /sbin
/sysctl
; then
3533 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3534 elif test -x /usr
/sbin
/sysctl
; then
3535 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3537 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3539 # And add a safety zone
3540 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3541 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3547 if test -n "$lt_cv_sys_max_cmd_len" ; then
3548 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3549 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3551 echo "$as_me:$LINENO: result: none" >&5
3552 echo "${ECHO_T}none" >&6
3556 # Only perform the check for file, if the check method requires it
3557 case $deplibs_check_method in
3559 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3560 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3561 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3562 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3563 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3570 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3573 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3574 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3575 ac_dummy
="/usr/bin:$PATH"
3576 for ac_dir
in $ac_dummy; do
3577 test -z "$ac_dir" && ac_dir
=.
3578 if test -f $ac_dir/${ac_tool_prefix}file; then
3579 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3580 if test -n "$file_magic_test_file"; then
3581 case $deplibs_check_method in
3583 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3584 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3585 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3586 egrep "$file_magic_regex" > /dev
/null
; then
3591 *** Warning: the command libtool uses to detect shared libraries,
3592 *** $file_magic_cmd, produces output that libtool cannot recognize.
3593 *** The result is that libtool may fail to recognize shared libraries
3594 *** as such. This will affect the creation of libtool libraries that
3595 *** depend on shared libraries, but programs linked with such libtool
3596 *** libraries will work regardless of this problem. Nevertheless, you
3597 *** may want to report the problem to your system manager and/or to
3598 *** bug-libtool@gnu.org
3608 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3613 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3614 if test -n "$MAGIC_CMD"; then
3615 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3616 echo "${ECHO_T}$MAGIC_CMD" >&6
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3622 if test -z "$lt_cv_path_MAGIC_CMD"; then
3623 if test -n "$ac_tool_prefix"; then
3624 echo "$as_me:$LINENO: checking for file" >&5
3625 echo $ECHO_N "checking for file... $ECHO_C" >&6
3626 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3634 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3637 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3639 ac_dummy
="/usr/bin:$PATH"
3640 for ac_dir
in $ac_dummy; do
3641 test -z "$ac_dir" && ac_dir
=.
3642 if test -f $ac_dir/file; then
3643 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3644 if test -n "$file_magic_test_file"; then
3645 case $deplibs_check_method in
3647 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3648 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3649 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3650 egrep "$file_magic_regex" > /dev
/null
; then
3655 *** Warning: the command libtool uses to detect shared libraries,
3656 *** $file_magic_cmd, produces output that libtool cannot recognize.
3657 *** The result is that libtool may fail to recognize shared libraries
3658 *** as such. This will affect the creation of libtool libraries that
3659 *** depend on shared libraries, but programs linked with such libtool
3660 *** libraries will work regardless of this problem. Nevertheless, you
3661 *** may want to report the problem to your system manager and/or to
3662 *** bug-libtool@gnu.org
3672 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3677 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3678 if test -n "$MAGIC_CMD"; then
3679 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3680 echo "${ECHO_T}$MAGIC_CMD" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3695 if test -n "$ac_tool_prefix"; then
3696 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3697 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3698 echo "$as_me:$LINENO: checking for $ac_word" >&5
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3700 if test "${ac_cv_prog_RANLIB+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 if test -n "$RANLIB"; then
3704 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 RANLIB
=$ac_cv_prog_RANLIB
3723 if test -n "$RANLIB"; then
3724 echo "$as_me:$LINENO: result: $RANLIB" >&5
3725 echo "${ECHO_T}$RANLIB" >&6
3727 echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6
3732 if test -z "$ac_cv_prog_RANLIB"; then
3733 ac_ct_RANLIB
=$RANLIB
3734 # Extract the first word of "ranlib", so it can be a program name with args.
3735 set dummy ranlib
; ac_word
=$2
3736 echo "$as_me:$LINENO: checking for $ac_word" >&5
3737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3738 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 if test -n "$ac_ct_RANLIB"; then
3742 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3761 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3762 if test -n "$ac_ct_RANLIB"; then
3763 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3764 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3770 RANLIB
=$ac_ct_RANLIB
3772 RANLIB
="$ac_cv_prog_RANLIB"
3775 if test -n "$ac_tool_prefix"; then
3776 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3777 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3778 echo "$as_me:$LINENO: checking for $ac_word" >&5
3779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3780 if test "${ac_cv_prog_STRIP+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 if test -n "$STRIP"; then
3784 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 STRIP
=$ac_cv_prog_STRIP
3803 if test -n "$STRIP"; then
3804 echo "$as_me:$LINENO: result: $STRIP" >&5
3805 echo "${ECHO_T}$STRIP" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3812 if test -z "$ac_cv_prog_STRIP"; then
3814 # Extract the first word of "strip", so it can be a program name with args.
3815 set dummy strip
; ac_word
=$2
3816 echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 if test -n "$ac_ct_STRIP"; then
3822 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_exec_ext
in '' $ac_executable_extensions; do
3830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_ac_ct_STRIP
="strip"
3832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3841 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3842 if test -n "$ac_ct_STRIP"; then
3843 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3844 echo "${ECHO_T}$ac_ct_STRIP" >&6
3846 echo "$as_me:$LINENO: result: no" >&5
3847 echo "${ECHO_T}no" >&6
3852 STRIP
="$ac_cv_prog_STRIP"
3856 # Check for any special flags to pass to ltconfig.
3857 libtool_flags
="--cache-file=$cache_file"
3858 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3859 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3860 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3861 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3862 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3865 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3866 if test "${enable_libtool_lock+set}" = set; then
3867 enableval
="$enable_libtool_lock"
3870 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3871 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3874 # Check whether --with-pic or --without-pic was given.
3875 if test "${with_pic+set}" = set; then
3881 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3882 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3884 # Some flags need to be propagated to the compiler or linker for good
3888 # Find out which ABI we are using.
3889 echo '#line 3889 "configure"' > conftest.
$ac_ext
3890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3891 (eval $ac_compile) 2>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); }; then
3895 if test "$lt_cv_prog_gnu_ld" = yes; then
3896 case `/usr/bin/file conftest.$ac_objext` in
3898 LD
="${LD-ld} -melf32bsmip"
3901 LD
="${LD-ld} -melf32bmipn32"
3904 LD
="${LD-ld} -melf64bmip"
3908 case `/usr/bin/file conftest.$ac_objext` in
3925 # Find out which ABI we are using.
3926 echo 'int i;' > conftest.
$ac_ext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; then
3932 case "`/usr/bin/file conftest.o`" in
3944 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3945 # Find out which ABI we are using.
3946 echo 'int i;' > conftest.
$ac_ext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948 (eval $ac_compile) 2>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; then
3952 case "`/usr/bin/file conftest.o`" in
3956 LD
="${LD-ld} -m elf_i386"
3958 ppc64-
*linux
*|powerpc64-
*linux
*)
3959 LD
="${LD-ld} -m elf32ppclinux"
3962 LD
="${LD-ld} -m elf_s390"
3965 LD
="${LD-ld} -m elf32_sparc"
3972 LD
="${LD-ld} -m elf_x86_64"
3974 ppc
*-*linux
*|powerpc
*-*linux
*)
3975 LD
="${LD-ld} -m elf64ppc"
3978 LD
="${LD-ld} -m elf64_s390"
3981 LD
="${LD-ld} -m elf64_sparc"
3991 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3992 SAVE_CFLAGS
="$CFLAGS"
3993 CFLAGS
="$CFLAGS -belf"
3994 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3995 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3996 if test "${lt_cv_cc_needs_belf+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 ac_cpp
='$CPP $CPPFLAGS'
4003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4007 if test x
$gcc_no_link = xyes
; then
4008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4010 { (exit 1); exit 1; }; }
4012 cat >conftest.
$ac_ext <<_ACEOF
4015 cat confdefs.h
>>conftest.
$ac_ext
4016 cat >>conftest.
$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4027 rm -f conftest.
$ac_objext conftest
$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try
='test -z "$ac_c_werror_flag"
4037 || test ! -s conftest.err'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; } &&
4043 { ac_try
='test -s conftest$ac_exeext'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 lt_cv_cc_needs_belf
=yes
4051 echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.
$ac_ext >&5
4054 lt_cv_cc_needs_belf
=no
4056 rm -f conftest.err conftest.
$ac_objext \
4057 conftest
$ac_exeext conftest.
$ac_ext
4059 ac_cpp
='$CPP $CPPFLAGS'
4060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4065 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4066 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4067 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4068 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4069 CFLAGS
="$SAVE_CFLAGS"
4077 # Save cache, so that ltconfig can load it
4078 cat >confcache
<<\_ACEOF
4079 # This file is a shell script that caches the results of configure
4080 # tests run on this system so they can be shared between configure
4081 # scripts and configure runs, see configure's option --config-cache.
4082 # It is not useful on other systems. If it contains results you don't
4083 # want to keep, you may remove or edit it.
4085 # config.status only pays attention to the cache file if you give it
4086 # the --recheck option to rerun configure.
4088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4094 # The following way of writing the cache mishandles newlines in values,
4095 # but we know of no workaround that is simple, portable, and efficient.
4096 # So, don't put newlines in cache variables' values.
4097 # Ultrix sh set writes to stderr and can't be redirected directly,
4098 # and sets the high bit in the cache file unless we assign to the vars.
4101 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4103 # `set' does not quote correctly, so add quotes (double-quote
4104 # substitution turns \\\\ into \\, and sed turns \\ into \).
4107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4110 # `set' quotes correctly as required by POSIX, so do not add quotes.
4112 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4119 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4121 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4123 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4124 if test -w $cache_file; then
4125 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4126 cat confcache
>$cache_file
4128 echo "not updating unwritable cache $cache_file"
4133 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4134 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4135 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4136 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4137 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4138 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4139 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4140 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4141 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4142 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4143 echo "$as_me: error: libtool configure failed" >&2;}
4144 { (exit 1); exit 1; }; }
4146 # Reload cache, that may have been modified by ltconfig
4147 if test -r "$cache_file"; then
4148 # Some versions of bash will fail to source /dev/null (special
4149 # files actually), so we avoid doing that.
4150 if test -f "$cache_file"; then
4151 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4152 echo "$as_me: loading cache $cache_file" >&6;}
4154 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4155 *) . .
/$cache_file;;
4159 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4160 echo "$as_me: creating cache $cache_file" >&6;}
4165 # This can be used to rebuild libtool when needed
4166 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4168 # Always use our own libtool.
4169 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4171 # Redirect the config.log output again, so that the ltconfig log is not
4172 # clobbered by the next message.
4173 exec 5>>.
/config.log
4181 # Find CPP now so that any conditional tests below won't do it and
4182 # thereby make the resulting definitions conditional.
4184 ac_cpp
='$CPP $CPPFLAGS'
4185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4188 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4189 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4190 # On Suns, sometimes $CPP names a directory.
4191 if test -n "$CPP" && test -d "$CPP"; then
4194 if test -z "$CPP"; then
4195 if test "${ac_cv_prog_CPP+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 # Double quotes because CPP needs to be expanded
4199 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4202 for ac_c_preproc_warn_flag
in '' yes
4204 # Use a header file that comes with gcc, so configuring glibc
4205 # with a fresh cross-compiler works.
4206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4207 # <limits.h> exists even on freestanding compilers.
4208 # On the NeXT, cc -E runs the code through the compiler's parser,
4209 # not just through cpp. "Syntax error" is here to catch this case.
4210 cat >conftest.
$ac_ext <<_ACEOF
4213 cat confdefs.h
>>conftest.
$ac_ext
4214 cat >>conftest.
$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
4217 # include <limits.h>
4219 # include <assert.h>
4223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4226 grep -v '^ *+' conftest.er1
>conftest.err
4228 cat conftest.err
>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } >/dev
/null
; then
4231 if test -s conftest.err
; then
4232 ac_cpp_err
=$ac_c_preproc_warn_flag
4233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4240 if test -z "$ac_cpp_err"; then
4243 echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.
$ac_ext >&5
4246 # Broken: fails on valid input.
4249 rm -f conftest.err conftest.
$ac_ext
4251 # OK, works on sane cases. Now check whether non-existent headers
4252 # can be detected and how.
4253 cat >conftest.
$ac_ext <<_ACEOF
4256 cat confdefs.h
>>conftest.
$ac_ext
4257 cat >>conftest.
$ac_ext <<_ACEOF
4258 /* end confdefs.h. */
4259 #include <ac_nonexistent.h>
4261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4264 grep -v '^ *+' conftest.er1
>conftest.err
4266 cat conftest.err
>&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } >/dev
/null
; then
4269 if test -s conftest.err
; then
4270 ac_cpp_err
=$ac_c_preproc_warn_flag
4271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4278 if test -z "$ac_cpp_err"; then
4279 # Broken: success on invalid input.
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.
$ac_ext >&5
4285 # Passes both tests.
4289 rm -f conftest.err conftest.
$ac_ext
4292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4293 rm -f conftest.err conftest.
$ac_ext
4294 if $ac_preproc_ok; then
4306 echo "$as_me:$LINENO: result: $CPP" >&5
4307 echo "${ECHO_T}$CPP" >&6
4309 for ac_c_preproc_warn_flag
in '' yes
4311 # Use a header file that comes with gcc, so configuring glibc
4312 # with a fresh cross-compiler works.
4313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4314 # <limits.h> exists even on freestanding compilers.
4315 # On the NeXT, cc -E runs the code through the compiler's parser,
4316 # not just through cpp. "Syntax error" is here to catch this case.
4317 cat >conftest.
$ac_ext <<_ACEOF
4320 cat confdefs.h
>>conftest.
$ac_ext
4321 cat >>conftest.
$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4324 # include <limits.h>
4326 # include <assert.h>
4330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4333 grep -v '^ *+' conftest.er1
>conftest.err
4335 cat conftest.err
>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } >/dev
/null
; then
4338 if test -s conftest.err
; then
4339 ac_cpp_err
=$ac_c_preproc_warn_flag
4340 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4347 if test -z "$ac_cpp_err"; then
4350 echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.
$ac_ext >&5
4353 # Broken: fails on valid input.
4356 rm -f conftest.err conftest.
$ac_ext
4358 # OK, works on sane cases. Now check whether non-existent headers
4359 # can be detected and how.
4360 cat >conftest.
$ac_ext <<_ACEOF
4363 cat confdefs.h
>>conftest.
$ac_ext
4364 cat >>conftest.
$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4366 #include <ac_nonexistent.h>
4368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4371 grep -v '^ *+' conftest.er1
>conftest.err
4373 cat conftest.err
>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } >/dev
/null
; then
4376 if test -s conftest.err
; then
4377 ac_cpp_err
=$ac_c_preproc_warn_flag
4378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4385 if test -z "$ac_cpp_err"; then
4386 # Broken: success on invalid input.
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 # Passes both tests.
4396 rm -f conftest.err conftest.
$ac_ext
4399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4400 rm -f conftest.err conftest.
$ac_ext
4401 if $ac_preproc_ok; then
4404 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4405 See \`config.log' for more details." >&5
4406 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4407 See \`config.log' for more details." >&2;}
4408 { (exit 1); exit 1; }; }
4412 ac_cpp
='$CPP $CPPFLAGS'
4413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4418 if test -n "$with_cross_host"; then
4419 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
4420 # may not work correctly, because the compiler may not be able to
4423 # We assume newlib. This lets us hard-code the functions we know
4425 cat >>confdefs.h
<<\_ACEOF
4426 #define HAVE_MEMCPY 1
4429 cat >>confdefs.h
<<\_ACEOF
4430 #define HAVE_STRERROR 1
4434 # We ignore --with-system-zlib in this case.
4435 target_all
=libzgcj.la
4437 if test x
$gcc_no_link = xyes
; then
4438 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
4439 ac_cv_func_mmap_fixed_mapped
=no
4442 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
4444 echo "$as_me:$LINENO: checking for egrep" >&5
4445 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4446 if test "${ac_cv_prog_egrep+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4450 then ac_cv_prog_egrep
='grep -E'
4451 else ac_cv_prog_egrep
='egrep'
4454 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4455 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4456 EGREP
=$ac_cv_prog_egrep
4459 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4461 if test "${ac_cv_header_stdc+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4483 rm -f conftest.
$ac_objext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4485 (eval $ac_compile) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try
='test -z "$ac_c_werror_flag"
4493 || test ! -s conftest.err'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; } &&
4499 { ac_try
='test -s conftest.$ac_objext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 ac_cv_header_stdc
=yes
4507 echo "$as_me: failed program was:" >&5
4508 sed 's/^/| /' conftest.
$ac_ext >&5
4510 ac_cv_header_stdc
=no
4512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4514 if test $ac_cv_header_stdc = yes; then
4515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4516 cat >conftest.
$ac_ext <<_ACEOF
4519 cat confdefs.h
>>conftest.
$ac_ext
4520 cat >>conftest.
$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4526 $EGREP "memchr" >/dev
/null
2>&1; then
4529 ac_cv_header_stdc
=no
4535 if test $ac_cv_header_stdc = yes; then
4536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4537 cat >conftest.
$ac_ext <<_ACEOF
4540 cat confdefs.h
>>conftest.
$ac_ext
4541 cat >>conftest.
$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4547 $EGREP "free" >/dev
/null
2>&1; then
4550 ac_cv_header_stdc
=no
4556 if test $ac_cv_header_stdc = yes; then
4557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4558 if test "$cross_compiling" = yes; then
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 #if ((' ' & 0x0FF) == 0x020)
4569 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4570 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4572 # define ISLOWER(c) \
4573 (('a' <= (c) && (c) <= 'i') \
4574 || ('j' <= (c) && (c) <= 'r') \
4575 || ('s' <= (c) && (c) <= 'z'))
4576 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4579 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4584 for (i = 0; i < 256; i++)
4585 if (XOR (islower (i), ISLOWER (i))
4586 || toupper (i) != TOUPPER (i))
4591 rm -f conftest
$ac_exeext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4593 (eval $ac_link) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4604 echo "$as_me: program exited with status $ac_status" >&5
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.
$ac_ext >&5
4609 ac_cv_header_stdc
=no
4611 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4615 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4616 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4617 if test $ac_cv_header_stdc = yes; then
4619 cat >>confdefs.h
<<\_ACEOF
4620 #define STDC_HEADERS 1
4625 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4636 inttypes.h stdint.h unistd.h
4638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4639 echo "$as_me:$LINENO: checking for $ac_header" >&5
4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 cat >conftest.
$ac_ext <<_ACEOF
4647 cat confdefs.h
>>conftest.
$ac_ext
4648 cat >>conftest.
$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4650 $ac_includes_default
4652 #include <$ac_header>
4654 rm -f conftest.
$ac_objext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1
>conftest.err
4660 cat conftest.err
>&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try
='test -z "$ac_c_werror_flag"
4664 || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try
='test -s conftest.$ac_objext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 eval "$as_ac_Header=yes"
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 eval "$as_ac_Header=no"
4683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4688 cat >>confdefs.h
<<_ACEOF
4689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4699 for ac_header
in stdlib.h unistd.h
4701 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4703 echo "$as_me:$LINENO: checking for $ac_header" >&5
4704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4711 # Is the header compilable?
4712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4714 cat >conftest.
$ac_ext <<_ACEOF
4717 cat confdefs.h
>>conftest.
$ac_ext
4718 cat >>conftest.
$ac_ext <<_ACEOF
4719 /* end confdefs.h. */
4720 $ac_includes_default
4721 #include <$ac_header>
4723 rm -f conftest.
$ac_objext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>conftest.er1
4727 grep -v '^ *+' conftest.er1
>conftest.err
4729 cat conftest.err
>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try
='test -z "$ac_c_werror_flag"
4733 || test ! -s conftest.err'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; } &&
4739 { ac_try
='test -s conftest.$ac_objext'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4745 ac_header_compiler
=yes
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.
$ac_ext >&5
4750 ac_header_compiler
=no
4752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4754 echo "${ECHO_T}$ac_header_compiler" >&6
4756 # Is the header present?
4757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4759 cat >conftest.
$ac_ext <<_ACEOF
4762 cat confdefs.h
>>conftest.
$ac_ext
4763 cat >>conftest.
$ac_ext <<_ACEOF
4764 /* end confdefs.h. */
4765 #include <$ac_header>
4767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1
>conftest.err
4772 cat conftest.err
>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } >/dev
/null
; then
4775 if test -s conftest.err
; then
4776 ac_cpp_err
=$ac_c_preproc_warn_flag
4777 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4784 if test -z "$ac_cpp_err"; then
4785 ac_header_preproc
=yes
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.
$ac_ext >&5
4790 ac_header_preproc
=no
4792 rm -f conftest.err conftest.
$ac_ext
4793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4794 echo "${ECHO_T}$ac_header_preproc" >&6
4796 # So? What about this header?
4797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4803 ac_header_preproc
=yes
4806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4820 ## ------------------------------------------ ##
4821 ## Report this to the AC_PACKAGE_NAME lists. ##
4822 ## ------------------------------------------ ##
4825 sed "s/^/$as_me: WARNING: /" >&2
4828 echo "$as_me:$LINENO: checking for $ac_header" >&5
4829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 eval "$as_ac_Header=\$ac_header_preproc"
4835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4840 cat >>confdefs.h
<<_ACEOF
4841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4849 for ac_func
in getpagesize
4851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4852 echo "$as_me:$LINENO: checking for $ac_func" >&5
4853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4854 if eval "test \"\${$as_ac_var+set}\" = set"; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 if test x
$gcc_no_link = xyes
; then
4858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4860 { (exit 1); exit 1; }; }
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4870 #define $ac_func innocuous_$ac_func
4872 /* System header to define __stub macros and hopefully few prototypes,
4873 which can conflict with char $ac_func (); below.
4874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4875 <limits.h> exists even on freestanding compilers. */
4878 # include <limits.h>
4880 # include <assert.h>
4885 /* Override any gcc2 internal prototype to avoid an error. */
4890 /* We use char because int might match the return type of a gcc2
4891 builtin and then its argument prototype would still apply. */
4893 /* The GNU C library defines this for functions which it implements
4894 to always fail with ENOSYS. Some functions are actually named
4895 something starting with __ and the normal name is an alias. */
4896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4899 char (*f) () = $ac_func;
4908 return f != $ac_func;
4913 rm -f conftest.
$ac_objext conftest
$ac_exeext
4914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4915 (eval $ac_link) 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try
='test -z "$ac_c_werror_flag"
4923 || test ! -s conftest.err'
4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }; } &&
4929 { ac_try
='test -s conftest$ac_exeext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4935 eval "$as_ac_var=yes"
4937 echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.
$ac_ext >&5
4940 eval "$as_ac_var=no"
4942 rm -f conftest.err conftest.
$ac_objext \
4943 conftest
$ac_exeext conftest.
$ac_ext
4945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4947 if test `eval echo '${'$as_ac_var'}'` = yes; then
4948 cat >>confdefs.h
<<_ACEOF
4949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4955 echo "$as_me:$LINENO: checking for working mmap" >&5
4956 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4957 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 if test "$cross_compiling" = yes; then
4961 ac_cv_func_mmap_fixed_mapped
=no
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 $ac_includes_default
4970 /* malloc might have been renamed as rpl_malloc. */
4973 /* Thanks to Mike Haertel and Jim Avera for this test.
4974 Here is a matrix of mmap possibilities:
4975 mmap private not fixed
4976 mmap private fixed at somewhere currently unmapped
4977 mmap private fixed at somewhere already mapped
4978 mmap shared not fixed
4979 mmap shared fixed at somewhere currently unmapped
4980 mmap shared fixed at somewhere already mapped
4981 For private mappings, we should verify that changes cannot be read()
4982 back from the file, nor mmap's back from the file at a different
4983 address. (There have been systems where private was not correctly
4984 implemented like the infamous i386 svr4.0, and systems where the
4985 VM page cache was not coherent with the file system buffer cache
4986 like early versions of FreeBSD and possibly contemporary NetBSD.)
4987 For shared mappings, we should conversely verify that changes get
4988 propagated back to all the places they're supposed to be.
4990 Grep wants private fixed already mapped.
4991 The main things grep needs to know about mmap are:
4992 * does it exist and is it safe to write into the mmap'd area
4993 * how to use it (BSD variants) */
4996 #include <sys/mman.h>
4998 #if !STDC_HEADERS && !HAVE_STDLIB_H
5002 /* This mess was copied from the GNU getpagesize.h. */
5003 #if !HAVE_GETPAGESIZE
5004 /* Assume that all systems that can run configure have sys/param.h. */
5005 # if !HAVE_SYS_PARAM_H
5006 # define HAVE_SYS_PARAM_H 1
5009 # ifdef _SC_PAGESIZE
5010 # define getpagesize() sysconf(_SC_PAGESIZE)
5011 # else /* no _SC_PAGESIZE */
5012 # if HAVE_SYS_PARAM_H
5013 # include <sys/param.h>
5014 # ifdef EXEC_PAGESIZE
5015 # define getpagesize() EXEC_PAGESIZE
5016 # else /* no EXEC_PAGESIZE */
5018 # define getpagesize() NBPG * CLSIZE
5021 # endif /* no CLSIZE */
5022 # else /* no NBPG */
5024 # define getpagesize() NBPC
5025 # else /* no NBPC */
5027 # define getpagesize() PAGESIZE
5028 # endif /* PAGESIZE */
5029 # endif /* no NBPC */
5030 # endif /* no NBPG */
5031 # endif /* no EXEC_PAGESIZE */
5032 # else /* no HAVE_SYS_PARAM_H */
5033 # define getpagesize() 8192 /* punt totally */
5034 # endif /* no HAVE_SYS_PARAM_H */
5035 # endif /* no _SC_PAGESIZE */
5037 #endif /* no HAVE_GETPAGESIZE */
5042 char *data, *data2, *data3;
5046 pagesize = getpagesize ();
5048 /* First, make a file with some known garbage in it. */
5049 data = (char *) malloc (pagesize);
5052 for (i = 0; i < pagesize; ++i)
5053 *(data + i) = rand ();
5055 fd = creat ("conftest.mmap", 0600);
5058 if (write (fd, data, pagesize) != pagesize)
5062 /* Next, try to mmap the file at a fixed address which already has
5063 something else allocated at it. If we can, also make sure that
5064 we see the same garbage. */
5065 fd = open ("conftest.mmap", O_RDWR);
5068 data2 = (char *) malloc (2 * pagesize);
5071 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5072 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5073 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5075 for (i = 0; i < pagesize; ++i)
5076 if (*(data + i) != *(data2 + i))
5079 /* Finally, make sure that changes to the mapped area do not
5080 percolate back to the file as seen by read(). (This is a bug on
5081 some variants of i386 svr4.0.) */
5082 for (i = 0; i < pagesize; ++i)
5083 *(data2 + i) = *(data2 + i) + 1;
5084 data3 = (char *) malloc (pagesize);
5087 if (read (fd, data3, pagesize) != pagesize)
5089 for (i = 0; i < pagesize; ++i)
5090 if (*(data + i) != *(data3 + i))
5096 rm -f conftest
$ac_exeext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5098 (eval $ac_link) 2>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }; }; then
5107 ac_cv_func_mmap_fixed_mapped
=yes
5109 echo "$as_me: program exited with status $ac_status" >&5
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5114 ac_cv_func_mmap_fixed_mapped
=no
5116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5119 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5120 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5121 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5123 cat >>confdefs.h
<<\_ACEOF
5133 for ac_func
in memcpy strerror
5135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5136 echo "$as_me:$LINENO: checking for $ac_func" >&5
5137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5138 if eval "test \"\${$as_ac_var+set}\" = set"; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 if test x
$gcc_no_link = xyes
; then
5142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5144 { (exit 1); exit 1; }; }
5146 cat >conftest.
$ac_ext <<_ACEOF
5149 cat confdefs.h
>>conftest.
$ac_ext
5150 cat >>conftest.
$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5154 #define $ac_func innocuous_$ac_func
5156 /* System header to define __stub macros and hopefully few prototypes,
5157 which can conflict with char $ac_func (); below.
5158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5159 <limits.h> exists even on freestanding compilers. */
5162 # include <limits.h>
5164 # include <assert.h>
5169 /* Override any gcc2 internal prototype to avoid an error. */
5174 /* We use char because int might match the return type of a gcc2
5175 builtin and then its argument prototype would still apply. */
5177 /* The GNU C library defines this for functions which it implements
5178 to always fail with ENOSYS. Some functions are actually named
5179 something starting with __ and the normal name is an alias. */
5180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5183 char (*f) () = $ac_func;
5192 return f != $ac_func;
5197 rm -f conftest.
$ac_objext conftest
$ac_exeext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5199 (eval $ac_link) 2>conftest.er1
5201 grep -v '^ *+' conftest.er1
>conftest.err
5203 cat conftest.err
>&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } &&
5206 { ac_try
='test -z "$ac_c_werror_flag"
5207 || test ! -s conftest.err'
5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; } &&
5213 { ac_try
='test -s conftest$ac_exeext'
5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; }; then
5219 eval "$as_ac_var=yes"
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 eval "$as_ac_var=no"
5226 rm -f conftest.err conftest.
$ac_objext \
5227 conftest
$ac_exeext conftest.
$ac_ext
5229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5231 if test `eval echo '${'$as_ac_var'}'` = yes; then
5232 cat >>confdefs.h
<<_ACEOF
5233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5240 if test "$with_system_zlib" = yes; then
5241 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5242 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5243 if test "${ac_cv_lib_z_deflate+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 ac_check_lib_save_LIBS
=$LIBS
5248 if test x
$gcc_no_link = xyes
; then
5249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5251 { (exit 1); exit 1; }; }
5253 cat >conftest.
$ac_ext <<_ACEOF
5256 cat confdefs.h
>>conftest.
$ac_ext
5257 cat >>conftest.
$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any gcc2 internal prototype to avoid an error. */
5264 /* We use char because int might match the return type of a gcc2
5265 builtin and then its argument prototype would still apply. */
5275 rm -f conftest.
$ac_objext conftest
$ac_exeext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5277 (eval $ac_link) 2>conftest.er1
5279 grep -v '^ *+' conftest.er1
>conftest.err
5281 cat conftest.err
>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try
='test -z "$ac_c_werror_flag"
5285 || test ! -s conftest.err'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; } &&
5291 { ac_try
='test -s conftest$ac_exeext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5297 ac_cv_lib_z_deflate
=yes
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.
$ac_ext >&5
5302 ac_cv_lib_z_deflate
=no
5304 rm -f conftest.err conftest.
$ac_objext \
5305 conftest
$ac_exeext conftest.
$ac_ext
5306 LIBS
=$ac_check_lib_save_LIBS
5308 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
5309 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5310 if test $ac_cv_lib_z_deflate = yes; then
5313 target_all
=libzgcj.la
5317 target_all
=libzgcj.la
5324 for ac_header
in unistd.h
5326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5328 echo "$as_me:$LINENO: checking for $ac_header" >&5
5329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5331 echo $ECHO_N "(cached) $ECHO_C" >&6
5333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5336 # Is the header compilable?
5337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5339 cat >conftest.
$ac_ext <<_ACEOF
5342 cat confdefs.h
>>conftest.
$ac_ext
5343 cat >>conftest.
$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5345 $ac_includes_default
5346 #include <$ac_header>
5348 rm -f conftest.
$ac_objext
5349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5350 (eval $ac_compile) 2>conftest.er1
5352 grep -v '^ *+' conftest.er1
>conftest.err
5354 cat conftest.err
>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } &&
5357 { ac_try
='test -z "$ac_c_werror_flag"
5358 || test ! -s conftest.err'
5359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; } &&
5364 { ac_try
='test -s conftest.$ac_objext'
5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; }; then
5370 ac_header_compiler
=yes
5372 echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.
$ac_ext >&5
5375 ac_header_compiler
=no
5377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5379 echo "${ECHO_T}$ac_header_compiler" >&6
5381 # Is the header present?
5382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5384 cat >conftest.
$ac_ext <<_ACEOF
5387 cat confdefs.h
>>conftest.
$ac_ext
5388 cat >>conftest.
$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5390 #include <$ac_header>
5392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5395 grep -v '^ *+' conftest.er1
>conftest.err
5397 cat conftest.err
>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } >/dev
/null
; then
5400 if test -s conftest.err
; then
5401 ac_cpp_err
=$ac_c_preproc_warn_flag
5402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5409 if test -z "$ac_cpp_err"; then
5410 ac_header_preproc
=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.
$ac_ext >&5
5415 ac_header_preproc
=no
5417 rm -f conftest.err conftest.
$ac_ext
5418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5419 echo "${ECHO_T}$ac_header_preproc" >&6
5421 # So? What about this header?
5422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5428 ac_header_preproc
=yes
5431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5445 ## ------------------------------------------ ##
5446 ## Report this to the AC_PACKAGE_NAME lists. ##
5447 ## ------------------------------------------ ##
5450 sed "s/^/$as_me: WARNING: /" >&2
5453 echo "$as_me:$LINENO: checking for $ac_header" >&5
5454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 eval "$as_ac_Header=\$ac_header_preproc"
5460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5465 cat >>confdefs.h
<<_ACEOF
5466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5474 if test -n "$with_cross_host" &&
5475 test x
"$with_cross_host" != x
"no"; then
5476 toolexecdir
='$(exec_prefix)/$(target_alias)'
5477 toolexeclibdir
='$(toolexecdir)/lib'
5479 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5480 toolexeclibdir
='$(libdir)'
5482 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev
/null
2>&1; then
5483 multiosdir
=/`$CC -print-multi-os-directory`
5485 /.
) multiosdir
= ;; # Avoid trailing /.
5490 toolexeclibdir
=${toolexeclibdir}${multiosdir}
5496 if test -n "$with_target_subdir"; then
5497 TARGET_LIBRARY_TRUE
=
5498 TARGET_LIBRARY_FALSE
='#'
5500 TARGET_LIBRARY_TRUE
='#'
5501 TARGET_LIBRARY_FALSE
=
5505 if test "${multilib}" = "yes"; then
5506 multilib_arg
="--enable-multilib"
5511 ac_config_files
="$ac_config_files Makefile"
5513 cat >confcache
<<\_ACEOF
5514 # This file is a shell script that caches the results of configure
5515 # tests run on this system so they can be shared between configure
5516 # scripts and configure runs, see configure's option --config-cache.
5517 # It is not useful on other systems. If it contains results you don't
5518 # want to keep, you may remove or edit it.
5520 # config.status only pays attention to the cache file if you give it
5521 # the --recheck option to rerun configure.
5523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5529 # The following way of writing the cache mishandles newlines in values,
5530 # but we know of no workaround that is simple, portable, and efficient.
5531 # So, don't put newlines in cache variables' values.
5532 # Ultrix sh set writes to stderr and can't be redirected directly,
5533 # and sets the high bit in the cache file unless we assign to the vars.
5536 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5538 # `set' does not quote correctly, so add quotes (double-quote
5539 # substitution turns \\\\ into \\, and sed turns \\ into \).
5542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5545 # `set' quotes correctly as required by POSIX, so do not add quotes.
5547 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5554 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5556 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5558 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5559 if test -w $cache_file; then
5560 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5561 cat confcache
>$cache_file
5563 echo "not updating unwritable cache $cache_file"
5568 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5569 # Let make expand exec_prefix.
5570 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5572 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5573 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5574 # trailing colons and then remove the whole line if VPATH becomes empty
5575 # (actually we leave an empty line to preserve line numbers).
5576 if test "x$srcdir" = x.
; then
5577 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5578 s/:*\$(srcdir):*/:/;
5579 s/:*\${srcdir}:*/:/;
5581 s/^\([^=]*=[ ]*\):*/\1/;
5587 # Transform confdefs.h into DEFS.
5588 # Protect against shell expansion while executing Makefile rules.
5589 # Protect against Makefile macro expansion.
5591 # If the first sed substitution is executed (which looks for macros that
5592 # take arguments), then we branch to the quote section. Otherwise,
5593 # look for a macro that doesn't take arguments.
5594 cat >confdef2opt.
sed <<\_ACEOF
5597 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5599 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5603 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5609 # We use echo to avoid assuming a particular line-breaking character.
5610 # The extra dot is to prevent the shell from consuming trailing
5611 # line-breaks from the sub-command output. A line-break within
5612 # single-quotes doesn't work because, if this script is created in a
5613 # platform that uses two characters for line-breaks (e.g., DOS), tr
5615 ac_LF_and_DOT=`echo; echo .
`
5616 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5617 rm -f confdef2opt.sed
5622 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5623 # 1. Remove the extension, and $U if already installed.
5624 ac_i=`echo "$ac_i" |
5625 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5627 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5628 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5632 LTLIBOBJS=$ac_ltlibobjs
5635 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5636 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5637 Usually this means the macro was only invoked conditionally." >&5
5638 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5639 Usually this means the macro was only invoked conditionally." >&2;}
5640 { (exit 1); exit 1; }; }
5642 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5643 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5644 Usually this means the macro was only invoked conditionally." >&5
5645 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5646 Usually this means the macro was only invoked conditionally." >&2;}
5647 { (exit 1); exit 1; }; }
5649 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5650 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5651 Usually this means the macro was only invoked conditionally." >&5
5652 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5653 Usually this means the macro was only invoked conditionally." >&2;}
5654 { (exit 1); exit 1; }; }
5656 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
5657 { { echo "$as_me:$LINENO: error: conditional \"TARGET_LIBRARY\" was never defined.
5658 Usually this means the macro was only invoked conditionally." >&5
5659 echo "$as_me: error: conditional \"TARGET_LIBRARY\" was never defined.
5660 Usually this means the macro was only invoked conditionally." >&2;}
5661 { (exit 1); exit 1; }; }
5664 : ${CONFIG_STATUS=./config.status}
5665 ac_clean_files_save=$ac_clean_files
5666 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5667 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5668 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5669 cat >$CONFIG_STATUS <<_ACEOF
5671 # Generated by $as_me.
5672 # Run this file to recreate the current configuration.
5673 # Compiler output produced by configure, useful for debugging
5674 # configure, is in config.log if it exists.
5679 SHELL=\${CONFIG_SHELL-$SHELL}
5682 cat >>$CONFIG_STATUS <<\_ACEOF
5683 ## --------------------- ##
5684 ## M4sh Initialization. ##
5685 ## --------------------- ##
5687 # Be Bourne compatible
5688 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5691 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5692 # is contrary to our usage. Disable this feature.
5693 alias -g '${1+"$@"}'='"$@"'
5694 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5697 DUALCASE=1; export DUALCASE # for MKS sh
5699 # Support unset when possible.
5700 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5707 # Work around bugs in pre-3.0 UWIN ksh.
5708 $as_unset ENV MAIL MAILPATH
5715 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5716 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5717 LC_TELEPHONE LC_TIME
5719 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5720 eval $as_var=C; export $as_var
5726 # Required to use basename.
5727 if expr a : '\(a\)' >/dev/null 2>&1; then
5733 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5734 as_basename=basename
5740 # Name of the executable.
5741 as_me=`$as_basename "$0" ||
5742 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5743 X
"$0" : 'X\(//\)$' \| \
5744 X
"$0" : 'X\(/\)$' \| \
5745 .
: '\(.\)' 2>/dev
/null ||
5747 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5748 /^X\/\(\/\/\)$/{ s//\1/; q; }
5749 /^X\/\(\/\).*/{ s//\1/; q; }
5753 # PATH needs CR, and LINENO needs CR and PATH.
5754 # Avoid depending upon Character Ranges.
5755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5758 as_cr_digits='0123456789'
5759 as_cr_alnum=$as_cr_Letters$as_cr_digits
5761 # The user is always right.
5762 if test "${PATH_SEPARATOR+set}" != set; then
5763 echo "#! /bin/sh" >conf$$.sh
5764 echo "exit 0" >>conf$$.sh
5766 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5777 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5778 test "x$as_lineno_1" != "x$as_lineno_2" &&
5779 test "x$as_lineno_3" = "x$as_lineno_2" || {
5780 # Find who we are. Look in the path if we contain no path at all
5783 *[\\/]* ) as_myself=$0 ;;
5784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir=.
5789 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5794 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5795 # in which case we are not to be found in the path.
5796 if test "x$as_myself" = x; then
5799 if test ! -f "$as_myself"; then
5800 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5801 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5802 { (exit 1); exit 1; }; }
5804 case $CONFIG_SHELL in
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5810 test -z "$as_dir" && as_dir=.
5811 for as_base in sh bash ksh sh5; do
5814 if ("$as_dir/$as_base" -c '
5817 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5818 test "x$as_lineno_1" != "x$as_lineno_2" &&
5819 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5820 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5821 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5822 CONFIG_SHELL=$as_dir/$as_base
5824 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5832 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5833 # uniformly replaced by the line number. The first 'sed' inserts a
5834 # line-number line before each line; the second 'sed' does the real
5835 # work. The second script uses 'N
' to pair each line-number line
5836 # with the numbered line, and appends trailing '-' during
5837 # substitution so that $LINENO is not a special case at line end.
5838 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5839 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5840 sed '=' <$as_myself |
5845 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5848 s,^['$as_cr_digits']*\n,,
5850 chmod +x
$as_me.lineno ||
5851 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5852 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5853 { (exit 1); exit 1; }; }
5855 # Don't try to exec as it changes $[0], causing all sort of problems
5856 # (the dirname of $[0] is not the place where we might find the
5857 # original and so on. Autoconf is especially sensible to this).
5859 # Exit status is that of the last command.
5864 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5865 *c
*,-n*) ECHO_N
= ECHO_C
='
5867 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5868 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5871 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5877 rm -f conf$$ conf$$.exe conf$$.
file
5879 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5880 # We could just check for DJGPP; but this test a) works b) is more generic
5881 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5882 if test -f conf$$.exe
; then
5883 # Don't use ln at all; we don't have any links
5888 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5893 rm -f conf$$ conf$$.exe conf$$.
file
5895 if mkdir
-p .
2>/dev
/null
; then
5898 test -d .
/-p && rmdir .
/-p
5902 as_executable_p
="test -f"
5904 # Sed expression to map a string onto a valid CPP name.
5905 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5907 # Sed expression to map a string onto a valid variable name.
5908 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5912 # We need space, tab and new line, in precisely that order.
5922 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5923 # report actual input values of CONFIG_FILES etc. instead of their
5924 # values after options handling. Logging --version etc. is OK.
5928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5929 ## Running $as_me. ##
5934 This file was extended by $as_me, which was
5935 generated by GNU Autoconf 2.59. Invocation command line was
5937 CONFIG_FILES = $CONFIG_FILES
5938 CONFIG_HEADERS = $CONFIG_HEADERS
5939 CONFIG_LINKS = $CONFIG_LINKS
5940 CONFIG_COMMANDS = $CONFIG_COMMANDS
5944 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5948 # Files that config.status was made for.
5949 if test -n "$ac_config_files"; then
5950 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5953 if test -n "$ac_config_headers"; then
5954 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5957 if test -n "$ac_config_links"; then
5958 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5961 if test -n "$ac_config_commands"; then
5962 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5965 cat >>$CONFIG_STATUS <<\_ACEOF
5968 \`$as_me' instantiates files from templates according to the
5969 current configuration.
5971 Usage: $0 [OPTIONS] [FILE]...
5973 -h, --help print this help, then exit
5974 -V, --version print version number, then exit
5975 -q, --quiet do not print progress messages
5976 -d, --debug don't remove temporary files
5977 --recheck update $as_me by reconfiguring in the same conditions
5978 --file=FILE[:TEMPLATE]
5979 instantiate the configuration file FILE
5981 Configuration files:
5984 Configuration commands:
5987 Report bugs to <bug-autoconf@gnu.org>."
5990 cat >>$CONFIG_STATUS <<_ACEOF
5993 configured by $0, generated by GNU Autoconf 2.59,
5994 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5996 Copyright (C) 2003 Free Software Foundation, Inc.
5997 This config.status script is free software; the Free Software Foundation
5998 gives unlimited permission to copy, distribute and modify it."
6003 cat >>$CONFIG_STATUS <<\_ACEOF
6004 # If no file are specified by the user, then we need to provide default
6005 # value. By we need to know if files were specified by the user.
6011 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6012 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6020 *) # This is not an option, so the user has probably given explicit
6023 ac_need_defaults
=false
;;
6027 # Handling of the options.
6029 cat >>$CONFIG_STATUS <<\_ACEOF
6030 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6032 --version |
--vers* |
-V )
6033 echo "$ac_cs_version"; exit 0 ;;
6035 # Conflict between --help and --header
6036 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6037 Try \`$0 --help' for more information." >&5
6038 echo "$as_me: error: ambiguous option: $1
6039 Try \`$0 --help' for more information." >&2;}
6040 { (exit 1); exit 1; }; };;
6041 --help |
--hel |
-h )
6042 echo "$ac_cs_usage"; exit 0 ;;
6043 --debug |
--d* |
-d )
6045 --file |
--fil |
--fi |
--f )
6047 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6048 ac_need_defaults
=false
;;
6049 --header |
--heade |
--head |
--hea )
6051 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6052 ac_need_defaults
=false
;;
6053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6054 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6058 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6059 Try \`$0 --help' for more information." >&5
6060 echo "$as_me: error: unrecognized option: $1
6061 Try \`$0 --help' for more information." >&2;}
6062 { (exit 1); exit 1; }; } ;;
6064 *) ac_config_targets
="$ac_config_targets $1" ;;
6070 ac_configure_extra_args
=
6072 if $ac_cs_silent; then
6074 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6078 cat >>$CONFIG_STATUS <<_ACEOF
6079 if \$ac_cs_recheck; then
6080 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6081 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6086 cat >>$CONFIG_STATUS <<_ACEOF
6088 # INIT-COMMANDS section.
6095 with_multisubdir="$with_multisubdir"
6096 with_multisrctop="$with_multisrctop"
6097 with_target_subdir="$with_target_subdir"
6098 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6099 multi_basedir="$multi_basedir"
6100 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6102 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6108 cat >>$CONFIG_STATUS <<\_ACEOF
6109 for ac_config_target
in $ac_config_targets
6111 case "$ac_config_target" in
6112 # Handling of arguments.
6113 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6114 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6115 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6116 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6117 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6118 { (exit 1); exit 1; }; };;
6122 # If the user did not use the arguments to specify the items to instantiate,
6123 # then the envvar interface is used. Set only those that are not.
6124 # We use the long form for the default assignment because of an extremely
6125 # bizarre bug on SunOS 4.1.3.
6126 if $ac_need_defaults; then
6127 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6128 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6131 # Have a temporary directory for convenience. Make it in the build tree
6132 # simply because there is no reason to put it here, and in addition,
6133 # creating and moving files from /tmp can sometimes cause problems.
6134 # Create a temporary directory, and hook for its removal unless debugging.
6137 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6138 trap '{ (exit 1); exit 1; }' 1 2 13 15
6141 # Create a (secure) tmp directory for tmp files.
6144 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6145 test -n "$tmp" && test -d "$tmp"
6148 tmp
=.
/confstat$$
-$RANDOM
6149 (umask 077 && mkdir
$tmp)
6152 echo "$me: cannot create a temporary directory in ." >&2
6153 { (exit 1); exit 1; }
6158 cat >>$CONFIG_STATUS <<_ACEOF
6161 # CONFIG_FILES section.
6164 # No need to generate the scripts if there are no CONFIG_FILES.
6165 # This happens for instance when ./config.status config.h
6166 if test -n "\$CONFIG_FILES"; then
6167 # Protect against being on the right side of a sed subst in config.status.
6168 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6169 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6170 s,@SHELL@,$SHELL,;t t
6171 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6172 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6173 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6174 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6175 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6176 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6177 s,@exec_prefix@,$exec_prefix,;t t
6178 s,@prefix@,$prefix,;t t
6179 s,@program_transform_name@,$program_transform_name,;t t
6180 s,@bindir@,$bindir,;t t
6181 s,@sbindir@,$sbindir,;t t
6182 s,@libexecdir@,$libexecdir,;t t
6183 s,@datadir@,$datadir,;t t
6184 s,@sysconfdir@,$sysconfdir,;t t
6185 s,@sharedstatedir@,$sharedstatedir,;t t
6186 s,@localstatedir@,$localstatedir,;t t
6187 s,@libdir@,$libdir,;t t
6188 s,@includedir@,$includedir,;t t
6189 s,@oldincludedir@,$oldincludedir,;t t
6190 s,@infodir@,$infodir,;t t
6191 s,@mandir@,$mandir,;t t
6192 s,@build_alias@,$build_alias,;t t
6193 s,@host_alias@,$host_alias,;t t
6194 s,@target_alias@,$target_alias,;t t
6196 s,@ECHO_C@,$ECHO_C,;t t
6197 s,@ECHO_N@,$ECHO_N,;t t
6198 s,@ECHO_T@,$ECHO_T,;t t
6200 s,@multi_basedir@,$multi_basedir,;t t
6201 s,@build@,$build,;t t
6202 s,@build_cpu@,$build_cpu,;t t
6203 s,@build_vendor@,$build_vendor,;t t
6204 s,@build_os@,$build_os,;t t
6206 s,@host_cpu@,$host_cpu,;t t
6207 s,@host_vendor@,$host_vendor,;t t
6208 s,@host_os@,$host_os,;t t
6209 s,@target@,$target,;t t
6210 s,@target_cpu@,$target_cpu,;t t
6211 s,@target_vendor@,$target_vendor,;t t
6212 s,@target_os@,$target_os,;t t
6213 s,@mkinstalldirs@,$mkinstalldirs,;t t
6214 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6215 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6216 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6217 s,@CYGPATH_W@,$CYGPATH_W,;t t
6218 s,@PACKAGE@,$PACKAGE,;t t
6219 s,@VERSION@,$VERSION,;t t
6220 s,@ACLOCAL@,$ACLOCAL,;t t
6221 s,@AUTOCONF@,$AUTOCONF,;t t
6222 s,@AUTOMAKE@,$AUTOMAKE,;t t
6223 s,@AUTOHEADER@,$AUTOHEADER,;t t
6224 s,@MAKEINFO@,$MAKEINFO,;t t
6225 s,@install_sh@,$install_sh,;t t
6226 s,@STRIP@,$STRIP,;t t
6227 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6228 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6229 s,@mkdir_p@,$mkdir_p,;t t
6231 s,@SET_MAKE@,$SET_MAKE,;t t
6232 s,@am__leading_dot@,$am__leading_dot,;t t
6233 s,@AMTAR@,$AMTAR,;t t
6234 s,@am__tar@,$am__tar,;t t
6235 s,@am__untar@,$am__untar,;t t
6236 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6237 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6238 s,@MAINT@,$MAINT,;t t
6239 s,@COMPPATH@,$COMPPATH,;t t
6241 s,@ac_ct_CC@,$ac_ct_CC,;t t
6242 s,@EXEEXT@,$EXEEXT,;t t
6243 s,@OBJEXT@,$OBJEXT,;t t
6244 s,@DEPDIR@,$DEPDIR,;t t
6245 s,@am__include@,$am__include,;t t
6246 s,@am__quote@,$am__quote,;t t
6247 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6248 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6249 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6250 s,@CCDEPMODE@,$CCDEPMODE,;t t
6251 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6252 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6253 s,@CFLAGS@,$CFLAGS,;t t
6255 s,@RANLIB@,$RANLIB,;t t
6256 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6257 s,@LIBTOOL@,$LIBTOOL,;t t
6259 s,@CPPFLAGS@,$CPPFLAGS,;t t
6260 s,@EGREP@,$EGREP,;t t
6261 s,@target_all@,$target_all,;t t
6262 s,@toolexecdir@,$toolexecdir,;t t
6263 s,@toolexeclibdir@,$toolexeclibdir,;t t
6264 s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
6265 s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
6266 s,@LIBOBJS@,$LIBOBJS,;t t
6267 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6272 cat >>$CONFIG_STATUS <<\_ACEOF
6273 # Split the substitutions into bite-sized pieces for seds with
6274 # small command number limits, like on Digital OSF/1 and HP-UX.
6276 ac_sed_frag
=1 # Number of current file.
6277 ac_beg
=1 # First line for current file.
6278 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6281 while $ac_more_lines; do
6282 if test $ac_beg -gt 1; then
6283 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6285 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6287 if test ! -s $tmp/subs.frag
; then
6290 # The purpose of the label and of the branching condition is to
6291 # speed up the sed processing (if there are no `@' at all, there
6292 # is no need to browse any of the substitutions).
6293 # These are the two extra sed commands mentioned above.
6295 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6296 if test -z "$ac_sed_cmds"; then
6297 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6299 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6301 ac_sed_frag
=`expr $ac_sed_frag + 1`
6303 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6306 if test -z "$ac_sed_cmds"; then
6309 fi # test -n "$CONFIG_FILES"
6312 cat >>$CONFIG_STATUS <<\_ACEOF
6313 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6314 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6316 - |
*:- |
*:-:* ) # input from stdin
6318 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6319 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6320 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6321 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6322 * ) ac_file_in
=$ac_file.
in ;;
6325 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6326 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6327 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6328 X"$ac_file" : 'X\(//\)[^/]' \| \
6329 X"$ac_file" : 'X\(//\)$' \| \
6330 X"$ac_file" : 'X\(/\)' \| \
6331 . : '\(.\)' 2>/dev/null ||
6333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6335 /^X\(\/\/\)$/{ s//\1/; q; }
6336 /^X\(\/\).*/{ s//\1/; q; }
6338 { if $as_mkdir_p; then
6343 while test ! -d "$as_dir"; do
6344 as_dirs
="$as_dir $as_dirs"
6345 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6347 X"$as_dir" : 'X\(//\)[^/]' \| \
6348 X"$as_dir" : 'X\(//\)$' \| \
6349 X"$as_dir" : 'X\(/\)' \| \
6350 . : '\(.\)' 2>/dev/null ||
6352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6354 /^X\(\/\/\)$/{ s//\1/; q; }
6355 /^X\(\/\).*/{ s//\1/; q; }
6358 test ! -n "$as_dirs" || mkdir
$as_dirs
6359 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6360 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6361 { (exit 1); exit 1; }; }; }
6365 if test "$ac_dir" != .
; then
6366 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6367 # A "../" for each directory in $ac_dir_suffix.
6368 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6370 ac_dir_suffix
= ac_top_builddir
=
6374 .
) # No --srcdir option. We are building in place.
6376 if test -z "$ac_top_builddir"; then
6379 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6381 [\\/]* | ?
:[\\/]* ) # Absolute path.
6382 ac_srcdir
=$srcdir$ac_dir_suffix;
6383 ac_top_srcdir
=$srcdir ;;
6385 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6386 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6389 # Do not use `cd foo && pwd` to compute absolute paths, because
6390 # the directories may not exist.
6392 .
) ac_abs_builddir
="$ac_dir";;
6395 .
) ac_abs_builddir
=`pwd`;;
6396 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6397 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6400 case $ac_abs_builddir in
6401 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6403 case ${ac_top_builddir}.
in
6404 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6405 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6406 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6409 case $ac_abs_builddir in
6410 .
) ac_abs_srcdir
=$ac_srcdir;;
6413 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6414 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6415 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6418 case $ac_abs_builddir in
6419 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6421 case $ac_top_srcdir in
6422 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6423 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6424 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6430 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6431 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6434 if test x
"$ac_file" != x-
; then
6435 { echo "$as_me:$LINENO: creating $ac_file" >&5
6436 echo "$as_me: creating $ac_file" >&6;}
6439 # Let's still pretend it is `configure' which instantiates (i.e., don't
6440 # use $as_me), people would be surprised to read:
6441 # /* config.h. Generated by config.status. */
6442 if test x
"$ac_file" = x-
; then
6445 configure_input
="$ac_file. "
6447 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6448 sed 's,.*/,,'` by configure."
6450 # First look for the input files in the build tree, otherwise in the
6452 ac_file_inputs
=`IFS=:
6453 for f in $ac_file_in; do
6455 -) echo $tmp/stdin ;;
6457 # Absolute (can't be DOS-style, as IFS=:)
6458 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6459 echo "$as_me: error: cannot find input file: $f" >&2;}
6460 { (exit 1); exit 1; }; }
6463 if test -f "$f"; then
6466 elif test -f "$srcdir/$f"; then
6471 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6472 echo "$as_me: error: cannot find input file: $f" >&2;}
6473 { (exit 1); exit 1; }; }
6476 done` ||
{ (exit 1); exit 1; }
6478 cat >>$CONFIG_STATUS <<_ACEOF
6482 cat >>$CONFIG_STATUS <<\_ACEOF
6484 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6485 s
,@configure_input@
,$configure_input,;t t
6486 s
,@srcdir@
,$ac_srcdir,;t t
6487 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6488 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6489 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6490 s
,@builddir@
,$ac_builddir,;t t
6491 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6492 s
,@top_builddir@
,$ac_top_builddir,;t t
6493 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6494 s
,@INSTALL@
,$ac_INSTALL,;t t
6495 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6497 if test x"$ac_file" != x-; then
6498 mv $tmp/out $ac_file
6506 cat >>$CONFIG_STATUS <<\_ACEOF
6509 # CONFIG_COMMANDS section.
6511 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
6512 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6513 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6514 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6516 X"$ac_dest" : 'X\(//\)[^/]' \| \
6517 X"$ac_dest" : 'X\(//\)$' \| \
6518 X"$ac_dest" : 'X\(/\)' \| \
6519 . : '\(.\)' 2>/dev/null ||
6521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6523 /^X\(\/\/\)$/{ s//\1/; q; }
6524 /^X\(\/\).*/{ s//\1/; q; }
6526 { if $as_mkdir_p; then
6531 while test ! -d "$as_dir"; do
6532 as_dirs="$as_dir $as_dirs"
6533 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6535 X"$as_dir" : 'X\(//\)[^/]' \| \
6536 X"$as_dir" : 'X\(//\)$' \| \
6537 X"$as_dir" : 'X\(/\)' \| \
6538 . : '\(.\)' 2>/dev/null ||
6540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6542 /^X\(\/\/\)$/{ s//\1/; q; }
6543 /^X\(\/\).*/{ s//\1/; q; }
6546 test ! -n "$as_dirs" || mkdir $as_dirs
6547 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
6548 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
6549 { (exit 1); exit 1; }; }; }
6553 if test "$ac_dir" != .; then
6554 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6555 # A "..
/" for each directory in $ac_dir_suffix.
6556 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6558 ac_dir_suffix= ac_top_builddir=
6562 .) # No --srcdir option. We are building in place.
6564 if test -z "$ac_top_builddir"; then
6567 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6569 [\\/]* | ?:[\\/]* ) # Absolute path.
6570 ac_srcdir=$srcdir$ac_dir_suffix;
6571 ac_top_srcdir=$srcdir ;;
6573 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6574 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6577 # Do not use `cd foo && pwd` to compute absolute paths, because
6578 # the directories may not exist.
6580 .) ac_abs_builddir="$ac_dir";;
6583 .) ac_abs_builddir=`pwd`;;
6584 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6585 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6588 case $ac_abs_builddir in
6589 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6591 case ${ac_top_builddir}. in
6592 .) ac_abs_top_builddir=$ac_abs_builddir;;
6593 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6594 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6597 case $ac_abs_builddir in
6598 .) ac_abs_srcdir=$ac_srcdir;;
6601 .) ac_abs_srcdir=$ac_abs_builddir;;
6602 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6603 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6606 case $ac_abs_builddir in
6607 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6609 case $ac_top_srcdir in
6610 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6611 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6612 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6617 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
6618 echo "$as_me: executing
$ac_dest commands
" >&6;}
6621 # Only add multilib support code if we just rebuilt the top-level
6623 case " $CONFIG_FILES " in
6625 ac_file=Makefile . ${multi_basedir}/config-ml.in
6628 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6629 # Strip MF so we end up with the name of the file.
6630 mf=`echo "$mf" | sed -e 's/:.*$//'`
6631 # Check whether this is an Automake generated Makefile or not.
6632 # We used to match only the files named `Makefile.in', but
6633 # some people rename them; so instead we look at the file content.
6634 # Grep'ing the first line is not enough: some people post-process
6635 # each Makefile.in and add a new line on top of each file to say so.
6636 # So let's grep whole file.
6637 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6638 dirpart=`(dirname "$mf") 2>/dev/null ||
6639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6640 X"$mf" : 'X\(//\)[^/]' \| \
6641 X"$mf" : 'X\(//\)$' \| \
6642 X"$mf" : 'X\(/\)' \| \
6643 . : '\(.\)' 2>/dev/null ||
6645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6647 /^X\(\/\/\)$/{ s//\1/; q; }
6648 /^X\(\/\).*/{ s//\1/; q; }
6653 # Extract the definition of DEPDIR, am__include, and am__quote
6654 # from the Makefile without running `make'.
6655 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6656 test -z "$DEPDIR" && continue
6657 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6658 test -z "am__include
" && continue
6659 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6660 # When using ansi2knr, U may be empty or an underscore; expand it
6661 U=`sed -n 's/^U = //p' < "$mf"`
6662 # Find all dependency output files, they are included files with
6663 # $(DEPDIR) in their names. We invoke sed twice because it is the
6664 # simplest approach to changing $(DEPDIR) to its actual value in the
6666 for file in `sed -n "
6667 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
6668 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6669 # Make sure the directory exists.
6670 test -f "$dirpart/$file" && continue
6671 fdir=`(dirname "$file") 2>/dev/null ||
6672 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6673 X"$file" : 'X\(//\)[^/]' \| \
6674 X"$file" : 'X\(//\)$' \| \
6675 X"$file" : 'X\(/\)' \| \
6676 . : '\(.\)' 2>/dev/null ||
6678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6680 /^X\(\/\/\)$/{ s//\1/; q; }
6681 /^X\(\/\).*/{ s//\1/; q; }
6683 { if $as_mkdir_p; then
6684 mkdir -p $dirpart/$fdir
6686 as_dir=$dirpart/$fdir
6688 while test ! -d "$as_dir"; do
6689 as_dirs="$as_dir $as_dirs"
6690 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6692 X"$as_dir" : 'X\(//\)[^/]' \| \
6693 X"$as_dir" : 'X\(//\)$' \| \
6694 X"$as_dir" : 'X\(/\)' \| \
6695 . : '\(.\)' 2>/dev/null ||
6697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6699 /^X\(\/\/\)$/{ s//\1/; q; }
6700 /^X\(\/\).*/{ s//\1/; q; }
6703 test ! -n "$as_dirs" || mkdir $as_dirs
6704 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
6705 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
6706 { (exit 1); exit 1; }; }; }
6708 # echo "creating
$dirpart/$file"
6709 echo '# dummy' > "$dirpart/$file"
6717 cat >>$CONFIG_STATUS <<\_ACEOF
6719 { (exit 0); exit 0; }
6721 chmod +x $CONFIG_STATUS
6722 ac_clean_files=$ac_clean_files_save
6725 # configure is writing to config.log, and then calls config.status.
6726 # config.status does its own redirection, appending to config.log.
6727 # Unfortunately, on DOS this fails, as config.log is still kept open
6728 # by configure, so config.status won't be able to write to it; its
6729 # output is simply discarded. So we exec the FD to /dev/null,
6730 # effectively closing config.log, so it can be properly (re)opened and
6731 # appended to by config.status. When coming back to configure, we
6732 # need to make the FD available again.
6733 if test "$no_create" != yes; then
6735 ac_config_status_args=
6736 test "$silent" = yes &&
6737 ac_config_status_args="$ac_config_status_args --quiet"
6739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6742 # would make configure fail if this is the last instruction.
6743 $ac_cs_success || { (exit 1); exit 1; }