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 gc_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LN_S STRIP ac_ct_STRIP LIBTOOL CXXCPP THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE EXTRA_TEST_LIBS target_all target_noncanonical CPLUSPLUS_TRUE CPLUSPLUS_FALSE INCLUDES CXXINCLUDES 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_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_env_CXXCPP_set
=${CXXCPP+set}
778 ac_env_CXXCPP_value
=$CXXCPP
779 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
780 ac_cv_env_CXXCPP_value
=$CXXCPP
781 ac_env_CPP_set
=${CPP+set}
782 ac_env_CPP_value
=$CPP
783 ac_cv_env_CPP_set
=${CPP+set}
784 ac_cv_env_CPP_value
=$CPP
787 # Report the --help message.
789 if test "$ac_init_help" = "long"; then
790 # Omit some internal or obsolete options to make the list less imposing.
791 # This message is too long to be a string in the A/UX 3.1 sh.
793 \`configure' configures this package to adapt to many kinds of systems.
795 Usage: $0 [OPTION]... [VAR=VALUE]...
797 To assign environment variables (e.g., CC, CFLAGS...), specify them as
798 VAR=VALUE. See below for descriptions of some of the useful variables.
800 Defaults for the options are specified in brackets.
803 -h, --help display this help and exit
804 --help=short display options specific to this package
805 --help=recursive display the short help of all the included packages
806 -V, --version display version information and exit
807 -q, --quiet, --silent do not print \`checking...' messages
808 --cache-file=FILE cache test results in FILE [disabled]
809 -C, --config-cache alias for \`--cache-file=config.cache'
810 -n, --no-create do not create output files
811 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816 Installation directories:
817 --prefix=PREFIX install architecture-independent files in PREFIX
819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 By default, \`make install' will install all the files in
823 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
824 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
825 for instance \`--prefix=\$HOME'.
827 For better control, use the options below.
829 Fine tuning of the installation directories:
830 --bindir=DIR user executables [EPREFIX/bin]
831 --sbindir=DIR system admin executables [EPREFIX/sbin]
832 --libexecdir=DIR program executables [EPREFIX/libexec]
833 --datadir=DIR read-only architecture-independent data [PREFIX/share]
834 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
835 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
836 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
837 --libdir=DIR object code libraries [EPREFIX/lib]
838 --includedir=DIR C header files [PREFIX/include]
839 --oldincludedir=DIR C header files for non-gcc [/usr/include]
840 --infodir=DIR info documentation [PREFIX/info]
841 --mandir=DIR man documentation [PREFIX/man]
847 --program-prefix=PREFIX prepend PREFIX to installed program names
848 --program-suffix=SUFFIX append SUFFIX to installed program names
849 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
852 --build=BUILD configure
for building on BUILD
[guessed
]
853 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
858 if test -n "$ac_init_help"; then
863 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
864 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
865 --enable-multilib build many library versions
(default
)
866 --enable-maintainer-mode enable make rules and dependencies not useful
867 (and sometimes confusing
) to the casual installer
868 --enable-shared=PKGS build shared libraries default
=yes
869 --enable-static=PKGS build static libraries default
=yes
870 --enable-fast-install=PKGS optimize
for fast installation default
=yes
871 --disable-libtool-lock avoid locking
(might
break parallel builds
)
872 --enable-parallel-mark parallelize marking and free list construction
873 --enable-full-debug include full support
for pointer backtracing etc.
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-gnu-ld assume the C compiler uses GNU ld default
=no
879 --with-pic try to use only PIC
/non-PIC objects default
=use both
880 --with-target-subdir=SUBDIR
881 configuring with a cross compiler
882 --with-cross-host=HOST configuring with a cross compiler
883 --with-ecos enable runtime eCos target support
885 Some influential environment variables
:
886 CC C compiler
command
887 CFLAGS C compiler flags
888 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
889 nonstandard directory
<lib dir
>
890 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
891 headers
in a nonstandard directory
<include dir
>
892 CXX C
++ compiler
command
893 CXXFLAGS C
++ compiler flags
894 CXXCPP C
++ preprocessor
897 Use these variables to override the choices made by
`configure' or to help
898 it to find libraries and programs with nonstandard names/locations.
903 if test "$ac_init_help" = "recursive"; then
904 # If there are subdirs, report their specific --help.
906 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
907 test -d $ac_dir || continue
910 if test "$ac_dir" != .; then
911 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
912 # A "../" for each directory in $ac_dir_suffix.
913 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
915 ac_dir_suffix= ac_top_builddir=
919 .) # No --srcdir option. We are building in place.
921 if test -z "$ac_top_builddir"; then
924 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
926 [\\/]* | ?:[\\/]* ) # Absolute path.
927 ac_srcdir=$srcdir$ac_dir_suffix;
928 ac_top_srcdir=$srcdir ;;
930 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931 ac_top_srcdir=$ac_top_builddir$srcdir ;;
934 # Do not use `cd foo
&& pwd` to compute absolute paths, because
935 # the directories may not exist.
937 .) ac_abs_builddir="$ac_dir";;
940 .) ac_abs_builddir=`pwd`;;
941 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
942 *) ac_abs_builddir=`pwd`/"$ac_dir";;
945 case $ac_abs_builddir in
946 .) ac_abs_top_builddir=${ac_top_builddir}.;;
948 case ${ac_top_builddir}. in
949 .) ac_abs_top_builddir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
951 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
954 case $ac_abs_builddir in
955 .) ac_abs_srcdir=$ac_srcdir;;
958 .) ac_abs_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
960 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
963 case $ac_abs_builddir in
964 .) ac_abs_top_srcdir=$ac_top_srcdir;;
966 case $ac_top_srcdir in
967 .) ac_abs_top_srcdir=$ac_abs_builddir;;
968 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
969 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
974 # Check for guested configure; otherwise get Cygnus style configure.
975 if test -f $ac_srcdir/configure.gnu; then
977 $SHELL $ac_srcdir/configure.gnu --help=recursive
978 elif test -f $ac_srcdir/configure; then
980 $SHELL $ac_srcdir/configure --help=recursive
981 elif test -f $ac_srcdir/configure.ac ||
982 test -f $ac_srcdir/configure.in; then
986 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
992 test -n "$ac_init_help" && exit 0
993 if $ac_init_version; then
996 Copyright (C) 2003 Free Software Foundation, Inc.
997 This configure script is free software; the Free Software Foundation
998 gives unlimited permission to copy, distribute and modify it.
1004 This file contains any messages produced by compilers while
1005 running configure, to aid debugging if configure makes a mistake.
1007 It was created by $as_me, which was
1008 generated by GNU Autoconf 2.59. Invocation command line was
1019 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1020 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1021 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1022 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1023 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1026 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1028 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1029 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1030 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1031 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1032 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1034 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1042 test -z "$as_dir" && as_dir=.
1043 echo "PATH: $as_dir"
1058 # Keep a trace of the command line.
1059 # Strip out --no-create and --no-recursion so they do not pile up.
1060 # Strip out --silent because we don't want to record it for future runs.
1061 # Also quote any args containing shell meta-characters.
1062 # Make two passes to allow for proper duplicate-argument suppression.
1067 ac_must_keep_next=false
1073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1077 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1078 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1084 if test $ac_must_keep_next = true; then
1085 ac_must_keep_next=false # Got value, back to normal.
1088 *=* | --config-cache | -C | -disable-* | --disable-* \
1089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1091 | -with-* | --with-* | -without-* | --without-* | --x)
1092 case "$ac_configure_args0 " in
1093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1096 -* ) ac_must_keep_next=true ;;
1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1100 # Get rid of the leading space.
1106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1109 # When interrupted or exit'd, cleanup temporary files, and complete
1110 # config.log. We remove comments because anyway the quotes in there
1111 # would cause problems or look ugly.
1112 # WARNING: Be sure not to use single quotes in there, as some shells,
1113 # such as our DU 5.0 friend, will then `close
' the trap.
1114 trap 'exit_status
=$?
1115 # Save into config.log some information that might help in debugging.
1120 ## ---------------- ##
1121 ## Cache variables. ##
1122 ## ---------------- ##
1125 # The following way of writing the cache mishandles newlines in values,
1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1143 ## ----------------- ##
1144 ## Output variables. ##
1145 ## ----------------- ##
1148 for ac_var
in $ac_subst_vars
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -n "$ac_subst_files"; then
1162 for ac_var
in $ac_subst_files
1164 eval ac_val
=$
`echo $ac_var`
1165 echo "$ac_var='"'"'$ac_val'"'"'"
1170 if test -s confdefs.h
; then
1177 sed "/^$/d" confdefs.h |
sort
1180 test "$ac_signal" != 0 &&
1181 echo "$as_me: caught signal $ac_signal"
1182 echo "$as_me: exit $exit_status"
1184 rm -f core
*.core
&&
1185 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1188 for ac_signal in 1 2 13 15; do
1189 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1194 rm -rf conftest* confdefs.h
1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1198 # Predefined preprocessor variables.
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_NAME "$PACKAGE_NAME"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_STRING "$PACKAGE_STRING"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1225 # Let the site file select an alternate cache file if it wants to.
1226 # Prefer explicitly selected file to automatically selected ones.
1227 if test -z "$CONFIG_SITE"; then
1228 if test "x$prefix" != xNONE; then
1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1234 for ac_site_file in $CONFIG_SITE; do
1235 if test -r "$ac_site_file"; then
1236 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1237 echo "$as_me: loading site script $ac_site_file" >&6;}
1238 sed 's
/^
/|
/' "$ac_site_file" >&5
1243 if test -r "$cache_file"; then
1244 # Some versions of bash will fail to source /dev/null (special
1245 # files actually), so we avoid doing that.
1246 if test -f "$cache_file"; then
1247 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1248 echo "$as_me: loading cache $cache_file" >&6;}
1250 [\\/]* | ?:[\\/]* ) . $cache_file;;
1251 *) . ./$cache_file;;
1255 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1256 echo "$as_me: creating cache $cache_file" >&6;}
1260 # Check that the precious variables saved in the cache have kept the same
1262 ac_cache_corrupted=false
1263 for ac_var in `(set) 2>&1 |
1264 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1265 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1266 eval ac_new_set=\$ac_env_${ac_var}_set
1267 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1268 eval ac_new_val="\$ac_env_${ac_var}_value"
1269 case $ac_old_set,$ac_new_set in
1271 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1272 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1273 ac_cache_corrupted=: ;;
1275 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1276 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1277 ac_cache_corrupted=: ;;
1280 if test "x$ac_old_val" != "x$ac_new_val"; then
1281 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1282 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1283 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1284 echo "$as_me: former value: $ac_old_val" >&2;}
1285 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1286 echo "$as_me: current value: $ac_new_val" >&2;}
1287 ac_cache_corrupted=:
1290 # Pass precious variables to config.status.
1291 if test "$ac_new_set" = set; then
1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1294 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1295 *) ac_arg=$ac_var=$ac_new_val ;;
1297 case " $ac_configure_args " in
1298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1299 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1303 if $ac_cache_corrupted; then
1304 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1305 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1306 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1307 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1308 { (exit 1); exit 1; }; }
1312 ac_cpp='$CPP $CPPFLAGS'
1313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1314 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1340 ORIGINAL_LD_FOR_MULTILIBS=$LD
1343 for ac_dir in . $srcdir/.; do
1344 if test -f $ac_dir/install-sh; then
1346 ac_install_sh="$ac_aux_dir/install-sh -c"
1348 elif test -f $ac_dir/install.sh; then
1350 ac_install_sh="$ac_aux_dir/install.sh -c"
1352 elif test -f $ac_dir/shtool; then
1354 ac_install_sh="$ac_aux_dir/shtool install -c"
1358 if test -z "$ac_aux_dir"; then
1359 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1360 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1361 { (exit 1); exit 1; }; }
1363 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1364 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1365 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1368 # Check whether --enable-multilib or --disable-multilib was given.
1369 if test "${enable_multilib+set}" = set; then
1370 enableval="$enable_multilib"
1371 case "${enableval}" in
1372 yes) multilib=yes ;;
1374 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1375 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1376 { (exit 1); exit 1; }; } ;;
1382 if test "${srcdir}" = "."; then
1383 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
1384 gc_basedir="${srcdir}/${with_multisrctop}../."
1386 gc_basedir="${srcdir}/${with_multisrctop}."
1389 gc_basedir="${srcdir}/."
1393 for ac_dir in $gc_basedir/.. $srcdir/$gc_basedir/..; do
1394 if test -f $ac_dir/install-sh; then
1396 ac_install_sh="$ac_aux_dir/install-sh -c"
1398 elif test -f $ac_dir/install.sh; then
1400 ac_install_sh="$ac_aux_dir/install.sh -c"
1402 elif test -f $ac_dir/shtool; then
1404 ac_install_sh="$ac_aux_dir/shtool install -c"
1408 if test -z "$ac_aux_dir"; then
1409 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&2;}
1411 { (exit 1); exit 1; }; }
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1418 # This overrides the previous occurrence for automake, but not for
1419 # autoconf, which is exactly what we want.
1421 for ac_dir in .. $srcdir/..; do
1422 if test -f $ac_dir/install-sh; then
1424 ac_install_sh="$ac_aux_dir/install-sh -c"
1426 elif test -f $ac_dir/install.sh; then
1428 ac_install_sh="$ac_aux_dir/install.sh -c"
1430 elif test -f $ac_dir/shtool; then
1432 ac_install_sh="$ac_aux_dir/shtool install -c"
1436 if test -z "$ac_aux_dir"; then
1437 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1438 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1439 { (exit 1); exit 1; }; }
1441 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1442 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1443 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1447 # Make sure we can run config.sub.
1448 $ac_config_sub sun4 >/dev/null 2>&1 ||
1449 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1450 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1451 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: checking build system type" >&5
1454 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1455 if test "${ac_cv_build+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 ac_cv_build_alias=$build_alias
1459 test -z "$ac_cv_build_alias" &&
1460 ac_cv_build_alias=`$ac_config_guess`
1461 test -z "$ac_cv_build_alias" &&
1462 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1463 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1464 { (exit 1); exit 1; }; }
1465 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1466 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1467 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1468 { (exit 1); exit 1; }; }
1471 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1472 echo "${ECHO_T}$ac_cv_build" >&6
1474 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1475 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1476 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1479 echo "$as_me:$LINENO: checking host system type" >&5
1480 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1481 if test "${ac_cv_host+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 ac_cv_host_alias=$host_alias
1485 test -z "$ac_cv_host_alias" &&
1486 ac_cv_host_alias=$ac_cv_build_alias
1487 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1488 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1489 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1490 { (exit 1); exit 1; }; }
1493 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1494 echo "${ECHO_T}$ac_cv_host" >&6
1496 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1497 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1498 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1501 echo "$as_me:$LINENO: checking target system type" >&5
1502 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1503 if test "${ac_cv_target+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 ac_cv_target_alias=$target_alias
1507 test "x$ac_cv_target_alias" = "x" &&
1508 ac_cv_target_alias=$ac_cv_host_alias
1509 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1510 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1511 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1512 { (exit 1); exit 1; }; }
1515 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1516 echo "${ECHO_T}$ac_cv_target" >&6
1517 target=$ac_cv_target
1518 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1519 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1520 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1523 # The aliases save the names the user supplied, while $host etc.
1524 # will get canonicalized.
1525 test -n "$target_alias" &&
1526 test "$program_prefix$program_suffix$program_transform_name" = \
1528 program_prefix=${target_alias}-
1530 # Get the 'noncanonical
' system names.
1531 # Autoconf M4 include file defining utility macros for complex Canadian
1540 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1542 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1545 # NCN_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1546 # Like AC_CHECK_TOOL, but tries a prefix of the target, not the host.
1547 # Code is pretty much lifted from autoconf2.53.
1552 # NCN_STRICT_CHECK_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1553 # Like AC_CHECK_TOOL, but requires the prefix if build!=host.
1558 # NCN_STRICT_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1559 # Like NCN_CHECK_TARGET_TOOL, but requires the prefix if build!=target.
1563 # AC_PROG_CPP_WERROR
1564 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1565 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1566 # For now, using this also overrides header checks to use only the
1567 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1568 # bit harder from here).
1569 # Eventually autoconf will default to checking headers with the compiler
1570 # instead, and we'll have to do this differently.
1572 # AC_PROG_CPP_WERROR
1574 case ${build_alias} in
1575 "") build_noncanonical
=${build} ;;
1576 *) build_noncanonical
=${build_alias} ;;
1579 case ${host_alias} in
1580 "") host_noncanonical
=${build_noncanonical} ;;
1581 *) host_noncanonical
=${host_alias} ;;
1584 case ${target_alias} in
1585 "") target_noncanonical
=${host_noncanonical} ;;
1586 *) target_noncanonical
=${target_alias} ;;
1590 # This works around an automake problem.
1591 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1594 # Find a good install program. We prefer a C program (faster),
1595 # so one script is as good as another. But avoid the broken or
1596 # incompatible versions:
1597 # SysV /etc/install, /usr/sbin/install
1598 # SunOS /usr/etc/install
1599 # IRIX /sbin/install
1601 # AmigaOS /C/install, which installs bootblocks on floppy discs
1602 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1603 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1604 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1605 # OS/2's system install, which has a completely different semantic
1606 # ./install, which can be erroneously created by make from ./install.sh.
1607 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1608 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1609 if test -z "$INSTALL"; then
1610 if test "${ac_cv_path_install+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir
=.
1618 # Account for people who put trailing slashes in PATH elements.
1620 .
/ | .
// |
/cC
/* | \
1621 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1622 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1625 # OSF1 and SCO ODT 3.0 have their own names for install.
1626 # Don't use installbsd from OSF since it installs stuff as root
1628 for ac_prog
in ginstall scoinst
install; do
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1631 if test $ac_prog = install &&
1632 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1633 # AIX install. It has an incompatible calling convention.
1635 elif test $ac_prog = install &&
1636 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1637 # program-specific install script used by HP pwplus--don't use.
1640 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1652 if test "${ac_cv_path_install+set}" = set; then
1653 INSTALL
=$ac_cv_path_install
1655 # As a last resort, use the slow shell script. We don't cache a
1656 # path for INSTALL within a source directory, because that will
1657 # break other packages using the cache if that directory is
1658 # removed, or if the path is relative.
1659 INSTALL
=$ac_install_sh
1662 echo "$as_me:$LINENO: result: $INSTALL" >&5
1663 echo "${ECHO_T}$INSTALL" >&6
1665 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1666 # It thinks the first close brace ends the variable substitution.
1667 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1669 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1671 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1673 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1674 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1677 echo timestamp
> conftestfile
1678 # Do `set' in a subshell so we don't clobber the current shell's
1679 # arguments. Must try -L first in case configure is actually a
1680 # symlink; some systems play weird games with the mod time of symlinks
1681 # (eg FreeBSD returns the mod time of the symlink's containing
1684 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1685 if test "$*" = "X"; then
1687 set X
`ls -t $srcdir/configure conftestfile`
1689 if test "$*" != "X $srcdir/configure conftestfile" \
1690 && test "$*" != "X conftestfile $srcdir/configure"; then
1692 # If neither matched, then we have a broken ls. This can happen
1693 # if, for instance, CONFIG_SHELL is bash and it inherits a
1694 # broken ls alias from the environment. This has actually
1695 # happened. Such a system could not be considered "sane".
1696 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1697 alias in your environment" >&5
1698 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1699 alias in your environment" >&2;}
1700 { (exit 1); exit 1; }; }
1703 test "$2" = conftestfile
1709 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1710 Check your system clock" >&5
1711 echo "$as_me: error: newly created file is older than distributed files!
1712 Check your system clock" >&2;}
1713 { (exit 1); exit 1; }; }
1716 echo "$as_me:$LINENO: result: yes" >&5
1717 echo "${ECHO_T}yes" >&6
1718 test "$program_prefix" != NONE
&&
1719 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1720 # Use a double $ so make ignores it.
1721 test "$program_suffix" != NONE
&&
1722 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1723 # Double any \ or $. echo might interpret backslashes.
1724 # By default was `s,x,x', remove it if useless.
1725 cat <<\_ACEOF
>conftest.
sed
1726 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1728 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1731 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1732 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1733 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1734 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 cat >conftest.
make <<\_ACEOF
1739 @
echo 'ac_maketemp="$(MAKE)"'
1741 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1742 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1743 if test -n "$ac_maketemp"; then
1744 eval ac_cv_prog_make_
${ac_make}_set
=yes
1746 eval ac_cv_prog_make_
${ac_make}_set
=no
1750 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1751 echo "$as_me:$LINENO: result: yes" >&5
1752 echo "${ECHO_T}yes" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1757 SET_MAKE
="MAKE=${MAKE-make}"
1767 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1768 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1769 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1770 { (exit 1); exit 1; }; }
1775 missing_dir
=`cd $ac_aux_dir && pwd`
1776 echo "$as_me:$LINENO: checking for working aclocal" >&5
1777 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1778 # Run test in a subshell; some versions of sh will print an error if
1779 # an executable is not found, even if stderr is redirected.
1780 # Redirect stdin to placate older versions of autoconf. Sigh.
1781 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1783 echo "$as_me:$LINENO: result: found" >&5
1784 echo "${ECHO_T}found" >&6
1786 ACLOCAL
="$missing_dir/missing aclocal"
1787 echo "$as_me:$LINENO: result: missing" >&5
1788 echo "${ECHO_T}missing" >&6
1791 echo "$as_me:$LINENO: checking for working autoconf" >&5
1792 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1793 # Run test in a subshell; some versions of sh will print an error if
1794 # an executable is not found, even if stderr is redirected.
1795 # Redirect stdin to placate older versions of autoconf. Sigh.
1796 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1798 echo "$as_me:$LINENO: result: found" >&5
1799 echo "${ECHO_T}found" >&6
1801 AUTOCONF
="$missing_dir/missing autoconf"
1802 echo "$as_me:$LINENO: result: missing" >&5
1803 echo "${ECHO_T}missing" >&6
1806 echo "$as_me:$LINENO: checking for working automake" >&5
1807 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1808 # Run test in a subshell; some versions of sh will print an error if
1809 # an executable is not found, even if stderr is redirected.
1810 # Redirect stdin to placate older versions of autoconf. Sigh.
1811 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1813 echo "$as_me:$LINENO: result: found" >&5
1814 echo "${ECHO_T}found" >&6
1816 AUTOMAKE
="$missing_dir/missing automake"
1817 echo "$as_me:$LINENO: result: missing" >&5
1818 echo "${ECHO_T}missing" >&6
1821 echo "$as_me:$LINENO: checking for working autoheader" >&5
1822 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1823 # Run test in a subshell; some versions of sh will print an error if
1824 # an executable is not found, even if stderr is redirected.
1825 # Redirect stdin to placate older versions of autoconf. Sigh.
1826 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1827 AUTOHEADER
=autoheader
1828 echo "$as_me:$LINENO: result: found" >&5
1829 echo "${ECHO_T}found" >&6
1831 AUTOHEADER
="$missing_dir/missing autoheader"
1832 echo "$as_me:$LINENO: result: missing" >&5
1833 echo "${ECHO_T}missing" >&6
1836 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1837 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1838 # Run test in a subshell; some versions of sh will print an error if
1839 # an executable is not found, even if stderr is redirected.
1840 # Redirect stdin to placate older versions of autoconf. Sigh.
1841 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1843 echo "$as_me:$LINENO: result: found" >&5
1844 echo "${ECHO_T}found" >&6
1846 MAKEINFO
="$missing_dir/missing makeinfo"
1847 echo "$as_me:$LINENO: result: missing" >&5
1848 echo "${ECHO_T}missing" >&6
1853 # The autoconf 2.5x version of the no-executables hack.
1854 # GCC_NO_EXECUTABLES
1856 # FIXME: The GCC team has specific needs which the current Autoconf
1857 # framework cannot solve elegantly. This macro implements a dirty
1858 # hack until Autoconf is able to provide the services its users
1861 # Several of the support libraries that are often built with GCC can't
1862 # assume the tool-chain is already capable of linking a program: the
1863 # compiler often expects to be able to link with some of such
1866 # In several of these libraries, workarounds have been introduced to
1867 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1868 # configuration. The introduction of AC_EXEEXT, enabled either by
1869 # libtool or by CVS autoconf, have just made matters worse.
1871 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1872 # disable link tests at autoconf time, but at configure time.
1873 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1874 # GCC_NO_EXECUTABLES
1879 ac_cpp
='$CPP $CPPFLAGS'
1880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1883 if test -n "$ac_tool_prefix"; then
1884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1885 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$CC"; then
1892 ac_cv_prog_CC
="$CC" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 if test -n "$CC"; then
1912 echo "$as_me:$LINENO: result: $CC" >&5
1913 echo "${ECHO_T}$CC" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1920 if test -z "$ac_cv_prog_CC"; then
1922 # Extract the first word of "gcc", so it can be a program name with args.
1923 set dummy gcc
; ac_word
=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$ac_ct_CC"; then
1930 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir
=.
1937 for ac_exec_ext
in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_ac_ct_CC
="gcc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1949 if test -n "$ac_ct_CC"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951 echo "${ECHO_T}$ac_ct_CC" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1962 if test -z "$CC"; then
1963 if test -n "$ac_tool_prefix"; then
1964 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1965 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_CC+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 if test -n "$CC"; then
1972 ac_cv_prog_CC
="$CC" # Let the user override the test.
1974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir
=.
1979 for ac_exec_ext
in '' $ac_executable_extensions; do
1980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 if test -n "$CC"; then
1992 echo "$as_me:$LINENO: result: $CC" >&5
1993 echo "${ECHO_T}$CC" >&6
1995 echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
2000 if test -z "$ac_cv_prog_CC"; then
2002 # Extract the first word of "cc", so it can be a program name with args.
2003 set dummy cc
; ac_word
=$2
2004 echo "$as_me:$LINENO: checking for $ac_word" >&5
2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$ac_ct_CC"; then
2010 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir
=.
2017 for ac_exec_ext
in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019 ac_cv_prog_ac_ct_CC
="cc"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2029 if test -n "$ac_ct_CC"; then
2030 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2031 echo "${ECHO_T}$ac_ct_CC" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2043 if test -z "$CC"; then
2044 # Extract the first word of "cc", so it can be a program name with args.
2045 set dummy cc
; ac_word
=$2
2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC
="$CC" # Let the user override the test.
2055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir
=.
2060 for ac_exec_ext
in '' $ac_executable_extensions; do
2061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2063 ac_prog_rejected
=yes
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test $ac_prog_rejected = yes; then
2074 # We found a bogon in the path, so make sure we never use it.
2075 set dummy
$ac_cv_prog_CC
2077 if test $# != 0; then
2078 # We chose a different compiler from the bogus one.
2079 # However, it has the same basename, so the bogon will be chosen
2080 # first if we set CC to just the basename; use the full file name.
2082 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2097 if test -z "$CC"; then
2098 if test -n "$ac_tool_prefix"; then
2101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2103 echo "$as_me:$LINENO: checking for $ac_word" >&5
2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2105 if test "${ac_cv_prog_CC+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test -n "$CC"; then
2109 ac_cv_prog_CC
="$CC" # Let the user override the test.
2111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir
=.
2116 for ac_exec_ext
in '' $ac_executable_extensions; do
2117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2118 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 if test -n "$CC"; then
2129 echo "$as_me:$LINENO: result: $CC" >&5
2130 echo "${ECHO_T}$CC" >&6
2132 echo "$as_me:$LINENO: result: no" >&5
2133 echo "${ECHO_T}no" >&6
2136 test -n "$CC" && break
2139 if test -z "$CC"; then
2143 # Extract the first word of "$ac_prog", so it can be a program name with args.
2144 set dummy
$ac_prog; ac_word
=$2
2145 echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$ac_ct_CC"; then
2151 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 for ac_exec_ext
in '' $ac_executable_extensions; do
2159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2160 ac_cv_prog_ac_ct_CC
="$ac_prog"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2170 if test -n "$ac_ct_CC"; then
2171 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2172 echo "${ECHO_T}$ac_ct_CC" >&6
2174 echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6
2178 test -n "$ac_ct_CC" && break
2187 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2188 See \`config.log' for more details." >&5
2189 echo "$as_me: error: no acceptable C compiler found in \$PATH
2190 See \`config.log' for more details." >&2;}
2191 { (exit 1); exit 1; }; }
2193 # Provide some information about the compiler.
2194 echo "$as_me:$LINENO:" \
2195 "checking for C compiler version" >&5
2196 ac_compiler
=`set X $ac_compile; echo $2`
2197 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2198 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }
2202 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2203 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }
2207 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2208 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }
2213 cat >conftest.
$ac_ext <<_ACEOF
2216 cat confdefs.h
>>conftest.
$ac_ext
2217 cat >>conftest.
$ac_ext <<_ACEOF
2218 /* end confdefs.h. */
2229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2230 (eval $ac_link) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; then
2239 if test x
$gcc_no_link = xyes
; then
2240 # Setting cross_compile will disable run tests; it will
2241 # also disable AC_CHECK_FILE but that's generally
2242 # correct if we can't link.
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2261 ac_clean_files_save
=$ac_clean_files
2262 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2263 # Try to create an executable without -o first, disregard a.out.
2264 # It will help us diagnose broken compilers, and finding out an intuition
2266 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2267 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2268 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2269 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2270 (eval $ac_link_default) 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; then
2274 # Find the output, starting from the most likely. This scheme is
2275 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2278 # Be careful to initialize this variable, since it used to be cached.
2279 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2281 # b.out is created by i960 compilers.
2282 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2284 test -f "$ac_file" ||
continue
2286 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2289 # This is the source file.
2292 # We found the default executable, but exeext='' is most
2296 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2297 # FIXME: I believe we export ac_cv_exeext for Libtool,
2298 # but it would be cool to find out if it's true. Does anybody
2299 # maintain Libtool? --akim.
2307 echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.
$ac_ext >&5
2310 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: C compiler cannot create executables
2313 See \`config.log' for more details." >&2;}
2314 { (exit 77); exit 77; }; }
2317 ac_exeext
=$ac_cv_exeext
2318 echo "$as_me:$LINENO: result: $ac_file" >&5
2319 echo "${ECHO_T}$ac_file" >&6
2321 # Check the compiler produces executables we can run. If not, either
2322 # the compiler is broken, or we cross compile.
2323 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2324 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2325 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2326 # If not cross compiling, check that we can run a simple program.
2327 if test "$cross_compiling" != yes; then
2328 if { ac_try
='./$ac_file'
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; }; then
2336 if test "$cross_compiling" = maybe
; then
2339 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2340 If you meant to cross compile, use \`--host'.
2341 See \`config.log' for more details." >&5
2342 echo "$as_me: error: cannot run C compiled programs.
2343 If you meant to cross compile, use \`--host'.
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2349 echo "$as_me:$LINENO: result: yes" >&5
2350 echo "${ECHO_T}yes" >&6
2352 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2353 ac_clean_files
=$ac_clean_files_save
2354 # Check the compiler produces executables we can run. If not, either
2355 # the compiler is broken, or we cross compile.
2356 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2357 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2358 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2359 echo "${ECHO_T}$cross_compiling" >&6
2361 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2362 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2364 (eval $ac_link) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then
2368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2370 # work properly (i.e., refer to `conftest.exe'), while it won't with
2372 for ac_file
in conftest.exe conftest conftest.
*; do
2373 test -f "$ac_file" ||
continue
2375 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2376 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2383 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2384 See \`config.log' for more details." >&5
2385 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2386 See \`config.log' for more details." >&2;}
2387 { (exit 1); exit 1; }; }
2390 rm -f conftest
$ac_cv_exeext
2391 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2392 echo "${ECHO_T}$ac_cv_exeext" >&6
2394 rm -f conftest.
$ac_ext
2395 EXEEXT
=$ac_cv_exeext
2398 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2399 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2400 if test "${ac_cv_objext+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 cat >conftest.
$ac_ext <<_ACEOF
2406 cat confdefs.h
>>conftest.
$ac_ext
2407 cat >>conftest.
$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2418 rm -f conftest.o conftest.obj
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; then
2424 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2426 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2427 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2435 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2438 See \`config.log' for more details." >&2;}
2439 { (exit 1); exit 1; }; }
2442 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2444 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2445 echo "${ECHO_T}$ac_cv_objext" >&6
2446 OBJEXT
=$ac_cv_objext
2448 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2449 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2450 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>conftest.er1
2475 grep -v '^ *+' conftest.er1
>conftest.err
2477 cat conftest.err
>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try
='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.
$ac_ext >&5
2499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2500 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2503 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2504 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2505 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2506 ac_test_CFLAGS
=${CFLAGS+set}
2507 ac_save_CFLAGS
=$CFLAGS
2509 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2510 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2511 if test "${ac_cv_prog_cc_g+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 cat >conftest.
$ac_ext <<_ACEOF
2517 cat confdefs.h
>>conftest.
$ac_ext
2518 cat >>conftest.
$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 rm -f conftest.
$ac_objext
2530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>conftest.er1
2533 grep -v '^ *+' conftest.er1
>conftest.err
2535 cat conftest.err
>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); } &&
2538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; } &&
2544 { ac_try
='test -s conftest.$ac_objext'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2560 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2561 if test "$ac_test_CFLAGS" = set; then
2562 CFLAGS
=$ac_save_CFLAGS
2563 elif test $ac_cv_prog_cc_g = yes; then
2564 if test "$GCC" = yes; then
2570 if test "$GCC" = yes; then
2576 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2577 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2578 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 ac_cv_prog_cc_stdc
=no
2583 cat >conftest.
$ac_ext <<_ACEOF
2586 cat confdefs.h
>>conftest.
$ac_ext
2587 cat >>conftest.
$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2591 #include <sys/types.h>
2592 #include <sys/stat.h>
2593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2594 struct buf { int x; };
2595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2596 static char *e (p, i)
2602 static char *f (char * (*g) (char **, int), char **p, ...)
2607 s = g (p, va_arg (v,int));
2612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2613 function prototypes and stuff, but not '\xHH' hex character constants.
2614 These don't provoke an error unfortunately, instead are silently treated
2615 as 'x'. The following induces an error, until -std1 is added to get
2616 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2617 array size at least. It's necessary to write '\x00'==0 to get something
2618 that's true only with -std1. */
2619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2621 int test (int i, double x);
2622 struct s1 {int (*f) (int a);};
2623 struct s2 {int (*f) (double a);};
2624 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2630 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2635 # Don't try gcc -ansi; that turns off useful extensions and
2636 # breaks some systems' header files.
2637 # AIX -qlanglvl=ansi
2638 # Ultrix and OSF/1 -std1
2639 # HP-UX 10.20 and later -Ae
2640 # HP-UX older versions -Aa -D_HPUX_SOURCE
2641 # SVR4 -Xc -D__EXTENSIONS__
2642 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2644 CC
="$ac_save_CC $ac_arg"
2645 rm -f conftest.
$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>conftest.er1
2649 grep -v '^ *+' conftest.er1
>conftest.err
2651 cat conftest.err
>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } &&
2654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try
='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2666 ac_cv_prog_cc_stdc
=$ac_arg
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2673 rm -f conftest.err conftest.
$ac_objext
2675 rm -f conftest.
$ac_ext conftest.
$ac_objext
2680 case "x$ac_cv_prog_cc_stdc" in
2682 echo "$as_me:$LINENO: result: none needed" >&5
2683 echo "${ECHO_T}none needed" >&6 ;;
2685 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2686 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2687 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2690 # Some people use a C++ compiler to compile C. Since we use `exit',
2691 # in C++ we need to declare it. In case someone uses the same compiler
2692 # for both compiling C and C++ we need to have the C++ compiler decide
2693 # the declaration of exit, since it's the most demanding environment.
2694 cat >conftest.
$ac_ext <<_ACEOF
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2720 for ac_declaration
in \
2722 'extern "C" void std::exit (int) throw (); using std::exit;' \
2723 'extern "C" void std::exit (int); using std::exit;' \
2724 'extern "C" void exit (int) throw ();' \
2725 'extern "C" void exit (int);' \
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2744 rm -f conftest.
$ac_objext
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>conftest.er1
2748 grep -v '^ *+' conftest.er1
>conftest.err
2750 cat conftest.err
>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; } &&
2759 { ac_try
='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.
$ac_ext >&5
2772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 cat >conftest.
$ac_ext <<_ACEOF
2776 cat confdefs.h
>>conftest.
$ac_ext
2777 cat >>conftest.
$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 rm -f conftest.
$ac_objext
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790 (eval $ac_compile) 2>conftest.er1
2792 grep -v '^ *+' conftest.er1
>conftest.err
2794 cat conftest.err
>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } &&
2797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; } &&
2803 { ac_try
='test -s conftest.$ac_objext'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; }; then
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.
$ac_ext >&5
2815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2818 if test -n "$ac_declaration"; then
2819 echo '#ifdef __cplusplus' >>confdefs.h
2820 echo $ac_declaration >>confdefs.h
2821 echo '#endif' >>confdefs.h
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.
$ac_ext >&5
2829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2831 ac_cpp
='$CPP $CPPFLAGS'
2832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2837 ac_cpp
='$CXXCPP $CPPFLAGS'
2838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2841 if test -n "$ac_tool_prefix"; then
2842 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2845 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2846 echo "$as_me:$LINENO: checking for $ac_word" >&5
2847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2848 if test "${ac_cv_prog_CXX+set}" = set; then
2849 echo $ECHO_N "(cached) $ECHO_C" >&6
2851 if test -n "$CXX"; then
2852 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir
=.
2859 for ac_exec_ext
in '' $ac_executable_extensions; do
2860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CXX"; then
2872 echo "$as_me:$LINENO: result: $CXX" >&5
2873 echo "${ECHO_T}$CXX" >&6
2875 echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6
2879 test -n "$CXX" && break
2882 if test -z "$CXX"; then
2884 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2886 # Extract the first word of "$ac_prog", so it can be a program name with args.
2887 set dummy
$ac_prog; ac_word
=$2
2888 echo "$as_me:$LINENO: checking for $ac_word" >&5
2889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2890 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 if test -n "$ac_ct_CXX"; then
2894 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2913 if test -n "$ac_ct_CXX"; then
2914 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2915 echo "${ECHO_T}$ac_ct_CXX" >&6
2917 echo "$as_me:$LINENO: result: no" >&5
2918 echo "${ECHO_T}no" >&6
2921 test -n "$ac_ct_CXX" && break
2923 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2929 # Provide some information about the compiler.
2930 echo "$as_me:$LINENO:" \
2931 "checking for C++ compiler version" >&5
2932 ac_compiler
=`set X $ac_compile; echo $2`
2933 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2934 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }
2938 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2939 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }
2943 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2944 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }
2949 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2950 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2951 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 cat >conftest.
$ac_ext <<_ACEOF
2957 cat confdefs.h
>>conftest.
$ac_ext
2958 cat >>conftest.
$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2972 rm -f conftest.
$ac_objext
2973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2974 (eval $ac_compile) 2>conftest.er1
2976 grep -v '^ *+' conftest.er1
>conftest.err
2978 cat conftest.err
>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } &&
2981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try
='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
3000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3001 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3004 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3005 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3006 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3007 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3008 ac_save_CXXFLAGS
=$CXXFLAGS
3010 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3011 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3012 if test "${ac_cv_prog_cxx_g+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 cat >conftest.
$ac_ext <<_ACEOF
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3030 rm -f conftest.
$ac_objext
3031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3032 (eval $ac_compile) 2>conftest.er1
3034 grep -v '^ *+' conftest.er1
>conftest.err
3036 cat conftest.err
>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } &&
3039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; } &&
3045 { ac_try
='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g
=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3062 if test "$ac_test_CXXFLAGS" = set; then
3063 CXXFLAGS
=$ac_save_CXXFLAGS
3064 elif test $ac_cv_prog_cxx_g = yes; then
3065 if test "$GXX" = yes; then
3071 if test "$GXX" = yes; then
3077 for ac_declaration
in \
3079 'extern "C" void std::exit (int) throw (); using std::exit;' \
3080 'extern "C" void std::exit (int); using std::exit;' \
3081 'extern "C" void exit (int) throw ();' \
3082 'extern "C" void exit (int);' \
3085 cat >conftest.
$ac_ext <<_ACEOF
3088 cat confdefs.h
>>conftest.
$ac_ext
3089 cat >>conftest.
$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3101 rm -f conftest.
$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3105 grep -v '^ *+' conftest.er1
>conftest.err
3107 cat conftest.err
>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; } &&
3116 { ac_try
='test -s conftest.$ac_objext'
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; }; then
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.
$ac_ext >&5
3129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3130 cat >conftest.
$ac_ext <<_ACEOF
3133 cat confdefs.h
>>conftest.
$ac_ext
3134 cat >>conftest.
$ac_ext <<_ACEOF
3135 /* end confdefs.h. */
3145 rm -f conftest.
$ac_objext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>conftest.er1
3149 grep -v '^ *+' conftest.er1
>conftest.err
3151 cat conftest.err
>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } &&
3154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3175 if test -n "$ac_declaration"; then
3176 echo '#ifdef __cplusplus' >>confdefs.h
3177 echo $ac_declaration >>confdefs.h
3178 echo '#endif' >>confdefs.h
3182 ac_cpp
='$CPP $CPPFLAGS'
3183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3188 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3190 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3191 echo "$as_me:$LINENO: checking for $ac_word" >&5
3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3193 if test "${ac_cv_prog_AS+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -n "$AS"; then
3197 ac_cv_prog_AS
="$AS" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_AS
="${ac_tool_prefix}as"
3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 if test -n "$AS"; then
3217 echo "$as_me:$LINENO: result: $AS" >&5
3218 echo "${ECHO_T}$AS" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3225 if test -z "$ac_cv_prog_AS"; then
3227 # Extract the first word of "as", so it can be a program name with args.
3228 set dummy as
; ac_word
=$2
3229 echo "$as_me:$LINENO: checking for $ac_word" >&5
3230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3231 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 if test -n "$ac_ct_AS"; then
3235 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_exec_ext
in '' $ac_executable_extensions; do
3243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_ac_ct_AS
="as"
3245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3254 if test -n "$ac_ct_AS"; then
3255 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3256 echo "${ECHO_T}$ac_ct_AS" >&6
3258 echo "$as_me:$LINENO: result: no" >&5
3259 echo "${ECHO_T}no" >&6
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3269 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3270 echo "$as_me:$LINENO: checking for $ac_word" >&5
3271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3272 if test "${ac_cv_prog_AR+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 if test -n "$AR"; then
3276 ac_cv_prog_AR
="$AR" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 if test -n "$AR"; then
3296 echo "$as_me:$LINENO: result: $AR" >&5
3297 echo "${ECHO_T}$AR" >&6
3299 echo "$as_me:$LINENO: result: no" >&5
3300 echo "${ECHO_T}no" >&6
3304 if test -z "$ac_cv_prog_AR"; then
3306 # Extract the first word of "ar", so it can be a program name with args.
3307 set dummy
ar; ac_word
=$2
3308 echo "$as_me:$LINENO: checking for $ac_word" >&5
3309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3310 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 if test -n "$ac_ct_AR"; then
3314 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3320 test -z "$as_dir" && as_dir
=.
3321 for ac_exec_ext
in '' $ac_executable_extensions; do
3322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_AR
="ar"
3324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3333 if test -n "$ac_ct_AR"; then
3334 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3335 echo "${ECHO_T}$ac_ct_AR" >&6
3337 echo "$as_me:$LINENO: result: no" >&5
3338 echo "${ECHO_T}no" >&6
3346 if test -n "$ac_tool_prefix"; then
3347 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3348 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3349 echo "$as_me:$LINENO: checking for $ac_word" >&5
3350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3351 if test "${ac_cv_prog_RANLIB+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 if test -n "$RANLIB"; then
3355 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir
=.
3362 for ac_exec_ext
in '' $ac_executable_extensions; do
3363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 RANLIB
=$ac_cv_prog_RANLIB
3374 if test -n "$RANLIB"; then
3375 echo "$as_me:$LINENO: result: $RANLIB" >&5
3376 echo "${ECHO_T}$RANLIB" >&6
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3383 if test -z "$ac_cv_prog_RANLIB"; then
3384 ac_ct_RANLIB
=$RANLIB
3385 # Extract the first word of "ranlib", so it can be a program name with args.
3386 set dummy ranlib
; ac_word
=$2
3387 echo "$as_me:$LINENO: checking for $ac_word" >&5
3388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3389 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 if test -n "$ac_ct_RANLIB"; then
3393 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir
=.
3400 for ac_exec_ext
in '' $ac_executable_extensions; do
3401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3402 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3412 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3413 if test -n "$ac_ct_RANLIB"; then
3414 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3415 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3421 RANLIB
=$ac_ct_RANLIB
3423 RANLIB
="$ac_cv_prog_RANLIB"
3427 # Find a good install program. We prefer a C program (faster),
3428 # so one script is as good as another. But avoid the broken or
3429 # incompatible versions:
3430 # SysV /etc/install, /usr/sbin/install
3431 # SunOS /usr/etc/install
3432 # IRIX /sbin/install
3434 # AmigaOS /C/install, which installs bootblocks on floppy discs
3435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3438 # OS/2's system install, which has a completely different semantic
3439 # ./install, which can be erroneously created by make from ./install.sh.
3440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3442 if test -z "$INSTALL"; then
3443 if test "${ac_cv_path_install+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir
=.
3451 # Account for people who put trailing slashes in PATH elements.
3453 .
/ | .
// |
/cC
/* | \
3454 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3455 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3458 # OSF1 and SCO ODT 3.0 have their own names for install.
3459 # Don't use installbsd from OSF since it installs stuff as root
3461 for ac_prog
in ginstall scoinst
install; do
3462 for ac_exec_ext
in '' $ac_executable_extensions; do
3463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3464 if test $ac_prog = install &&
3465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3466 # AIX install. It has an incompatible calling convention.
3468 elif test $ac_prog = install &&
3469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3470 # program-specific install script used by HP pwplus--don't use.
3473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3485 if test "${ac_cv_path_install+set}" = set; then
3486 INSTALL
=$ac_cv_path_install
3488 # As a last resort, use the slow shell script. We don't cache a
3489 # path for INSTALL within a source directory, because that will
3490 # break other packages using the cache if that directory is
3491 # removed, or if the path is relative.
3492 INSTALL
=$ac_install_sh
3495 echo "$as_me:$LINENO: result: $INSTALL" >&5
3496 echo "${ECHO_T}$INSTALL" >&6
3498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3499 # It thinks the first close brace ends the variable substitution.
3500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3507 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3508 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3509 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3510 if test "${enable_maintainer_mode+set}" = set; then
3511 enableval
="$enable_maintainer_mode"
3512 USE_MAINTAINER_MODE
=$enableval
3514 USE_MAINTAINER_MODE
=no
3516 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3517 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3520 if test $USE_MAINTAINER_MODE = yes; then
3521 MAINTAINER_MODE_TRUE
=
3522 MAINTAINER_MODE_FALSE
='#'
3524 MAINTAINER_MODE_TRUE
='#'
3525 MAINTAINER_MODE_FALSE
=
3527 MAINT
=$MAINTAINER_MODE_TRUE
3531 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
3532 # at least currently, we never actually build a program, so we never
3533 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
3534 # fails, because we are probably configuring with a cross compiler
3535 # which can't create executables. So we include AC_EXEEXT to keep
3536 # automake happy, but we don't execute it, since we don't care about
3539 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
3540 # to nothing, so nothing would remain between `then' and `fi' if it
3541 # were not for the `:' below.
3546 .
${srcdir}/configure.
host
3548 case ${gc_basedir} in
3549 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
3550 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
3553 gc_cflags
="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3556 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3561 GC_CFLAGS
=${gc_cflags}
3565 # Check whether --enable-shared or --disable-shared was given.
3566 if test "${enable_shared+set}" = set; then
3567 enableval
="$enable_shared"
3568 p
=${PACKAGE-default}
3570 yes) enable_shared
=yes ;;
3571 no
) enable_shared
=no
;;
3574 # Look at the argument we got. We use all the common list separators.
3575 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3576 for pkg
in $enableval; do
3577 if test "X$pkg" = "X$p"; then
3587 # Check whether --enable-static or --disable-static was given.
3588 if test "${enable_static+set}" = set; then
3589 enableval
="$enable_static"
3590 p
=${PACKAGE-default}
3592 yes) enable_static
=yes ;;
3593 no
) enable_static
=no
;;
3596 # Look at the argument we got. We use all the common list separators.
3597 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3598 for pkg
in $enableval; do
3599 if test "X$pkg" = "X$p"; then
3609 # Check whether --enable-fast-install or --disable-fast-install was given.
3610 if test "${enable_fast_install+set}" = set; then
3611 enableval
="$enable_fast_install"
3612 p
=${PACKAGE-default}
3614 yes) enable_fast_install
=yes ;;
3615 no
) enable_fast_install
=no
;;
3617 enable_fast_install
=no
3618 # Look at the argument we got. We use all the common list separators.
3619 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3620 for pkg
in $enableval; do
3621 if test "X$pkg" = "X$p"; then
3622 enable_fast_install
=yes
3629 enable_fast_install
=yes
3632 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3633 if test "${with_gnu_ld+set}" = set; then
3634 withval
="$with_gnu_ld"
3635 test "$withval" = no || with_gnu_ld
=yes
3640 if test "$GCC" = yes; then
3641 # Check if gcc -print-prog-name=ld gives a path.
3642 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3643 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3646 # gcc leaves a trailing carriage return which upsets mingw
3647 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3649 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3652 # Accept absolute paths.
3653 [\\/]* |
[A-Za-z
]:[\\/]*)
3654 re_direlt
='/[^/][^/]*/\.\./'
3655 # Canonicalize the path of ld
3656 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3657 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3658 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3660 test -z "$LD" && LD
="$ac_prog"
3663 # If it fails, then pretend we aren't using GCC.
3667 # If it is relative, then search for the first ld in PATH.
3671 elif test "$with_gnu_ld" = yes; then
3672 echo "$as_me:$LINENO: checking for GNU ld" >&5
3673 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3675 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3676 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3678 if test "${lt_cv_path_LD+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 if test -z "$LD"; then
3682 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3683 for ac_dir
in $PATH; do
3684 test -z "$ac_dir" && ac_dir
=.
3685 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3686 lt_cv_path_LD
="$ac_dir/$ac_prog"
3687 # Check to see if the program is GNU ld. I'd rather use --version,
3688 # but apparently some GNU ld's only accept -v.
3689 # Break only if it was the GNU/non-GNU ld that we prefer.
3690 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3691 test "$with_gnu_ld" != no
&& break
3693 test "$with_gnu_ld" != yes && break
3699 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3704 if test -n "$LD"; then
3705 echo "$as_me:$LINENO: result: $LD" >&5
3706 echo "${ECHO_T}$LD" >&6
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3711 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3712 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3713 { (exit 1); exit 1; }; }
3714 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3715 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3716 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3720 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3721 lt_cv_prog_gnu_ld
=yes
3723 lt_cv_prog_gnu_ld
=no
3726 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3727 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3728 with_gnu_ld
=$lt_cv_prog_gnu_ld
3731 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3732 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3733 if test "${lt_cv_ld_reload_flag+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 lt_cv_ld_reload_flag
='-r'
3738 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3739 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3740 reload_flag
=$lt_cv_ld_reload_flag
3741 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3743 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3744 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3745 if test "${lt_cv_path_NM+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 if test -n "$NM"; then
3749 # Let the user override the test.
3752 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3753 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3754 test -z "$ac_dir" && ac_dir
=.
3755 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3756 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3757 # Check to see if the nm accepts a BSD-compat flag.
3758 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3759 # nm: unknown option "B" ignored
3760 # Tru64's nm complains that /dev/null is an invalid object file
3761 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3762 lt_cv_path_NM
="$tmp_nm -B"
3764 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3765 lt_cv_path_NM
="$tmp_nm -p"
3768 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3769 continue # so that we can try to find one that supports BSD flags
3774 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3779 echo "$as_me:$LINENO: result: $NM" >&5
3780 echo "${ECHO_T}$NM" >&6
3782 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3783 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3785 if test "$LN_S" = "ln -s"; then
3786 echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6
3789 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3790 echo "${ECHO_T}no, using $LN_S" >&6
3793 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3794 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3795 if test "${lt_cv_deplibs_check_method+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3799 lt_cv_file_magic_test_file
=
3800 lt_cv_deplibs_check_method
='unknown'
3801 # Need to set the preceding variable on all platforms that support
3802 # interlibrary dependencies.
3803 # 'none' -- dependencies not supported.
3804 # `unknown' -- same as none, but documents that we really don't know.
3805 # 'pass_all' -- all dependencies passed with no checks.
3806 # 'test_compile' -- check by making test program.
3807 # 'file_magic [regex]' -- check by looking for files in library path
3808 # which responds to the $file_magic_cmd with a given egrep regex.
3809 # If you have `file' or equivalent on your system and you're not sure
3810 # whether `pass_all' will *always* work, you probably want this one.
3814 lt_cv_deplibs_check_method
=pass_all
3818 lt_cv_deplibs_check_method
=pass_all
3822 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3823 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3824 lt_cv_file_magic_test_file
=/shlib
/libc.so
3827 cygwin
* | mingw
* |pw32
*)
3828 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3829 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3832 darwin
* | rhapsody
*)
3833 # this will be overwritten by pass_all, but leave it in just in case
3834 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3835 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3837 rhapsody
* | darwin1.012
)
3838 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3841 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3844 lt_cv_deplibs_check_method
=pass_all
3848 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3851 # Not sure whether the presence of OpenBSD here was a mistake.
3852 # Let's accept both of them until this is cleared up.
3853 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3854 lt_cv_file_magic_cmd
=/usr
/bin
/file
3855 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3859 lt_cv_deplibs_check_method
=pass_all
3864 lt_cv_deplibs_check_method
=pass_all
3870 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3871 lt_cv_file_magic_cmd
=/usr
/bin
/file
3872 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3875 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3876 lt_cv_file_magic_cmd
=/usr
/bin
/file
3877 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3885 # this will be overridden with pass_all, but let us keep it just in case
3886 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3890 *-32|
*"-32 ") libmagic
=32-bit;;
3891 *-n32|
*"-n32 ") libmagic
=N32
;;
3892 *-64|
*"-64 ") libmagic
=64-bit;;
3893 *) libmagic
=never-match
;;
3895 # this will be overridden with pass_all, but let us keep it just in case
3896 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3899 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3900 lt_cv_deplibs_check_method
=pass_all
3903 # This must be Linux ELF.
3906 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3907 lt_cv_deplibs_check_method
=pass_all
;;
3909 # glibc up to 2.1.1 does not perform some relocations on ARM
3910 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3912 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3916 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3917 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3919 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3924 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3925 lt_cv_file_magic_cmd
=/usr
/bin
/file
3926 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3929 osf3
* | osf4
* | osf5
*)
3930 # this will be overridden with pass_all, but let us keep it just in case
3931 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3932 lt_cv_file_magic_test_file
=/shlib
/libc.so
3933 lt_cv_deplibs_check_method
=pass_all
3937 lt_cv_deplibs_check_method
=pass_all
3941 lt_cv_deplibs_check_method
=pass_all
3942 lt_cv_file_magic_test_file
=/lib
/libc.so
3945 sysv5uw
[78]* | sysv4
*uw2
*)
3946 lt_cv_deplibs_check_method
=pass_all
3949 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3950 case $host_vendor in
3952 lt_cv_deplibs_check_method
=pass_all
3955 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]'
3956 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3963 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3964 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3965 file_magic_cmd
=$lt_cv_file_magic_cmd
3966 deplibs_check_method
=$lt_cv_deplibs_check_method
3971 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3973 # Only perform the check for file, if the check method requires it
3974 case $deplibs_check_method in
3976 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3977 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3978 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3979 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3987 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3990 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3992 ac_dummy
="/usr/bin:$PATH"
3993 for ac_dir
in $ac_dummy; do
3994 test -z "$ac_dir" && ac_dir
=.
3995 if test -f $ac_dir/${ac_tool_prefix}file; then
3996 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3997 if test -n "$file_magic_test_file"; then
3998 case $deplibs_check_method in
4000 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4001 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4002 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4003 egrep "$file_magic_regex" > /dev
/null
; then
4008 *** Warning: the command libtool uses to detect shared libraries,
4009 *** $file_magic_cmd, produces output that libtool cannot recognize.
4010 *** The result is that libtool may fail to recognize shared libraries
4011 *** as such. This will affect the creation of libtool libraries that
4012 *** depend on shared libraries, but programs linked with such libtool
4013 *** libraries will work regardless of this problem. Nevertheless, you
4014 *** may want to report the problem to your system manager and/or to
4015 *** bug-libtool@gnu.org
4025 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4030 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4031 if test -n "$MAGIC_CMD"; then
4032 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4033 echo "${ECHO_T}$MAGIC_CMD" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4039 if test -z "$lt_cv_path_MAGIC_CMD"; then
4040 if test -n "$ac_tool_prefix"; then
4041 echo "$as_me:$LINENO: checking for file" >&5
4042 echo $ECHO_N "checking for file... $ECHO_C" >&6
4043 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4051 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4054 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4055 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4056 ac_dummy
="/usr/bin:$PATH"
4057 for ac_dir
in $ac_dummy; do
4058 test -z "$ac_dir" && ac_dir
=.
4059 if test -f $ac_dir/file; then
4060 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4061 if test -n "$file_magic_test_file"; then
4062 case $deplibs_check_method in
4064 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4065 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4066 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4067 egrep "$file_magic_regex" > /dev
/null
; then
4072 *** Warning: the command libtool uses to detect shared libraries,
4073 *** $file_magic_cmd, produces output that libtool cannot recognize.
4074 *** The result is that libtool may fail to recognize shared libraries
4075 *** as such. This will affect the creation of libtool libraries that
4076 *** depend on shared libraries, but programs linked with such libtool
4077 *** libraries will work regardless of this problem. Nevertheless, you
4078 *** may want to report the problem to your system manager and/or to
4079 *** bug-libtool@gnu.org
4089 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4094 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4095 if test -n "$MAGIC_CMD"; then
4096 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4097 echo "${ECHO_T}$MAGIC_CMD" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4112 if test -n "$ac_tool_prefix"; then
4113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4114 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4115 echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4117 if test "${ac_cv_prog_RANLIB+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$RANLIB"; then
4121 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 RANLIB
=$ac_cv_prog_RANLIB
4140 if test -n "$RANLIB"; then
4141 echo "$as_me:$LINENO: result: $RANLIB" >&5
4142 echo "${ECHO_T}$RANLIB" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4149 if test -z "$ac_cv_prog_RANLIB"; then
4150 ac_ct_RANLIB
=$RANLIB
4151 # Extract the first word of "ranlib", so it can be a program name with args.
4152 set dummy ranlib
; ac_word
=$2
4153 echo "$as_me:$LINENO: checking for $ac_word" >&5
4154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4155 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 if test -n "$ac_ct_RANLIB"; then
4159 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4178 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4179 if test -n "$ac_ct_RANLIB"; then
4180 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4181 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4187 RANLIB
=$ac_ct_RANLIB
4189 RANLIB
="$ac_cv_prog_RANLIB"
4192 if test -n "$ac_tool_prefix"; then
4193 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4194 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4195 echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4197 if test "${ac_cv_prog_STRIP+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 if test -n "$STRIP"; then
4201 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir
=.
4208 for ac_exec_ext
in '' $ac_executable_extensions; do
4209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 STRIP
=$ac_cv_prog_STRIP
4220 if test -n "$STRIP"; then
4221 echo "$as_me:$LINENO: result: $STRIP" >&5
4222 echo "${ECHO_T}$STRIP" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4229 if test -z "$ac_cv_prog_STRIP"; then
4231 # Extract the first word of "strip", so it can be a program name with args.
4232 set dummy strip
; ac_word
=$2
4233 echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$ac_ct_STRIP"; then
4239 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_ac_ct_STRIP
="strip"
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4258 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4259 if test -n "$ac_ct_STRIP"; then
4260 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4261 echo "${ECHO_T}$ac_ct_STRIP" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4269 STRIP
="$ac_cv_prog_STRIP"
4273 # Check for any special flags to pass to ltconfig.
4274 libtool_flags
="--cache-file=$cache_file"
4275 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4276 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4277 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4278 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4279 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4282 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4283 if test "${enable_libtool_lock+set}" = set; then
4284 enableval
="$enable_libtool_lock"
4287 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4288 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4291 # Check whether --with-pic or --without-pic was given.
4292 if test "${with_pic+set}" = set; then
4298 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4299 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4301 # Some flags need to be propagated to the compiler or linker for good
4305 # Find out which ABI we are using.
4306 echo '#line 4306 "configure"' > conftest.
$ac_ext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4308 (eval $ac_compile) 2>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; then
4312 if test "$lt_cv_prog_gnu_ld" = yes; then
4313 case `/usr/bin/file conftest.$ac_objext` in
4315 LD
="${LD-ld} -melf32bsmip"
4318 LD
="${LD-ld} -melf32bmipn32"
4321 LD
="${LD-ld} -melf64bmip"
4325 case `/usr/bin/file conftest.$ac_objext` in
4342 # Find out which ABI we are using.
4343 echo 'int i;' > conftest.
$ac_ext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345 (eval $ac_compile) 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; then
4349 case "`/usr/bin/file conftest.o`" in
4361 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4362 # Find out which ABI we are using.
4363 echo 'int i;' > conftest.
$ac_ext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4365 (eval $ac_compile) 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; then
4369 case "`/usr/bin/file conftest.o`" in
4373 LD
="${LD-ld} -m elf_i386"
4375 ppc64-
*linux
*|powerpc64-
*linux
*)
4376 LD
="${LD-ld} -m elf32ppclinux"
4379 LD
="${LD-ld} -m elf_s390"
4382 LD
="${LD-ld} -m elf32_sparc"
4389 LD
="${LD-ld} -m elf_x86_64"
4391 ppc
*-*linux
*|powerpc
*-*linux
*)
4392 LD
="${LD-ld} -m elf64ppc"
4395 LD
="${LD-ld} -m elf64_s390"
4398 LD
="${LD-ld} -m elf64_sparc"
4408 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4409 SAVE_CFLAGS
="$CFLAGS"
4410 CFLAGS
="$CFLAGS -belf"
4411 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4412 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4413 if test "${lt_cv_cc_needs_belf+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 ac_cpp
='$CPP $CPPFLAGS'
4420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4424 if test x
$gcc_no_link = xyes
; then
4425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4427 { (exit 1); exit 1; }; }
4429 cat >conftest.
$ac_ext <<_ACEOF
4432 cat confdefs.h
>>conftest.
$ac_ext
4433 cat >>conftest.
$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4444 rm -f conftest.
$ac_objext conftest
$ac_exeext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4446 (eval $ac_link) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest$ac_exeext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 lt_cv_cc_needs_belf
=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 lt_cv_cc_needs_belf
=no
4472 rm -f conftest.err conftest.
$ac_objext \
4473 conftest
$ac_exeext conftest.
$ac_ext
4475 ac_cpp
='$CPP $CPPFLAGS'
4476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4481 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4482 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4483 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4484 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4485 CFLAGS
="$SAVE_CFLAGS"
4493 # Save cache, so that ltconfig can load it
4494 cat >confcache
<<\_ACEOF
4495 # This file is a shell script that caches the results of configure
4496 # tests run on this system so they can be shared between configure
4497 # scripts and configure runs, see configure's option --config-cache.
4498 # It is not useful on other systems. If it contains results you don't
4499 # want to keep, you may remove or edit it.
4501 # config.status only pays attention to the cache file if you give it
4502 # the --recheck option to rerun configure.
4504 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4505 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4510 # The following way of writing the cache mishandles newlines in values,
4511 # but we know of no workaround that is simple, portable, and efficient.
4512 # So, don't put newlines in cache variables' values.
4513 # Ultrix sh set writes to stderr and can't be redirected directly,
4514 # and sets the high bit in the cache file unless we assign to the vars.
4517 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4519 # `set' does not quote correctly, so add quotes (double-quote
4520 # substitution turns \\\\ into \\, and sed turns \\ into \).
4523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4526 # `set' quotes correctly as required by POSIX, so do not add quotes.
4528 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4535 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4537 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4539 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4540 if test -w $cache_file; then
4541 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4542 cat confcache
>$cache_file
4544 echo "not updating unwritable cache $cache_file"
4549 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4550 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4551 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4552 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4553 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4554 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4555 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4556 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4557 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4558 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4559 echo "$as_me: error: libtool configure failed" >&2;}
4560 { (exit 1); exit 1; }; }
4562 # Reload cache, that may have been modified by ltconfig
4563 if test -r "$cache_file"; then
4564 # Some versions of bash will fail to source /dev/null (special
4565 # files actually), so we avoid doing that.
4566 if test -f "$cache_file"; then
4567 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4568 echo "$as_me: loading cache $cache_file" >&6;}
4570 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4571 *) . .
/$cache_file;;
4575 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4576 echo "$as_me: creating cache $cache_file" >&6;}
4581 # This can be used to rebuild libtool when needed
4582 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4584 # Always use our own libtool.
4585 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4587 # Redirect the config.log output again, so that the ltconfig log is not
4588 # clobbered by the next message.
4589 exec 5>>.
/config.log
4592 ac_cpp
='$CXXCPP $CPPFLAGS'
4593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4596 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4598 if test -z "$CXXCPP"; then
4599 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 # Double quotes because CXXCPP needs to be expanded
4603 for CXXCPP
in "$CXX -E" "/lib/cpp"
4606 for ac_cxx_preproc_warn_flag
in '' yes
4608 # Use a header file that comes with gcc, so configuring glibc
4609 # with a fresh cross-compiler works.
4610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4611 # <limits.h> exists even on freestanding compilers.
4612 # On the NeXT, cc -E runs the code through the compiler's parser,
4613 # not just through cpp. "Syntax error" is here to catch this case.
4614 cat >conftest.
$ac_ext <<_ACEOF
4617 cat confdefs.h
>>conftest.
$ac_ext
4618 cat >>conftest.
$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 # include <limits.h>
4623 # include <assert.h>
4627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4628 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4630 grep -v '^ *+' conftest.er1
>conftest.err
4632 cat conftest.err
>&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } >/dev
/null
; then
4635 if test -s conftest.err
; then
4636 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4637 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4644 if test -z "$ac_cpp_err"; then
4647 echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.
$ac_ext >&5
4650 # Broken: fails on valid input.
4653 rm -f conftest.err conftest.
$ac_ext
4655 # OK, works on sane cases. Now check whether non-existent headers
4656 # can be detected and how.
4657 cat >conftest.
$ac_ext <<_ACEOF
4660 cat confdefs.h
>>conftest.
$ac_ext
4661 cat >>conftest.
$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 #include <ac_nonexistent.h>
4665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4668 grep -v '^ *+' conftest.er1
>conftest.err
4670 cat conftest.err
>&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } >/dev
/null
; then
4673 if test -s conftest.err
; then
4674 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4675 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4682 if test -z "$ac_cpp_err"; then
4683 # Broken: success on invalid input.
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4689 # Passes both tests.
4693 rm -f conftest.err conftest.
$ac_ext
4696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4697 rm -f conftest.err conftest.
$ac_ext
4698 if $ac_preproc_ok; then
4703 ac_cv_prog_CXXCPP
=$CXXCPP
4706 CXXCPP
=$ac_cv_prog_CXXCPP
4708 ac_cv_prog_CXXCPP
=$CXXCPP
4710 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4711 echo "${ECHO_T}$CXXCPP" >&6
4713 for ac_cxx_preproc_warn_flag
in '' yes
4715 # Use a header file that comes with gcc, so configuring glibc
4716 # with a fresh cross-compiler works.
4717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4718 # <limits.h> exists even on freestanding compilers.
4719 # On the NeXT, cc -E runs the code through the compiler's parser,
4720 # not just through cpp. "Syntax error" is here to catch this case.
4721 cat >conftest.
$ac_ext <<_ACEOF
4724 cat confdefs.h
>>conftest.
$ac_ext
4725 cat >>conftest.
$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4728 # include <limits.h>
4730 # include <assert.h>
4734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } >/dev
/null
; then
4742 if test -s conftest.err
; then
4743 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4744 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4751 if test -z "$ac_cpp_err"; then
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.
$ac_ext >&5
4757 # Broken: fails on valid input.
4760 rm -f conftest.err conftest.
$ac_ext
4762 # OK, works on sane cases. Now check whether non-existent headers
4763 # can be detected and how.
4764 cat >conftest.
$ac_ext <<_ACEOF
4767 cat confdefs.h
>>conftest.
$ac_ext
4768 cat >>conftest.
$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4770 #include <ac_nonexistent.h>
4772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4775 grep -v '^ *+' conftest.er1
>conftest.err
4777 cat conftest.err
>&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } >/dev
/null
; then
4780 if test -s conftest.err
; then
4781 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4782 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4789 if test -z "$ac_cpp_err"; then
4790 # Broken: success on invalid input.
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.
$ac_ext >&5
4796 # Passes both tests.
4800 rm -f conftest.err conftest.
$ac_ext
4803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4804 rm -f conftest.err conftest.
$ac_ext
4805 if $ac_preproc_ok; then
4808 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4809 See \`config.log' for more details." >&5
4810 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4811 See \`config.log' for more details." >&2;}
4812 { (exit 1); exit 1; }; }
4816 ac_cpp
='$CPP $CPPFLAGS'
4817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4823 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4825 lt_save_CFLAGS
="$CFLAGS"
4826 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
4827 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4828 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4829 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4830 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4831 deplibs_check_method
="$deplibs_check_method" \
4832 file_magic_cmd
="$file_magic_cmd" \
4833 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
4834 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
4835 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4836 echo "$as_me: error: libtool tag configuration failed" >&2;}
4837 { (exit 1); exit 1; }; }
4839 CFLAGS
="$lt_save_CFLAGS"
4841 # Redirect the config.log output again, so that the ltconfig log is not
4842 # clobbered by the next message.
4843 exec 5>>.
/config.log
4852 # Check whether --with-target-subdir or --without-target-subdir was given.
4853 if test "${with_target_subdir+set}" = set; then
4854 withval
="$with_target_subdir"
4858 # Check whether --with-cross-host or --without-cross-host was given.
4859 if test "${with_cross_host+set}" = set; then
4860 withval
="$with_cross_host"
4864 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4865 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4866 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4867 if test "${enable_maintainer_mode+set}" = set; then
4868 enableval
="$enable_maintainer_mode"
4869 USE_MAINTAINER_MODE
=$enableval
4871 USE_MAINTAINER_MODE
=no
4873 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4874 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4877 if test $USE_MAINTAINER_MODE = yes; then
4878 MAINTAINER_MODE_TRUE
=
4879 MAINTAINER_MODE_FALSE
='#'
4881 MAINTAINER_MODE_TRUE
='#'
4882 MAINTAINER_MODE_FALSE
=
4884 MAINT
=$MAINTAINER_MODE_TRUE
4887 # automake wants to see AC_EXEEXT. But we don't need it. And having
4888 # it is actually a problem, because the compiler we're passed can't
4889 # necessarily do a full link. So we fool automake here.
4891 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
4892 # to nothing, so nothing would remain between `then' and `fi' if it
4893 # were not for the `:' below.
4898 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4899 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4900 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4901 if test -z "$THREADS"; then
4904 echo "$as_me:$LINENO: result: $THREADS" >&5
4905 echo "${ECHO_T}$THREADS" >&6
4907 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4908 if test "${enable_parallel_mark+set}" = set; then
4909 enableval
="$enable_parallel_mark"
4912 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4913 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4914 { (exit 1); exit 1; }; }
4920 INCLUDES
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4928 THREADLIBS
=-lpthread
4930 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
4931 cat >>confdefs.h
<<\_ACEOF
4932 #define GC_LINUX_THREADS 1
4935 cat >>confdefs.h
<<\_ACEOF
4936 #define _REENTRANT 1
4939 if test "${enable_parallel_mark}" = yes; then
4940 cat >>confdefs.h
<<\_ACEOF
4941 #define PARALLEL_MARK 1
4945 cat >>confdefs.h
<<\_ACEOF
4946 #define THREAD_LOCAL_ALLOC 1
4951 cat >>confdefs.h
<<\_ACEOF
4952 #define GC_LINUX_THREADS 1
4955 cat >>confdefs.h
<<\_ACEOF
4956 #define _REENTRANT 1
4961 cat >>confdefs.h
<<\_ACEOF
4962 #define GC_AIX_THREADS 1
4965 cat >>confdefs.h
<<\_ACEOF
4966 #define _REENTRANT 1
4971 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4972 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4973 cat >>confdefs.h
<<\_ACEOF
4974 #define GC_HPUX_THREADS 1
4977 cat >>confdefs.h
<<\_ACEOF
4978 #define _POSIX_C_SOURCE 199506L
4981 if test "${enable_parallel_mark}" = yes; then
4982 cat >>confdefs.h
<<\_ACEOF
4983 #define PARALLEL_MARK 1
4987 cat >>confdefs.h
<<\_ACEOF
4988 #define THREAD_LOCAL_ALLOC 1
4991 THREADLIBS
="-lpthread -lrt"
4994 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4995 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4996 cat >>confdefs.h
<<\_ACEOF
4997 #define GC_FREEBSD_THREADS 1
5000 INCLUDES
="$INCLUDES -pthread"
5004 cat >>confdefs.h
<<\_ACEOF
5005 #define GC_SOLARIS_THREADS 1
5008 cat >>confdefs.h
<<\_ACEOF
5009 #define GC_SOLARIS_PTHREADS 1
5014 cat >>confdefs.h
<<\_ACEOF
5015 #define GC_IRIX_THREADS 1
5020 cat >>confdefs.h
<<\_ACEOF
5021 #define GC_WIN32_THREADS 1
5026 cat >>confdefs.h
<<\_ACEOF
5027 #define GC_DARWIN_THREADS 1
5030 cat >>confdefs.h
<<\_ACEOF
5031 #define THREAD_LOCAL_ALLOC 1
5034 if test "${enable_parallel_mark}" = yes; then
5035 cat >>confdefs.h
<<\_ACEOF
5036 #define PARALLEL_MARK 1
5042 cat >>confdefs.h
<<\_ACEOF
5043 #define GC_OSF1_THREADS 1
5046 if test "${enable_parallel_mark}" = yes; then
5047 cat >>confdefs.h
<<\_ACEOF
5048 #define PARALLEL_MARK 1
5051 cat >>confdefs.h
<<\_ACEOF
5052 #define THREAD_LOCAL_ALLOC 1
5055 # May want to enable it in other cases, too.
5056 # Measurements havent yet been done.
5058 INCLUDES
="$INCLUDES -pthread"
5059 THREADLIBS
="-lpthread -lrt"
5064 cat >>confdefs.h
<<\_ACEOF
5065 #define GC_WIN32_THREADS 1
5071 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
5072 echo "${ECHO_T}$THREADLIBS" >&6
5073 # Use pthread GCC switch
5075 if test "${enable_parallel_mark}" = yes; then
5076 cat >>confdefs.h
<<\_ACEOF
5077 #define PARALLEL_MARK 1
5081 cat >>confdefs.h
<<\_ACEOF
5082 #define THREAD_LOCAL_ALLOC 1
5085 cat >>confdefs.h
<<\_ACEOF
5086 #define GC_DGUX386_THREADS 1
5089 cat >>confdefs.h
<<\_ACEOF
5090 #define DGUX_THREADS 1
5093 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
5094 INCLUDES
="-pthread $INCLUDES"
5098 THREADLIBS
=-lpthread
5099 cat >>confdefs.h
<<\_ACEOF
5100 #define GC_AIX_THREADS 1
5103 cat >>confdefs.h
<<\_ACEOF
5104 #define _REENTRANT 1
5108 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
5109 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
5110 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
5111 { (exit 1); exit 1; }; }
5114 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
5115 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
5116 { (exit 1); exit 1; }; }
5128 if test x
$powerpc_darwin = xtrue
; then
5129 POWERPC_DARWIN_TRUE
=
5130 POWERPC_DARWIN_FALSE
='#'
5132 POWERPC_DARWIN_TRUE
='#'
5133 POWERPC_DARWIN_FALSE
=
5136 # We never want libdl on darwin. It is a fake libdl that just ends up making
5141 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5142 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5143 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 ac_check_lib_save_LIBS
=$LIBS
5148 if test x
$gcc_no_link = xyes
; then
5149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5151 { (exit 1); exit 1; }; }
5153 cat >conftest.
$ac_ext <<_ACEOF
5156 cat confdefs.h
>>conftest.
$ac_ext
5157 cat >>conftest.
$ac_ext <<_ACEOF
5158 /* end confdefs.h. */
5160 /* Override any gcc2 internal prototype to avoid an error. */
5164 /* We use char because int might match the return type of a gcc2
5165 builtin and then its argument prototype would still apply. */
5175 rm -f conftest.
$ac_objext conftest
$ac_exeext
5176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5177 (eval $ac_link) 2>conftest.er1
5179 grep -v '^ *+' conftest.er1
>conftest.err
5181 cat conftest.err
>&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); } &&
5184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; } &&
5190 { ac_try
='test -s conftest$ac_exeext'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5196 ac_cv_lib_dl_dlopen
=yes
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5201 ac_cv_lib_dl_dlopen
=no
5203 rm -f conftest.err conftest.
$ac_objext \
5204 conftest
$ac_exeext conftest.
$ac_ext
5205 LIBS
=$ac_check_lib_save_LIBS
5207 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5208 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5209 if test $ac_cv_lib_dl_dlopen = yes; then
5210 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
5218 target_all
=libgcjgc.la
5224 # Check whether --with-ecos or --without-ecos was given.
5225 if test "${with_ecos+set}" = set; then
5226 withval
="$with_ecos"
5227 TARGET_ECOS
="$with_ecos"
5236 case "$TARGET_ECOS" in
5240 cat >>confdefs.h
<<\_ACEOF
5244 CXXINCLUDES
="-I${TARGET_ECOS}/include"
5245 addobjs
="$addobjs ecos.lo"
5249 if test "${enable_cplusplus}" = yes; then
5250 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
5251 addtests
="$addtests test_cpp"
5256 if test "${enable_cplusplus}" = yes; then
5269 # Configuration of shared libraries
5271 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5272 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5273 # Check whether --enable-shared or --disable-shared was given.
5274 if test "${enable_shared+set}" = set; then
5275 enableval
="$enable_shared"
5276 p
=${PACKAGE-default}
5278 yes) enable_shared
=yes ;;
5279 no
) enable_shared
=no
;;
5282 # Look at the argument we got. We use all the common list separators.
5283 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5284 for pkg
in $enableval; do
5285 if test "X$pkg" = "X$p"; then
5299 echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5308 # Configuration of machine-dependent code
5310 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5311 # anything else that creates trampolines in gc-allocated memory)
5312 # always needs exec permission. The exceptions to this are IA-64 and
5313 # some variations of Power PC, where trampolines don't contain
5316 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5317 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5321 machdep
="alpha_mach_dep.lo"
5322 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
5323 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5324 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5328 machdep
="alpha_mach_dep.lo"
5330 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
5331 cat >>confdefs.h
<<\_ACEOF
5332 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5337 machdep
="mips_ultrix_mach_dep.lo"
5338 cat >>confdefs.h
<<\_ACEOF
5339 #define STACKBASE __stackbase
5342 cat >>confdefs.h
<<\_ACEOF
5343 #define DATASTART_IS_ETEXT 1
5348 machdep
="mips_ultrix_mach-dep.lo"
5350 mips-nec-sysv
*|mips-unknown-sysv
*)
5355 machdep
="mips_sgi_mach_dep.lo"
5358 machdep
="sparc_netbsd_mach_dep.lo"
5360 sparc-sun-solaris2.3
)
5361 machdep
="sparc_mach_dep.lo"
5362 cat >>confdefs.h
<<\_ACEOF
5363 #define SUNOS53_SHARED_LIB 1
5367 sparc-sun-solaris2.
*)
5368 machdep
="sparc_mach_dep.lo"
5371 cat >>confdefs.h
<<\_ACEOF
5372 #define NO_EXECUTE_PERMISSION 1
5375 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
5378 if test x
"$machdep" = x
; then
5379 echo "$as_me:$LINENO: result: $machdep" >&5
5380 echo "${ECHO_T}$machdep" >&6
5381 machdep
="mach_dep.lo"
5383 addobjs
="$addobjs $machdep"
5396 # Check for AViiON Machines running DGUX
5398 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5399 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5402 ac_cpp
='$CPP $CPPFLAGS'
5403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5406 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5407 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5408 # On Suns, sometimes $CPP names a directory.
5409 if test -n "$CPP" && test -d "$CPP"; then
5412 if test -z "$CPP"; then
5413 if test "${ac_cv_prog_CPP+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 # Double quotes because CPP needs to be expanded
5417 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5420 for ac_c_preproc_warn_flag
in '' yes
5422 # Use a header file that comes with gcc, so configuring glibc
5423 # with a fresh cross-compiler works.
5424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5425 # <limits.h> exists even on freestanding compilers.
5426 # On the NeXT, cc -E runs the code through the compiler's parser,
5427 # not just through cpp. "Syntax error" is here to catch this case.
5428 cat >conftest.
$ac_ext <<_ACEOF
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5435 # include <limits.h>
5437 # include <assert.h>
5441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5444 grep -v '^ *+' conftest.er1
>conftest.err
5446 cat conftest.err
>&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } >/dev
/null
; then
5449 if test -s conftest.err
; then
5450 ac_cpp_err
=$ac_c_preproc_warn_flag
5451 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5458 if test -z "$ac_cpp_err"; then
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.
$ac_ext >&5
5464 # Broken: fails on valid input.
5467 rm -f conftest.err conftest.
$ac_ext
5469 # OK, works on sane cases. Now check whether non-existent headers
5470 # can be detected and how.
5471 cat >conftest.
$ac_ext <<_ACEOF
5474 cat confdefs.h
>>conftest.
$ac_ext
5475 cat >>conftest.
$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5477 #include <ac_nonexistent.h>
5479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5482 grep -v '^ *+' conftest.er1
>conftest.err
5484 cat conftest.err
>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } >/dev
/null
; then
5487 if test -s conftest.err
; then
5488 ac_cpp_err
=$ac_c_preproc_warn_flag
5489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5496 if test -z "$ac_cpp_err"; then
5497 # Broken: success on invalid input.
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.
$ac_ext >&5
5503 # Passes both tests.
5507 rm -f conftest.err conftest.
$ac_ext
5510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5511 rm -f conftest.err conftest.
$ac_ext
5512 if $ac_preproc_ok; then
5524 echo "$as_me:$LINENO: result: $CPP" >&5
5525 echo "${ECHO_T}$CPP" >&6
5527 for ac_c_preproc_warn_flag
in '' yes
5529 # Use a header file that comes with gcc, so configuring glibc
5530 # with a fresh cross-compiler works.
5531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5532 # <limits.h> exists even on freestanding compilers.
5533 # On the NeXT, cc -E runs the code through the compiler's parser,
5534 # not just through cpp. "Syntax error" is here to catch this case.
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5542 # include <limits.h>
5544 # include <assert.h>
5548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5551 grep -v '^ *+' conftest.er1
>conftest.err
5553 cat conftest.err
>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev
/null
; then
5556 if test -s conftest.err
; then
5557 ac_cpp_err
=$ac_c_preproc_warn_flag
5558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5565 if test -z "$ac_cpp_err"; then
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5571 # Broken: fails on valid input.
5574 rm -f conftest.err conftest.
$ac_ext
5576 # OK, works on sane cases. Now check whether non-existent headers
5577 # can be detected and how.
5578 cat >conftest.
$ac_ext <<_ACEOF
5581 cat confdefs.h
>>conftest.
$ac_ext
5582 cat >>conftest.
$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <ac_nonexistent.h>
5586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5589 grep -v '^ *+' conftest.er1
>conftest.err
5591 cat conftest.err
>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } >/dev
/null
; then
5594 if test -s conftest.err
; then
5595 ac_cpp_err
=$ac_c_preproc_warn_flag
5596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5603 if test -z "$ac_cpp_err"; then
5604 # Broken: success on invalid input.
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5610 # Passes both tests.
5614 rm -f conftest.err conftest.
$ac_ext
5617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5618 rm -f conftest.err conftest.
$ac_ext
5619 if $ac_preproc_ok; then
5622 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5623 See \`config.log' for more details." >&5
5624 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5625 See \`config.log' for more details." >&2;}
5626 { (exit 1); exit 1; }; }
5630 ac_cpp
='$CPP $CPPFLAGS'
5631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5636 echo "$as_me:$LINENO: checking for egrep" >&5
5637 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5638 if test "${ac_cv_prog_egrep+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5642 then ac_cv_prog_egrep
='grep -E'
5643 else ac_cv_prog_egrep
='egrep'
5646 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5647 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5648 EGREP
=$ac_cv_prog_egrep
5651 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5652 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5653 if test "${ac_cv_header_stdc+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 cat >conftest.
$ac_ext <<_ACEOF
5659 cat confdefs.h
>>conftest.
$ac_ext
5660 cat >>conftest.
$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5675 rm -f conftest.
$ac_objext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5677 (eval $ac_compile) 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; } &&
5690 { ac_try
='test -s conftest.$ac_objext'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; }; then
5696 ac_cv_header_stdc
=yes
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5701 ac_cv_header_stdc
=no
5703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5705 if test $ac_cv_header_stdc = yes; then
5706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5717 $EGREP "memchr" >/dev
/null
2>&1; then
5720 ac_cv_header_stdc
=no
5726 if test $ac_cv_header_stdc = yes; then
5727 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5728 cat >conftest.
$ac_ext <<_ACEOF
5731 cat confdefs.h
>>conftest.
$ac_ext
5732 cat >>conftest.
$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5738 $EGREP "free" >/dev
/null
2>&1; then
5741 ac_cv_header_stdc
=no
5747 if test $ac_cv_header_stdc = yes; then
5748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5749 if test "$cross_compiling" = yes; then
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5759 #if ((' ' & 0x0FF) == 0x020)
5760 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5761 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5763 # define ISLOWER(c) \
5764 (('a' <= (c) && (c) <= 'i') \
5765 || ('j' <= (c) && (c) <= 'r') \
5766 || ('s' <= (c) && (c) <= 'z'))
5767 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5770 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5775 for (i = 0; i < 256; i++)
5776 if (XOR (islower (i), ISLOWER (i))
5777 || toupper (i) != TOUPPER (i))
5782 rm -f conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; }; then
5795 echo "$as_me: program exited with status $ac_status" >&5
5796 echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.
$ac_ext >&5
5800 ac_cv_header_stdc
=no
5802 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5806 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5807 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5808 if test $ac_cv_header_stdc = yes; then
5810 cat >>confdefs.h
<<\_ACEOF
5811 #define STDC_HEADERS 1
5816 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5826 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5827 inttypes.h stdint.h unistd.h
5829 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5830 echo "$as_me:$LINENO: checking for $ac_header" >&5
5831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5841 $ac_includes_default
5843 #include <$ac_header>
5845 rm -f conftest.
$ac_objext
5846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5847 (eval $ac_compile) 2>conftest.er1
5849 grep -v '^ *+' conftest.er1
>conftest.err
5851 cat conftest.err
>&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } &&
5854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try
='test -s conftest.$ac_objext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 eval "$as_ac_Header=yes"
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.
$ac_ext >&5
5871 eval "$as_ac_Header=no"
5873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5878 cat >>confdefs.h
<<_ACEOF
5879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5887 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5888 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5889 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5890 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5894 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5896 # Is the header compilable?
5897 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5898 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 $ac_includes_default
5906 #include <sys/dg_sys_info.h>
5908 rm -f conftest.
$ac_objext
5909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5910 (eval $ac_compile) 2>conftest.er1
5912 grep -v '^ *+' conftest.er1
>conftest.err
5914 cat conftest.err
>&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); } &&
5917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; } &&
5923 { ac_try
='test -s conftest.$ac_objext'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; }; then
5929 ac_header_compiler
=yes
5931 echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.
$ac_ext >&5
5934 ac_header_compiler
=no
5936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5938 echo "${ECHO_T}$ac_header_compiler" >&6
5940 # Is the header present?
5941 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5942 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5943 cat >conftest.
$ac_ext <<_ACEOF
5946 cat confdefs.h
>>conftest.
$ac_ext
5947 cat >>conftest.
$ac_ext <<_ACEOF
5948 /* end confdefs.h. */
5949 #include <sys/dg_sys_info.h>
5951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } >/dev
/null
; then
5959 if test -s conftest.err
; then
5960 ac_cpp_err
=$ac_c_preproc_warn_flag
5961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5968 if test -z "$ac_cpp_err"; then
5969 ac_header_preproc
=yes
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5974 ac_header_preproc
=no
5976 rm -f conftest.err conftest.
$ac_ext
5977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5978 echo "${ECHO_T}$ac_header_preproc" >&6
5980 # So? What about this header?
5981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5983 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5984 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5985 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
5986 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
5987 ac_header_preproc
=yes
5990 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5991 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5992 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5993 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5994 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
5995 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
5996 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
5997 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
5998 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5999 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
6000 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
6001 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
6004 ## ------------------------------------------ ##
6005 ## Report this to the AC_PACKAGE_NAME lists. ##
6006 ## ------------------------------------------ ##
6009 sed "s/^/$as_me: WARNING: /" >&2
6012 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
6013 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
6014 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
6019 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
6020 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
6023 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
6029 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
6030 echo "${ECHO_T}$ac_is_dgux" >&6
6031 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
6032 if test $ac_is_dgux = yes; then
6033 if test "$enable_full_debug" = "yes"; then
6034 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6035 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6037 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6038 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6045 # Check whether --with-target-subdir or --without-target-subdir was given.
6046 if test "${with_target_subdir+set}" = set; then
6047 withval
="$with_target_subdir"
6051 # Check whether --with-cross-host or --without-cross-host was given.
6052 if test "${with_cross_host+set}" = set; then
6053 withval
="$with_cross_host"
6057 # automake wants to see AC_EXEEXT. But we don't need it. And having
6058 # it is actually a problem, because the compiler we're passed can't
6059 # necessarily do a full link. So we fool automake here.
6061 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
6062 # to nothing, so nothing would remain between `then' and `fi' if it
6063 # were not for the `:' below.
6068 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
6069 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
6071 sparc-sun-solaris2
*|
*aix
*)
6072 if test "$GCC" = yes; then
6073 echo "$as_me:$LINENO: result: yes" >&5
6074 echo "${ECHO_T}yes" >&6
6076 for i
in $CFLAGS; do
6081 new_CFLAGS
="$new_CFLAGS $i"
6085 CFLAGS
="$new_CFLAGS"
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6091 *) echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6 ;;
6098 cat >>confdefs.h
<<\_ACEOF
6102 cat >>confdefs.h
<<\_ACEOF
6103 #define NO_SIGNALS 1
6106 cat >>confdefs.h
<<\_ACEOF
6107 #define ALL_INTERIOR_POINTERS 1
6111 cat >>confdefs.h
<<\_ACEOF
6112 #define JAVA_FINALIZATION 1
6115 cat >>confdefs.h
<<\_ACEOF
6116 #define GC_GCJ_SUPPORT 1
6119 cat >>confdefs.h
<<\_ACEOF
6120 #define ATOMIC_UNCOLLECTABLE 1
6124 if test -n "${with_cross_host}"; then
6125 cat >>confdefs.h
<<\_ACEOF
6129 cat >>confdefs.h
<<\_ACEOF
6130 #define NO_DEBUGGING 1
6135 # Check whether --enable-full-debug or --disable-full-debug was given.
6136 if test "${enable_full_debug+set}" = set; then
6137 enableval
="$enable_full_debug"
6138 if test "$enable_full_debug" = "yes"; then
6139 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
6140 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
6141 cat >>confdefs.h
<<\_ACEOF
6142 #define KEEP_BACK_PTRS 1
6145 cat >>confdefs.h
<<\_ACEOF
6146 #define DBG_HDRS_ALL 1
6151 cat >>confdefs.h
<<\_ACEOF
6152 #define MAKE_BACK_GRAPH 1
6156 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
6157 cat >>confdefs.h
<<\_ACEOF
6158 #define MAKE_BACK_GRAPH 1
6161 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
6162 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
6163 cat >>confdefs.h
<<\_ACEOF
6164 #define SAVE_CALL_COUNT 8
6169 cat >>confdefs.h
<<\_ACEOF
6170 #define MAKE_BACK_GRAPH 1
6178 if test -n "$with_cross_host" &&
6179 test x
"$with_cross_host" != x
"no"; then
6180 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
6181 toolexeclibdir
='$(toolexecdir)/lib'
6183 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
6184 toolexeclibdir
='$(libdir)'
6186 multi_os_directory
=`$CC -print-multi-os-directory`
6187 case $multi_os_directory in
6188 .
) ;; # Avoid trailing /.
6189 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6194 if test "${multilib}" = "yes"; then
6195 multilib_arg
="--enable-multilib"
6200 ac_config_files
="$ac_config_files Makefile include/Makefile"
6201 ac_config_commands
="$ac_config_commands default"
6202 cat >confcache
<<\_ACEOF
6203 # This file is a shell script that caches the results of configure
6204 # tests run on this system so they can be shared between configure
6205 # scripts and configure runs, see configure's option --config-cache.
6206 # It is not useful on other systems. If it contains results you don't
6207 # want to keep, you may remove or edit it.
6209 # config.status only pays attention to the cache file if you give it
6210 # the --recheck option to rerun configure.
6212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6218 # The following way of writing the cache mishandles newlines in values,
6219 # but we know of no workaround that is simple, portable, and efficient.
6220 # So, don't put newlines in cache variables' values.
6221 # Ultrix sh set writes to stderr and can't be redirected directly,
6222 # and sets the high bit in the cache file unless we assign to the vars.
6225 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6227 # `set' does not quote correctly, so add quotes (double-quote
6228 # substitution turns \\\\ into \\, and sed turns \\ into \).
6231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6234 # `set' quotes correctly as required by POSIX, so do not add quotes.
6236 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6243 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6245 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6247 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6248 if test -w $cache_file; then
6249 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6250 cat confcache
>$cache_file
6252 echo "not updating unwritable cache $cache_file"
6257 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6258 # Let make expand exec_prefix.
6259 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6261 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6262 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6263 # trailing colons and then remove the whole line if VPATH becomes empty
6264 # (actually we leave an empty line to preserve line numbers).
6265 if test "x$srcdir" = x.
; then
6266 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6267 s/:*\$(srcdir):*/:/;
6268 s/:*\${srcdir}:*/:/;
6270 s/^\([^=]*=[ ]*\):*/\1/;
6276 # Transform confdefs.h into DEFS.
6277 # Protect against shell expansion while executing Makefile rules.
6278 # Protect against Makefile macro expansion.
6280 # If the first sed substitution is executed (which looks for macros that
6281 # take arguments), then we branch to the quote section. Otherwise,
6282 # look for a macro that doesn't take arguments.
6283 cat >confdef2opt.
sed <<\_ACEOF
6286 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6288 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6292 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6298 # We use echo to avoid assuming a particular line-breaking character.
6299 # The extra dot is to prevent the shell from consuming trailing
6300 # line-breaks from the sub-command output. A line-break within
6301 # single-quotes doesn't work because, if this script is created in a
6302 # platform that uses two characters for line-breaks (e.g., DOS), tr
6304 ac_LF_and_DOT=`echo; echo .
`
6305 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
6306 rm -f confdef2opt.sed
6311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6312 # 1. Remove the extension, and $U if already installed.
6313 ac_i=`echo "$ac_i" |
6314 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6316 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6317 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6321 LTLIBOBJS=$ac_ltlibobjs
6325 : ${CONFIG_STATUS=./config.status}
6326 ac_clean_files_save=$ac_clean_files
6327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6330 cat >$CONFIG_STATUS <<_ACEOF
6332 # Generated by $as_me.
6333 # Run this file to recreate the current configuration.
6334 # Compiler output produced by configure, useful for debugging
6335 # configure, is in config.log if it exists.
6340 SHELL=\${CONFIG_SHELL-$SHELL}
6343 cat >>$CONFIG_STATUS <<\_ACEOF
6344 ## --------------------- ##
6345 ## M4sh Initialization. ##
6346 ## --------------------- ##
6348 # Be Bourne compatible
6349 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6352 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6353 # is contrary to our usage. Disable this feature.
6354 alias -g '${1+"$@"}'='"$@"'
6355 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6358 DUALCASE=1; export DUALCASE # for MKS sh
6360 # Support unset when possible.
6361 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6368 # Work around bugs in pre-3.0 UWIN ksh.
6369 $as_unset ENV MAIL MAILPATH
6376 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6377 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6378 LC_TELEPHONE LC_TIME
6380 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
6381 eval $as_var=C; export $as_var
6387 # Required to use basename.
6388 if expr a : '\(a\)' >/dev/null 2>&1; then
6394 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6395 as_basename=basename
6401 # Name of the executable.
6402 as_me=`$as_basename "$0" ||
6403 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6404 X
"$0" : 'X\(//\)$' \| \
6405 X
"$0" : 'X\(/\)$' \| \
6406 .
: '\(.\)' 2>/dev
/null ||
6408 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6409 /^X\/\(\/\/\)$/{ s//\1/; q; }
6410 /^X\/\(\/\).*/{ s//\1/; q; }
6414 # PATH needs CR, and LINENO needs CR and PATH.
6415 # Avoid depending upon Character Ranges.
6416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6419 as_cr_digits='0123456789'
6420 as_cr_alnum=$as_cr_Letters$as_cr_digits
6422 # The user is always right.
6423 if test "${PATH_SEPARATOR+set}" != set; then
6424 echo "#! /bin/sh" >conf$$.sh
6425 echo "exit 0" >>conf$$.sh
6427 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6438 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
6439 test "x$as_lineno_1" != "x$as_lineno_2" &&
6440 test "x$as_lineno_3" = "x$as_lineno_2" || {
6441 # Find who we are. Look in the path if we contain no path at all
6444 *[\\/]* ) as_myself=$0 ;;
6445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 test -z "$as_dir" && as_dir=.
6450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6455 # We did not find ourselves, most probably we were run as `sh COMMAND
'
6456 # in which case we are not to be found in the path.
6457 if test "x$as_myself" = x; then
6460 if test ! -f "$as_myself"; then
6461 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6462 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6463 { (exit 1); exit 1; }; }
6465 case $CONFIG_SHELL in
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6471 test -z "$as_dir" && as_dir=.
6472 for as_base in sh bash ksh sh5; do
6475 if ("$as_dir/$as_base" -c '
6478 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6479 test "x$as_lineno_1" != "x$as_lineno_2" &&
6480 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6481 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6482 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6483 CONFIG_SHELL=$as_dir/$as_base
6485 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6494 # uniformly replaced by the line number. The first 'sed' inserts a
6495 # line-number line before each line; the second 'sed' does the real
6496 # work. The second script uses 'N
' to pair each line-number line
6497 # with the numbered line, and appends trailing '-' during
6498 # substitution so that $LINENO is not a special case at line end.
6499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6500 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
6501 sed '=' <$as_myself |
6506 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6509 s,^['$as_cr_digits']*\n,,
6511 chmod +x
$as_me.lineno ||
6512 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6513 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6514 { (exit 1); exit 1; }; }
6516 # Don't try to exec as it changes $[0], causing all sort of problems
6517 # (the dirname of $[0] is not the place where we might find the
6518 # original and so on. Autoconf is especially sensible to this).
6520 # Exit status is that of the last command.
6525 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6526 *c
*,-n*) ECHO_N
= ECHO_C
='
6528 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6529 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6532 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6538 rm -f conf$$ conf$$.exe conf$$.
file
6540 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6541 # We could just check for DJGPP; but this test a) works b) is more generic
6542 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6543 if test -f conf$$.exe
; then
6544 # Don't use ln at all; we don't have any links
6549 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6554 rm -f conf$$ conf$$.exe conf$$.
file
6556 if mkdir
-p .
2>/dev
/null
; then
6559 test -d .
/-p && rmdir .
/-p
6563 as_executable_p
="test -f"
6565 # Sed expression to map a string onto a valid CPP name.
6566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6568 # Sed expression to map a string onto a valid variable name.
6569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6573 # We need space, tab and new line, in precisely that order.
6583 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6584 # report actual input values of CONFIG_FILES etc. instead of their
6585 # values after options handling. Logging --version etc. is OK.
6589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6590 ## Running $as_me. ##
6595 This file was extended by $as_me, which was
6596 generated by GNU Autoconf 2.59. Invocation command line was
6598 CONFIG_FILES = $CONFIG_FILES
6599 CONFIG_HEADERS = $CONFIG_HEADERS
6600 CONFIG_LINKS = $CONFIG_LINKS
6601 CONFIG_COMMANDS = $CONFIG_COMMANDS
6605 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6609 # Files that config.status was made for.
6610 if test -n "$ac_config_files"; then
6611 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6614 if test -n "$ac_config_headers"; then
6615 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6618 if test -n "$ac_config_links"; then
6619 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6622 if test -n "$ac_config_commands"; then
6623 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6626 cat >>$CONFIG_STATUS <<\_ACEOF
6629 \`$as_me' instantiates files from templates according to the
6630 current configuration.
6632 Usage: $0 [OPTIONS] [FILE]...
6634 -h, --help print this help, then exit
6635 -V, --version print version number, then exit
6636 -q, --quiet do not print progress messages
6637 -d, --debug don't remove temporary files
6638 --recheck update $as_me by reconfiguring in the same conditions
6639 --file=FILE[:TEMPLATE]
6640 instantiate the configuration file FILE
6642 Configuration files:
6645 Configuration commands:
6648 Report bugs to <bug-autoconf@gnu.org>."
6651 cat >>$CONFIG_STATUS <<_ACEOF
6654 configured by $0, generated by GNU Autoconf 2.59,
6655 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6657 Copyright (C) 2003 Free Software Foundation, Inc.
6658 This config.status script is free software; the Free Software Foundation
6659 gives unlimited permission to copy, distribute and modify it."
6664 cat >>$CONFIG_STATUS <<\_ACEOF
6665 # If no file are specified by the user, then we need to provide default
6666 # value. By we need to know if files were specified by the user.
6672 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6673 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6681 *) # This is not an option, so the user has probably given explicit
6684 ac_need_defaults
=false
;;
6688 # Handling of the options.
6690 cat >>$CONFIG_STATUS <<\_ACEOF
6691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6693 --version |
--vers* |
-V )
6694 echo "$ac_cs_version"; exit 0 ;;
6696 # Conflict between --help and --header
6697 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6698 Try \`$0 --help' for more information." >&5
6699 echo "$as_me: error: ambiguous option: $1
6700 Try \`$0 --help' for more information." >&2;}
6701 { (exit 1); exit 1; }; };;
6702 --help |
--hel |
-h )
6703 echo "$ac_cs_usage"; exit 0 ;;
6704 --debug |
--d* |
-d )
6706 --file |
--fil |
--fi |
--f )
6708 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6709 ac_need_defaults
=false
;;
6710 --header |
--heade |
--head |
--hea )
6712 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6713 ac_need_defaults
=false
;;
6714 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6715 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6719 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6720 Try \`$0 --help' for more information." >&5
6721 echo "$as_me: error: unrecognized option: $1
6722 Try \`$0 --help' for more information." >&2;}
6723 { (exit 1); exit 1; }; } ;;
6725 *) ac_config_targets
="$ac_config_targets $1" ;;
6731 ac_configure_extra_args
=
6733 if $ac_cs_silent; then
6735 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6739 cat >>$CONFIG_STATUS <<_ACEOF
6740 if \$ac_cs_recheck; then
6741 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6742 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6747 cat >>$CONFIG_STATUS <<_ACEOF
6749 # INIT-COMMANDS section.
6755 with_multisubdir=${with_multisubdir}
6756 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6757 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6758 gc_basedir=${gc_basedir}
6760 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6762 INCLUDES="$INCLUDES"
6769 cat >>$CONFIG_STATUS <<\_ACEOF
6770 for ac_config_target
in $ac_config_targets
6772 case "$ac_config_target" in
6773 # Handling of arguments.
6774 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6775 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6776 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6777 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6778 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6779 { (exit 1); exit 1; }; };;
6783 # If the user did not use the arguments to specify the items to instantiate,
6784 # then the envvar interface is used. Set only those that are not.
6785 # We use the long form for the default assignment because of an extremely
6786 # bizarre bug on SunOS 4.1.3.
6787 if $ac_need_defaults; then
6788 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6789 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6792 # Have a temporary directory for convenience. Make it in the build tree
6793 # simply because there is no reason to put it here, and in addition,
6794 # creating and moving files from /tmp can sometimes cause problems.
6795 # Create a temporary directory, and hook for its removal unless debugging.
6798 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6799 trap '{ (exit 1); exit 1; }' 1 2 13 15
6802 # Create a (secure) tmp directory for tmp files.
6805 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6806 test -n "$tmp" && test -d "$tmp"
6809 tmp
=.
/confstat$$
-$RANDOM
6810 (umask 077 && mkdir
$tmp)
6813 echo "$me: cannot create a temporary directory in ." >&2
6814 { (exit 1); exit 1; }
6819 cat >>$CONFIG_STATUS <<_ACEOF
6822 # CONFIG_FILES section.
6825 # No need to generate the scripts if there are no CONFIG_FILES.
6826 # This happens for instance when ./config.status config.h
6827 if test -n "\$CONFIG_FILES"; then
6828 # Protect against being on the right side of a sed subst in config.status.
6829 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6830 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6831 s,@SHELL@,$SHELL,;t t
6832 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6833 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6834 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6835 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6836 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6837 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6838 s,@exec_prefix@,$exec_prefix,;t t
6839 s,@prefix@,$prefix,;t t
6840 s,@program_transform_name@,$program_transform_name,;t t
6841 s,@bindir@,$bindir,;t t
6842 s,@sbindir@,$sbindir,;t t
6843 s,@libexecdir@,$libexecdir,;t t
6844 s,@datadir@,$datadir,;t t
6845 s,@sysconfdir@,$sysconfdir,;t t
6846 s,@sharedstatedir@,$sharedstatedir,;t t
6847 s,@localstatedir@,$localstatedir,;t t
6848 s,@libdir@,$libdir,;t t
6849 s,@includedir@,$includedir,;t t
6850 s,@oldincludedir@,$oldincludedir,;t t
6851 s,@infodir@,$infodir,;t t
6852 s,@mandir@,$mandir,;t t
6853 s,@build_alias@,$build_alias,;t t
6854 s,@host_alias@,$host_alias,;t t
6855 s,@target_alias@,$target_alias,;t t
6857 s,@ECHO_C@,$ECHO_C,;t t
6858 s,@ECHO_N@,$ECHO_N,;t t
6859 s,@ECHO_T@,$ECHO_T,;t t
6861 s,@gc_basedir@,$gc_basedir,;t t
6862 s,@build@,$build,;t t
6863 s,@build_cpu@,$build_cpu,;t t
6864 s,@build_vendor@,$build_vendor,;t t
6865 s,@build_os@,$build_os,;t t
6867 s,@host_cpu@,$host_cpu,;t t
6868 s,@host_vendor@,$host_vendor,;t t
6869 s,@host_os@,$host_os,;t t
6870 s,@target@,$target,;t t
6871 s,@target_cpu@,$target_cpu,;t t
6872 s,@target_vendor@,$target_vendor,;t t
6873 s,@target_os@,$target_os,;t t
6874 s,@mkinstalldirs@,$mkinstalldirs,;t t
6875 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6876 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6877 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6878 s,@PACKAGE@,$PACKAGE,;t t
6879 s,@VERSION@,$VERSION,;t t
6880 s,@ACLOCAL@,$ACLOCAL,;t t
6881 s,@AUTOCONF@,$AUTOCONF,;t t
6882 s,@AUTOMAKE@,$AUTOMAKE,;t t
6883 s,@AUTOHEADER@,$AUTOHEADER,;t t
6884 s,@MAKEINFO@,$MAKEINFO,;t t
6885 s,@SET_MAKE@,$SET_MAKE,;t t
6887 s,@CFLAGS@,$CFLAGS,;t t
6888 s,@LDFLAGS@,$LDFLAGS,;t t
6889 s,@CPPFLAGS@,$CPPFLAGS,;t t
6890 s,@ac_ct_CC@,$ac_ct_CC,;t t
6891 s,@EXEEXT@,$EXEEXT,;t t
6892 s,@OBJEXT@,$OBJEXT,;t t
6894 s,@CXXFLAGS@,$CXXFLAGS,;t t
6895 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6897 s,@ac_ct_AS@,$ac_ct_AS,;t t
6899 s,@ac_ct_AR@,$ac_ct_AR,;t t
6900 s,@RANLIB@,$RANLIB,;t t
6901 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6902 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6903 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6904 s,@MAINT@,$MAINT,;t t
6905 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6907 s,@STRIP@,$STRIP,;t t
6908 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6909 s,@LIBTOOL@,$LIBTOOL,;t t
6910 s,@CXXCPP@,$CXXCPP,;t t
6911 s,@THREADLIBS@,$THREADLIBS,;t t
6912 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6913 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6914 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6915 s,@target_all@,$target_all,;t t
6916 s,@target_noncanonical@,$target_noncanonical,;t t
6917 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6918 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6919 s,@INCLUDES@,$INCLUDES,;t t
6920 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6921 s,@addobjs@,$addobjs,;t t
6922 s,@addincludes@,$addincludes,;t t
6923 s,@addlibs@,$addlibs,;t t
6924 s,@addtests@,$addtests,;t t
6926 s,@EGREP@,$EGREP,;t t
6927 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6928 s,@toolexecdir@,$toolexecdir,;t t
6929 s,@toolexeclibdir@,$toolexeclibdir,;t t
6930 s,@LIBOBJS@,$LIBOBJS,;t t
6931 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6936 cat >>$CONFIG_STATUS <<\_ACEOF
6937 # Split the substitutions into bite-sized pieces for seds with
6938 # small command number limits, like on Digital OSF/1 and HP-UX.
6940 ac_sed_frag
=1 # Number of current file.
6941 ac_beg
=1 # First line for current file.
6942 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6945 while $ac_more_lines; do
6946 if test $ac_beg -gt 1; then
6947 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6949 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6951 if test ! -s $tmp/subs.frag
; then
6954 # The purpose of the label and of the branching condition is to
6955 # speed up the sed processing (if there are no `@' at all, there
6956 # is no need to browse any of the substitutions).
6957 # These are the two extra sed commands mentioned above.
6959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6960 if test -z "$ac_sed_cmds"; then
6961 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6963 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6965 ac_sed_frag
=`expr $ac_sed_frag + 1`
6967 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6970 if test -z "$ac_sed_cmds"; then
6973 fi # test -n "$CONFIG_FILES"
6976 cat >>$CONFIG_STATUS <<\_ACEOF
6977 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6978 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6980 - |
*:- |
*:-:* ) # input from stdin
6982 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6983 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6984 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6985 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6986 * ) ac_file_in
=$ac_file.
in ;;
6989 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6990 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6992 X"$ac_file" : 'X\(//\)[^/]' \| \
6993 X"$ac_file" : 'X\(//\)$' \| \
6994 X"$ac_file" : 'X\(/\)' \| \
6995 . : '\(.\)' 2>/dev/null ||
6997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6999 /^X\(\/\/\)$/{ s//\1/; q; }
7000 /^X\(\/\).*/{ s//\1/; q; }
7002 { if $as_mkdir_p; then
7007 while test ! -d "$as_dir"; do
7008 as_dirs
="$as_dir $as_dirs"
7009 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7011 X"$as_dir" : 'X\(//\)[^/]' \| \
7012 X"$as_dir" : 'X\(//\)$' \| \
7013 X"$as_dir" : 'X\(/\)' \| \
7014 . : '\(.\)' 2>/dev/null ||
7016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7018 /^X\(\/\/\)$/{ s//\1/; q; }
7019 /^X\(\/\).*/{ s//\1/; q; }
7022 test ! -n "$as_dirs" || mkdir
$as_dirs
7023 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7024 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7025 { (exit 1); exit 1; }; }; }
7029 if test "$ac_dir" != .
; then
7030 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7031 # A "../" for each directory in $ac_dir_suffix.
7032 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7034 ac_dir_suffix
= ac_top_builddir
=
7038 .
) # No --srcdir option. We are building in place.
7040 if test -z "$ac_top_builddir"; then
7043 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7045 [\\/]* | ?
:[\\/]* ) # Absolute path.
7046 ac_srcdir
=$srcdir$ac_dir_suffix;
7047 ac_top_srcdir
=$srcdir ;;
7049 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7050 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7053 # Do not use `cd foo && pwd` to compute absolute paths, because
7054 # the directories may not exist.
7056 .
) ac_abs_builddir
="$ac_dir";;
7059 .
) ac_abs_builddir
=`pwd`;;
7060 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7061 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7064 case $ac_abs_builddir in
7065 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7067 case ${ac_top_builddir}.
in
7068 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7069 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7070 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7073 case $ac_abs_builddir in
7074 .
) ac_abs_srcdir
=$ac_srcdir;;
7077 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7078 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7079 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7082 case $ac_abs_builddir in
7083 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7085 case $ac_top_srcdir in
7086 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7087 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7088 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7094 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7095 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7098 # Let's still pretend it is `configure' which instantiates (i.e., don't
7099 # use $as_me), people would be surprised to read:
7100 # /* config.h. Generated by config.status. */
7101 if test x
"$ac_file" = x-
; then
7104 configure_input
="$ac_file. "
7106 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7107 sed 's,.*/,,'` by configure."
7109 # First look for the input files in the build tree, otherwise in the
7111 ac_file_inputs
=`IFS=:
7112 for f in $ac_file_in; do
7114 -) echo $tmp/stdin ;;
7116 # Absolute (can't be DOS-style, as IFS=:)
7117 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7118 echo "$as_me: error: cannot find input file: $f" >&2;}
7119 { (exit 1); exit 1; }; }
7122 if test -f "$f"; then
7125 elif test -f "$srcdir/$f"; then
7130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7131 echo "$as_me: error: cannot find input file: $f" >&2;}
7132 { (exit 1); exit 1; }; }
7135 done` ||
{ (exit 1); exit 1; }
7137 if test x
"$ac_file" != x-
; then
7138 { echo "$as_me:$LINENO: creating $ac_file" >&5
7139 echo "$as_me: creating $ac_file" >&6;}
7143 cat >>$CONFIG_STATUS <<_ACEOF
7147 cat >>$CONFIG_STATUS <<\_ACEOF
7149 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7150 s
,@configure_input@
,$configure_input,;t t
7151 s
,@srcdir@
,$ac_srcdir,;t t
7152 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7153 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7154 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7155 s
,@builddir@
,$ac_builddir,;t t
7156 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7157 s
,@top_builddir@
,$ac_top_builddir,;t t
7158 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7159 s
,@INSTALL@
,$ac_INSTALL,;t t
7160 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7162 if test x"$ac_file" != x-; then
7163 mv $tmp/out $ac_file
7171 cat >>$CONFIG_STATUS <<\_ACEOF
7174 # CONFIG_COMMANDS section.
7176 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
7177 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7178 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7179 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7180 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7181 X"$ac_dest" : 'X\(//\)[^/]' \| \
7182 X"$ac_dest" : 'X\(//\)$' \| \
7183 X"$ac_dest" : 'X\(/\)' \| \
7184 . : '\(.\)' 2>/dev/null ||
7186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7188 /^X\(\/\/\)$/{ s//\1/; q; }
7189 /^X\(\/\).*/{ s//\1/; q; }
7191 { if $as_mkdir_p; then
7196 while test ! -d "$as_dir"; do
7197 as_dirs="$as_dir $as_dirs"
7198 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7200 X"$as_dir" : 'X\(//\)[^/]' \| \
7201 X"$as_dir" : 'X\(//\)$' \| \
7202 X"$as_dir" : 'X\(/\)' \| \
7203 . : '\(.\)' 2>/dev/null ||
7205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7207 /^X\(\/\/\)$/{ s//\1/; q; }
7208 /^X\(\/\).*/{ s//\1/; q; }
7211 test ! -n "$as_dirs" || mkdir $as_dirs
7212 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
7213 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
7214 { (exit 1); exit 1; }; }; }
7218 if test "$ac_dir" != .; then
7219 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7220 # A "..
/" for each directory in $ac_dir_suffix.
7221 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7223 ac_dir_suffix= ac_top_builddir=
7227 .) # No --srcdir option. We are building in place.
7229 if test -z "$ac_top_builddir"; then
7232 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7234 [\\/]* | ?:[\\/]* ) # Absolute path.
7235 ac_srcdir=$srcdir$ac_dir_suffix;
7236 ac_top_srcdir=$srcdir ;;
7238 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7239 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7242 # Do not use `cd foo && pwd` to compute absolute paths, because
7243 # the directories may not exist.
7245 .) ac_abs_builddir="$ac_dir";;
7248 .) ac_abs_builddir=`pwd`;;
7249 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7250 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7253 case $ac_abs_builddir in
7254 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7256 case ${ac_top_builddir}. in
7257 .) ac_abs_top_builddir=$ac_abs_builddir;;
7258 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7259 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7262 case $ac_abs_builddir in
7263 .) ac_abs_srcdir=$ac_srcdir;;
7266 .) ac_abs_srcdir=$ac_abs_builddir;;
7267 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7268 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7271 case $ac_abs_builddir in
7272 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7274 case $ac_top_srcdir in
7275 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7276 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7277 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7282 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
7283 echo "$as_me: executing
$ac_dest commands
" >&6;}
7286 echo "$INCLUDES $DEFS" > boehm-cflags
7288 if test -n "$CONFIG_FILES"; then
7289 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
7290 ac_file=Makefile . ${gc_basedir}/../config-ml.in
7296 cat >>$CONFIG_STATUS <<\_ACEOF
7298 { (exit 0); exit 0; }
7300 chmod +x $CONFIG_STATUS
7301 ac_clean_files=$ac_clean_files_save
7304 # configure is writing to config.log, and then calls config.status.
7305 # config.status does its own redirection, appending to config.log.
7306 # Unfortunately, on DOS this fails, as config.log is still kept open
7307 # by configure, so config.status won't be able to write to it; its
7308 # output is simply discarded. So we exec the FD to /dev/null,
7309 # effectively closing config.log, so it can be properly (re)opened and
7310 # appended to by config.status. When coming back to configure, we
7311 # need to make the FD available again.
7312 if test "$no_create" != yes; then
7314 ac_config_status_args=
7315 test "$silent" = yes &&
7316 ac_config_status_args="$ac_config_status_args --quiet"
7318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7321 # would make configure fail if this is the last instruction.
7322 $ac_cs_success || { (exit 1); exit 1; }