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
="gcj_mlc.c"
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 target_noncanonical 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 CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LN_S LIBTOOL CXXCPP CPPFLAGS THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE EXTRA_TEST_LIBS target_all CPLUSPLUS_TRUE CPLUSPLUS_FALSE AM_CPPFLAGS addobjs addincludes addlibs addtests CPP EGREP MY_CFLAGS toolexecdir toolexeclibdir 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_CXXCPP_set
=${CXXCPP+set}
754 ac_env_CXXCPP_value
=$CXXCPP
755 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value
=$CXXCPP
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
761 ac_env_CPP_set
=${CPP+set}
762 ac_env_CPP_value
=$CPP
763 ac_cv_env_CPP_set
=${CPP+set}
764 ac_cv_env_CPP_value
=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
773 \`configure' configures this package to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
832 --build=BUILD configure
for building on BUILD
[guessed
]
833 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
834 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
838 if test -n "$ac_init_help"; then
843 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
844 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
845 --enable-multilib build many library versions
(default
)
846 --disable-dependency-tracking speeds up one-time build
847 --enable-dependency-tracking do not reject slow dependency extractors
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing
) to the casual installer
850 --enable-shared=PKGS build shared libraries default
=yes
851 --enable-static=PKGS build static libraries default
=yes
852 --enable-fast-install=PKGS optimize
for fast installation default
=yes
853 --disable-libtool-lock avoid locking
(might
break parallel builds
)
854 --enable-parallel-mark parallelize marking and free list construction
855 --enable-gc-debug include full support
for pointer backtracing etc.
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-gnu-ld assume the C compiler uses GNU ld default
=no
861 --with-pic try to use only PIC
/non-PIC objects default
=use both
862 --with-target-subdir=SUBDIR
863 configuring with a cross compiler
864 --with-cross-host=HOST configuring with a cross compiler
865 --with-ecos enable runtime eCos target support
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
874 CXX C
++ compiler
command
875 CXXFLAGS C
++ compiler flags
876 CXXCPP C
++ preprocessor
879 Use these variables to override the choices made by
`configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo
&& pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by $as_me, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1002 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1003 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1004 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1005 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1008 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1010 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1012 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1013 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1014 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1016 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close
' the trap.
1096 trap 'exit_status
=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var
in $ac_subst_vars
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var
in $ac_subst_files
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h
; then
1159 sed "/^$/d" confdefs.h |
sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core
*.core
&&
1167 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's
/^
/|
/' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1264 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1289 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 # This works around the fact that libtool configuration may change LD
1319 # for this particular configuration, but some shells, instead of
1320 # keeping the changes in LD private, export them just because LD is
1322 ORIGINAL_LD_FOR_MULTILIBS=$LD
1324 # Default to --enable-multilib
1325 # Check whether --enable-multilib or --disable-multilib was given.
1326 if test "${enable_multilib+set}" = set; then
1327 enableval="$enable_multilib"
1328 case "$enableval" in
1329 yes) multilib=yes ;;
1331 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1332 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1333 { (exit 1); exit 1; }; } ;;
1339 # We may get other options which we leave undocumented:
1340 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1341 # See config-ml.in if you want the gory details.
1343 if test "$srcdir" = "."; then
1344 if test "$with_target_subdir" != "."; then
1345 multi_basedir="$srcdir/$with_multisrctop../.."
1347 multi_basedir="$srcdir/$with_multisrctop.."
1350 multi_basedir="$srcdir/.."
1354 ac_config_commands="$ac_config_commands default-1"
1358 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1359 if test -f $ac_dir/install-sh; then
1361 ac_install_sh="$ac_aux_dir/install-sh -c"
1363 elif test -f $ac_dir/install.sh; then
1365 ac_install_sh="$ac_aux_dir/install.sh -c"
1367 elif test -f $ac_dir/shtool; then
1369 ac_install_sh="$ac_aux_dir/shtool install -c"
1373 if test -z "$ac_aux_dir"; then
1374 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1375 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1376 { (exit 1); exit 1; }; }
1378 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1379 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1380 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1382 # Make sure we can run config.sub.
1383 $ac_config_sub sun4 >/dev/null 2>&1 ||
1384 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1385 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1386 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: checking build system type" >&5
1389 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1390 if test "${ac_cv_build+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 ac_cv_build_alias=$build_alias
1394 test -z "$ac_cv_build_alias" &&
1395 ac_cv_build_alias=`$ac_config_guess`
1396 test -z "$ac_cv_build_alias" &&
1397 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1398 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1399 { (exit 1); exit 1; }; }
1400 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1402 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1403 { (exit 1); exit 1; }; }
1406 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1407 echo "${ECHO_T}$ac_cv_build" >&6
1409 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1410 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1411 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1414 echo "$as_me:$LINENO: checking host system type" >&5
1415 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1416 if test "${ac_cv_host+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 ac_cv_host_alias=$host_alias
1420 test -z "$ac_cv_host_alias" &&
1421 ac_cv_host_alias=$ac_cv_build_alias
1422 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1424 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1425 { (exit 1); exit 1; }; }
1428 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1429 echo "${ECHO_T}$ac_cv_host" >&6
1431 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1432 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1433 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1436 echo "$as_me:$LINENO: checking target system type" >&5
1437 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1438 if test "${ac_cv_target+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 ac_cv_target_alias=$target_alias
1442 test "x$ac_cv_target_alias" = "x" &&
1443 ac_cv_target_alias=$ac_cv_host_alias
1444 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1445 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1446 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1447 { (exit 1); exit 1; }; }
1450 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1451 echo "${ECHO_T}$ac_cv_target" >&6
1452 target=$ac_cv_target
1453 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1454 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1455 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1458 # The aliases save the names the user supplied, while $host etc.
1459 # will get canonicalized.
1460 test -n "$target_alias" &&
1461 test "$program_prefix$program_suffix$program_transform_name" = \
1463 program_prefix=${target_alias}-
1465 # Get the 'noncanonical
' system names.
1466 case ${build_alias} in
1467 "") build_noncanonical=${build} ;;
1468 *) build_noncanonical=${build_alias} ;;
1471 case ${host_alias} in
1472 "") host_noncanonical=${build_noncanonical} ;;
1473 *) host_noncanonical=${host_alias} ;;
1476 case ${target_alias} in
1477 "") target_noncanonical=${host_noncanonical} ;;
1478 *) target_noncanonical=${target_alias} ;;
1484 # This works around an automake problem.
1485 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1488 am__api_version="1.9"
1489 # Find a good install program. We prefer a C program (faster),
1490 # so one script is as good as another. But avoid the broken or
1491 # incompatible versions:
1492 # SysV /etc/install, /usr/sbin/install
1493 # SunOS /usr/etc/install
1494 # IRIX /sbin/install
1496 # AmigaOS /C/install, which installs bootblocks on floppy discs
1497 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1498 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1499 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1500 # OS/2's system install, which has a completely different semantic
1501 # ./install, which can be erroneously created by make from ./install.sh.
1502 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1503 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1504 if test -z "$INSTALL"; then
1505 if test "${ac_cv_path_install+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1512 test -z "$as_dir" && as_dir
=.
1513 # Account for people who put trailing slashes in PATH elements.
1515 .
/ | .
// |
/cC
/* | \
1516 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1517 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1520 # OSF1 and SCO ODT 3.0 have their own names for install.
1521 # Don't use installbsd from OSF since it installs stuff as root
1523 for ac_prog
in ginstall scoinst
install; do
1524 for ac_exec_ext
in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1526 if test $ac_prog = install &&
1527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1528 # AIX install. It has an incompatible calling convention.
1530 elif test $ac_prog = install &&
1531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1532 # program-specific install script used by HP pwplus--don't use.
1535 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1547 if test "${ac_cv_path_install+set}" = set; then
1548 INSTALL
=$ac_cv_path_install
1550 # As a last resort, use the slow shell script. We don't cache a
1551 # path for INSTALL within a source directory, because that will
1552 # break other packages using the cache if that directory is
1553 # removed, or if the path is relative.
1554 INSTALL
=$ac_install_sh
1557 echo "$as_me:$LINENO: result: $INSTALL" >&5
1558 echo "${ECHO_T}$INSTALL" >&6
1560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1561 # It thinks the first close brace ends the variable substitution.
1562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1564 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1566 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1568 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1569 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1572 echo timestamp
> conftest.
file
1573 # Do `set' in a subshell so we don't clobber the current shell's
1574 # arguments. Must try -L first in case configure is actually a
1575 # symlink; some systems play weird games with the mod time of symlinks
1576 # (eg FreeBSD returns the mod time of the symlink's containing
1579 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1580 if test "$*" = "X"; then
1582 set X
`ls -t $srcdir/configure conftest.file`
1585 if test "$*" != "X $srcdir/configure conftest.file" \
1586 && test "$*" != "X conftest.file $srcdir/configure"; then
1588 # If neither matched, then we have a broken ls. This can happen
1589 # if, for instance, CONFIG_SHELL is bash and it inherits a
1590 # broken ls alias from the environment. This has actually
1591 # happened. Such a system could not be considered "sane".
1592 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1593 alias in your environment" >&5
1594 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1595 alias in your environment" >&2;}
1596 { (exit 1); exit 1; }; }
1599 test "$2" = conftest.
file
1605 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1606 Check your system clock" >&5
1607 echo "$as_me: error: newly created file is older than distributed files!
1608 Check your system clock" >&2;}
1609 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: yes" >&5
1612 echo "${ECHO_T}yes" >&6
1613 test "$program_prefix" != NONE
&&
1614 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1615 # Use a double $ so make ignores it.
1616 test "$program_suffix" != NONE
&&
1617 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1618 # Double any \ or $. echo might interpret backslashes.
1619 # By default was `s,x,x', remove it if useless.
1620 cat <<\_ACEOF
>conftest.
sed
1621 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1623 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1626 # expand $ac_aux_dir to an absolute path
1627 am_aux_dir
=`cd $ac_aux_dir && pwd`
1629 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1630 # Use eval to expand $SHELL
1631 if eval "$MISSING --run true"; then
1632 am_missing_run
="$MISSING --run "
1635 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1636 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1639 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1640 # We used to keeping the `.' as first argument, in order to
1641 # allow $(mkdir_p) to be used without argument. As in
1642 # $(mkdir_p) $(somedir)
1643 # where $(somedir) is conditionally defined. However this is wrong
1645 # 1. if the package is installed by a user who cannot write `.'
1646 # make install will fail,
1647 # 2. the above comment should most certainly read
1648 # $(mkdir_p) $(DESTDIR)$(somedir)
1649 # so it does not work when $(somedir) is undefined and
1650 # $(DESTDIR) is not.
1651 # To support the latter case, we have to write
1652 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1653 # so the `.' trick is pointless.
1654 mkdir_p
='mkdir -p --'
1656 # On NextStep and OpenStep, the `mkdir' command does not
1657 # recognize any option. It will interpret all options as
1658 # directories to create, and then abort because `.' already
1660 for d
in .
/-p .
/--version;
1662 test -d $d && rmdir $d
1664 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1665 if test -f "$ac_aux_dir/mkinstalldirs"; then
1666 mkdir_p
='$(mkinstalldirs)'
1668 mkdir_p
='$(install_sh) -d'
1672 for ac_prog
in gawk mawk nawk
awk
1674 # Extract the first word of "$ac_prog", so it can be a program name with args.
1675 set dummy
$ac_prog; ac_word
=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_AWK+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$AWK"; then
1682 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir
=.
1689 for ac_exec_ext
in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_AWK
="$ac_prog"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 if test -n "$AWK"; then
1702 echo "$as_me:$LINENO: result: $AWK" >&5
1703 echo "${ECHO_T}$AWK" >&6
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1709 test -n "$AWK" && break
1712 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1713 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1714 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1715 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 cat >conftest.
make <<\_ACEOF
1720 @
echo 'ac_maketemp="$(MAKE)"'
1722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1723 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1724 if test -n "$ac_maketemp"; then
1725 eval ac_cv_prog_make_
${ac_make}_set
=yes
1727 eval ac_cv_prog_make_
${ac_make}_set
=no
1731 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1732 echo "$as_me:$LINENO: result: yes" >&5
1733 echo "${ECHO_T}yes" >&6
1736 echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6
1738 SET_MAKE
="MAKE=${MAKE-make}"
1741 rm -rf .tst
2>/dev
/null
1742 mkdir .tst
2>/dev
/null
1743 if test -d .tst
; then
1748 rmdir .tst
2>/dev
/null
1750 # test to see if srcdir already configured
1751 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1752 test -f $srcdir/config.status
; then
1753 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1754 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1755 { (exit 1); exit 1; }; }
1758 # test whether we have cygpath
1759 if test -z "$CYGPATH_W"; then
1760 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1761 CYGPATH_W
='cygpath -w'
1768 # Define the identity of the package.
1773 # Some tools Automake needs.
1775 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1778 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1781 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1784 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1787 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1789 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1791 # Installed binaries are usually stripped using `strip' when the user
1792 # run `make install-strip'. However `strip' might not be the right
1793 # tool to use in cross-compilation environments, therefore Automake
1794 # will honor the `STRIP' environment variable to overrule this program.
1795 if test "$cross_compiling" != no
; then
1796 if test -n "$ac_tool_prefix"; then
1797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1798 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1799 echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1801 if test "${ac_cv_prog_STRIP+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test -n "$STRIP"; then
1805 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1811 test -z "$as_dir" && as_dir
=.
1812 for ac_exec_ext
in '' $ac_executable_extensions; do
1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1814 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 STRIP
=$ac_cv_prog_STRIP
1824 if test -n "$STRIP"; then
1825 echo "$as_me:$LINENO: result: $STRIP" >&5
1826 echo "${ECHO_T}$STRIP" >&6
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1833 if test -z "$ac_cv_prog_STRIP"; then
1835 # Extract the first word of "strip", so it can be a program name with args.
1836 set dummy strip
; ac_word
=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$ac_ct_STRIP"; then
1843 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir
=.
1850 for ac_exec_ext
in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_ac_ct_STRIP
="strip"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1862 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1863 if test -n "$ac_ct_STRIP"; then
1864 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1865 echo "${ECHO_T}$ac_ct_STRIP" >&6
1867 echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6
1873 STRIP
="$ac_cv_prog_STRIP"
1877 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1879 # We need awk for the "check" target. The system "awk" is bad on
1881 # Always define AMTAR for backward compatibility.
1883 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1885 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1892 # The autoconf 2.5x version of the no-executables hack.
1895 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1896 # the wrong, non-multilib-adjusted value will be used in multilibs.
1897 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1902 ac_cpp
='$CPP $CPPFLAGS'
1903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1906 if test -n "$ac_tool_prefix"; then
1907 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1908 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1909 echo "$as_me:$LINENO: checking for $ac_word" >&5
1910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1911 if test "${ac_cv_prog_CC+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 if test -n "$CC"; then
1915 ac_cv_prog_CC
="$CC" # Let the user override the test.
1917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir
=.
1922 for ac_exec_ext
in '' $ac_executable_extensions; do
1923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1924 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 if test -n "$CC"; then
1935 echo "$as_me:$LINENO: result: $CC" >&5
1936 echo "${ECHO_T}$CC" >&6
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1943 if test -z "$ac_cv_prog_CC"; then
1945 # Extract the first word of "gcc", so it can be a program name with args.
1946 set dummy gcc
; ac_word
=$2
1947 echo "$as_me:$LINENO: checking for $ac_word" >&5
1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1949 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 if test -n "$ac_ct_CC"; then
1953 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir
=.
1960 for ac_exec_ext
in '' $ac_executable_extensions; do
1961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1962 ac_cv_prog_ac_ct_CC
="gcc"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1972 if test -n "$ac_ct_CC"; then
1973 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1974 echo "${ECHO_T}$ac_ct_CC" >&6
1976 echo "$as_me:$LINENO: result: no" >&5
1977 echo "${ECHO_T}no" >&6
1985 if test -z "$CC"; then
1986 if test -n "$ac_tool_prefix"; then
1987 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1988 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1989 echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991 if test "${ac_cv_prog_CC+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 if test -n "$CC"; then
1995 ac_cv_prog_CC
="$CC" # Let the user override the test.
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir
=.
2002 for ac_exec_ext
in '' $ac_executable_extensions; do
2003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 if test -n "$CC"; then
2015 echo "$as_me:$LINENO: result: $CC" >&5
2016 echo "${ECHO_T}$CC" >&6
2018 echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2023 if test -z "$ac_cv_prog_CC"; then
2025 # Extract the first word of "cc", so it can be a program name with args.
2026 set dummy cc
; ac_word
=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$ac_ct_CC"; then
2033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir
=.
2040 for ac_exec_ext
in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_ac_ct_CC
="cc"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2052 if test -n "$ac_ct_CC"; then
2053 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2054 echo "${ECHO_T}$ac_ct_CC" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2066 if test -z "$CC"; then
2067 # Extract the first word of "cc", so it can be a program name with args.
2068 set dummy cc
; ac_word
=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC
="$CC" # Let the user override the test.
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 for ac_exec_ext
in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2086 ac_prog_rejected
=yes
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 if test $ac_prog_rejected = yes; then
2097 # We found a bogon in the path, so make sure we never use it.
2098 set dummy
$ac_cv_prog_CC
2100 if test $# != 0; then
2101 # We chose a different compiler from the bogus one.
2102 # However, it has the same basename, so the bogon will be chosen
2103 # first if we set CC to just the basename; use the full file name.
2105 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2111 if test -n "$CC"; then
2112 echo "$as_me:$LINENO: result: $CC" >&5
2113 echo "${ECHO_T}$CC" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2125 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 if test -n "$CC"; then
2132 ac_cv_prog_CC
="$CC" # Let the user override the test.
2134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir
=.
2139 for ac_exec_ext
in '' $ac_executable_extensions; do
2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 if test -n "$CC"; then
2152 echo "$as_me:$LINENO: result: $CC" >&5
2153 echo "${ECHO_T}$CC" >&6
2155 echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2159 test -n "$CC" && break
2162 if test -z "$CC"; then
2166 # Extract the first word of "$ac_prog", so it can be a program name with args.
2167 set dummy
$ac_prog; ac_word
=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir
=.
2181 for ac_exec_ext
in '' $ac_executable_extensions; do
2182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_prog_ac_ct_CC
="$ac_prog"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2195 echo "${ECHO_T}$ac_ct_CC" >&6
2197 echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6
2201 test -n "$ac_ct_CC" && break
2210 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2211 See \`config.log' for more details." >&5
2212 echo "$as_me: error: no acceptable C compiler found in \$PATH
2213 See \`config.log' for more details." >&2;}
2214 { (exit 1); exit 1; }; }
2216 # Provide some information about the compiler.
2217 echo "$as_me:$LINENO:" \
2218 "checking for C compiler version" >&5
2219 ac_compiler
=`set X $ac_compile; echo $2`
2220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2221 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }
2225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2226 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }
2230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2231 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }
2236 cat >conftest.
$ac_ext <<_ACEOF
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2253 (eval $ac_link) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; then
2262 if test x
$gcc_no_link = xyes
; then
2263 # Setting cross_compile will disable run tests; it will
2264 # also disable AC_CHECK_FILE but that's generally
2265 # correct if we can't link.
2269 cat >conftest.
$ac_ext <<_ACEOF
2272 cat confdefs.h
>>conftest.
$ac_ext
2273 cat >>conftest.
$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2284 ac_clean_files_save
=$ac_clean_files
2285 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2286 # Try to create an executable without -o first, disregard a.out.
2287 # It will help us diagnose broken compilers, and finding out an intuition
2289 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2290 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2291 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2292 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2293 (eval $ac_link_default) 2>&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; then
2297 # Find the output, starting from the most likely. This scheme is
2298 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2301 # Be careful to initialize this variable, since it used to be cached.
2302 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2304 # b.out is created by i960 compilers.
2305 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2307 test -f "$ac_file" ||
continue
2309 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2312 # This is the source file.
2315 # We found the default executable, but exeext='' is most
2319 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2320 # FIXME: I believe we export ac_cv_exeext for Libtool,
2321 # but it would be cool to find out if it's true. Does anybody
2322 # maintain Libtool? --akim.
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.
$ac_ext >&5
2333 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2334 See \`config.log' for more details." >&5
2335 echo "$as_me: error: C compiler cannot create executables
2336 See \`config.log' for more details." >&2;}
2337 { (exit 77); exit 77; }; }
2340 ac_exeext
=$ac_cv_exeext
2341 echo "$as_me:$LINENO: result: $ac_file" >&5
2342 echo "${ECHO_T}$ac_file" >&6
2344 # Check the compiler produces executables we can run. If not, either
2345 # the compiler is broken, or we cross compile.
2346 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2347 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2348 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2349 # If not cross compiling, check that we can run a simple program.
2350 if test "$cross_compiling" != yes; then
2351 if { ac_try
='./$ac_file'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; }; then
2359 if test "$cross_compiling" = maybe
; then
2362 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2363 If you meant to cross compile, use \`--host'.
2364 See \`config.log' for more details." >&5
2365 echo "$as_me: error: cannot run C compiled programs.
2366 If you meant to cross compile, use \`--host'.
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2372 echo "$as_me:$LINENO: result: yes" >&5
2373 echo "${ECHO_T}yes" >&6
2375 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2376 ac_clean_files
=$ac_clean_files_save
2377 # Check the compiler produces executables we can run. If not, either
2378 # the compiler is broken, or we cross compile.
2379 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2380 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2381 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2382 echo "${ECHO_T}$cross_compiling" >&6
2384 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2385 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2387 (eval $ac_link) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; then
2391 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2392 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2393 # work properly (i.e., refer to `conftest.exe'), while it won't with
2395 for ac_file
in conftest.exe conftest conftest.
*; do
2396 test -f "$ac_file" ||
continue
2398 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2399 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2406 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2407 See \`config.log' for more details." >&5
2408 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }
2413 rm -f conftest
$ac_cv_exeext
2414 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2415 echo "${ECHO_T}$ac_cv_exeext" >&6
2417 rm -f conftest.
$ac_ext
2418 EXEEXT
=$ac_cv_exeext
2421 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2423 if test "${ac_cv_objext+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2441 rm -f conftest.o conftest.obj
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2449 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2450 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2467 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6
2469 OBJEXT
=$ac_cv_objext
2471 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2473 if test "${ac_cv_c_compiler_gnu+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. */
2494 rm -f conftest.
$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try
='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try
='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.
$ac_ext >&5
2523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2524 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2527 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2528 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2529 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2530 ac_test_CFLAGS
=${CFLAGS+set}
2531 ac_save_CFLAGS
=$CFLAGS
2533 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2535 if test "${ac_cv_prog_cc_g+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 cat >conftest.
$ac_ext <<_ACEOF
2541 cat confdefs.h
>>conftest.
$ac_ext
2542 cat >>conftest.
$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 rm -f conftest.
$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2585 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2586 if test "$ac_test_CFLAGS" = set; then
2587 CFLAGS
=$ac_save_CFLAGS
2588 elif test $ac_cv_prog_cc_g = yes; then
2589 if test "$GCC" = yes; then
2595 if test "$GCC" = yes; then
2601 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2602 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 ac_cv_prog_cc_stdc
=no
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2616 #include <sys/types.h>
2617 #include <sys/stat.h>
2618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2619 struct buf { int x; };
2620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621 static char *e (p, i)
2627 static char *f (char * (*g) (char **, int), char **p, ...)
2632 s = g (p, va_arg (v,int));
2637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2638 function prototypes and stuff, but not '\xHH' hex character constants.
2639 These don't provoke an error unfortunately, instead are silently treated
2640 as 'x'. The following induces an error, until -std1 is added to get
2641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2642 array size at least. It's necessary to write '\x00'==0 to get something
2643 that's true only with -std1. */
2644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2646 int test (int i, double x);
2647 struct s1 {int (*f) (int a);};
2648 struct s2 {int (*f) (double a);};
2649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2660 # Don't try gcc -ansi; that turns off useful extensions and
2661 # breaks some systems' header files.
2662 # AIX -qlanglvl=ansi
2663 # Ultrix and OSF/1 -std1
2664 # HP-UX 10.20 and later -Ae
2665 # HP-UX older versions -Aa -D_HPUX_SOURCE
2666 # SVR4 -Xc -D__EXTENSIONS__
2667 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2669 CC
="$ac_save_CC $ac_arg"
2670 rm -f conftest.
$ac_objext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 (eval $ac_compile) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1
>conftest.err
2676 cat conftest.err
>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try
='test -z "$ac_c_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 ac_cv_prog_cc_stdc
=$ac_arg
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.err conftest.
$ac_objext
2701 rm -f conftest.
$ac_ext conftest.
$ac_objext
2706 case "x$ac_cv_prog_cc_stdc" in
2708 echo "$as_me:$LINENO: result: none needed" >&5
2709 echo "${ECHO_T}none needed" >&6 ;;
2711 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2712 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2713 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2716 # Some people use a C++ compiler to compile C. Since we use `exit',
2717 # in C++ we need to declare it. In case someone uses the same compiler
2718 # for both compiling C and C++ we need to have the C++ compiler decide
2719 # the declaration of exit, since it's the most demanding environment.
2720 cat >conftest.
$ac_ext <<_ACEOF
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try
='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try
='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 for ac_declaration
in \
2749 'extern "C" void std::exit (int) throw (); using std::exit;' \
2750 'extern "C" void std::exit (int); using std::exit;' \
2751 'extern "C" void exit (int) throw ();' \
2752 'extern "C" void exit (int);' \
2755 cat >conftest.
$ac_ext <<_ACEOF
2758 cat confdefs.h
>>conftest.
$ac_ext
2759 cat >>conftest.
$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2771 rm -f conftest.
$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try
='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try
='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.
$ac_objext
2817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818 (eval $ac_compile) 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try
='test -z "$ac_c_werror_flag"
2826 || test ! -s conftest.err'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; } &&
2832 { ac_try
='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.
$ac_ext >&5
2844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2847 if test -n "$ac_declaration"; then
2848 echo '#ifdef __cplusplus' >>confdefs.h
2849 echo $ac_declaration >>confdefs.h
2850 echo '#endif' >>confdefs.h
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2860 ac_cpp
='$CPP $CPPFLAGS'
2861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2864 DEPDIR
="${am__leading_dot}deps"
2866 ac_config_commands
="$ac_config_commands depfiles"
2869 am_make
=${MAKE-make}
2870 cat > confinc
<< 'END'
2875 # If we don't find an include directive, just comment out the code.
2876 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2877 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2881 # First try GNU make style include.
2882 echo "include confinc" > confmf
2883 # We grep out `Entering directory' and `Leaving directory'
2884 # messages which can occur if `w' ends up in MAKEFLAGS.
2885 # In particular we don't look at `^make:' because GNU make might
2886 # be invoked under some other name (usually "gmake"), in which
2887 # case it prints its new name instead of `make'.
2888 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2893 # Now try BSD make style include.
2894 if test "$am__include" = "#"; then
2895 echo '.include "confinc"' > confmf
2896 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2897 am__include
=.include
2904 echo "$as_me:$LINENO: result: $_am_result" >&5
2905 echo "${ECHO_T}$_am_result" >&6
2906 rm -f confinc confmf
2908 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2909 if test "${enable_dependency_tracking+set}" = set; then
2910 enableval
="$enable_dependency_tracking"
2913 if test "x$enable_dependency_tracking" != xno
; then
2914 am_depcomp
="$ac_aux_dir/depcomp"
2919 if test "x$enable_dependency_tracking" != xno; then
2930 depcc
="$CC" am_compiler_list
=
2932 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2933 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2934 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2938 # We make a subdir and do the tests there. Otherwise we can end up
2939 # making bogus files that we don't know about and never remove. For
2940 # instance it was reported that on HP-UX the gcc test will end up
2941 # making a dummy file named `D' -- because `-MD' means `put the output
2944 # Copy depcomp to subdir because otherwise we won't find it if we're
2945 # using a relative directory.
2946 cp "$am_depcomp" conftest.dir
2948 # We will build objects and dependencies in a subdirectory because
2949 # it helps to detect inapplicable dependency modes. For instance
2950 # both Tru64's cc and ICC support -MD to output dependencies as a
2951 # side effect of compilation, but ICC will put the dependencies in
2952 # the current directory while Tru64 will put them in the object
2956 am_cv_CC_dependencies_compiler_type
=none
2957 if test "$am_compiler_list" = ""; then
2958 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2960 for depmode
in $am_compiler_list; do
2961 # Setup a source with many dependencies, because some compilers
2962 # like to wrap large dependency lists on column 80 (with \), and
2963 # we should not choose a depcomp mode which is confused by this.
2965 # We need to recreate these files for each test, as the compiler may
2966 # overwrite some of them when testing with obscure command lines.
2967 # This happens at least with the AIX C compiler.
2969 for i
in 1 2 3 4 5 6; do
2970 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2972 # Solaris 8's {/usr,}/bin/sh.
2973 touch sub
/conftst
$i.h
2975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2979 # after this tag, mechanisms are not by side-effect, so they'll
2980 # only be used when explicitly requested
2981 if test "x$enable_dependency_tracking" = xyes
; then
2989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2990 # mode. It turns out that the SunPro C++ compiler does not properly
2991 # handle `-M -o', and we need to detect this.
2992 if depmode
=$depmode \
2993 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2994 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2995 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2996 >/dev
/null
2>conftest.err
&&
2997 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2998 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2999 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3000 # icc doesn't choke on unknown options, it will just issue warnings
3001 # or remarks (even with -Werror). So we grep stderr for any message
3002 # that says an option was ignored or not supported.
3003 # When given -MP, icc 7.0 and 7.1 complain thusly:
3004 # icc: Command line warning: ignoring option '-M'; no argument required
3005 # The diagnosis changed in icc 8.0:
3006 # icc: Command line remark: option '-MP' not supported
3007 if (grep 'ignoring option' conftest.err ||
3008 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3009 am_cv_CC_dependencies_compiler_type
=$depmode
3018 am_cv_CC_dependencies_compiler_type
=none
3022 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3023 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3024 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3029 test "x$enable_dependency_tracking" != xno \
3030 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3032 am__fastdepCC_FALSE
='#'
3034 am__fastdepCC_TRUE
='#'
3035 am__fastdepCC_FALSE
=
3040 ac_cpp
='$CXXCPP $CPPFLAGS'
3041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3044 if test -n "$ac_tool_prefix"; then
3045 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3048 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3049 echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051 if test "${ac_cv_prog_CXX+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 if test -n "$CXX"; then
3055 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 if test -n "$CXX"; then
3075 echo "$as_me:$LINENO: result: $CXX" >&5
3076 echo "${ECHO_T}$CXX" >&6
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3082 test -n "$CXX" && break
3085 if test -z "$CXX"; then
3087 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3089 # Extract the first word of "$ac_prog", so it can be a program name with args.
3090 set dummy
$ac_prog; ac_word
=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$ac_ct_CXX"; then
3097 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_exec_ext
in '' $ac_executable_extensions; do
3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3116 if test -n "$ac_ct_CXX"; then
3117 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3118 echo "${ECHO_T}$ac_ct_CXX" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3124 test -n "$ac_ct_CXX" && break
3126 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3132 # Provide some information about the compiler.
3133 echo "$as_me:$LINENO:" \
3134 "checking for C++ compiler version" >&5
3135 ac_compiler
=`set X $ac_compile; echo $2`
3136 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3137 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }
3141 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3142 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }
3146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3147 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }
3152 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3153 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3154 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3155 echo $ECHO_N "(cached) $ECHO_C" >&6
3157 cat >conftest.
$ac_ext <<_ACEOF
3160 cat confdefs.h
>>conftest.
$ac_ext
3161 cat >>conftest.
$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3175 rm -f conftest.
$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>conftest.er1
3179 grep -v '^ *+' conftest.er1
>conftest.err
3181 cat conftest.err
>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try
='test -z "$ac_cxx_werror_flag"
3185 || test ! -s conftest.err'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; } &&
3191 { ac_try
='test -s conftest.$ac_objext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.
$ac_ext >&5
3204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3205 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3208 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3209 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3210 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3211 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3212 ac_save_CXXFLAGS
=$CXXFLAGS
3214 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3215 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3216 if test "${ac_cv_prog_cxx_g+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 cat >conftest.
$ac_ext <<_ACEOF
3222 cat confdefs.h
>>conftest.
$ac_ext
3223 cat >>conftest.
$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3234 rm -f conftest.
$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -z "$ac_cxx_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try
='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3256 ac_cv_prog_cxx_g
=yes
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.
$ac_ext >&5
3263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3265 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3266 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3267 if test "$ac_test_CXXFLAGS" = set; then
3268 CXXFLAGS
=$ac_save_CXXFLAGS
3269 elif test $ac_cv_prog_cxx_g = yes; then
3270 if test "$GXX" = yes; then
3276 if test "$GXX" = yes; then
3282 for ac_declaration
in \
3284 'extern "C" void std::exit (int) throw (); using std::exit;' \
3285 'extern "C" void std::exit (int); using std::exit;' \
3286 'extern "C" void exit (int) throw ();' \
3287 'extern "C" void exit (int);' \
3290 cat >conftest.
$ac_ext <<_ACEOF
3293 cat confdefs.h
>>conftest.
$ac_ext
3294 cat >>conftest.
$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3306 rm -f conftest.
$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3310 grep -v '^ *+' conftest.er1
>conftest.err
3312 cat conftest.err
>&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try
='test -z "$ac_cxx_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try
='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.
$ac_ext >&5
3335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3336 cat >conftest.
$ac_ext <<_ACEOF
3339 cat confdefs.h
>>conftest.
$ac_ext
3340 cat >>conftest.
$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3351 rm -f conftest.
$ac_objext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353 (eval $ac_compile) 2>conftest.er1
3355 grep -v '^ *+' conftest.er1
>conftest.err
3357 cat conftest.err
>&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } &&
3360 { ac_try
='test -z "$ac_cxx_werror_flag"
3361 || test ! -s conftest.err'
3362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; } &&
3367 { ac_try
='test -s conftest.$ac_objext'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; }; then
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3382 if test -n "$ac_declaration"; then
3383 echo '#ifdef __cplusplus' >>confdefs.h
3384 echo $ac_declaration >>confdefs.h
3385 echo '#endif' >>confdefs.h
3389 ac_cpp
='$CPP $CPPFLAGS'
3390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3394 depcc
="$CXX" am_compiler_list
=
3396 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3397 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3398 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3402 # We make a subdir and do the tests there. Otherwise we can end up
3403 # making bogus files that we don't know about and never remove. For
3404 # instance it was reported that on HP-UX the gcc test will end up
3405 # making a dummy file named `D' -- because `-MD' means `put the output
3408 # Copy depcomp to subdir because otherwise we won't find it if we're
3409 # using a relative directory.
3410 cp "$am_depcomp" conftest.dir
3412 # We will build objects and dependencies in a subdirectory because
3413 # it helps to detect inapplicable dependency modes. For instance
3414 # both Tru64's cc and ICC support -MD to output dependencies as a
3415 # side effect of compilation, but ICC will put the dependencies in
3416 # the current directory while Tru64 will put them in the object
3420 am_cv_CXX_dependencies_compiler_type
=none
3421 if test "$am_compiler_list" = ""; then
3422 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3424 for depmode
in $am_compiler_list; do
3425 # Setup a source with many dependencies, because some compilers
3426 # like to wrap large dependency lists on column 80 (with \), and
3427 # we should not choose a depcomp mode which is confused by this.
3429 # We need to recreate these files for each test, as the compiler may
3430 # overwrite some of them when testing with obscure command lines.
3431 # This happens at least with the AIX C compiler.
3433 for i
in 1 2 3 4 5 6; do
3434 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3435 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3436 # Solaris 8's {/usr,}/bin/sh.
3437 touch sub
/conftst
$i.h
3439 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3443 # after this tag, mechanisms are not by side-effect, so they'll
3444 # only be used when explicitly requested
3445 if test "x$enable_dependency_tracking" = xyes
; then
3453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3454 # mode. It turns out that the SunPro C++ compiler does not properly
3455 # handle `-M -o', and we need to detect this.
3456 if depmode
=$depmode \
3457 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3458 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3459 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3460 >/dev
/null
2>conftest.err
&&
3461 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3462 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3463 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3464 # icc doesn't choke on unknown options, it will just issue warnings
3465 # or remarks (even with -Werror). So we grep stderr for any message
3466 # that says an option was ignored or not supported.
3467 # When given -MP, icc 7.0 and 7.1 complain thusly:
3468 # icc: Command line warning: ignoring option '-M'; no argument required
3469 # The diagnosis changed in icc 8.0:
3470 # icc: Command line remark: option '-MP' not supported
3471 if (grep 'ignoring option' conftest.err ||
3472 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3473 am_cv_CXX_dependencies_compiler_type
=$depmode
3482 am_cv_CXX_dependencies_compiler_type
=none
3486 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3487 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3488 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3493 test "x$enable_dependency_tracking" != xno \
3494 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3495 am__fastdepCXX_TRUE
=
3496 am__fastdepCXX_FALSE
='#'
3498 am__fastdepCXX_TRUE
='#'
3499 am__fastdepCXX_FALSE
=
3505 if test "x$CC" != xcc
; then
3506 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3507 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3509 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3510 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3512 set dummy
$CC; ac_cc
=`echo $2 |
3513 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3514 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3532 # Make sure it works both with $CC and with simple cc.
3533 # We do the test twice because some compilers refuse to overwrite an
3534 # existing .o file with -o, though they will create one.
3535 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3536 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } &&
3541 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); };
3547 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3548 if test "x$CC" != xcc
; then
3549 # Test first that cc exists at all.
3550 if { ac_try
='cc -c conftest.$ac_ext >&5'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3556 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3557 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } &&
3562 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); };
3571 # cc exists but doesn't like -o.
3572 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3577 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3582 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3583 echo "$as_me:$LINENO: result: yes" >&5
3584 echo "${ECHO_T}yes" >&6
3586 echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6
3589 cat >>confdefs.h
<<\_ACEOF
3590 #define NO_MINUS_C_MINUS_O 1
3595 # FIXME: we rely on the cache variable name because
3596 # there is no other way.
3598 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3599 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3600 # Losing compiler, so override with the script.
3601 # FIXME: It is wrong to rewrite CC.
3602 # But if we don't then we get into trouble of one sort or another.
3603 # A longer-term fix would be to have automake use am__CC in this case,
3604 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3605 CC
="$am_aux_dir/compile $CC"
3612 # Newer automakes demand CCAS and CCASFLAGS.
3614 : ${CCASFLAGS='$(CFLAGS)'}
3618 if test -n "$ac_tool_prefix"; then
3619 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3620 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3621 echo "$as_me:$LINENO: checking for $ac_word" >&5
3622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3623 if test "${ac_cv_prog_AS+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 if test -n "$AS"; then
3627 ac_cv_prog_AS
="$AS" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_AS
="${ac_tool_prefix}as"
3637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 if test -n "$AS"; then
3647 echo "$as_me:$LINENO: result: $AS" >&5
3648 echo "${ECHO_T}$AS" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3655 if test -z "$ac_cv_prog_AS"; then
3657 # Extract the first word of "as", so it can be a program name with args.
3658 set dummy as
; ac_word
=$2
3659 echo "$as_me:$LINENO: checking for $ac_word" >&5
3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3661 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -n "$ac_ct_AS"; then
3665 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_AS
="as"
3675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3684 if test -n "$ac_ct_AS"; then
3685 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3686 echo "${ECHO_T}$ac_ct_AS" >&6
3688 echo "$as_me:$LINENO: result: no" >&5
3689 echo "${ECHO_T}no" >&6
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3699 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3700 echo "$as_me:$LINENO: checking for $ac_word" >&5
3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3702 if test "${ac_cv_prog_AR+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 if test -n "$AR"; then
3706 ac_cv_prog_AR
="$AR" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$AR"; then
3726 echo "$as_me:$LINENO: result: $AR" >&5
3727 echo "${ECHO_T}$AR" >&6
3729 echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3734 if test -z "$ac_cv_prog_AR"; then
3736 # Extract the first word of "ar", so it can be a program name with args.
3737 set dummy
ar; ac_word
=$2
3738 echo "$as_me:$LINENO: checking for $ac_word" >&5
3739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 if test -n "$ac_ct_AR"; then
3744 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_exec_ext
in '' $ac_executable_extensions; do
3752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_ac_ct_AR
="ar"
3754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3763 if test -n "$ac_ct_AR"; then
3764 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3765 echo "${ECHO_T}$ac_ct_AR" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3776 if test -n "$ac_tool_prefix"; then
3777 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3778 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3779 echo "$as_me:$LINENO: checking for $ac_word" >&5
3780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3781 if test "${ac_cv_prog_RANLIB+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 if test -n "$RANLIB"; then
3785 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir
=.
3792 for ac_exec_ext
in '' $ac_executable_extensions; do
3793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 RANLIB
=$ac_cv_prog_RANLIB
3804 if test -n "$RANLIB"; then
3805 echo "$as_me:$LINENO: result: $RANLIB" >&5
3806 echo "${ECHO_T}$RANLIB" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3813 if test -z "$ac_cv_prog_RANLIB"; then
3814 ac_ct_RANLIB
=$RANLIB
3815 # Extract the first word of "ranlib", so it can be a program name with args.
3816 set dummy ranlib
; ac_word
=$2
3817 echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3819 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if test -n "$ac_ct_RANLIB"; then
3823 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir
=.
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3842 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3843 if test -n "$ac_ct_RANLIB"; then
3844 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3845 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3847 echo "$as_me:$LINENO: result: no" >&5
3848 echo "${ECHO_T}no" >&6
3851 RANLIB
=$ac_ct_RANLIB
3853 RANLIB
="$ac_cv_prog_RANLIB"
3857 # Find a good install program. We prefer a C program (faster),
3858 # so one script is as good as another. But avoid the broken or
3859 # incompatible versions:
3860 # SysV /etc/install, /usr/sbin/install
3861 # SunOS /usr/etc/install
3862 # IRIX /sbin/install
3864 # AmigaOS /C/install, which installs bootblocks on floppy discs
3865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3868 # OS/2's system install, which has a completely different semantic
3869 # ./install, which can be erroneously created by make from ./install.sh.
3870 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3871 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3872 if test -z "$INSTALL"; then
3873 if test "${ac_cv_path_install+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir
=.
3881 # Account for people who put trailing slashes in PATH elements.
3883 .
/ | .
// |
/cC
/* | \
3884 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3885 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3888 # OSF1 and SCO ODT 3.0 have their own names for install.
3889 # Don't use installbsd from OSF since it installs stuff as root
3891 for ac_prog
in ginstall scoinst
install; do
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3894 if test $ac_prog = install &&
3895 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3896 # AIX install. It has an incompatible calling convention.
3898 elif test $ac_prog = install &&
3899 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3900 # program-specific install script used by HP pwplus--don't use.
3903 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3915 if test "${ac_cv_path_install+set}" = set; then
3916 INSTALL
=$ac_cv_path_install
3918 # As a last resort, use the slow shell script. We don't cache a
3919 # path for INSTALL within a source directory, because that will
3920 # break other packages using the cache if that directory is
3921 # removed, or if the path is relative.
3922 INSTALL
=$ac_install_sh
3925 echo "$as_me:$LINENO: result: $INSTALL" >&5
3926 echo "${ECHO_T}$INSTALL" >&6
3928 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3929 # It thinks the first close brace ends the variable substitution.
3930 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3932 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3934 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3937 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3938 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3939 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3940 if test "${enable_maintainer_mode+set}" = set; then
3941 enableval
="$enable_maintainer_mode"
3942 USE_MAINTAINER_MODE
=$enableval
3944 USE_MAINTAINER_MODE
=no
3946 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3947 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3950 if test $USE_MAINTAINER_MODE = yes; then
3951 MAINTAINER_MODE_TRUE
=
3952 MAINTAINER_MODE_FALSE
='#'
3954 MAINTAINER_MODE_TRUE
='#'
3955 MAINTAINER_MODE_FALSE
=
3958 MAINT
=$MAINTAINER_MODE_TRUE
3962 .
${srcdir}/configure.
host
3964 case ${gc_basedir} in
3965 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
3966 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
3969 gc_cflags
="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3972 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3977 GC_CFLAGS
=${gc_cflags}
3980 # Check whether --enable-shared or --disable-shared was given.
3981 if test "${enable_shared+set}" = set; then
3982 enableval
="$enable_shared"
3983 p
=${PACKAGE-default}
3985 yes) enable_shared
=yes ;;
3986 no
) enable_shared
=no
;;
3989 # Look at the argument we got. We use all the common list separators.
3990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3991 for pkg
in $enableval; do
3992 if test "X$pkg" = "X$p"; then
4002 # Check whether --enable-static or --disable-static was given.
4003 if test "${enable_static+set}" = set; then
4004 enableval
="$enable_static"
4005 p
=${PACKAGE-default}
4007 yes) enable_static
=yes ;;
4008 no
) enable_static
=no
;;
4011 # Look at the argument we got. We use all the common list separators.
4012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4013 for pkg
in $enableval; do
4014 if test "X$pkg" = "X$p"; then
4024 # Check whether --enable-fast-install or --disable-fast-install was given.
4025 if test "${enable_fast_install+set}" = set; then
4026 enableval
="$enable_fast_install"
4027 p
=${PACKAGE-default}
4029 yes) enable_fast_install
=yes ;;
4030 no
) enable_fast_install
=no
;;
4032 enable_fast_install
=no
4033 # Look at the argument we got. We use all the common list separators.
4034 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4035 for pkg
in $enableval; do
4036 if test "X$pkg" = "X$p"; then
4037 enable_fast_install
=yes
4044 enable_fast_install
=yes
4047 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4048 if test "${with_gnu_ld+set}" = set; then
4049 withval
="$with_gnu_ld"
4050 test "$withval" = no || with_gnu_ld
=yes
4055 if test "$GCC" = yes; then
4056 # Check if gcc -print-prog-name=ld gives a path.
4057 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4058 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4061 # gcc leaves a trailing carriage return which upsets mingw
4062 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4064 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4067 # Accept absolute paths.
4068 [\\/]* |
[A-Za-z
]:[\\/]*)
4069 re_direlt
='/[^/][^/]*/\.\./'
4070 # Canonicalize the path of ld
4071 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4072 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4073 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4075 test -z "$LD" && LD
="$ac_prog"
4078 # If it fails, then pretend we aren't using GCC.
4082 # If it is relative, then search for the first ld in PATH.
4086 elif test "$with_gnu_ld" = yes; then
4087 echo "$as_me:$LINENO: checking for GNU ld" >&5
4088 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4090 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4091 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4093 if test "${lt_cv_path_LD+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 if test -z "$LD"; then
4097 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4098 for ac_dir
in $PATH; do
4099 test -z "$ac_dir" && ac_dir
=.
4100 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4101 lt_cv_path_LD
="$ac_dir/$ac_prog"
4102 # Check to see if the program is GNU ld. I'd rather use --version,
4103 # but apparently some GNU ld's only accept -v.
4104 # Break only if it was the GNU/non-GNU ld that we prefer.
4105 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4106 test "$with_gnu_ld" != no
&& break
4108 test "$with_gnu_ld" != yes && break
4114 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4119 if test -n "$LD"; then
4120 echo "$as_me:$LINENO: result: $LD" >&5
4121 echo "${ECHO_T}$LD" >&6
4123 echo "$as_me:$LINENO: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4126 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4127 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4128 { (exit 1); exit 1; }; }
4129 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4130 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4131 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4135 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4136 lt_cv_prog_gnu_ld
=yes
4138 lt_cv_prog_gnu_ld
=no
4141 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4142 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4143 with_gnu_ld
=$lt_cv_prog_gnu_ld
4146 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4147 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4148 if test "${lt_cv_ld_reload_flag+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 lt_cv_ld_reload_flag
='-r'
4153 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4154 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4155 reload_flag
=$lt_cv_ld_reload_flag
4156 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4158 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4159 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4160 if test "${lt_cv_path_NM+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$NM"; then
4164 # Let the user override the test.
4167 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4168 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4169 test -z "$ac_dir" && ac_dir
=.
4170 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4171 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4172 # Check to see if the nm accepts a BSD-compat flag.
4173 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4174 # nm: unknown option "B" ignored
4175 # Tru64's nm complains that /dev/null is an invalid object file
4176 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4177 lt_cv_path_NM
="$tmp_nm -B"
4179 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4180 lt_cv_path_NM
="$tmp_nm -p"
4183 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4184 continue # so that we can try to find one that supports BSD flags
4189 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4194 echo "$as_me:$LINENO: result: $NM" >&5
4195 echo "${ECHO_T}$NM" >&6
4197 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4198 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4200 if test "$LN_S" = "ln -s"; then
4201 echo "$as_me:$LINENO: result: yes" >&5
4202 echo "${ECHO_T}yes" >&6
4204 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4205 echo "${ECHO_T}no, using $LN_S" >&6
4208 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4209 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4210 if test "${lt_cv_deplibs_check_method+set}" = set; then
4211 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4214 lt_cv_file_magic_test_file
=
4215 lt_cv_deplibs_check_method
='unknown'
4216 # Need to set the preceding variable on all platforms that support
4217 # interlibrary dependencies.
4218 # 'none' -- dependencies not supported.
4219 # `unknown' -- same as none, but documents that we really don't know.
4220 # 'pass_all' -- all dependencies passed with no checks.
4221 # 'test_compile' -- check by making test program.
4222 # 'file_magic [regex]' -- check by looking for files in library path
4223 # which responds to the $file_magic_cmd with a given egrep regex.
4224 # If you have `file' or equivalent on your system and you're not sure
4225 # whether `pass_all' will *always* work, you probably want this one.
4229 lt_cv_deplibs_check_method
=pass_all
4233 lt_cv_deplibs_check_method
=pass_all
4237 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4238 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4239 lt_cv_file_magic_test_file
=/shlib
/libc.so
4242 cygwin
* | mingw
* |pw32
*)
4243 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4244 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4247 darwin
* | rhapsody
*)
4248 # this will be overwritten by pass_all, but leave it in just in case
4249 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4250 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4252 rhapsody
* | darwin1.012
)
4253 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4256 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4259 lt_cv_deplibs_check_method
=pass_all
4262 freebsd
* | kfreebsd
*-gnu)
4263 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4266 # Not sure whether the presence of OpenBSD here was a mistake.
4267 # Let's accept both of them until this is cleared up.
4268 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4269 lt_cv_file_magic_cmd
=/usr
/bin
/file
4270 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4274 lt_cv_deplibs_check_method
=pass_all
4279 lt_cv_deplibs_check_method
=pass_all
4285 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4286 lt_cv_file_magic_cmd
=/usr
/bin
/file
4287 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4290 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4291 lt_cv_file_magic_cmd
=/usr
/bin
/file
4292 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4300 # this will be overridden with pass_all, but let us keep it just in case
4301 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4305 *-32|
*"-32 ") libmagic
=32-bit;;
4306 *-n32|
*"-n32 ") libmagic
=N32
;;
4307 *-64|
*"-64 ") libmagic
=64-bit;;
4308 *) libmagic
=never-match
;;
4310 # this will be overridden with pass_all, but let us keep it just in case
4311 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4314 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4315 lt_cv_deplibs_check_method
=pass_all
4318 # This must be Linux ELF.
4320 lt_cv_deplibs_check_method
=pass_all
4323 netbsd
* | knetbsd
*-gnu)
4324 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4325 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4327 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4332 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4333 lt_cv_file_magic_cmd
=/usr
/bin
/file
4334 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4337 osf3
* | osf4
* | osf5
*)
4338 # this will be overridden with pass_all, but let us keep it just in case
4339 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4340 lt_cv_file_magic_test_file
=/shlib
/libc.so
4341 lt_cv_deplibs_check_method
=pass_all
4345 lt_cv_deplibs_check_method
=pass_all
4349 lt_cv_deplibs_check_method
=pass_all
4350 lt_cv_file_magic_test_file
=/lib
/libc.so
4353 sysv5uw
[78]* | sysv4
*uw2
*)
4354 lt_cv_deplibs_check_method
=pass_all
4357 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4358 case $host_vendor in
4360 lt_cv_deplibs_check_method
=pass_all
4363 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]'
4364 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4371 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4372 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4373 file_magic_cmd
=$lt_cv_file_magic_cmd
4374 deplibs_check_method
=$lt_cv_deplibs_check_method
4380 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4382 # find the maximum length of command line arguments
4383 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4384 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4385 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 # On DJGPP, this test can blow up pretty badly due to problems in libc
4394 # (any single argument exceeding 2000 bytes causes a buffer overrun
4395 # during glob expansion). Even if it were fixed, the result of this
4396 # check would be larger than it should be.
4397 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4401 # On Win9x/ME, this test blows up -- it succeeds, but takes
4402 # about 5 minutes as the teststring grows exponentially.
4403 # Worse, since 9x/ME are not pre-emptively multitasking,
4404 # you end up with a "frozen" computer, even though with patience
4405 # the test eventually succeeds (with a max line length of 256k).
4406 # Instead, let's just punt: use the minimum linelength reported by
4407 # all of the supported platforms: 8192 (on NT/2K/XP).
4408 lt_cv_sys_max_cmd_len
=8192;
4412 # On AmigaOS with pdksh, this test takes hours, literally.
4413 # So we just punt and use a minimum line length of 8192.
4414 lt_cv_sys_max_cmd_len
=8192;
4417 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4418 # This has been around since 386BSD, at least. Likely further.
4419 if test -x /sbin
/sysctl
; then
4420 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4421 elif test -x /usr
/sbin
/sysctl
; then
4422 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4424 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4426 # And add a safety zone
4427 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4428 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4434 if test -n "$lt_cv_sys_max_cmd_len" ; then
4435 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4436 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4438 echo "$as_me:$LINENO: result: none" >&5
4439 echo "${ECHO_T}none" >&6
4443 # Only perform the check for file, if the check method requires it
4444 case $deplibs_check_method in
4446 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4447 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4448 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4449 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4457 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4460 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4461 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4462 ac_dummy
="/usr/bin:$PATH"
4463 for ac_dir
in $ac_dummy; do
4464 test -z "$ac_dir" && ac_dir
=.
4465 if test -f $ac_dir/${ac_tool_prefix}file; then
4466 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4467 if test -n "$file_magic_test_file"; then
4468 case $deplibs_check_method in
4470 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4471 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4472 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4473 egrep "$file_magic_regex" > /dev
/null
; then
4478 *** Warning: the command libtool uses to detect shared libraries,
4479 *** $file_magic_cmd, produces output that libtool cannot recognize.
4480 *** The result is that libtool may fail to recognize shared libraries
4481 *** as such. This will affect the creation of libtool libraries that
4482 *** depend on shared libraries, but programs linked with such libtool
4483 *** libraries will work regardless of this problem. Nevertheless, you
4484 *** may want to report the problem to your system manager and/or to
4485 *** bug-libtool@gnu.org
4495 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4500 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4501 if test -n "$MAGIC_CMD"; then
4502 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4503 echo "${ECHO_T}$MAGIC_CMD" >&6
4505 echo "$as_me:$LINENO: result: no" >&5
4506 echo "${ECHO_T}no" >&6
4509 if test -z "$lt_cv_path_MAGIC_CMD"; then
4510 if test -n "$ac_tool_prefix"; then
4511 echo "$as_me:$LINENO: checking for file" >&5
4512 echo $ECHO_N "checking for file... $ECHO_C" >&6
4513 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4521 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4524 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4525 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4526 ac_dummy
="/usr/bin:$PATH"
4527 for ac_dir
in $ac_dummy; do
4528 test -z "$ac_dir" && ac_dir
=.
4529 if test -f $ac_dir/file; then
4530 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4531 if test -n "$file_magic_test_file"; then
4532 case $deplibs_check_method in
4534 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4535 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4536 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4537 egrep "$file_magic_regex" > /dev
/null
; then
4542 *** Warning: the command libtool uses to detect shared libraries,
4543 *** $file_magic_cmd, produces output that libtool cannot recognize.
4544 *** The result is that libtool may fail to recognize shared libraries
4545 *** as such. This will affect the creation of libtool libraries that
4546 *** depend on shared libraries, but programs linked with such libtool
4547 *** libraries will work regardless of this problem. Nevertheless, you
4548 *** may want to report the problem to your system manager and/or to
4549 *** bug-libtool@gnu.org
4559 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4565 if test -n "$MAGIC_CMD"; then
4566 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4567 echo "${ECHO_T}$MAGIC_CMD" >&6
4569 echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6
4582 if test -n "$ac_tool_prefix"; then
4583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4584 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4585 echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4587 if test "${ac_cv_prog_RANLIB+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 if test -n "$RANLIB"; then
4591 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 RANLIB
=$ac_cv_prog_RANLIB
4610 if test -n "$RANLIB"; then
4611 echo "$as_me:$LINENO: result: $RANLIB" >&5
4612 echo "${ECHO_T}$RANLIB" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4619 if test -z "$ac_cv_prog_RANLIB"; then
4620 ac_ct_RANLIB
=$RANLIB
4621 # Extract the first word of "ranlib", so it can be a program name with args.
4622 set dummy ranlib
; ac_word
=$2
4623 echo "$as_me:$LINENO: checking for $ac_word" >&5
4624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 if test -n "$ac_ct_RANLIB"; then
4629 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4648 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4649 if test -n "$ac_ct_RANLIB"; then
4650 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4651 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4657 RANLIB
=$ac_ct_RANLIB
4659 RANLIB
="$ac_cv_prog_RANLIB"
4662 if test -n "$ac_tool_prefix"; then
4663 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4664 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4665 echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4667 if test "${ac_cv_prog_STRIP+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 if test -n "$STRIP"; then
4671 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 STRIP
=$ac_cv_prog_STRIP
4690 if test -n "$STRIP"; then
4691 echo "$as_me:$LINENO: result: $STRIP" >&5
4692 echo "${ECHO_T}$STRIP" >&6
4694 echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6
4699 if test -z "$ac_cv_prog_STRIP"; then
4701 # Extract the first word of "strip", so it can be a program name with args.
4702 set dummy strip
; ac_word
=$2
4703 echo "$as_me:$LINENO: checking for $ac_word" >&5
4704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 if test -n "$ac_ct_STRIP"; then
4709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir
=.
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_ac_ct_STRIP
="strip"
4719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4729 if test -n "$ac_ct_STRIP"; then
4730 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4731 echo "${ECHO_T}$ac_ct_STRIP" >&6
4733 echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6
4739 STRIP
="$ac_cv_prog_STRIP"
4743 # Check for any special flags to pass to ltconfig.
4744 libtool_flags
="--cache-file=$cache_file"
4745 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4746 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4747 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4748 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4749 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4752 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4753 if test "${enable_libtool_lock+set}" = set; then
4754 enableval
="$enable_libtool_lock"
4757 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4758 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4761 # Check whether --with-pic or --without-pic was given.
4762 if test "${with_pic+set}" = set; then
4768 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4769 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4771 # Some flags need to be propagated to the compiler or linker for good
4775 # Find out which ABI we are using.
4776 echo '#line 4776 "configure"' > conftest.
$ac_ext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; then
4782 if test "$lt_cv_prog_gnu_ld" = yes; then
4783 case `/usr/bin/file conftest.$ac_objext` in
4785 LD
="${LD-ld} -melf32bsmip"
4788 LD
="${LD-ld} -melf32bmipn32"
4791 LD
="${LD-ld} -melf64bmip"
4795 case `/usr/bin/file conftest.$ac_objext` in
4812 # Find out which ABI we are using.
4813 echo 'int i;' > conftest.
$ac_ext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4815 (eval $ac_compile) 2>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; then
4819 case "`/usr/bin/file conftest.o`" in
4831 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4832 # Find out which ABI we are using.
4833 echo 'int i;' > conftest.
$ac_ext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; then
4839 case "`/usr/bin/file conftest.o`" in
4843 LD
="${LD-ld} -m elf_i386"
4845 ppc64-
*linux
*|powerpc64-
*linux
*)
4846 LD
="${LD-ld} -m elf32ppclinux"
4849 LD
="${LD-ld} -m elf_s390"
4852 LD
="${LD-ld} -m elf32_sparc"
4859 LD
="${LD-ld} -m elf_x86_64"
4861 ppc
*-*linux
*|powerpc
*-*linux
*)
4862 LD
="${LD-ld} -m elf64ppc"
4865 LD
="${LD-ld} -m elf64_s390"
4868 LD
="${LD-ld} -m elf64_sparc"
4878 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4879 SAVE_CFLAGS
="$CFLAGS"
4880 CFLAGS
="$CFLAGS -belf"
4881 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4882 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4883 if test "${lt_cv_cc_needs_belf+set}" = set; then
4884 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 ac_cpp
='$CPP $CPPFLAGS'
4890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4894 if test x
$gcc_no_link = xyes
; then
4895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4897 { (exit 1); exit 1; }; }
4899 cat >conftest.
$ac_ext <<_ACEOF
4902 cat confdefs.h
>>conftest.
$ac_ext
4903 cat >>conftest.
$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4914 rm -f conftest.
$ac_objext conftest
$ac_exeext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4916 (eval $ac_link) 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try
='test -z "$ac_c_werror_flag"
4924 || test ! -s conftest.err'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try
='test -s conftest$ac_exeext'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 lt_cv_cc_needs_belf
=yes
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.
$ac_ext >&5
4941 lt_cv_cc_needs_belf
=no
4943 rm -f conftest.err conftest.
$ac_objext \
4944 conftest
$ac_exeext conftest.
$ac_ext
4946 ac_cpp
='$CPP $CPPFLAGS'
4947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4952 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4953 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4954 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4955 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4956 CFLAGS
="$SAVE_CFLAGS"
4964 # Save cache, so that ltconfig can load it
4965 cat >confcache
<<\_ACEOF
4966 # This file is a shell script that caches the results of configure
4967 # tests run on this system so they can be shared between configure
4968 # scripts and configure runs, see configure's option --config-cache.
4969 # It is not useful on other systems. If it contains results you don't
4970 # want to keep, you may remove or edit it.
4972 # config.status only pays attention to the cache file if you give it
4973 # the --recheck option to rerun configure.
4975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4981 # The following way of writing the cache mishandles newlines in values,
4982 # but we know of no workaround that is simple, portable, and efficient.
4983 # So, don't put newlines in cache variables' values.
4984 # Ultrix sh set writes to stderr and can't be redirected directly,
4985 # and sets the high bit in the cache file unless we assign to the vars.
4988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4990 # `set' does not quote correctly, so add quotes (double-quote
4991 # substitution turns \\\\ into \\, and sed turns \\ into \).
4994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4997 # `set' quotes correctly as required by POSIX, so do not add quotes.
4999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5010 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5011 if test -w $cache_file; then
5012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5013 cat confcache
>$cache_file
5015 echo "not updating unwritable cache $cache_file"
5020 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5021 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5022 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5023 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5024 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5025 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5026 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5027 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5028 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5029 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5030 echo "$as_me: error: libtool configure failed" >&2;}
5031 { (exit 1); exit 1; }; }
5033 # Reload cache, that may have been modified by ltconfig
5034 if test -r "$cache_file"; then
5035 # Some versions of bash will fail to source /dev/null (special
5036 # files actually), so we avoid doing that.
5037 if test -f "$cache_file"; then
5038 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5039 echo "$as_me: loading cache $cache_file" >&6;}
5041 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5042 *) . .
/$cache_file;;
5046 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5047 echo "$as_me: creating cache $cache_file" >&6;}
5052 # This can be used to rebuild libtool when needed
5053 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5055 # Always use our own libtool.
5056 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5058 # Redirect the config.log output again, so that the ltconfig log is not
5059 # clobbered by the next message.
5060 exec 5>>.
/config.log
5063 ac_cpp
='$CXXCPP $CPPFLAGS'
5064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5067 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5068 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5069 if test -z "$CXXCPP"; then
5070 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 # Double quotes because CXXCPP needs to be expanded
5074 for CXXCPP
in "$CXX -E" "/lib/cpp"
5077 for ac_cxx_preproc_warn_flag
in '' yes
5079 # Use a header file that comes with gcc, so configuring glibc
5080 # with a fresh cross-compiler works.
5081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5082 # <limits.h> exists even on freestanding compilers.
5083 # On the NeXT, cc -E runs the code through the compiler's parser,
5084 # not just through cpp. "Syntax error" is here to catch this case.
5085 cat >conftest.
$ac_ext <<_ACEOF
5088 cat confdefs.h
>>conftest.
$ac_ext
5089 cat >>conftest.
$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5092 # include <limits.h>
5094 # include <assert.h>
5098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } >/dev
/null
; then
5106 if test -s conftest.err
; then
5107 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5108 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5115 if test -z "$ac_cpp_err"; then
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.
$ac_ext >&5
5121 # Broken: fails on valid input.
5124 rm -f conftest.err conftest.
$ac_ext
5126 # OK, works on sane cases. Now check whether non-existent headers
5127 # can be detected and how.
5128 cat >conftest.
$ac_ext <<_ACEOF
5131 cat confdefs.h
>>conftest.
$ac_ext
5132 cat >>conftest.
$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5134 #include <ac_nonexistent.h>
5136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5139 grep -v '^ *+' conftest.er1
>conftest.err
5141 cat conftest.err
>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } >/dev
/null
; then
5144 if test -s conftest.err
; then
5145 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5146 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5153 if test -z "$ac_cpp_err"; then
5154 # Broken: success on invalid input.
5157 echo "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.
$ac_ext >&5
5160 # Passes both tests.
5164 rm -f conftest.err conftest.
$ac_ext
5167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5168 rm -f conftest.err conftest.
$ac_ext
5169 if $ac_preproc_ok; then
5174 ac_cv_prog_CXXCPP
=$CXXCPP
5177 CXXCPP
=$ac_cv_prog_CXXCPP
5179 ac_cv_prog_CXXCPP
=$CXXCPP
5181 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5182 echo "${ECHO_T}$CXXCPP" >&6
5184 for ac_cxx_preproc_warn_flag
in '' yes
5186 # Use a header file that comes with gcc, so configuring glibc
5187 # with a fresh cross-compiler works.
5188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5189 # <limits.h> exists even on freestanding compilers.
5190 # On the NeXT, cc -E runs the code through the compiler's parser,
5191 # not just through cpp. "Syntax error" is here to catch this case.
5192 cat >conftest.
$ac_ext <<_ACEOF
5195 cat confdefs.h
>>conftest.
$ac_ext
5196 cat >>conftest.
$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5199 # include <limits.h>
5201 # include <assert.h>
5205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } >/dev
/null
; then
5213 if test -s conftest.err
; then
5214 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5215 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5222 if test -z "$ac_cpp_err"; then
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.
$ac_ext >&5
5228 # Broken: fails on valid input.
5231 rm -f conftest.err conftest.
$ac_ext
5233 # OK, works on sane cases. Now check whether non-existent headers
5234 # can be detected and how.
5235 cat >conftest.
$ac_ext <<_ACEOF
5238 cat confdefs.h
>>conftest.
$ac_ext
5239 cat >>conftest.
$ac_ext <<_ACEOF
5240 /* end confdefs.h. */
5241 #include <ac_nonexistent.h>
5243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5246 grep -v '^ *+' conftest.er1
>conftest.err
5248 cat conftest.err
>&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); } >/dev
/null
; then
5251 if test -s conftest.err
; then
5252 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5253 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5260 if test -z "$ac_cpp_err"; then
5261 # Broken: success on invalid input.
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.
$ac_ext >&5
5267 # Passes both tests.
5271 rm -f conftest.err conftest.
$ac_ext
5274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5275 rm -f conftest.err conftest.
$ac_ext
5276 if $ac_preproc_ok; then
5279 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5280 See \`config.log' for more details." >&5
5281 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5282 See \`config.log' for more details." >&2;}
5283 { (exit 1); exit 1; }; }
5287 ac_cpp
='$CPP $CPPFLAGS'
5288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5294 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5296 lt_save_CFLAGS
="$CFLAGS"
5297 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5298 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5299 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5300 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5301 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5302 deplibs_check_method
="$deplibs_check_method" \
5303 file_magic_cmd
="$file_magic_cmd" \
5304 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5305 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5306 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5307 echo "$as_me: error: libtool tag configuration failed" >&2;}
5308 { (exit 1); exit 1; }; }
5310 CFLAGS
="$lt_save_CFLAGS"
5312 # Redirect the config.log output again, so that the ltconfig log is not
5313 # clobbered by the next message.
5314 exec 5>>.
/config.log
5323 # Check whether --with-target-subdir or --without-target-subdir was given.
5324 if test "${with_target_subdir+set}" = set; then
5325 withval
="$with_target_subdir"
5329 # Check whether --with-cross-host or --without-cross-host was given.
5330 if test "${with_cross_host+set}" = set; then
5331 withval
="$with_cross_host"
5335 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
5336 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
5337 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
5338 if test -z "$THREADS"; then
5341 echo "$as_me:$LINENO: result: $THREADS" >&5
5342 echo "${ECHO_T}$THREADS" >&6
5344 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
5345 if test "${enable_parallel_mark+set}" = set; then
5346 enableval
="$enable_parallel_mark"
5349 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
5350 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
5351 { (exit 1); exit 1; }; }
5357 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
5363 posix | posix95 | pthreads
)
5365 THREADLIBS
=-lpthread
5367 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
5369 cat >>confdefs.h
<<\_ACEOF
5370 #define GC_LINUX_THREADS 1
5374 cat >>confdefs.h
<<\_ACEOF
5375 #define _REENTRANT 1
5378 if test "${enable_parallel_mark}" = yes; then
5380 cat >>confdefs.h
<<\_ACEOF
5381 #define PARALLEL_MARK 1
5386 cat >>confdefs.h
<<\_ACEOF
5387 #define THREAD_LOCAL_ALLOC 1
5392 cat >>confdefs.h
<<\_ACEOF
5393 #define GC_LINUX_THREADS 1
5396 cat >>confdefs.h
<<\_ACEOF
5397 #define _REENTRANT 1
5403 cat >>confdefs.h
<<\_ACEOF
5404 #define GC_AIX_THREADS 1
5407 cat >>confdefs.h
<<\_ACEOF
5408 #define _REENTRANT 1
5413 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
5414 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
5416 cat >>confdefs.h
<<\_ACEOF
5417 #define GC_HPUX_THREADS 1
5421 cat >>confdefs.h
<<\_ACEOF
5422 #define _POSIX_C_SOURCE 199506L
5425 if test "${enable_parallel_mark}" = yes; then
5426 cat >>confdefs.h
<<\_ACEOF
5427 #define PARALLEL_MARK 1
5431 cat >>confdefs.h
<<\_ACEOF
5432 #define THREAD_LOCAL_ALLOC 1
5435 THREADLIBS
="-lpthread -lrt"
5436 # HPUX needs REENTRANT for the _r calls.
5438 cat >>confdefs.h
<<\_ACEOF
5439 #define _REENTRANT 1
5444 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
5445 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
5448 cat >>confdefs.h
<<\_ACEOF
5449 #define GC_FREEBSD_THREADS 1
5452 INCLUDES
="$INCLUDES -pthread"
5453 THREADDLLIBS
=-pthread
5454 cat >>confdefs.h
<<\_ACEOF
5455 #define _REENTRANT 1
5458 if test "${enable_parallel_mark}" = yes; then
5459 cat >>confdefs.h
<<\_ACEOF
5460 #define PARALLEL_MARK 1
5464 cat >>confdefs.h
<<\_ACEOF
5465 #define THREAD_LOCAL_ALLOC 1
5469 cat >>confdefs.h
<<\_ACEOF
5470 #define USE_COMPILER_TLS 1
5475 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
5476 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
5478 cat >>confdefs.h
<<\_ACEOF
5479 #define GC_FREEBSD_THREADS 1
5482 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
5487 cat >>confdefs.h
<<\_ACEOF
5488 #define GC_SOLARIS_THREADS 1
5492 cat >>confdefs.h
<<\_ACEOF
5493 #define GC_SOLARIS_PTHREADS 1
5499 cat >>confdefs.h
<<\_ACEOF
5500 #define GC_IRIX_THREADS 1
5506 cat >>confdefs.h
<<\_ACEOF
5507 #define GC_WIN32_THREADS 1
5513 cat >>confdefs.h
<<\_ACEOF
5514 #define GC_DARWIN_THREADS 1
5517 cat >>confdefs.h
<<\_ACEOF
5518 #define THREAD_LOCAL_ALLOC 1
5521 if test "${enable_parallel_mark}" = yes; then
5522 cat >>confdefs.h
<<\_ACEOF
5523 #define PARALLEL_MARK 1
5530 cat >>confdefs.h
<<\_ACEOF
5531 #define GC_OSF1_THREADS 1
5534 if test "${enable_parallel_mark}" = yes; then
5535 cat >>confdefs.h
<<\_ACEOF
5536 #define PARALLEL_MARK 1
5539 cat >>confdefs.h
<<\_ACEOF
5540 #define THREAD_LOCAL_ALLOC 1
5543 # May want to enable it in other cases, too.
5544 # Measurements havent yet been done.
5546 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
5547 THREADLIBS
="-lpthread -lrt"
5552 cat >>confdefs.h
<<\_ACEOF
5553 #define GC_WIN32_THREADS 1
5559 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
5560 echo "${ECHO_T}$THREADLIBS" >&6
5561 # Use pthread GCC switch
5563 if test "${enable_parallel_mark}" = yes; then
5564 cat >>confdefs.h
<<\_ACEOF
5565 #define PARALLEL_MARK 1
5569 cat >>confdefs.h
<<\_ACEOF
5570 #define THREAD_LOCAL_ALLOC 1
5574 cat >>confdefs.h
<<\_ACEOF
5575 #define GC_DGUX386_THREADS 1
5579 cat >>confdefs.h
<<\_ACEOF
5580 #define DGUX_THREADS 1
5583 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
5584 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
5588 THREADLIBS
=-lpthread
5589 cat >>confdefs.h
<<\_ACEOF
5590 #define GC_AIX_THREADS 1
5593 cat >>confdefs.h
<<\_ACEOF
5594 #define _REENTRANT 1
5598 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
5599 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
5600 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
5601 { (exit 1); exit 1; }; }
5604 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
5605 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
5606 { (exit 1); exit 1; }; }
5618 if test x
$powerpc_darwin = xtrue
; then
5619 POWERPC_DARWIN_TRUE
=
5620 POWERPC_DARWIN_FALSE
='#'
5622 POWERPC_DARWIN_TRUE
='#'
5623 POWERPC_DARWIN_FALSE
=
5627 # Darwin needs a few extra special tests to deal with variation in the
5631 echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
5632 echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6
5633 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 cat >conftest.
$ac_ext <<_ACEOF
5639 cat confdefs.h
>>conftest.
$ac_ext
5640 cat >>conftest.
$ac_ext <<_ACEOF
5641 /* end confdefs.h. */
5642 #include <mach/thread_status.h>
5647 static ppc_thread_state_t ac_aggr;
5654 rm -f conftest.
$ac_objext
5655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5656 (eval $ac_compile) 2>conftest.er1
5658 grep -v '^ *+' conftest.er1
>conftest.err
5660 cat conftest.err
>&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); } &&
5663 { ac_try
='test -z "$ac_c_werror_flag"
5664 || test ! -s conftest.err'
5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); }; } &&
5670 { ac_try
='test -s conftest.$ac_objext'
5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; }; then
5676 ac_cv_member_ppc_thread_state_t_r0
=yes
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.
$ac_ext >&5
5681 cat >conftest.
$ac_ext <<_ACEOF
5684 cat confdefs.h
>>conftest.
$ac_ext
5685 cat >>conftest.
$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 #include <mach/thread_status.h>
5692 static ppc_thread_state_t ac_aggr;
5693 if (sizeof ac_aggr.r0)
5699 rm -f conftest.
$ac_objext
5700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5701 (eval $ac_compile) 2>conftest.er1
5703 grep -v '^ *+' conftest.er1
>conftest.err
5705 cat conftest.err
>&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } &&
5708 { ac_try
='test -z "$ac_c_werror_flag"
5709 || test ! -s conftest.err'
5710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }; } &&
5715 { ac_try
='test -s conftest.$ac_objext'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; }; then
5721 ac_cv_member_ppc_thread_state_t_r0
=yes
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.
$ac_ext >&5
5726 ac_cv_member_ppc_thread_state_t_r0
=no
5728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5732 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
5733 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6
5734 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
5736 cat >>confdefs.h
<<\_ACEOF
5737 #define HAS_PPC_THREAD_STATE_R0 1
5742 echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
5743 echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6
5744 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
5745 echo $ECHO_N "(cached) $ECHO_C" >&6
5747 cat >conftest.
$ac_ext <<_ACEOF
5750 cat confdefs.h
>>conftest.
$ac_ext
5751 cat >>conftest.
$ac_ext <<_ACEOF
5752 /* end confdefs.h. */
5753 #include <mach/thread_status.h>
5758 static ppc_thread_state_t ac_aggr;
5765 rm -f conftest.
$ac_objext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767 (eval $ac_compile) 2>conftest.er1
5769 grep -v '^ *+' conftest.er1
>conftest.err
5771 cat conftest.err
>&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } &&
5774 { ac_try
='test -z "$ac_c_werror_flag"
5775 || test ! -s conftest.err'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; } &&
5781 { ac_try
='test -s conftest.$ac_objext'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; }; then
5787 ac_cv_member_ppc_thread_state_t___r0
=yes
5789 echo "$as_me: failed program was:" >&5
5790 sed 's/^/| /' conftest.
$ac_ext >&5
5792 cat >conftest.
$ac_ext <<_ACEOF
5795 cat confdefs.h
>>conftest.
$ac_ext
5796 cat >>conftest.
$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5798 #include <mach/thread_status.h>
5803 static ppc_thread_state_t ac_aggr;
5804 if (sizeof ac_aggr.__r0)
5810 rm -f conftest.
$ac_objext
5811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5812 (eval $ac_compile) 2>conftest.er1
5814 grep -v '^ *+' conftest.er1
>conftest.err
5816 cat conftest.err
>&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); } &&
5819 { ac_try
='test -z "$ac_c_werror_flag"
5820 || test ! -s conftest.err'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; } &&
5826 { ac_try
='test -s conftest.$ac_objext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_cv_member_ppc_thread_state_t___r0
=yes
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.
$ac_ext >&5
5837 ac_cv_member_ppc_thread_state_t___r0
=no
5839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5843 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
5844 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6
5845 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
5847 cat >>confdefs.h
<<\_ACEOF
5848 #define HAS_PPC_THREAD_STATE___R0 1
5853 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
5854 echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6
5855 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 cat >conftest.
$ac_ext <<_ACEOF
5861 cat confdefs.h
>>conftest.
$ac_ext
5862 cat >>conftest.
$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5864 #include <mach/thread_status.h>
5869 static ppc_thread_state64_t ac_aggr;
5876 rm -f conftest.
$ac_objext
5877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5878 (eval $ac_compile) 2>conftest.er1
5880 grep -v '^ *+' conftest.er1
>conftest.err
5882 cat conftest.err
>&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } &&
5885 { ac_try
='test -z "$ac_c_werror_flag"
5886 || test ! -s conftest.err'
5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; } &&
5892 { ac_try
='test -s conftest.$ac_objext'
5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; }; then
5898 ac_cv_member_ppc_thread_state64_t_r0
=yes
5900 echo "$as_me: failed program was:" >&5
5901 sed 's/^/| /' conftest.
$ac_ext >&5
5903 cat >conftest.
$ac_ext <<_ACEOF
5906 cat confdefs.h
>>conftest.
$ac_ext
5907 cat >>conftest.
$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5909 #include <mach/thread_status.h>
5914 static ppc_thread_state64_t ac_aggr;
5915 if (sizeof ac_aggr.r0)
5921 rm -f conftest.
$ac_objext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5923 (eval $ac_compile) 2>conftest.er1
5925 grep -v '^ *+' conftest.er1
>conftest.err
5927 cat conftest.err
>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try
='test -z "$ac_c_werror_flag"
5931 || test ! -s conftest.err'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; } &&
5937 { ac_try
='test -s conftest.$ac_objext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_cv_member_ppc_thread_state64_t_r0
=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.
$ac_ext >&5
5948 ac_cv_member_ppc_thread_state64_t_r0
=no
5950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5954 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
5955 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6
5956 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
5958 cat >>confdefs.h
<<\_ACEOF
5959 #define HAS_PPC_THREAD_STATE64_R0 1
5964 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
5965 echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6
5966 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5969 cat >conftest.
$ac_ext <<_ACEOF
5972 cat confdefs.h
>>conftest.
$ac_ext
5973 cat >>conftest.
$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 #include <mach/thread_status.h>
5980 static ppc_thread_state64_t ac_aggr;
5987 rm -f conftest.
$ac_objext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5989 (eval $ac_compile) 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try
='test -z "$ac_c_werror_flag"
5997 || test ! -s conftest.err'
5998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; } &&
6003 { ac_try
='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_cv_member_ppc_thread_state64_t___r0
=yes
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6014 cat >conftest.
$ac_ext <<_ACEOF
6017 cat confdefs.h
>>conftest.
$ac_ext
6018 cat >>conftest.
$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6020 #include <mach/thread_status.h>
6025 static ppc_thread_state64_t ac_aggr;
6026 if (sizeof ac_aggr.__r0)
6032 rm -f conftest.
$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>conftest.er1
6036 grep -v '^ *+' conftest.er1
>conftest.err
6038 cat conftest.err
>&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } &&
6041 { ac_try
='test -z "$ac_c_werror_flag"
6042 || test ! -s conftest.err'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; } &&
6048 { ac_try
='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_cv_member_ppc_thread_state64_t___r0
=yes
6056 echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.
$ac_ext >&5
6059 ac_cv_member_ppc_thread_state64_t___r0
=no
6061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
6066 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6
6067 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
6069 cat >>confdefs.h
<<\_ACEOF
6070 #define HAS_PPC_THREAD_STATE64___R0 1
6077 echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
6078 echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6
6079 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 cat >conftest.
$ac_ext <<_ACEOF
6085 cat confdefs.h
>>conftest.
$ac_ext
6086 cat >>conftest.
$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6088 #include <sys/cdefs.h>
6089 #include <mach/thread_status.h>
6094 static x86_thread_state32_t ac_aggr;
6101 rm -f conftest.
$ac_objext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103 (eval $ac_compile) 2>conftest.er1
6105 grep -v '^ *+' conftest.er1
>conftest.err
6107 cat conftest.err
>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } &&
6110 { ac_try
='test -z "$ac_c_werror_flag"
6111 || test ! -s conftest.err'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; } &&
6117 { ac_try
='test -s conftest.$ac_objext'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6123 ac_cv_member_x86_thread_state32_t_eax
=yes
6125 echo "$as_me: failed program was:" >&5
6126 sed 's/^/| /' conftest.
$ac_ext >&5
6128 cat >conftest.
$ac_ext <<_ACEOF
6131 cat confdefs.h
>>conftest.
$ac_ext
6132 cat >>conftest.
$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6134 #include <sys/cdefs.h>
6135 #include <mach/thread_status.h>
6140 static x86_thread_state32_t ac_aggr;
6141 if (sizeof ac_aggr.eax)
6147 rm -f conftest.
$ac_objext
6148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6149 (eval $ac_compile) 2>conftest.er1
6151 grep -v '^ *+' conftest.er1
>conftest.err
6153 cat conftest.err
>&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } &&
6156 { ac_try
='test -z "$ac_c_werror_flag"
6157 || test ! -s conftest.err'
6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; } &&
6163 { ac_try
='test -s conftest.$ac_objext'
6164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); }; }; then
6169 ac_cv_member_x86_thread_state32_t_eax
=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.
$ac_ext >&5
6174 ac_cv_member_x86_thread_state32_t_eax
=no
6176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6180 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
6181 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6
6182 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
6184 cat >>confdefs.h
<<\_ACEOF
6185 #define HAS_X86_THREAD_STATE32_EAX 1
6190 echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
6191 echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6
6192 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 #include <sys/cdefs.h>
6202 #include <mach/thread_status.h>
6207 static x86_thread_state32_t ac_aggr;
6214 rm -f conftest.
$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216 (eval $ac_compile) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try
='test -z "$ac_c_werror_flag"
6224 || test ! -s conftest.err'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; } &&
6230 { ac_try
='test -s conftest.$ac_objext'
6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); }; }; then
6236 ac_cv_member_x86_thread_state32_t___eax
=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.
$ac_ext >&5
6241 cat >conftest.
$ac_ext <<_ACEOF
6244 cat confdefs.h
>>conftest.
$ac_ext
6245 cat >>conftest.
$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 #include <sys/cdefs.h>
6248 #include <mach/thread_status.h>
6253 static x86_thread_state32_t ac_aggr;
6254 if (sizeof ac_aggr.__eax)
6260 rm -f conftest.
$ac_objext
6261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6262 (eval $ac_compile) 2>conftest.er1
6264 grep -v '^ *+' conftest.er1
>conftest.err
6266 cat conftest.err
>&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); } &&
6269 { ac_try
='test -z "$ac_c_werror_flag"
6270 || test ! -s conftest.err'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; } &&
6276 { ac_try
='test -s conftest.$ac_objext'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; }; then
6282 ac_cv_member_x86_thread_state32_t___eax
=yes
6284 echo "$as_me: failed program was:" >&5
6285 sed 's/^/| /' conftest.
$ac_ext >&5
6287 ac_cv_member_x86_thread_state32_t___eax
=no
6289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6293 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
6294 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6
6295 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
6297 cat >>confdefs.h
<<\_ACEOF
6298 #define HAS_X86_THREAD_STATE32___EAX 1
6305 echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
6306 echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6
6307 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 cat >conftest.
$ac_ext <<_ACEOF
6313 cat confdefs.h
>>conftest.
$ac_ext
6314 cat >>conftest.
$ac_ext <<_ACEOF
6315 /* end confdefs.h. */
6316 #include <sys/cdefs.h>
6317 #include <mach/thread_status.h>
6322 static x86_thread_state64_t ac_aggr;
6329 rm -f conftest.
$ac_objext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6331 (eval $ac_compile) 2>conftest.er1
6333 grep -v '^ *+' conftest.er1
>conftest.err
6335 cat conftest.err
>&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try
='test -z "$ac_c_werror_flag"
6339 || test ! -s conftest.err'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; } &&
6345 { ac_try
='test -s conftest.$ac_objext'
6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; }; then
6351 ac_cv_member_x86_thread_state64_t_rax
=yes
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.
$ac_ext >&5
6356 cat >conftest.
$ac_ext <<_ACEOF
6359 cat confdefs.h
>>conftest.
$ac_ext
6360 cat >>conftest.
$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 #include <sys/cdefs.h>
6363 #include <mach/thread_status.h>
6368 static x86_thread_state64_t ac_aggr;
6369 if (sizeof ac_aggr.rax)
6375 rm -f conftest.
$ac_objext
6376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6377 (eval $ac_compile) 2>conftest.er1
6379 grep -v '^ *+' conftest.er1
>conftest.err
6381 cat conftest.err
>&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } &&
6384 { ac_try
='test -z "$ac_c_werror_flag"
6385 || test ! -s conftest.err'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; } &&
6391 { ac_try
='test -s conftest.$ac_objext'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6397 ac_cv_member_x86_thread_state64_t_rax
=yes
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.
$ac_ext >&5
6402 ac_cv_member_x86_thread_state64_t_rax
=no
6404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6408 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
6409 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6
6410 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
6412 cat >>confdefs.h
<<\_ACEOF
6413 #define HAS_X86_THREAD_STATE64_RAX 1
6418 echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
6419 echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6
6420 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 cat >conftest.
$ac_ext <<_ACEOF
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6429 #include <sys/cdefs.h>
6430 #include <mach/thread_status.h>
6435 static x86_thread_state64_t ac_aggr;
6442 rm -f conftest.
$ac_objext
6443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6444 (eval $ac_compile) 2>conftest.er1
6446 grep -v '^ *+' conftest.er1
>conftest.err
6448 cat conftest.err
>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } &&
6451 { ac_try
='test -z "$ac_c_werror_flag"
6452 || test ! -s conftest.err'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; } &&
6458 { ac_try
='test -s conftest.$ac_objext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then
6464 ac_cv_member_x86_thread_state64_t___rax
=yes
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.
$ac_ext >&5
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 #include <sys/cdefs.h>
6476 #include <mach/thread_status.h>
6481 static x86_thread_state64_t ac_aggr;
6482 if (sizeof ac_aggr.__rax)
6488 rm -f conftest.
$ac_objext
6489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6490 (eval $ac_compile) 2>conftest.er1
6492 grep -v '^ *+' conftest.er1
>conftest.err
6494 cat conftest.err
>&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } &&
6497 { ac_try
='test -z "$ac_c_werror_flag"
6498 || test ! -s conftest.err'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; } &&
6504 { ac_try
='test -s conftest.$ac_objext'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; }; then
6510 ac_cv_member_x86_thread_state64_t___rax
=yes
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.
$ac_ext >&5
6515 ac_cv_member_x86_thread_state64_t___rax
=no
6517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6521 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
6522 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6
6523 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
6525 cat >>confdefs.h
<<\_ACEOF
6526 #define HAS_X86_THREAD_STATE64___RAX 1
6535 # We never want libdl on darwin. It is a fake libdl that just ends up making
6540 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6541 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6542 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 ac_check_lib_save_LIBS
=$LIBS
6547 if test x
$gcc_no_link = xyes
; then
6548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6550 { (exit 1); exit 1; }; }
6552 cat >conftest.
$ac_ext <<_ACEOF
6555 cat confdefs.h
>>conftest.
$ac_ext
6556 cat >>conftest.
$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 /* Override any gcc2 internal prototype to avoid an error. */
6563 /* We use char because int might match the return type of a gcc2
6564 builtin and then its argument prototype would still apply. */
6574 rm -f conftest.
$ac_objext conftest
$ac_exeext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6576 (eval $ac_link) 2>conftest.er1
6578 grep -v '^ *+' conftest.er1
>conftest.err
6580 cat conftest.err
>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try
='test -z "$ac_c_werror_flag"
6584 || test ! -s conftest.err'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try
='test -s conftest$ac_exeext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_lib_dl_dlopen
=yes
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.
$ac_ext >&5
6601 ac_cv_lib_dl_dlopen
=no
6603 rm -f conftest.err conftest.
$ac_objext \
6604 conftest
$ac_exeext conftest.
$ac_ext
6605 LIBS
=$ac_check_lib_save_LIBS
6607 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6608 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6609 if test $ac_cv_lib_dl_dlopen = yes; then
6610 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
6618 target_all
=libgcjgc.la
6623 # Check whether --with-ecos or --without-ecos was given.
6624 if test "${with_ecos+set}" = set; then
6625 withval
="$with_ecos"
6626 TARGET_ECOS
="$with_ecos"
6634 case "$TARGET_ECOS" in
6639 cat >>confdefs.h
<<\_ACEOF
6643 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
6644 addobjs
="$addobjs ecos.lo"
6648 if test "${enable_cplusplus}" = yes; then
6649 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
6650 addtests
="$addtests test_cpp"
6655 if test "${enable_cplusplus}" = yes; then
6668 # Configuration of shared libraries
6670 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6671 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6672 # Check whether --enable-shared or --disable-shared was given.
6673 if test "${enable_shared+set}" = set; then
6674 enableval
="$enable_shared"
6675 p
=${PACKAGE-default}
6677 yes) enable_shared
=yes ;;
6678 no
) enable_shared
=no
;;
6681 # Look at the argument we got. We use all the common list separators.
6682 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
6683 for pkg
in $enableval; do
6684 if test "X$pkg" = "X$p"; then
6698 echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6
6702 echo "$as_me:$LINENO: result: yes" >&5
6703 echo "${ECHO_T}yes" >&6
6707 # Checks for pthreads functions
6710 LIBS
="$LIBS $THREADLIBS"
6712 for ac_func
in pthread_getattr_np
6714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6715 echo "$as_me:$LINENO: checking for $ac_func" >&5
6716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6717 if eval "test \"\${$as_ac_var+set}\" = set"; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 if test x
$gcc_no_link = xyes
; then
6721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6723 { (exit 1); exit 1; }; }
6725 cat >conftest.
$ac_ext <<_ACEOF
6728 cat confdefs.h
>>conftest.
$ac_ext
6729 cat >>conftest.
$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6733 #define $ac_func innocuous_$ac_func
6735 /* System header to define __stub macros and hopefully few prototypes,
6736 which can conflict with char $ac_func (); below.
6737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6738 <limits.h> exists even on freestanding compilers. */
6741 # include <limits.h>
6743 # include <assert.h>
6748 /* Override any gcc2 internal prototype to avoid an error. */
6753 /* We use char because int might match the return type of a gcc2
6754 builtin and then its argument prototype would still apply. */
6756 /* The GNU C library defines this for functions which it implements
6757 to always fail with ENOSYS. Some functions are actually named
6758 something starting with __ and the normal name is an alias. */
6759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6762 char (*f) () = $ac_func;
6771 return f != $ac_func;
6776 rm -f conftest.
$ac_objext conftest
$ac_exeext
6777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6778 (eval $ac_link) 2>conftest.er1
6780 grep -v '^ *+' conftest.er1
>conftest.err
6782 cat conftest.err
>&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } &&
6785 { ac_try
='test -z "$ac_c_werror_flag"
6786 || test ! -s conftest.err'
6787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); }; } &&
6792 { ac_try
='test -s conftest$ac_exeext'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; }; then
6798 eval "$as_ac_var=yes"
6800 echo "$as_me: failed program was:" >&5
6801 sed 's/^/| /' conftest.
$ac_ext >&5
6803 eval "$as_ac_var=no"
6805 rm -f conftest.err conftest.
$ac_objext \
6806 conftest
$ac_exeext conftest.
$ac_ext
6808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6810 if test `eval echo '${'$as_ac_var'}'` = yes; then
6811 cat >>confdefs.h
<<_ACEOF
6812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6820 # Configuration of machine-dependent code
6822 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
6823 # anything else that creates trampolines in gc-allocated memory)
6824 # always needs exec permission. The exceptions to this are IA-64 and
6825 # some variations of Power PC, where trampolines don't contain
6828 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
6829 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
6833 machdep
="alpha_mach_dep.lo"
6834 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
6835 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
6836 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
6840 machdep
="alpha_mach_dep.lo"
6842 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
6844 cat >>confdefs.h
<<\_ACEOF
6845 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
6850 machdep
="mips_ultrix_mach_dep.lo"
6852 cat >>confdefs.h
<<\_ACEOF
6853 #define STACKBASE __stackbase
6857 cat >>confdefs.h
<<\_ACEOF
6858 #define DATASTART_IS_ETEXT 1
6863 machdep
="mips_ultrix_mach-dep.lo"
6865 mips-nec-sysv
*|mips-unknown-sysv
*)
6870 machdep
="mips_sgi_mach_dep.lo"
6873 machdep
="sparc_netbsd_mach_dep.lo"
6875 sparc-sun-solaris2.3
)
6876 machdep
="sparc_mach_dep.lo"
6878 cat >>confdefs.h
<<\_ACEOF
6879 #define SUNOS53_SHARED_LIB 1
6883 sparc
*-sun-solaris2.
*)
6884 machdep
="sparc_mach_dep.lo"
6888 cat >>confdefs.h
<<\_ACEOF
6889 #define NO_EXECUTE_PERMISSION 1
6892 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
6895 if test x
"$machdep" = x
; then
6896 echo "$as_me:$LINENO: result: $machdep" >&5
6897 echo "${ECHO_T}$machdep" >&6
6898 machdep
="mach_dep.lo"
6900 addobjs
="$addobjs $machdep"
6907 # Check for AViiON Machines running DGUX
6909 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
6910 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
6913 ac_cpp
='$CPP $CPPFLAGS'
6914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6917 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6918 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6919 # On Suns, sometimes $CPP names a directory.
6920 if test -n "$CPP" && test -d "$CPP"; then
6923 if test -z "$CPP"; then
6924 if test "${ac_cv_prog_CPP+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 # Double quotes because CPP needs to be expanded
6928 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6931 for ac_c_preproc_warn_flag
in '' yes
6933 # Use a header file that comes with gcc, so configuring glibc
6934 # with a fresh cross-compiler works.
6935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6936 # <limits.h> exists even on freestanding compilers.
6937 # On the NeXT, cc -E runs the code through the compiler's parser,
6938 # not just through cpp. "Syntax error" is here to catch this case.
6939 cat >conftest.
$ac_ext <<_ACEOF
6942 cat confdefs.h
>>conftest.
$ac_ext
6943 cat >>conftest.
$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6946 # include <limits.h>
6948 # include <assert.h>
6952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6955 grep -v '^ *+' conftest.er1
>conftest.err
6957 cat conftest.err
>&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } >/dev
/null
; then
6960 if test -s conftest.err
; then
6961 ac_cpp_err
=$ac_c_preproc_warn_flag
6962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6969 if test -z "$ac_cpp_err"; then
6972 echo "$as_me: failed program was:" >&5
6973 sed 's/^/| /' conftest.
$ac_ext >&5
6975 # Broken: fails on valid input.
6978 rm -f conftest.err conftest.
$ac_ext
6980 # OK, works on sane cases. Now check whether non-existent headers
6981 # can be detected and how.
6982 cat >conftest.
$ac_ext <<_ACEOF
6985 cat confdefs.h
>>conftest.
$ac_ext
6986 cat >>conftest.
$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 #include <ac_nonexistent.h>
6990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6993 grep -v '^ *+' conftest.er1
>conftest.err
6995 cat conftest.err
>&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } >/dev
/null
; then
6998 if test -s conftest.err
; then
6999 ac_cpp_err
=$ac_c_preproc_warn_flag
7000 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7007 if test -z "$ac_cpp_err"; then
7008 # Broken: success on invalid input.
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.
$ac_ext >&5
7014 # Passes both tests.
7018 rm -f conftest.err conftest.
$ac_ext
7021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7022 rm -f conftest.err conftest.
$ac_ext
7023 if $ac_preproc_ok; then
7035 echo "$as_me:$LINENO: result: $CPP" >&5
7036 echo "${ECHO_T}$CPP" >&6
7038 for ac_c_preproc_warn_flag
in '' yes
7040 # Use a header file that comes with gcc, so configuring glibc
7041 # with a fresh cross-compiler works.
7042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7043 # <limits.h> exists even on freestanding compilers.
7044 # On the NeXT, cc -E runs the code through the compiler's parser,
7045 # not just through cpp. "Syntax error" is here to catch this case.
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7053 # include <limits.h>
7055 # include <assert.h>
7059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7062 grep -v '^ *+' conftest.er1
>conftest.err
7064 cat conftest.err
>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } >/dev
/null
; then
7067 if test -s conftest.err
; then
7068 ac_cpp_err
=$ac_c_preproc_warn_flag
7069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7076 if test -z "$ac_cpp_err"; then
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 # Broken: fails on valid input.
7085 rm -f conftest.err conftest.
$ac_ext
7087 # OK, works on sane cases. Now check whether non-existent headers
7088 # can be detected and how.
7089 cat >conftest.
$ac_ext <<_ACEOF
7092 cat confdefs.h
>>conftest.
$ac_ext
7093 cat >>conftest.
$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7095 #include <ac_nonexistent.h>
7097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7100 grep -v '^ *+' conftest.er1
>conftest.err
7102 cat conftest.err
>&5
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); } >/dev
/null
; then
7105 if test -s conftest.err
; then
7106 ac_cpp_err
=$ac_c_preproc_warn_flag
7107 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7114 if test -z "$ac_cpp_err"; then
7115 # Broken: success on invalid input.
7118 echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.
$ac_ext >&5
7121 # Passes both tests.
7125 rm -f conftest.err conftest.
$ac_ext
7128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7129 rm -f conftest.err conftest.
$ac_ext
7130 if $ac_preproc_ok; then
7133 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7134 See \`config.log' for more details." >&5
7135 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7136 See \`config.log' for more details." >&2;}
7137 { (exit 1); exit 1; }; }
7141 ac_cpp
='$CPP $CPPFLAGS'
7142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7147 echo "$as_me:$LINENO: checking for egrep" >&5
7148 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7149 if test "${ac_cv_prog_egrep+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7153 then ac_cv_prog_egrep
='grep -E'
7154 else ac_cv_prog_egrep
='egrep'
7157 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7158 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7159 EGREP
=$ac_cv_prog_egrep
7162 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7163 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7164 if test "${ac_cv_header_stdc+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 cat >conftest.
$ac_ext <<_ACEOF
7170 cat confdefs.h
>>conftest.
$ac_ext
7171 cat >>conftest.
$ac_ext <<_ACEOF
7172 /* end confdefs.h. */
7186 rm -f conftest.
$ac_objext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7188 (eval $ac_compile) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try
='test -z "$ac_c_werror_flag"
7196 || test ! -s conftest.err'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; } &&
7202 { ac_try
='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 ac_cv_header_stdc
=yes
7210 echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.
$ac_ext >&5
7213 ac_cv_header_stdc
=no
7215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7217 if test $ac_cv_header_stdc = yes; then
7218 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7219 cat >conftest.
$ac_ext <<_ACEOF
7222 cat confdefs.h
>>conftest.
$ac_ext
7223 cat >>conftest.
$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7229 $EGREP "memchr" >/dev
/null
2>&1; then
7232 ac_cv_header_stdc
=no
7238 if test $ac_cv_header_stdc = yes; then
7239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7240 cat >conftest.
$ac_ext <<_ACEOF
7243 cat confdefs.h
>>conftest.
$ac_ext
7244 cat >>conftest.
$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "free" >/dev
/null
2>&1; then
7253 ac_cv_header_stdc
=no
7259 if test $ac_cv_header_stdc = yes; then
7260 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7261 if test "$cross_compiling" = yes; then
7264 cat >conftest.
$ac_ext <<_ACEOF
7267 cat confdefs.h
>>conftest.
$ac_ext
7268 cat >>conftest.
$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7271 #if ((' ' & 0x0FF) == 0x020)
7272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7275 # define ISLOWER(c) \
7276 (('a' <= (c) && (c) <= 'i') \
7277 || ('j' <= (c) && (c) <= 'r') \
7278 || ('s' <= (c) && (c) <= 'z'))
7279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7287 for (i = 0; i < 256; i++)
7288 if (XOR (islower (i), ISLOWER (i))
7289 || toupper (i) != TOUPPER (i))
7294 rm -f conftest
$ac_exeext
7295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7296 (eval $ac_link) 2>&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7307 echo "$as_me: program exited with status $ac_status" >&5
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.
$ac_ext >&5
7312 ac_cv_header_stdc
=no
7314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7318 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7319 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7320 if test $ac_cv_header_stdc = yes; then
7322 cat >>confdefs.h
<<\_ACEOF
7323 #define STDC_HEADERS 1
7328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7338 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7339 inttypes.h stdint.h unistd.h
7341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7342 echo "$as_me:$LINENO: checking for $ac_header" >&5
7343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7345 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 cat >conftest.
$ac_ext <<_ACEOF
7350 cat confdefs.h
>>conftest.
$ac_ext
7351 cat >>conftest.
$ac_ext <<_ACEOF
7352 /* end confdefs.h. */
7353 $ac_includes_default
7355 #include <$ac_header>
7357 rm -f conftest.
$ac_objext
7358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7359 (eval $ac_compile) 2>conftest.er1
7361 grep -v '^ *+' conftest.er1
>conftest.err
7363 cat conftest.err
>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } &&
7366 { ac_try
='test -z "$ac_c_werror_flag"
7367 || test ! -s conftest.err'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; } &&
7373 { ac_try
='test -s conftest.$ac_objext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 eval "$as_ac_Header=yes"
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.
$ac_ext >&5
7384 eval "$as_ac_Header=no"
7386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7391 cat >>confdefs.h
<<_ACEOF
7392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7400 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
7401 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
7402 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
7403 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
7407 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
7409 # Is the header compilable?
7410 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
7411 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
7412 cat >conftest.
$ac_ext <<_ACEOF
7415 cat confdefs.h
>>conftest.
$ac_ext
7416 cat >>conftest.
$ac_ext <<_ACEOF
7417 /* end confdefs.h. */
7418 $ac_includes_default
7419 #include <sys/dg_sys_info.h>
7421 rm -f conftest.
$ac_objext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7423 (eval $ac_compile) 2>conftest.er1
7425 grep -v '^ *+' conftest.er1
>conftest.err
7427 cat conftest.err
>&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } &&
7430 { ac_try
='test -z "$ac_c_werror_flag"
7431 || test ! -s conftest.err'
7432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); }; } &&
7437 { ac_try
='test -s conftest.$ac_objext'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; }; then
7443 ac_header_compiler
=yes
7445 echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.
$ac_ext >&5
7448 ac_header_compiler
=no
7450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7452 echo "${ECHO_T}$ac_header_compiler" >&6
7454 # Is the header present?
7455 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
7456 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
7457 cat >conftest.
$ac_ext <<_ACEOF
7460 cat confdefs.h
>>conftest.
$ac_ext
7461 cat >>conftest.
$ac_ext <<_ACEOF
7462 /* end confdefs.h. */
7463 #include <sys/dg_sys_info.h>
7465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7468 grep -v '^ *+' conftest.er1
>conftest.err
7470 cat conftest.err
>&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } >/dev
/null
; then
7473 if test -s conftest.err
; then
7474 ac_cpp_err
=$ac_c_preproc_warn_flag
7475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7482 if test -z "$ac_cpp_err"; then
7483 ac_header_preproc
=yes
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.
$ac_ext >&5
7488 ac_header_preproc
=no
7490 rm -f conftest.err conftest.
$ac_ext
7491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7492 echo "${ECHO_T}$ac_header_preproc" >&6
7494 # So? What about this header?
7495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7497 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
7498 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7499 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
7500 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
7501 ac_header_preproc
=yes
7504 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
7505 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
7506 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
7507 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
7508 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
7509 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
7510 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
7511 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
7512 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
7513 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
7514 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
7515 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
7518 ## ------------------------------------------ ##
7519 ## Report this to the AC_PACKAGE_NAME lists. ##
7520 ## ------------------------------------------ ##
7523 sed "s/^/$as_me: WARNING: /" >&2
7526 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
7527 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
7528 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
7533 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
7534 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
7537 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
7543 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
7544 echo "${ECHO_T}$ac_is_dgux" >&6
7545 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
7546 if test $ac_is_dgux = yes; then
7547 if test "$enable_full_debug" = "yes"; then
7548 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
7549 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
7551 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
7552 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
7558 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
7559 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
7562 if test "$GCC" = yes; then
7563 echo "$as_me:$LINENO: result: yes" >&5
7564 echo "${ECHO_T}yes" >&6
7566 for i
in $CFLAGS; do
7571 new_CFLAGS
="$new_CFLAGS $i"
7575 CFLAGS
="$new_CFLAGS"
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7581 *) echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6 ;;
7589 cat >>confdefs.h
<<\_ACEOF
7594 cat >>confdefs.h
<<\_ACEOF
7595 #define NO_SIGNALS 1
7599 cat >>confdefs.h
<<\_ACEOF
7600 #define ALL_INTERIOR_POINTERS 1
7605 cat >>confdefs.h
<<\_ACEOF
7606 #define JAVA_FINALIZATION 1
7610 cat >>confdefs.h
<<\_ACEOF
7611 #define GC_GCJ_SUPPORT 1
7615 cat >>confdefs.h
<<\_ACEOF
7616 #define ATOMIC_UNCOLLECTABLE 1
7620 if test -n "${with_cross_host}"; then
7622 cat >>confdefs.h
<<\_ACEOF
7627 cat >>confdefs.h
<<\_ACEOF
7628 #define NO_DEBUGGING 1
7633 # Check whether --enable-gc-debug or --disable-gc-debug was given.
7634 if test "${enable_gc_debug+set}" = set; then
7635 enableval
="$enable_gc_debug"
7636 if test "$enable_gc_debug" = "yes"; then
7637 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
7638 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
7640 cat >>confdefs.h
<<\_ACEOF
7641 #define KEEP_BACK_PTRS 1
7645 cat >>confdefs.h
<<\_ACEOF
7646 #define DBG_HDRS_ALL 1
7652 cat >>confdefs.h
<<\_ACEOF
7653 #define MAKE_BACK_GRAPH 1
7657 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
7658 cat >>confdefs.h
<<\_ACEOF
7659 #define MAKE_BACK_GRAPH 1
7662 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
7663 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
7665 cat >>confdefs.h
<<\_ACEOF
7666 #define SAVE_CALL_COUNT 8
7671 cat >>confdefs.h
<<\_ACEOF
7672 #define MAKE_BACK_GRAPH 1
7680 if test "${gc_use_mmap}" = "yes"; then
7682 cat >>confdefs.h
<<\_ACEOF
7688 if test -n "$with_cross_host" &&
7689 test x
"$with_cross_host" != x
"no"; then
7690 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
7691 toolexeclibdir
='$(toolexecdir)/lib'
7693 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
7694 toolexeclibdir
='$(libdir)'
7696 multi_os_directory
=`$CC -print-multi-os-directory`
7697 case $multi_os_directory in
7698 .
) ;; # Avoid trailing /.
7699 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
7704 if test "${multilib}" = "yes"; then
7705 multilib_arg
="--enable-multilib"
7710 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
7713 ac_config_files
="$ac_config_files Makefile include/Makefile"
7715 cat >confcache
<<\_ACEOF
7716 # This file is a shell script that caches the results of configure
7717 # tests run on this system so they can be shared between configure
7718 # scripts and configure runs, see configure's option --config-cache.
7719 # It is not useful on other systems. If it contains results you don't
7720 # want to keep, you may remove or edit it.
7722 # config.status only pays attention to the cache file if you give it
7723 # the --recheck option to rerun configure.
7725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7731 # The following way of writing the cache mishandles newlines in values,
7732 # but we know of no workaround that is simple, portable, and efficient.
7733 # So, don't put newlines in cache variables' values.
7734 # Ultrix sh set writes to stderr and can't be redirected directly,
7735 # and sets the high bit in the cache file unless we assign to the vars.
7738 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7740 # `set' does not quote correctly, so add quotes (double-quote
7741 # substitution turns \\\\ into \\, and sed turns \\ into \).
7744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7747 # `set' quotes correctly as required by POSIX, so do not add quotes.
7749 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7758 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7760 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7761 if test -w $cache_file; then
7762 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7763 cat confcache
>$cache_file
7765 echo "not updating unwritable cache $cache_file"
7770 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7771 # Let make expand exec_prefix.
7772 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7776 # trailing colons and then remove the whole line if VPATH becomes empty
7777 # (actually we leave an empty line to preserve line numbers).
7778 if test "x$srcdir" = x.
; then
7779 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7780 s/:*\$(srcdir):*/:/;
7781 s/:*\${srcdir}:*/:/;
7783 s/^\([^=]*=[ ]*\):*/\1/;
7789 DEFS
=-DHAVE_CONFIG_H
7793 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7794 # 1. Remove the extension, and $U if already installed.
7795 ac_i
=`echo "$ac_i" |
7796 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7798 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7799 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7803 LTLIBOBJS
=$ac_ltlibobjs
7806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7807 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7808 Usually this means the macro was only invoked conditionally." >&5
7809 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7810 Usually this means the macro was only invoked conditionally." >&2;}
7811 { (exit 1); exit 1; }; }
7813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7814 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7815 Usually this means the macro was only invoked conditionally." >&5
7816 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7817 Usually this means the macro was only invoked conditionally." >&2;}
7818 { (exit 1); exit 1; }; }
7820 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7821 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7822 Usually this means the macro was only invoked conditionally." >&5
7823 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7824 Usually this means the macro was only invoked conditionally." >&2;}
7825 { (exit 1); exit 1; }; }
7827 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7828 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7829 Usually this means the macro was only invoked conditionally." >&5
7830 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7831 Usually this means the macro was only invoked conditionally." >&2;}
7832 { (exit 1); exit 1; }; }
7834 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
7835 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
7836 Usually this means the macro was only invoked conditionally." >&5
7837 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
7838 Usually this means the macro was only invoked conditionally." >&2;}
7839 { (exit 1); exit 1; }; }
7841 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
7842 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
7843 Usually this means the macro was only invoked conditionally." >&5
7844 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
7845 Usually this means the macro was only invoked conditionally." >&2;}
7846 { (exit 1); exit 1; }; }
7849 : ${CONFIG_STATUS=./config.status}
7850 ac_clean_files_save
=$ac_clean_files
7851 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7852 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7853 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7854 cat >$CONFIG_STATUS <<_ACEOF
7856 # Generated by $as_me.
7857 # Run this file to recreate the current configuration.
7858 # Compiler output produced by configure, useful for debugging
7859 # configure, is in config.log if it exists.
7864 SHELL=\${CONFIG_SHELL-$SHELL}
7867 cat >>$CONFIG_STATUS <<\_ACEOF
7868 ## --------------------- ##
7869 ## M4sh Initialization. ##
7870 ## --------------------- ##
7872 # Be Bourne compatible
7873 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7876 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7877 # is contrary to our usage. Disable this feature.
7878 alias -g '${1+"$@"}'='"$@"'
7879 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7882 DUALCASE
=1; export DUALCASE
# for MKS sh
7884 # Support unset when possible.
7885 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7892 # Work around bugs in pre-3.0 UWIN ksh.
7893 $as_unset ENV MAIL MAILPATH
7900 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7901 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7902 LC_TELEPHONE LC_TIME
7904 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7905 eval $as_var=C
; export $as_var
7911 # Required to use basename.
7912 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7918 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7919 as_basename
=basename
7925 # Name of the executable.
7926 as_me
=`$as_basename "$0" ||
7927 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7928 X"$0" : 'X\(//\)$' \| \
7929 X"$0" : 'X\(/\)$' \| \
7930 . : '\(.\)' 2>/dev/null ||
7932 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7933 /^X\/\(\/\/\)$/{ s//\1/; q; }
7934 /^X\/\(\/\).*/{ s//\1/; q; }
7938 # PATH needs CR, and LINENO needs CR and PATH.
7939 # Avoid depending upon Character Ranges.
7940 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7941 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7942 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7943 as_cr_digits
='0123456789'
7944 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7946 # The user is always right.
7947 if test "${PATH_SEPARATOR+set}" != set; then
7948 echo "#! /bin/sh" >conf$$.sh
7949 echo "exit 0" >>conf$$.sh
7951 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7962 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7963 test "x$as_lineno_1" != "x$as_lineno_2" &&
7964 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7965 # Find who we are. Look in the path if we contain no path at all
7968 *[\\/]* ) as_myself
=$0 ;;
7969 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir
=.
7974 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7979 # We did not find ourselves, most probably we were run as `sh COMMAND'
7980 # in which case we are not to be found in the path.
7981 if test "x$as_myself" = x
; then
7984 if test ! -f "$as_myself"; then
7985 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7986 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7987 { (exit 1); exit 1; }; }
7989 case $CONFIG_SHELL in
7991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7992 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7995 test -z "$as_dir" && as_dir
=.
7996 for as_base
in sh bash ksh sh5
; do
7999 if ("$as_dir/$as_base" -c '
8002 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8003 test "x$as_lineno_1" != "x$as_lineno_2" &&
8004 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8005 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8006 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8007 CONFIG_SHELL
=$as_dir/$as_base
8009 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8017 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8018 # uniformly replaced by the line number. The first 'sed' inserts a
8019 # line-number line before each line; the second 'sed' does the real
8020 # work. The second script uses 'N' to pair each line-number line
8021 # with the numbered line, and appends trailing '-' during
8022 # substitution so that $LINENO is not a special case at line end.
8023 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8024 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8025 sed '=' <$as_myself |
8030 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8033 s,^['$as_cr_digits']*\n,,
8035 chmod +x
$as_me.lineno ||
8036 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8037 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8038 { (exit 1); exit 1; }; }
8040 # Don't try to exec as it changes $[0], causing all sort of problems
8041 # (the dirname of $[0] is not the place where we might find the
8042 # original and so on. Autoconf is especially sensible to this).
8044 # Exit status is that of the last command.
8049 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8050 *c
*,-n*) ECHO_N
= ECHO_C
='
8052 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8053 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8056 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8062 rm -f conf$$ conf$$.exe conf$$.
file
8064 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8065 # We could just check for DJGPP; but this test a) works b) is more generic
8066 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8067 if test -f conf$$.exe
; then
8068 # Don't use ln at all; we don't have any links
8073 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8078 rm -f conf$$ conf$$.exe conf$$.
file
8080 if mkdir
-p .
2>/dev
/null
; then
8083 test -d .
/-p && rmdir .
/-p
8087 as_executable_p
="test -f"
8089 # Sed expression to map a string onto a valid CPP name.
8090 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8092 # Sed expression to map a string onto a valid variable name.
8093 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8097 # We need space, tab and new line, in precisely that order.
8107 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8108 # report actual input values of CONFIG_FILES etc. instead of their
8109 # values after options handling. Logging --version etc. is OK.
8113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8114 ## Running $as_me. ##
8119 This file was extended by $as_me, which was
8120 generated by GNU Autoconf 2.59. Invocation command line was
8122 CONFIG_FILES = $CONFIG_FILES
8123 CONFIG_HEADERS = $CONFIG_HEADERS
8124 CONFIG_LINKS = $CONFIG_LINKS
8125 CONFIG_COMMANDS = $CONFIG_COMMANDS
8129 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8133 # Files that config.status was made for.
8134 if test -n "$ac_config_files"; then
8135 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8138 if test -n "$ac_config_headers"; then
8139 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8142 if test -n "$ac_config_links"; then
8143 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8146 if test -n "$ac_config_commands"; then
8147 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8150 cat >>$CONFIG_STATUS <<\_ACEOF
8153 \`$as_me' instantiates files from templates according to the
8154 current configuration.
8156 Usage: $0 [OPTIONS] [FILE]...
8158 -h, --help print this help, then exit
8159 -V, --version print version number, then exit
8160 -q, --quiet do not print progress messages
8161 -d, --debug don't remove temporary files
8162 --recheck update $as_me by reconfiguring in the same conditions
8163 --file=FILE[:TEMPLATE]
8164 instantiate the configuration file FILE
8165 --header=FILE[:TEMPLATE]
8166 instantiate the configuration header FILE
8168 Configuration files:
8171 Configuration headers:
8174 Configuration commands:
8177 Report bugs to <bug-autoconf@gnu.org>."
8180 cat >>$CONFIG_STATUS <<_ACEOF
8183 configured by $0, generated by GNU Autoconf 2.59,
8184 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8186 Copyright (C) 2003 Free Software Foundation, Inc.
8187 This config.status script is free software; the Free Software Foundation
8188 gives unlimited permission to copy, distribute and modify it."
8193 cat >>$CONFIG_STATUS <<\_ACEOF
8194 # If no file are specified by the user, then we need to provide default
8195 # value. By we need to know if files were specified by the user.
8201 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8202 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8210 *) # This is not an option, so the user has probably given explicit
8213 ac_need_defaults
=false
;;
8217 # Handling of the options.
8219 cat >>$CONFIG_STATUS <<\_ACEOF
8220 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8222 --version |
--vers* |
-V )
8223 echo "$ac_cs_version"; exit 0 ;;
8225 # Conflict between --help and --header
8226 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8227 Try \`$0 --help' for more information." >&5
8228 echo "$as_me: error: ambiguous option: $1
8229 Try \`$0 --help' for more information." >&2;}
8230 { (exit 1); exit 1; }; };;
8231 --help |
--hel |
-h )
8232 echo "$ac_cs_usage"; exit 0 ;;
8233 --debug |
--d* |
-d )
8235 --file |
--fil |
--fi |
--f )
8237 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8238 ac_need_defaults
=false
;;
8239 --header |
--heade |
--head |
--hea )
8241 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8242 ac_need_defaults
=false
;;
8243 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8244 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8248 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8249 Try \`$0 --help' for more information." >&5
8250 echo "$as_me: error: unrecognized option: $1
8251 Try \`$0 --help' for more information." >&2;}
8252 { (exit 1); exit 1; }; } ;;
8254 *) ac_config_targets
="$ac_config_targets $1" ;;
8260 ac_configure_extra_args
=
8262 if $ac_cs_silent; then
8264 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8268 cat >>$CONFIG_STATUS <<_ACEOF
8269 if \$ac_cs_recheck; then
8270 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8271 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8276 cat >>$CONFIG_STATUS <<_ACEOF
8278 # INIT-COMMANDS section.
8285 with_multisubdir="$with_multisubdir"
8286 with_multisrctop="$with_multisrctop"
8287 with_target_subdir="$with_target_subdir"
8288 ac_configure_args="${multilib_arg} ${ac_configure_args}"
8289 multi_basedir="$multi_basedir"
8290 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
8292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8298 cat >>$CONFIG_STATUS <<\_ACEOF
8299 for ac_config_target
in $ac_config_targets
8301 case "$ac_config_target" in
8302 # Handling of arguments.
8303 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8304 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
8305 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8306 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8307 "include/gc_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
8308 "include/gc_ext_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
8309 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8310 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8311 { (exit 1); exit 1; }; };;
8315 # If the user did not use the arguments to specify the items to instantiate,
8316 # then the envvar interface is used. Set only those that are not.
8317 # We use the long form for the default assignment because of an extremely
8318 # bizarre bug on SunOS 4.1.3.
8319 if $ac_need_defaults; then
8320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8325 # Have a temporary directory for convenience. Make it in the build tree
8326 # simply because there is no reason to put it here, and in addition,
8327 # creating and moving files from /tmp can sometimes cause problems.
8328 # Create a temporary directory, and hook for its removal unless debugging.
8331 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8332 trap '{ (exit 1); exit 1; }' 1 2 13 15
8335 # Create a (secure) tmp directory for tmp files.
8338 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8339 test -n "$tmp" && test -d "$tmp"
8342 tmp
=.
/confstat$$
-$RANDOM
8343 (umask 077 && mkdir
$tmp)
8346 echo "$me: cannot create a temporary directory in ." >&2
8347 { (exit 1); exit 1; }
8352 cat >>$CONFIG_STATUS <<_ACEOF
8355 # CONFIG_FILES section.
8358 # No need to generate the scripts if there are no CONFIG_FILES.
8359 # This happens for instance when ./config.status config.h
8360 if test -n "\$CONFIG_FILES"; then
8361 # Protect against being on the right side of a sed subst in config.status.
8362 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8363 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8364 s,@SHELL@,$SHELL,;t t
8365 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8366 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8367 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8368 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8369 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8370 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8371 s,@exec_prefix@,$exec_prefix,;t t
8372 s,@prefix@,$prefix,;t t
8373 s,@program_transform_name@,$program_transform_name,;t t
8374 s,@bindir@,$bindir,;t t
8375 s,@sbindir@,$sbindir,;t t
8376 s,@libexecdir@,$libexecdir,;t t
8377 s,@datadir@,$datadir,;t t
8378 s,@sysconfdir@,$sysconfdir,;t t
8379 s,@sharedstatedir@,$sharedstatedir,;t t
8380 s,@localstatedir@,$localstatedir,;t t
8381 s,@libdir@,$libdir,;t t
8382 s,@includedir@,$includedir,;t t
8383 s,@oldincludedir@,$oldincludedir,;t t
8384 s,@infodir@,$infodir,;t t
8385 s,@mandir@,$mandir,;t t
8386 s,@build_alias@,$build_alias,;t t
8387 s,@host_alias@,$host_alias,;t t
8388 s,@target_alias@,$target_alias,;t t
8390 s,@ECHO_C@,$ECHO_C,;t t
8391 s,@ECHO_N@,$ECHO_N,;t t
8392 s,@ECHO_T@,$ECHO_T,;t t
8394 s,@multi_basedir@,$multi_basedir,;t t
8395 s,@build@,$build,;t t
8396 s,@build_cpu@,$build_cpu,;t t
8397 s,@build_vendor@,$build_vendor,;t t
8398 s,@build_os@,$build_os,;t t
8400 s,@host_cpu@,$host_cpu,;t t
8401 s,@host_vendor@,$host_vendor,;t t
8402 s,@host_os@,$host_os,;t t
8403 s,@target@,$target,;t t
8404 s,@target_cpu@,$target_cpu,;t t
8405 s,@target_vendor@,$target_vendor,;t t
8406 s,@target_os@,$target_os,;t t
8407 s,@target_noncanonical@,$target_noncanonical,;t t
8408 s,@mkinstalldirs@,$mkinstalldirs,;t t
8409 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8410 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8411 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8412 s,@CYGPATH_W@,$CYGPATH_W,;t t
8413 s,@PACKAGE@,$PACKAGE,;t t
8414 s,@VERSION@,$VERSION,;t t
8415 s,@ACLOCAL@,$ACLOCAL,;t t
8416 s,@AUTOCONF@,$AUTOCONF,;t t
8417 s,@AUTOMAKE@,$AUTOMAKE,;t t
8418 s,@AUTOHEADER@,$AUTOHEADER,;t t
8419 s,@MAKEINFO@,$MAKEINFO,;t t
8420 s,@install_sh@,$install_sh,;t t
8421 s,@STRIP@,$STRIP,;t t
8422 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8423 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8424 s,@mkdir_p@,$mkdir_p,;t t
8426 s,@SET_MAKE@,$SET_MAKE,;t t
8427 s,@am__leading_dot@,$am__leading_dot,;t t
8428 s,@AMTAR@,$AMTAR,;t t
8429 s,@am__tar@,$am__tar,;t t
8430 s,@am__untar@,$am__untar,;t t
8432 s,@ac_ct_CC@,$ac_ct_CC,;t t
8433 s,@EXEEXT@,$EXEEXT,;t t
8434 s,@OBJEXT@,$OBJEXT,;t t
8435 s,@DEPDIR@,$DEPDIR,;t t
8436 s,@am__include@,$am__include,;t t
8437 s,@am__quote@,$am__quote,;t t
8438 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8439 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8440 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8441 s,@CCDEPMODE@,$CCDEPMODE,;t t
8442 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8443 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8445 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8446 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
8447 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
8448 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
8449 s,@CFLAGS@,$CFLAGS,;t t
8450 s,@CXXFLAGS@,$CXXFLAGS,;t t
8452 s,@CCASFLAGS@,$CCASFLAGS,;t t
8454 s,@ac_ct_AS@,$ac_ct_AS,;t t
8456 s,@ac_ct_AR@,$ac_ct_AR,;t t
8457 s,@RANLIB@,$RANLIB,;t t
8458 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8459 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8460 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8461 s,@MAINT@,$MAINT,;t t
8462 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
8464 s,@LIBTOOL@,$LIBTOOL,;t t
8465 s,@CXXCPP@,$CXXCPP,;t t
8466 s,@CPPFLAGS@,$CPPFLAGS,;t t
8467 s,@THREADLIBS@,$THREADLIBS,;t t
8468 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
8469 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
8470 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
8471 s,@target_all@,$target_all,;t t
8472 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
8473 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
8474 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
8475 s,@addobjs@,$addobjs,;t t
8476 s,@addincludes@,$addincludes,;t t
8477 s,@addlibs@,$addlibs,;t t
8478 s,@addtests@,$addtests,;t t
8480 s,@EGREP@,$EGREP,;t t
8481 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
8482 s,@toolexecdir@,$toolexecdir,;t t
8483 s,@toolexeclibdir@,$toolexeclibdir,;t t
8484 s,@LIBOBJS@,$LIBOBJS,;t t
8485 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8490 cat >>$CONFIG_STATUS <<\_ACEOF
8491 # Split the substitutions into bite-sized pieces for seds with
8492 # small command number limits, like on Digital OSF/1 and HP-UX.
8494 ac_sed_frag
=1 # Number of current file.
8495 ac_beg
=1 # First line for current file.
8496 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8499 while $ac_more_lines; do
8500 if test $ac_beg -gt 1; then
8501 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8503 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8505 if test ! -s $tmp/subs.frag
; then
8508 # The purpose of the label and of the branching condition is to
8509 # speed up the sed processing (if there are no `@' at all, there
8510 # is no need to browse any of the substitutions).
8511 # These are the two extra sed commands mentioned above.
8513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8514 if test -z "$ac_sed_cmds"; then
8515 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8517 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8519 ac_sed_frag
=`expr $ac_sed_frag + 1`
8521 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8524 if test -z "$ac_sed_cmds"; then
8527 fi # test -n "$CONFIG_FILES"
8530 cat >>$CONFIG_STATUS <<\_ACEOF
8531 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8532 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8534 - |
*:- |
*:-:* ) # input from stdin
8536 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8537 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8538 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8539 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8540 * ) ac_file_in
=$ac_file.
in ;;
8543 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8544 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8546 X"$ac_file" : 'X\(//\)[^/]' \| \
8547 X"$ac_file" : 'X\(//\)$' \| \
8548 X"$ac_file" : 'X\(/\)' \| \
8549 . : '\(.\)' 2>/dev/null ||
8551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8553 /^X\(\/\/\)$/{ s//\1/; q; }
8554 /^X\(\/\).*/{ s//\1/; q; }
8556 { if $as_mkdir_p; then
8561 while test ! -d "$as_dir"; do
8562 as_dirs
="$as_dir $as_dirs"
8563 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8564 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8565 X"$as_dir" : 'X\(//\)[^/]' \| \
8566 X"$as_dir" : 'X\(//\)$' \| \
8567 X"$as_dir" : 'X\(/\)' \| \
8568 . : '\(.\)' 2>/dev/null ||
8570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8571 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8572 /^X\(\/\/\)$/{ s//\1/; q; }
8573 /^X\(\/\).*/{ s//\1/; q; }
8576 test ! -n "$as_dirs" || mkdir
$as_dirs
8577 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8578 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8579 { (exit 1); exit 1; }; }; }
8583 if test "$ac_dir" != .
; then
8584 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8585 # A "../" for each directory in $ac_dir_suffix.
8586 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8588 ac_dir_suffix
= ac_top_builddir
=
8592 .
) # No --srcdir option. We are building in place.
8594 if test -z "$ac_top_builddir"; then
8597 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8599 [\\/]* | ?
:[\\/]* ) # Absolute path.
8600 ac_srcdir
=$srcdir$ac_dir_suffix;
8601 ac_top_srcdir
=$srcdir ;;
8603 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8604 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8607 # Do not use `cd foo && pwd` to compute absolute paths, because
8608 # the directories may not exist.
8610 .
) ac_abs_builddir
="$ac_dir";;
8613 .
) ac_abs_builddir
=`pwd`;;
8614 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8615 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8618 case $ac_abs_builddir in
8619 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8621 case ${ac_top_builddir}.
in
8622 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8623 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8624 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8627 case $ac_abs_builddir in
8628 .
) ac_abs_srcdir
=$ac_srcdir;;
8631 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8632 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8633 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8636 case $ac_abs_builddir in
8637 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8639 case $ac_top_srcdir in
8640 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8641 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8642 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8648 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8649 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8652 if test x
"$ac_file" != x-
; then
8653 { echo "$as_me:$LINENO: creating $ac_file" >&5
8654 echo "$as_me: creating $ac_file" >&6;}
8657 # Let's still pretend it is `configure' which instantiates (i.e., don't
8658 # use $as_me), people would be surprised to read:
8659 # /* config.h. Generated by config.status. */
8660 if test x
"$ac_file" = x-
; then
8663 configure_input
="$ac_file. "
8665 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8666 sed 's,.*/,,'` by configure."
8668 # First look for the input files in the build tree, otherwise in the
8670 ac_file_inputs
=`IFS=:
8671 for f in $ac_file_in; do
8673 -) echo $tmp/stdin ;;
8675 # Absolute (can't be DOS-style, as IFS=:)
8676 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8677 echo "$as_me: error: cannot find input file: $f" >&2;}
8678 { (exit 1); exit 1; }; }
8681 if test -f "$f"; then
8684 elif test -f "$srcdir/$f"; then
8689 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8690 echo "$as_me: error: cannot find input file: $f" >&2;}
8691 { (exit 1); exit 1; }; }
8694 done` ||
{ (exit 1); exit 1; }
8696 cat >>$CONFIG_STATUS <<_ACEOF
8700 cat >>$CONFIG_STATUS <<\_ACEOF
8702 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8703 s
,@configure_input@
,$configure_input,;t t
8704 s
,@srcdir@
,$ac_srcdir,;t t
8705 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8706 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8707 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8708 s
,@builddir@
,$ac_builddir,;t t
8709 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8710 s
,@top_builddir@
,$ac_top_builddir,;t t
8711 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8712 s
,@INSTALL@
,$ac_INSTALL,;t t
8713 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8715 if test x"$ac_file" != x-; then
8716 mv $tmp/out $ac_file
8724 cat >>$CONFIG_STATUS <<\_ACEOF
8727 # CONFIG_HEADER section.
8730 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8731 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8733 # ac_d sets the value in "#define NAME VALUE" lines.
8734 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8735 ac_dB
='[ ].*$,\1#\2'
8738 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8739 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8740 ac_uB
='$,\1#\2define\3'
8744 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8745 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8747 - |
*:- |
*:-:* ) # input from stdin
8749 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8750 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8751 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8752 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8753 * ) ac_file_in
=$ac_file.
in ;;
8756 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8757 echo "$as_me: creating $ac_file" >&6;}
8759 # First look for the input files in the build tree, otherwise in the
8761 ac_file_inputs
=`IFS=:
8762 for f in $ac_file_in; do
8764 -) echo $tmp/stdin ;;
8766 # Absolute (can't be DOS-style, as IFS=:)
8767 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8768 echo "$as_me: error: cannot find input file: $f" >&2;}
8769 { (exit 1); exit 1; }; }
8770 # Do quote $f, to prevent DOS paths from being IFS'd.
8773 if test -f "$f"; then
8776 elif test -f "$srcdir/$f"; then
8781 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8782 echo "$as_me: error: cannot find input file: $f" >&2;}
8783 { (exit 1); exit 1; }; }
8786 done` ||
{ (exit 1); exit 1; }
8787 # Remove the trailing spaces.
8788 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8792 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8793 # `conftest.undefs', that substitutes the proper values into
8794 # config.h.in to produce config.h. The first handles `#define'
8795 # templates, and the second `#undef' templates.
8796 # And first: Protect against being on the right side of a sed subst in
8797 # config.status. Protect against being in an unquoted here document
8799 rm -f conftest.defines conftest.undefs
8800 # Using a here document instead of a string reduces the quoting nightmare.
8801 # Putting comments in sed scripts is not portable.
8803 # `end' is used to avoid that the second main sed command (meant for
8804 # 0-ary CPP macros) applies to n-ary macro definitions.
8805 # See the Autoconf documentation for `clear'.
8806 cat >confdef2sed.
sed <<\_ACEOF
8811 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8813 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8816 # If some macros were called several times there might be several times
8817 # the same #defines, which is useless. Nevertheless, we may not want to
8818 # sort them, since we want the *last* AC-DEFINE to be honored.
8819 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8820 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8821 rm -f confdef2sed.sed
8823 # This sed command replaces #undef with comments. This is necessary, for
8824 # example, in the case of _POSIX_SOURCE, which is predefined and required
8825 # on some systems where configure will not decide to define it.
8826 cat >>conftest.undefs <<\_ACEOF
8827 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8830 # Break up conftest.defines because some shells have a limit on the size
8831 # of here documents, and old seds have small limits too (100 cmds).
8832 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8833 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8834 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8835 echo ' :' >>$CONFIG_STATUS
8837 while grep . conftest.defines >/dev/null
8839 # Write a limited-size here document to $tmp/defines.sed.
8840 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8841 # Speed up: don't consider the non `#define' lines.
8842 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8843 # Work around the forget-to-reset-the-flag bug.
8844 echo 't clr' >>$CONFIG_STATUS
8845 echo ': clr' >>$CONFIG_STATUS
8846 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8848 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8852 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8853 rm -f conftest.defines
8854 mv conftest.
tail conftest.defines
8856 rm -f conftest.defines
8857 echo ' fi # grep' >>$CONFIG_STATUS
8858 echo >>$CONFIG_STATUS
8860 # Break up conftest.undefs because some shells have a limit on the size
8861 # of here documents, and old seds have small limits too (100 cmds).
8862 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8864 while grep . conftest.undefs
>/dev
/null
8866 # Write a limited-size here document to $tmp/undefs.sed.
8867 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8868 # Speed up: don't consider the non
`#undef'
8869 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8870 # Work around the forget-to-reset-the-flag bug.
8871 echo 't clr' >>$CONFIG_STATUS
8872 echo ': clr' >>$CONFIG_STATUS
8873 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8875 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8879 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8880 rm -f conftest.undefs
8881 mv conftest.tail conftest.undefs
8883 rm -f conftest.undefs
8885 cat >>$CONFIG_STATUS <<\_ACEOF
8886 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8887 # use $as_me), people would be surprised to read:
8888 # /* config.h. Generated by config.status. */
8889 if test x
"$ac_file" = x-
; then
8890 echo "/* Generated by configure. */" >$tmp/config.h
8892 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8894 cat $tmp/in >>$tmp/config.h
8896 if test x
"$ac_file" != x-
; then
8897 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8898 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8899 echo "$as_me: $ac_file is unchanged" >&6;}
8901 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8902 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8903 X"$ac_file" : 'X\(//\)[^/]' \| \
8904 X"$ac_file" : 'X\(//\)$' \| \
8905 X"$ac_file" : 'X\(/\)' \| \
8906 . : '\(.\)' 2>/dev/null ||
8908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8910 /^X\(\/\/\)$/{ s//\1/; q; }
8911 /^X\(\/\).*/{ s//\1/; q; }
8913 { if $as_mkdir_p; then
8918 while test ! -d "$as_dir"; do
8919 as_dirs
="$as_dir $as_dirs"
8920 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8922 X"$as_dir" : 'X\(//\)[^/]' \| \
8923 X"$as_dir" : 'X\(//\)$' \| \
8924 X"$as_dir" : 'X\(/\)' \| \
8925 . : '\(.\)' 2>/dev/null ||
8927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8929 /^X\(\/\/\)$/{ s//\1/; q; }
8930 /^X\(\/\).*/{ s//\1/; q; }
8933 test ! -n "$as_dirs" || mkdir
$as_dirs
8934 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8935 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8936 { (exit 1); exit 1; }; }; }
8939 mv $tmp/config.h
$ac_file
8945 # Compute $ac_file's index in $config_headers.
8947 for _am_header
in $config_headers :; do
8949 $ac_file |
$ac_file:* )
8952 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8955 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8956 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8957 X$ac_file : 'X\(//\)[^/]' \| \
8958 X$ac_file : 'X\(//\)$' \| \
8959 X$ac_file : 'X\(/\)' \| \
8960 . : '\(.\)' 2>/dev/null ||
8962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8964 /^X\(\/\/\)$/{ s//\1/; q; }
8965 /^X\(\/\).*/{ s//\1/; q; }
8966 s/.*/./; q'`/stamp-h
$_am_stamp_count
8969 cat >>$CONFIG_STATUS <<\_ACEOF
8972 # CONFIG_COMMANDS section.
8974 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8975 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8976 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8977 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8978 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8979 X"$ac_dest" : 'X\(//\)[^/]' \| \
8980 X"$ac_dest" : 'X\(//\)$' \| \
8981 X"$ac_dest" : 'X\(/\)' \| \
8982 . : '\(.\)' 2>/dev/null ||
8984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8986 /^X\(\/\/\)$/{ s//\1/; q; }
8987 /^X\(\/\).*/{ s//\1/; q; }
8989 { if $as_mkdir_p; then
8994 while test ! -d "$as_dir"; do
8995 as_dirs
="$as_dir $as_dirs"
8996 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8998 X"$as_dir" : 'X\(//\)[^/]' \| \
8999 X"$as_dir" : 'X\(//\)$' \| \
9000 X"$as_dir" : 'X\(/\)' \| \
9001 . : '\(.\)' 2>/dev/null ||
9003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9005 /^X\(\/\/\)$/{ s//\1/; q; }
9006 /^X\(\/\).*/{ s//\1/; q; }
9009 test ! -n "$as_dirs" || mkdir
$as_dirs
9010 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9011 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9012 { (exit 1); exit 1; }; }; }
9016 if test "$ac_dir" != .
; then
9017 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9018 # A "../" for each directory in $ac_dir_suffix.
9019 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9021 ac_dir_suffix
= ac_top_builddir
=
9025 .
) # No --srcdir option. We are building in place.
9027 if test -z "$ac_top_builddir"; then
9030 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9032 [\\/]* | ?
:[\\/]* ) # Absolute path.
9033 ac_srcdir
=$srcdir$ac_dir_suffix;
9034 ac_top_srcdir
=$srcdir ;;
9036 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9037 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9040 # Do not use `cd foo && pwd` to compute absolute paths, because
9041 # the directories may not exist.
9043 .
) ac_abs_builddir
="$ac_dir";;
9046 .
) ac_abs_builddir
=`pwd`;;
9047 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9048 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9051 case $ac_abs_builddir in
9052 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9054 case ${ac_top_builddir}.
in
9055 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9056 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9057 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9060 case $ac_abs_builddir in
9061 .
) ac_abs_srcdir
=$ac_srcdir;;
9064 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9065 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9066 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9069 case $ac_abs_builddir in
9070 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9072 case $ac_top_srcdir in
9073 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9074 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9075 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9080 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9081 echo "$as_me: executing $ac_dest commands" >&6;}
9084 # Only add multilib support code if we just rebuilt the top-level
9086 case " $CONFIG_FILES " in
9088 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
9091 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9092 # Strip MF so we end up with the name of the file.
9093 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9094 # Check whether this is an Automake generated Makefile or not.
9095 # We used to match only the files named `Makefile.in', but
9096 # some people rename them; so instead we look at the file content.
9097 # Grep'ing the first line is not enough: some people post-process
9098 # each Makefile.in and add a new line on top of each file to say so.
9099 # So let's grep whole file.
9100 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9101 dirpart
=`(dirname "$mf") 2>/dev/null ||
9102 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9103 X"$mf" : 'X\(//\)[^/]' \| \
9104 X"$mf" : 'X\(//\)$' \| \
9105 X"$mf" : 'X\(/\)' \| \
9106 . : '\(.\)' 2>/dev/null ||
9108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9110 /^X\(\/\/\)$/{ s//\1/; q; }
9111 /^X\(\/\).*/{ s//\1/; q; }
9116 # Extract the definition of DEPDIR, am__include, and am__quote
9117 # from the Makefile without running `make'.
9118 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9119 test -z "$DEPDIR" && continue
9120 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9121 test -z "am__include" && continue
9122 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9123 # When using ansi2knr, U may be empty or an underscore; expand it
9124 U
=`sed -n 's/^U = //p' < "$mf"`
9125 # Find all dependency output files, they are included files with
9126 # $(DEPDIR) in their names. We invoke sed twice because it is the
9127 # simplest approach to changing $(DEPDIR) to its actual value in the
9129 for file in `sed -n "
9130 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9131 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9132 # Make sure the directory exists.
9133 test -f "$dirpart/$file" && continue
9134 fdir
=`(dirname "$file") 2>/dev/null ||
9135 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9136 X"$file" : 'X\(//\)[^/]' \| \
9137 X"$file" : 'X\(//\)$' \| \
9138 X"$file" : 'X\(/\)' \| \
9139 . : '\(.\)' 2>/dev/null ||
9141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9143 /^X\(\/\/\)$/{ s//\1/; q; }
9144 /^X\(\/\).*/{ s//\1/; q; }
9146 { if $as_mkdir_p; then
9147 mkdir
-p $dirpart/$fdir
9149 as_dir
=$dirpart/$fdir
9151 while test ! -d "$as_dir"; do
9152 as_dirs
="$as_dir $as_dirs"
9153 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9155 X"$as_dir" : 'X\(//\)[^/]' \| \
9156 X"$as_dir" : 'X\(//\)$' \| \
9157 X"$as_dir" : 'X\(/\)' \| \
9158 . : '\(.\)' 2>/dev/null ||
9160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9162 /^X\(\/\/\)$/{ s//\1/; q; }
9163 /^X\(\/\).*/{ s//\1/; q; }
9166 test ! -n "$as_dirs" || mkdir
$as_dirs
9167 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9168 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9169 { (exit 1); exit 1; }; }; }
9171 # echo "creating $dirpart/$file"
9172 echo '# dummy' > "$dirpart/$file"
9180 cat >>$CONFIG_STATUS <<\_ACEOF
9182 { (exit 0); exit 0; }
9184 chmod +x
$CONFIG_STATUS
9185 ac_clean_files
=$ac_clean_files_save
9188 # configure is writing to config.log, and then calls config.status.
9189 # config.status does its own redirection, appending to config.log.
9190 # Unfortunately, on DOS this fails, as config.log is still kept open
9191 # by configure, so config.status won't be able to write to it; its
9192 # output is simply discarded. So we exec the FD to /dev/null,
9193 # effectively closing config.log, so it can be properly (re)opened and
9194 # appended to by config.status. When coming back to configure, we
9195 # need to make the FD available again.
9196 if test "$no_create" != yes; then
9198 ac_config_status_args
=
9199 test "$silent" = yes &&
9200 ac_config_status_args
="$ac_config_status_args --quiet"
9202 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9204 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9205 # would make configure fail if this is the last instruction.
9206 $ac_cs_success ||
{ (exit 1); exit 1; }