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 ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LN_S STRIP ac_ct_STRIP LIBTOOL CXXCPP CPPFLAGS 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_CXXCPP_set
=${CXXCPP+set}
754 ac_env_CXXCPP_value
=$CXXCPP
755 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value
=$CXXCPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
761 ac_env_CPP_set
=${CPP+set}
762 ac_env_CPP_value
=$CPP
763 ac_cv_env_CPP_set
=${CPP+set}
764 ac_cv_env_CPP_value
=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
773 \`configure' configures this package to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
832 --build=BUILD configure
for building on BUILD
[guessed
]
833 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
834 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
838 if test -n "$ac_init_help"; then
843 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
844 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
845 --enable-multilib build many library versions
(default
)
846 --enable-maintainer-mode enable make rules and dependencies not useful
847 (and sometimes confusing
) to the casual installer
848 --enable-shared=PKGS build shared libraries default
=yes
849 --enable-static=PKGS build static libraries default
=yes
850 --enable-fast-install=PKGS optimize
for fast installation default
=yes
851 --disable-libtool-lock avoid locking
(might
break parallel builds
)
852 --enable-parallel-mark parallelize marking and free list construction
853 --enable-full-debug include full support
for pointer backtracing etc.
856 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
857 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
858 --with-gnu-ld assume the C compiler uses GNU ld default
=no
859 --with-pic try to use only PIC
/non-PIC objects default
=use both
860 --with-target-subdir=SUBDIR
861 configuring with a cross compiler
862 --with-cross-host=HOST configuring with a cross compiler
863 --with-ecos enable runtime eCos target support
865 Some influential environment variables
:
866 CC C compiler
command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
869 nonstandard directory
<lib dir
>
870 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
871 headers
in a nonstandard directory
<include dir
>
872 CXX C
++ compiler
command
873 CXXFLAGS C
++ compiler flags
874 CXXCPP C
++ preprocessor
877 Use these variables to override the choices made by
`configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1000 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1001 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1002 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1003 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1008 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1011 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1012 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1014 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close
' the trap.
1094 trap 'exit_status
=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var
in $ac_subst_vars
1130 eval ac_val
=$
`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var
in $ac_subst_files
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h
; then
1157 sed "/^$/d" confdefs.h |
sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core
*.core
&&
1165 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's
/^
/|
/' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1262 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1287 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 # This works around the fact that libtool configuration may change LD
1317 # for this particular configuration, but some shells, instead of
1318 # keeping the changes in LD private, export them just because LD is
1320 ORIGINAL_LD_FOR_MULTILIBS=$LD
1322 # Check whether --enable-multilib or --disable-multilib was given.
1323 if test "${enable_multilib+set}" = set; then
1324 enableval="$enable_multilib"
1325 case "${enableval}" in
1326 yes) multilib=yes ;;
1328 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1329 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1330 { (exit 1); exit 1; }; } ;;
1336 if test "${srcdir}" = "."; then
1337 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
1338 gc_basedir="${srcdir}/${with_multisrctop}../."
1340 gc_basedir="${srcdir}/${with_multisrctop}."
1343 gc_basedir="${srcdir}/."
1347 for ac_dir in $gc_basedir/.. $srcdir/$gc_basedir/..; do
1348 if test -f $ac_dir/install-sh; then
1350 ac_install_sh="$ac_aux_dir/install-sh -c"
1352 elif test -f $ac_dir/install.sh; then
1354 ac_install_sh="$ac_aux_dir/install.sh -c"
1356 elif test -f $ac_dir/shtool; then
1358 ac_install_sh="$ac_aux_dir/shtool install -c"
1362 if test -z "$ac_aux_dir"; then
1363 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&5
1364 echo "$as_me: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&2;}
1365 { (exit 1); exit 1; }; }
1367 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1368 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1369 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1372 # This overrides the previous occurrence for automake, but not for
1373 # autoconf, which is exactly what we want.
1375 for ac_dir in .. $srcdir/..; do
1376 if test -f $ac_dir/install-sh; then
1378 ac_install_sh="$ac_aux_dir/install-sh -c"
1380 elif test -f $ac_dir/install.sh; then
1382 ac_install_sh="$ac_aux_dir/install.sh -c"
1384 elif test -f $ac_dir/shtool; then
1386 ac_install_sh="$ac_aux_dir/shtool install -c"
1390 if test -z "$ac_aux_dir"; then
1391 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1392 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1393 { (exit 1); exit 1; }; }
1395 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1396 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1397 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1401 # Make sure we can run config.sub.
1402 $ac_config_sub sun4 >/dev/null 2>&1 ||
1403 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1404 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1405 { (exit 1); exit 1; }; }
1407 echo "$as_me:$LINENO: checking build system type" >&5
1408 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1409 if test "${ac_cv_build+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_build_alias=$build_alias
1413 test -z "$ac_cv_build_alias" &&
1414 ac_cv_build_alias=`$ac_config_guess`
1415 test -z "$ac_cv_build_alias" &&
1416 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1417 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1418 { (exit 1); exit 1; }; }
1419 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1420 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1421 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1422 { (exit 1); exit 1; }; }
1425 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1426 echo "${ECHO_T}$ac_cv_build" >&6
1428 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1429 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1430 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1433 echo "$as_me:$LINENO: checking host system type" >&5
1434 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1435 if test "${ac_cv_host+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_host_alias=$host_alias
1439 test -z "$ac_cv_host_alias" &&
1440 ac_cv_host_alias=$ac_cv_build_alias
1441 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1442 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1443 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1444 { (exit 1); exit 1; }; }
1447 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1448 echo "${ECHO_T}$ac_cv_host" >&6
1450 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1451 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1452 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1455 echo "$as_me:$LINENO: checking target system type" >&5
1456 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1457 if test "${ac_cv_target+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 ac_cv_target_alias=$target_alias
1461 test "x$ac_cv_target_alias" = "x" &&
1462 ac_cv_target_alias=$ac_cv_host_alias
1463 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1464 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1465 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1466 { (exit 1); exit 1; }; }
1469 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1470 echo "${ECHO_T}$ac_cv_target" >&6
1471 target=$ac_cv_target
1472 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1473 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1474 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1477 # The aliases save the names the user supplied, while $host etc.
1478 # will get canonicalized.
1479 test -n "$target_alias" &&
1480 test "$program_prefix$program_suffix$program_transform_name" = \
1482 program_prefix=${target_alias}-
1484 # Get the 'noncanonical
' system names.
1485 # Autoconf M4 include file defining utility macros for complex Canadian
1494 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1496 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1499 # NCN_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1500 # Like AC_CHECK_TOOL, but tries a prefix of the target, not the host.
1501 # Code is pretty much lifted from autoconf2.53.
1506 # NCN_STRICT_CHECK_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1507 # Like AC_CHECK_TOOL, but requires the prefix if build!=host.
1512 # NCN_STRICT_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1513 # Like NCN_CHECK_TARGET_TOOL, but requires the prefix if build!=target.
1517 # AC_PROG_CPP_WERROR
1518 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1519 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1520 # For now, using this also overrides header checks to use only the
1521 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1522 # bit harder from here).
1523 # Eventually autoconf will default to checking headers with the compiler
1524 # instead, and we'll have to do this differently.
1526 # AC_PROG_CPP_WERROR
1528 case ${build_alias} in
1529 "") build_noncanonical
=${build} ;;
1530 *) build_noncanonical
=${build_alias} ;;
1533 case ${host_alias} in
1534 "") host_noncanonical
=${build_noncanonical} ;;
1535 *) host_noncanonical
=${host_alias} ;;
1538 case ${target_alias} in
1539 "") target_noncanonical
=${host_noncanonical} ;;
1540 *) target_noncanonical
=${target_alias} ;;
1544 # This works around an automake problem.
1545 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1548 # Find a good install program. We prefer a C program (faster),
1549 # so one script is as good as another. But avoid the broken or
1550 # incompatible versions:
1551 # SysV /etc/install, /usr/sbin/install
1552 # SunOS /usr/etc/install
1553 # IRIX /sbin/install
1555 # AmigaOS /C/install, which installs bootblocks on floppy discs
1556 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1557 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1558 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1559 # OS/2's system install, which has a completely different semantic
1560 # ./install, which can be erroneously created by make from ./install.sh.
1561 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1562 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1563 if test -z "$INSTALL"; then
1564 if test "${ac_cv_path_install+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir
=.
1572 # Account for people who put trailing slashes in PATH elements.
1574 .
/ | .
// |
/cC
/* | \
1575 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1576 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1579 # OSF1 and SCO ODT 3.0 have their own names for install.
1580 # Don't use installbsd from OSF since it installs stuff as root
1582 for ac_prog
in ginstall scoinst
install; do
1583 for ac_exec_ext
in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1585 if test $ac_prog = install &&
1586 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1587 # AIX install. It has an incompatible calling convention.
1589 elif test $ac_prog = install &&
1590 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1591 # program-specific install script used by HP pwplus--don't use.
1594 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1606 if test "${ac_cv_path_install+set}" = set; then
1607 INSTALL
=$ac_cv_path_install
1609 # As a last resort, use the slow shell script. We don't cache a
1610 # path for INSTALL within a source directory, because that will
1611 # break other packages using the cache if that directory is
1612 # removed, or if the path is relative.
1613 INSTALL
=$ac_install_sh
1616 echo "$as_me:$LINENO: result: $INSTALL" >&5
1617 echo "${ECHO_T}$INSTALL" >&6
1619 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1620 # It thinks the first close brace ends the variable substitution.
1621 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1623 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1625 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1627 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1628 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1631 echo timestamp
> conftestfile
1632 # Do `set' in a subshell so we don't clobber the current shell's
1633 # arguments. Must try -L first in case configure is actually a
1634 # symlink; some systems play weird games with the mod time of symlinks
1635 # (eg FreeBSD returns the mod time of the symlink's containing
1638 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1639 if test "$*" = "X"; then
1641 set X
`ls -t $srcdir/configure conftestfile`
1643 if test "$*" != "X $srcdir/configure conftestfile" \
1644 && test "$*" != "X conftestfile $srcdir/configure"; then
1646 # If neither matched, then we have a broken ls. This can happen
1647 # if, for instance, CONFIG_SHELL is bash and it inherits a
1648 # broken ls alias from the environment. This has actually
1649 # happened. Such a system could not be considered "sane".
1650 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1651 alias in your environment" >&5
1652 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1653 alias in your environment" >&2;}
1654 { (exit 1); exit 1; }; }
1657 test "$2" = conftestfile
1663 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1664 Check your system clock" >&5
1665 echo "$as_me: error: newly created file is older than distributed files!
1666 Check your system clock" >&2;}
1667 { (exit 1); exit 1; }; }
1670 echo "$as_me:$LINENO: result: yes" >&5
1671 echo "${ECHO_T}yes" >&6
1672 test "$program_prefix" != NONE
&&
1673 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1674 # Use a double $ so make ignores it.
1675 test "$program_suffix" != NONE
&&
1676 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1677 # Double any \ or $. echo might interpret backslashes.
1678 # By default was `s,x,x', remove it if useless.
1679 cat <<\_ACEOF
>conftest.
sed
1680 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1682 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1685 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1687 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1688 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 cat >conftest.
make <<\_ACEOF
1693 @
echo 'ac_maketemp="$(MAKE)"'
1695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1696 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1697 if test -n "$ac_maketemp"; then
1698 eval ac_cv_prog_make_
${ac_make}_set
=yes
1700 eval ac_cv_prog_make_
${ac_make}_set
=no
1704 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1705 echo "$as_me:$LINENO: result: yes" >&5
1706 echo "${ECHO_T}yes" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1711 SET_MAKE
="MAKE=${MAKE-make}"
1719 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1720 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1721 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1722 { (exit 1); exit 1; }; }
1727 missing_dir
=`cd $ac_aux_dir && pwd`
1728 echo "$as_me:$LINENO: checking for working aclocal" >&5
1729 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1730 # Run test in a subshell; some versions of sh will print an error if
1731 # an executable is not found, even if stderr is redirected.
1732 # Redirect stdin to placate older versions of autoconf. Sigh.
1733 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1735 echo "$as_me:$LINENO: result: found" >&5
1736 echo "${ECHO_T}found" >&6
1738 ACLOCAL
="$missing_dir/missing aclocal"
1739 echo "$as_me:$LINENO: result: missing" >&5
1740 echo "${ECHO_T}missing" >&6
1743 echo "$as_me:$LINENO: checking for working autoconf" >&5
1744 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1745 # Run test in a subshell; some versions of sh will print an error if
1746 # an executable is not found, even if stderr is redirected.
1747 # Redirect stdin to placate older versions of autoconf. Sigh.
1748 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1750 echo "$as_me:$LINENO: result: found" >&5
1751 echo "${ECHO_T}found" >&6
1753 AUTOCONF
="$missing_dir/missing autoconf"
1754 echo "$as_me:$LINENO: result: missing" >&5
1755 echo "${ECHO_T}missing" >&6
1758 echo "$as_me:$LINENO: checking for working automake" >&5
1759 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1760 # Run test in a subshell; some versions of sh will print an error if
1761 # an executable is not found, even if stderr is redirected.
1762 # Redirect stdin to placate older versions of autoconf. Sigh.
1763 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1765 echo "$as_me:$LINENO: result: found" >&5
1766 echo "${ECHO_T}found" >&6
1768 AUTOMAKE
="$missing_dir/missing automake"
1769 echo "$as_me:$LINENO: result: missing" >&5
1770 echo "${ECHO_T}missing" >&6
1773 echo "$as_me:$LINENO: checking for working autoheader" >&5
1774 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1775 # Run test in a subshell; some versions of sh will print an error if
1776 # an executable is not found, even if stderr is redirected.
1777 # Redirect stdin to placate older versions of autoconf. Sigh.
1778 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1779 AUTOHEADER
=autoheader
1780 echo "$as_me:$LINENO: result: found" >&5
1781 echo "${ECHO_T}found" >&6
1783 AUTOHEADER
="$missing_dir/missing autoheader"
1784 echo "$as_me:$LINENO: result: missing" >&5
1785 echo "${ECHO_T}missing" >&6
1788 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1789 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1790 # Run test in a subshell; some versions of sh will print an error if
1791 # an executable is not found, even if stderr is redirected.
1792 # Redirect stdin to placate older versions of autoconf. Sigh.
1793 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1795 echo "$as_me:$LINENO: result: found" >&5
1796 echo "${ECHO_T}found" >&6
1798 MAKEINFO
="$missing_dir/missing makeinfo"
1799 echo "$as_me:$LINENO: result: missing" >&5
1800 echo "${ECHO_T}missing" >&6
1805 # The autoconf 2.5x version of the no-executables hack.
1806 # GCC_NO_EXECUTABLES
1808 # FIXME: The GCC team has specific needs which the current Autoconf
1809 # framework cannot solve elegantly. This macro implements a dirty
1810 # hack until Autoconf is able to provide the services its users
1813 # Several of the support libraries that are often built with GCC can't
1814 # assume the tool-chain is already capable of linking a program: the
1815 # compiler often expects to be able to link with some of such
1818 # In several of these libraries, workarounds have been introduced to
1819 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1820 # configuration. The introduction of AC_EXEEXT, enabled either by
1821 # libtool or by CVS autoconf, have just made matters worse.
1823 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1824 # disable link tests at autoconf time, but at configure time.
1825 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1826 # GCC_NO_EXECUTABLES
1830 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1831 # the wrong, non-multilib-adjusted value will be used in multilibs.
1832 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1837 ac_cpp
='$CPP $CPPFLAGS'
1838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1843 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC
="$CC" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test -n "$CC"; then
1870 echo "$as_me:$LINENO: result: $CC" >&5
1871 echo "${ECHO_T}$CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$ac_cv_prog_CC"; then
1880 # Extract the first word of "gcc", so it can be a program name with args.
1881 set dummy gcc
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_CC"; then
1888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_ac_ct_CC
="gcc"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1909 echo "${ECHO_T}$ac_ct_CC" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1920 if test -z "$CC"; then
1921 if test -n "$ac_tool_prefix"; then
1922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1923 set dummy
${ac_tool_prefix}cc
; 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_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC
="$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_CC
="${ac_tool_prefix}cc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 if test -n "$CC"; then
1950 echo "$as_me:$LINENO: result: $CC" >&5
1951 echo "${ECHO_T}$CC" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1958 if test -z "$ac_cv_prog_CC"; then
1960 # Extract the first word of "cc", so it can be a program name with args.
1961 set dummy cc
; ac_word
=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$ac_ct_CC"; then
1968 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir
=.
1975 for ac_exec_ext
in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_ac_ct_CC
="cc"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1987 if test -n "$ac_ct_CC"; then
1988 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1989 echo "${ECHO_T}$ac_ct_CC" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
2001 if test -z "$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_CC+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$CC"; then
2010 ac_cv_prog_CC
="$CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2021 ac_prog_rejected
=yes
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test $ac_prog_rejected = yes; then
2032 # We found a bogon in the path, so make sure we never use it.
2033 set dummy
$ac_cv_prog_CC
2035 if test $# != 0; then
2036 # We chose a different compiler from the bogus one.
2037 # However, it has the same basename, so the bogon will be chosen
2038 # first if we set CC to just the basename; use the full file name.
2040 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2046 if test -n "$CC"; then
2047 echo "$as_me:$LINENO: result: $CC" >&5
2048 echo "${ECHO_T}$CC" >&6
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2055 if test -z "$CC"; then
2056 if test -n "$ac_tool_prefix"; then
2059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2060 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$CC"; then
2067 ac_cv_prog_CC
="$CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 if test -n "$CC"; then
2087 echo "$as_me:$LINENO: result: $CC" >&5
2088 echo "${ECHO_T}$CC" >&6
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2094 test -n "$CC" && break
2097 if test -z "$CC"; then
2101 # Extract the first word of "$ac_prog", so it can be a program name with args.
2102 set dummy
$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_ac_ct_CC+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test -n "$ac_ct_CC"; then
2109 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2128 if test -n "$ac_ct_CC"; then
2129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2130 echo "${ECHO_T}$ac_ct_CC" >&6
2132 echo "$as_me:$LINENO: result: no" >&5
2133 echo "${ECHO_T}no" >&6
2136 test -n "$ac_ct_CC" && break
2145 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2146 See \`config.log' for more details." >&5
2147 echo "$as_me: error: no acceptable C compiler found in \$PATH
2148 See \`config.log' for more details." >&2;}
2149 { (exit 1); exit 1; }; }
2151 # Provide some information about the compiler.
2152 echo "$as_me:$LINENO:" \
2153 "checking for C compiler version" >&5
2154 ac_compiler
=`set X $ac_compile; echo $2`
2155 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2156 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }
2160 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2161 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }
2165 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2166 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }
2171 cat >conftest.
$ac_ext <<_ACEOF
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2188 (eval $ac_link) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2197 if test x
$gcc_no_link = xyes
; then
2198 # Setting cross_compile will disable run tests; it will
2199 # also disable AC_CHECK_FILE but that's generally
2200 # correct if we can't link.
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2219 ac_clean_files_save
=$ac_clean_files
2220 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2221 # Try to create an executable without -o first, disregard a.out.
2222 # It will help us diagnose broken compilers, and finding out an intuition
2224 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2225 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2226 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2227 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2228 (eval $ac_link_default) 2>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; then
2232 # Find the output, starting from the most likely. This scheme is
2233 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2236 # Be careful to initialize this variable, since it used to be cached.
2237 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2239 # b.out is created by i960 compilers.
2240 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2242 test -f "$ac_file" ||
continue
2244 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2247 # This is the source file.
2250 # We found the default executable, but exeext='' is most
2254 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2255 # FIXME: I believe we export ac_cv_exeext for Libtool,
2256 # but it would be cool to find out if it's true. Does anybody
2257 # maintain Libtool? --akim.
2265 echo "$as_me: failed program was:" >&5
2266 sed 's/^/| /' conftest.
$ac_ext >&5
2268 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2269 See \`config.log' for more details." >&5
2270 echo "$as_me: error: C compiler cannot create executables
2271 See \`config.log' for more details." >&2;}
2272 { (exit 77); exit 77; }; }
2275 ac_exeext
=$ac_cv_exeext
2276 echo "$as_me:$LINENO: result: $ac_file" >&5
2277 echo "${ECHO_T}$ac_file" >&6
2279 # Check the compiler produces executables we can run. If not, either
2280 # the compiler is broken, or we cross compile.
2281 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2282 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2283 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2284 # If not cross compiling, check that we can run a simple program.
2285 if test "$cross_compiling" != yes; then
2286 if { ac_try
='./$ac_file'
2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then
2294 if test "$cross_compiling" = maybe
; then
2297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2298 If you meant to cross compile, use \`--host'.
2299 See \`config.log' for more details." >&5
2300 echo "$as_me: error: cannot run C compiled programs.
2301 If you meant to cross compile, use \`--host'.
2302 See \`config.log' for more details." >&2;}
2303 { (exit 1); exit 1; }; }
2307 echo "$as_me:$LINENO: result: yes" >&5
2308 echo "${ECHO_T}yes" >&6
2310 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2311 ac_clean_files
=$ac_clean_files_save
2312 # Check the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2316 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2317 echo "${ECHO_T}$cross_compiling" >&6
2319 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2322 (eval $ac_link) 2>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; then
2326 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2327 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2328 # work properly (i.e., refer to `conftest.exe'), while it won't with
2330 for ac_file
in conftest.exe conftest conftest.
*; do
2331 test -f "$ac_file" ||
continue
2333 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2334 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2341 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2348 rm -f conftest
$ac_cv_exeext
2349 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2350 echo "${ECHO_T}$ac_cv_exeext" >&6
2352 rm -f conftest.
$ac_ext
2353 EXEEXT
=$ac_cv_exeext
2356 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2357 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2358 if test "${ac_cv_objext+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 cat >conftest.
$ac_ext <<_ACEOF
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 rm -f conftest.o conftest.obj
2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378 (eval $ac_compile) 2>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; then
2382 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2384 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2385 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.
$ac_ext >&5
2393 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2394 See \`config.log' for more details." >&5
2395 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2396 See \`config.log' for more details." >&2;}
2397 { (exit 1); exit 1; }; }
2400 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2402 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2403 echo "${ECHO_T}$ac_cv_objext" >&6
2404 OBJEXT
=$ac_cv_objext
2406 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2407 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2408 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 cat >conftest.
$ac_ext <<_ACEOF
2414 cat confdefs.h
>>conftest.
$ac_ext
2415 cat >>conftest.
$ac_ext <<_ACEOF
2416 /* end confdefs.h. */
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>conftest.er1
2433 grep -v '^ *+' conftest.er1
>conftest.err
2435 cat conftest.err
>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } &&
2438 { ac_try
='test -z "$ac_c_werror_flag"
2439 || test ! -s conftest.err'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2459 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2462 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2463 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2464 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2465 ac_test_CFLAGS
=${CFLAGS+set}
2466 ac_save_CFLAGS
=$CFLAGS
2468 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2469 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2470 if test "${ac_cv_prog_cc_g+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 cat >conftest.
$ac_ext <<_ACEOF
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2488 rm -f conftest.
$ac_objext
2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>conftest.er1
2492 grep -v '^ *+' conftest.er1
>conftest.err
2494 cat conftest.err
>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } &&
2497 { ac_try
='test -z "$ac_c_werror_flag"
2498 || test ! -s conftest.err'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; } &&
2504 { ac_try
='test -s conftest.$ac_objext'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2519 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2520 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2521 if test "$ac_test_CFLAGS" = set; then
2522 CFLAGS
=$ac_save_CFLAGS
2523 elif test $ac_cv_prog_cc_g = yes; then
2524 if test "$GCC" = yes; then
2530 if test "$GCC" = yes; then
2536 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2537 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2538 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 ac_cv_prog_cc_stdc
=no
2543 cat >conftest.
$ac_ext <<_ACEOF
2546 cat confdefs.h
>>conftest.
$ac_ext
2547 cat >>conftest.
$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2551 #include <sys/types.h>
2552 #include <sys/stat.h>
2553 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2554 struct buf { int x; };
2555 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2556 static char *e (p, i)
2562 static char *f (char * (*g) (char **, int), char **p, ...)
2567 s = g (p, va_arg (v,int));
2572 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2573 function prototypes and stuff, but not '\xHH' hex character constants.
2574 These don't provoke an error unfortunately, instead are silently treated
2575 as 'x'. The following induces an error, until -std1 is added to get
2576 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2577 array size at least. It's necessary to write '\x00'==0 to get something
2578 that's true only with -std1. */
2579 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2581 int test (int i, double x);
2582 struct s1 {int (*f) (int a);};
2583 struct s2 {int (*f) (double a);};
2584 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2590 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2595 # Don't try gcc -ansi; that turns off useful extensions and
2596 # breaks some systems' header files.
2597 # AIX -qlanglvl=ansi
2598 # Ultrix and OSF/1 -std1
2599 # HP-UX 10.20 and later -Ae
2600 # HP-UX older versions -Aa -D_HPUX_SOURCE
2601 # SVR4 -Xc -D__EXTENSIONS__
2602 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2604 CC
="$ac_save_CC $ac_arg"
2605 rm -f conftest.
$ac_objext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2607 (eval $ac_compile) 2>conftest.er1
2609 grep -v '^ *+' conftest.er1
>conftest.err
2611 cat conftest.err
>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } &&
2614 { ac_try
='test -z "$ac_c_werror_flag"
2615 || test ! -s conftest.err'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; } &&
2621 { ac_try
='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 ac_cv_prog_cc_stdc
=$ac_arg
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2634 rm -f conftest.err conftest.
$ac_objext
2636 rm -f conftest.
$ac_ext conftest.
$ac_objext
2641 case "x$ac_cv_prog_cc_stdc" in
2643 echo "$as_me:$LINENO: result: none needed" >&5
2644 echo "${ECHO_T}none needed" >&6 ;;
2646 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2647 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2648 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2651 # Some people use a C++ compiler to compile C. Since we use `exit',
2652 # in C++ we need to declare it. In case someone uses the same compiler
2653 # for both compiling C and C++ we need to have the C++ compiler decide
2654 # the declaration of exit, since it's the most demanding environment.
2655 cat >conftest.
$ac_ext <<_ACEOF
2660 rm -f conftest.
$ac_objext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2662 (eval $ac_compile) 2>conftest.er1
2664 grep -v '^ *+' conftest.er1
>conftest.err
2666 cat conftest.err
>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try
='test -z "$ac_c_werror_flag"
2670 || test ! -s conftest.err'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; } &&
2676 { ac_try
='test -s conftest.$ac_objext'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2682 for ac_declaration
in \
2684 'extern "C" void std::exit (int) throw (); using std::exit;' \
2685 'extern "C" void std::exit (int); using std::exit;' \
2686 'extern "C" void exit (int) throw ();' \
2687 'extern "C" void exit (int);' \
2690 cat >conftest.
$ac_ext <<_ACEOF
2693 cat confdefs.h
>>conftest.
$ac_ext
2694 cat >>conftest.
$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2706 rm -f conftest.
$ac_objext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708 (eval $ac_compile) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1
>conftest.err
2712 cat conftest.err
>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try
='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try
='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.
$ac_ext >&5
2735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2736 cat >conftest.
$ac_ext <<_ACEOF
2739 cat confdefs.h
>>conftest.
$ac_ext
2740 cat >>conftest.
$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2751 rm -f conftest.
$ac_objext
2752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753 (eval $ac_compile) 2>conftest.er1
2755 grep -v '^ *+' conftest.er1
>conftest.err
2757 cat conftest.err
>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } &&
2760 { ac_try
='test -z "$ac_c_werror_flag"
2761 || test ! -s conftest.err'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; } &&
2767 { ac_try
='test -s conftest.$ac_objext'
2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; }; then
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.
$ac_ext >&5
2779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2782 if test -n "$ac_declaration"; then
2783 echo '#ifdef __cplusplus' >>confdefs.h
2784 echo $ac_declaration >>confdefs.h
2785 echo '#endif' >>confdefs.h
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.
$ac_ext >&5
2793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2795 ac_cpp
='$CPP $CPPFLAGS'
2796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2801 ac_cpp
='$CXXCPP $CPPFLAGS'
2802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2805 if test -n "$ac_tool_prefix"; then
2806 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2810 echo "$as_me:$LINENO: checking for $ac_word" >&5
2811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2812 if test "${ac_cv_prog_CXX+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 if test -n "$CXX"; then
2816 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 if test -n "$CXX"; then
2836 echo "$as_me:$LINENO: result: $CXX" >&5
2837 echo "${ECHO_T}$CXX" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2843 test -n "$CXX" && break
2846 if test -z "$CXX"; then
2848 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2854 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 if test -n "$ac_ct_CXX"; then
2858 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2877 if test -n "$ac_ct_CXX"; then
2878 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2879 echo "${ECHO_T}$ac_ct_CXX" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2885 test -n "$ac_ct_CXX" && break
2887 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2893 # Provide some information about the compiler.
2894 echo "$as_me:$LINENO:" \
2895 "checking for C++ compiler version" >&5
2896 ac_compiler
=`set X $ac_compile; echo $2`
2897 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2898 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }
2902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2903 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }
2907 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2908 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }
2913 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2914 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2915 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 cat >conftest.
$ac_ext <<_ACEOF
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2936 rm -f conftest.
$ac_objext
2937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2938 (eval $ac_compile) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1
>conftest.err
2942 cat conftest.err
>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try
='test -z "$ac_cxx_werror_flag"
2946 || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try
='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2960 echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.
$ac_ext >&5
2965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2969 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2970 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2971 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2972 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2973 ac_save_CXXFLAGS
=$CXXFLAGS
2975 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2976 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2977 if test "${ac_cv_prog_cxx_g+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 cat >conftest.
$ac_ext <<_ACEOF
2983 cat confdefs.h
>>conftest.
$ac_ext
2984 cat >>conftest.
$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2995 rm -f conftest.
$ac_objext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 (eval $ac_compile) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1
>conftest.err
3001 cat conftest.err
>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try
='test -z "$ac_cxx_werror_flag"
3005 || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try
='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 ac_cv_prog_cxx_g
=yes
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.
$ac_ext >&5
3024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3026 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3027 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3028 if test "$ac_test_CXXFLAGS" = set; then
3029 CXXFLAGS
=$ac_save_CXXFLAGS
3030 elif test $ac_cv_prog_cxx_g = yes; then
3031 if test "$GXX" = yes; then
3037 if test "$GXX" = yes; then
3043 for ac_declaration
in \
3045 'extern "C" void std::exit (int) throw (); using std::exit;' \
3046 'extern "C" void std::exit (int); using std::exit;' \
3047 'extern "C" void exit (int) throw ();' \
3048 'extern "C" void exit (int);' \
3051 cat >conftest.
$ac_ext <<_ACEOF
3054 cat confdefs.h
>>conftest.
$ac_ext
3055 cat >>conftest.
$ac_ext <<_ACEOF
3056 /* end confdefs.h. */
3067 rm -f conftest.
$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>conftest.er1
3071 grep -v '^ *+' conftest.er1
>conftest.err
3073 cat conftest.err
>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try
='test -z "$ac_cxx_werror_flag"
3077 || test ! -s conftest.err'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; } &&
3083 { ac_try
='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 cat >conftest.
$ac_ext <<_ACEOF
3100 cat confdefs.h
>>conftest.
$ac_ext
3101 cat >>conftest.
$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3112 rm -f conftest.
$ac_objext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114 (eval $ac_compile) 2>conftest.er1
3116 grep -v '^ *+' conftest.er1
>conftest.err
3118 cat conftest.err
>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try
='test -z "$ac_cxx_werror_flag"
3122 || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try
='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3143 if test -n "$ac_declaration"; then
3144 echo '#ifdef __cplusplus' >>confdefs.h
3145 echo $ac_declaration >>confdefs.h
3146 echo '#endif' >>confdefs.h
3150 ac_cpp
='$CPP $CPPFLAGS'
3151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3160 # Newer automakes demand CCAS and CCASFLAGS.
3162 : ${CCASFLAGS='$(CFLAGS)'}
3166 if test -n "$ac_tool_prefix"; then
3167 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3168 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3169 echo "$as_me:$LINENO: checking for $ac_word" >&5
3170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3171 if test "${ac_cv_prog_AS+set}" = set; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 if test -n "$AS"; then
3175 ac_cv_prog_AS
="$AS" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184 ac_cv_prog_AS
="${ac_tool_prefix}as"
3185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 if test -n "$AS"; then
3195 echo "$as_me:$LINENO: result: $AS" >&5
3196 echo "${ECHO_T}$AS" >&6
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3203 if test -z "$ac_cv_prog_AS"; then
3205 # Extract the first word of "as", so it can be a program name with args.
3206 set dummy as
; ac_word
=$2
3207 echo "$as_me:$LINENO: checking for $ac_word" >&5
3208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3209 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 if test -n "$ac_ct_AS"; then
3213 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_ac_ct_AS
="as"
3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3232 if test -n "$ac_ct_AS"; then
3233 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3234 echo "${ECHO_T}$ac_ct_AS" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3247 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3248 echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3250 if test "${ac_cv_prog_AR+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 if test -n "$AR"; then
3254 ac_cv_prog_AR
="$AR" # Let the user override the test.
3256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir
=.
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 if test -n "$AR"; then
3274 echo "$as_me:$LINENO: result: $AR" >&5
3275 echo "${ECHO_T}$AR" >&6
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3282 if test -z "$ac_cv_prog_AR"; then
3284 # Extract the first word of "ar", so it can be a program name with args.
3285 set dummy
ar; ac_word
=$2
3286 echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3288 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 if test -n "$ac_ct_AR"; then
3292 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir
=.
3299 for ac_exec_ext
in '' $ac_executable_extensions; do
3300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3301 ac_cv_prog_ac_ct_AR
="ar"
3302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3311 if test -n "$ac_ct_AR"; then
3312 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3313 echo "${ECHO_T}$ac_ct_AR" >&6
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3326 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3327 echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3329 if test "${ac_cv_prog_RANLIB+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$RANLIB"; then
3333 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir
=.
3340 for ac_exec_ext
in '' $ac_executable_extensions; do
3341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 RANLIB
=$ac_cv_prog_RANLIB
3352 if test -n "$RANLIB"; then
3353 echo "$as_me:$LINENO: result: $RANLIB" >&5
3354 echo "${ECHO_T}$RANLIB" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3361 if test -z "$ac_cv_prog_RANLIB"; then
3362 ac_ct_RANLIB
=$RANLIB
3363 # Extract the first word of "ranlib", so it can be a program name with args.
3364 set dummy ranlib
; ac_word
=$2
3365 echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3367 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 if test -n "$ac_ct_RANLIB"; then
3371 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3390 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3391 if test -n "$ac_ct_RANLIB"; then
3392 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3393 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3399 RANLIB
=$ac_ct_RANLIB
3401 RANLIB
="$ac_cv_prog_RANLIB"
3405 # Find a good install program. We prefer a C program (faster),
3406 # so one script is as good as another. But avoid the broken or
3407 # incompatible versions:
3408 # SysV /etc/install, /usr/sbin/install
3409 # SunOS /usr/etc/install
3410 # IRIX /sbin/install
3412 # AmigaOS /C/install, which installs bootblocks on floppy discs
3413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3416 # OS/2's system install, which has a completely different semantic
3417 # ./install, which can be erroneously created by make from ./install.sh.
3418 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3419 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3420 if test -z "$INSTALL"; then
3421 if test "${ac_cv_path_install+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir
=.
3429 # Account for people who put trailing slashes in PATH elements.
3431 .
/ | .
// |
/cC
/* | \
3432 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3433 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3436 # OSF1 and SCO ODT 3.0 have their own names for install.
3437 # Don't use installbsd from OSF since it installs stuff as root
3439 for ac_prog
in ginstall scoinst
install; do
3440 for ac_exec_ext
in '' $ac_executable_extensions; do
3441 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3442 if test $ac_prog = install &&
3443 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3444 # AIX install. It has an incompatible calling convention.
3446 elif test $ac_prog = install &&
3447 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3448 # program-specific install script used by HP pwplus--don't use.
3451 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3463 if test "${ac_cv_path_install+set}" = set; then
3464 INSTALL
=$ac_cv_path_install
3466 # As a last resort, use the slow shell script. We don't cache a
3467 # path for INSTALL within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the path is relative.
3470 INSTALL
=$ac_install_sh
3473 echo "$as_me:$LINENO: result: $INSTALL" >&5
3474 echo "${ECHO_T}$INSTALL" >&6
3476 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3477 # It thinks the first close brace ends the variable substitution.
3478 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3480 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3482 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3485 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3486 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3487 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3488 if test "${enable_maintainer_mode+set}" = set; then
3489 enableval
="$enable_maintainer_mode"
3490 USE_MAINTAINER_MODE
=$enableval
3492 USE_MAINTAINER_MODE
=no
3494 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3495 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3498 if test $USE_MAINTAINER_MODE = yes; then
3499 MAINTAINER_MODE_TRUE
=
3500 MAINTAINER_MODE_FALSE
='#'
3502 MAINTAINER_MODE_TRUE
='#'
3503 MAINTAINER_MODE_FALSE
=
3505 MAINT
=$MAINTAINER_MODE_TRUE
3509 .
${srcdir}/configure.
host
3511 case ${gc_basedir} in
3512 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
3513 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
3516 gc_cflags
="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3519 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3524 GC_CFLAGS
=${gc_cflags}
3527 # Check whether --enable-shared or --disable-shared was given.
3528 if test "${enable_shared+set}" = set; then
3529 enableval
="$enable_shared"
3530 p
=${PACKAGE-default}
3532 yes) enable_shared
=yes ;;
3533 no
) enable_shared
=no
;;
3536 # Look at the argument we got. We use all the common list separators.
3537 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3538 for pkg
in $enableval; do
3539 if test "X$pkg" = "X$p"; then
3549 # Check whether --enable-static or --disable-static was given.
3550 if test "${enable_static+set}" = set; then
3551 enableval
="$enable_static"
3552 p
=${PACKAGE-default}
3554 yes) enable_static
=yes ;;
3555 no
) enable_static
=no
;;
3558 # Look at the argument we got. We use all the common list separators.
3559 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3560 for pkg
in $enableval; do
3561 if test "X$pkg" = "X$p"; then
3571 # Check whether --enable-fast-install or --disable-fast-install was given.
3572 if test "${enable_fast_install+set}" = set; then
3573 enableval
="$enable_fast_install"
3574 p
=${PACKAGE-default}
3576 yes) enable_fast_install
=yes ;;
3577 no
) enable_fast_install
=no
;;
3579 enable_fast_install
=no
3580 # Look at the argument we got. We use all the common list separators.
3581 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3582 for pkg
in $enableval; do
3583 if test "X$pkg" = "X$p"; then
3584 enable_fast_install
=yes
3591 enable_fast_install
=yes
3594 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3595 if test "${with_gnu_ld+set}" = set; then
3596 withval
="$with_gnu_ld"
3597 test "$withval" = no || with_gnu_ld
=yes
3602 if test "$GCC" = yes; then
3603 # Check if gcc -print-prog-name=ld gives a path.
3604 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3605 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3608 # gcc leaves a trailing carriage return which upsets mingw
3609 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3611 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3614 # Accept absolute paths.
3615 [\\/]* |
[A-Za-z
]:[\\/]*)
3616 re_direlt
='/[^/][^/]*/\.\./'
3617 # Canonicalize the path of ld
3618 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3619 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3620 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3622 test -z "$LD" && LD
="$ac_prog"
3625 # If it fails, then pretend we aren't using GCC.
3629 # If it is relative, then search for the first ld in PATH.
3633 elif test "$with_gnu_ld" = yes; then
3634 echo "$as_me:$LINENO: checking for GNU ld" >&5
3635 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3637 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3638 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3640 if test "${lt_cv_path_LD+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 if test -z "$LD"; then
3644 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3645 for ac_dir
in $PATH; do
3646 test -z "$ac_dir" && ac_dir
=.
3647 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3648 lt_cv_path_LD
="$ac_dir/$ac_prog"
3649 # Check to see if the program is GNU ld. I'd rather use --version,
3650 # but apparently some GNU ld's only accept -v.
3651 # Break only if it was the GNU/non-GNU ld that we prefer.
3652 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3653 test "$with_gnu_ld" != no
&& break
3655 test "$with_gnu_ld" != yes && break
3661 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3666 if test -n "$LD"; then
3667 echo "$as_me:$LINENO: result: $LD" >&5
3668 echo "${ECHO_T}$LD" >&6
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3673 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3674 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3675 { (exit 1); exit 1; }; }
3676 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3677 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3678 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3682 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3683 lt_cv_prog_gnu_ld
=yes
3685 lt_cv_prog_gnu_ld
=no
3688 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3689 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3690 with_gnu_ld
=$lt_cv_prog_gnu_ld
3693 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3694 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3695 if test "${lt_cv_ld_reload_flag+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 lt_cv_ld_reload_flag
='-r'
3700 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3701 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3702 reload_flag
=$lt_cv_ld_reload_flag
3703 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3705 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3706 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3707 if test "${lt_cv_path_NM+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 if test -n "$NM"; then
3711 # Let the user override the test.
3714 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3715 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3716 test -z "$ac_dir" && ac_dir
=.
3717 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3718 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3719 # Check to see if the nm accepts a BSD-compat flag.
3720 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3721 # nm: unknown option "B" ignored
3722 # Tru64's nm complains that /dev/null is an invalid object file
3723 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3724 lt_cv_path_NM
="$tmp_nm -B"
3726 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3727 lt_cv_path_NM
="$tmp_nm -p"
3730 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3731 continue # so that we can try to find one that supports BSD flags
3736 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3741 echo "$as_me:$LINENO: result: $NM" >&5
3742 echo "${ECHO_T}$NM" >&6
3744 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3745 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3747 if test "$LN_S" = "ln -s"; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3751 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3752 echo "${ECHO_T}no, using $LN_S" >&6
3755 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3756 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3757 if test "${lt_cv_deplibs_check_method+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3761 lt_cv_file_magic_test_file
=
3762 lt_cv_deplibs_check_method
='unknown'
3763 # Need to set the preceding variable on all platforms that support
3764 # interlibrary dependencies.
3765 # 'none' -- dependencies not supported.
3766 # `unknown' -- same as none, but documents that we really don't know.
3767 # 'pass_all' -- all dependencies passed with no checks.
3768 # 'test_compile' -- check by making test program.
3769 # 'file_magic [regex]' -- check by looking for files in library path
3770 # which responds to the $file_magic_cmd with a given egrep regex.
3771 # If you have `file' or equivalent on your system and you're not sure
3772 # whether `pass_all' will *always* work, you probably want this one.
3776 lt_cv_deplibs_check_method
=pass_all
3780 lt_cv_deplibs_check_method
=pass_all
3784 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3785 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3786 lt_cv_file_magic_test_file
=/shlib
/libc.so
3789 cygwin
* | mingw
* |pw32
*)
3790 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3791 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3794 darwin
* | rhapsody
*)
3795 # this will be overwritten by pass_all, but leave it in just in case
3796 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3797 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3799 rhapsody
* | darwin1.012
)
3800 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3803 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3806 lt_cv_deplibs_check_method
=pass_all
3810 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3813 # Not sure whether the presence of OpenBSD here was a mistake.
3814 # Let's accept both of them until this is cleared up.
3815 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3816 lt_cv_file_magic_cmd
=/usr
/bin
/file
3817 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3821 lt_cv_deplibs_check_method
=pass_all
3826 lt_cv_deplibs_check_method
=pass_all
3832 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3833 lt_cv_file_magic_cmd
=/usr
/bin
/file
3834 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3837 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3838 lt_cv_file_magic_cmd
=/usr
/bin
/file
3839 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3847 # this will be overridden with pass_all, but let us keep it just in case
3848 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3852 *-32|
*"-32 ") libmagic
=32-bit;;
3853 *-n32|
*"-n32 ") libmagic
=N32
;;
3854 *-64|
*"-64 ") libmagic
=64-bit;;
3855 *) libmagic
=never-match
;;
3857 # this will be overridden with pass_all, but let us keep it just in case
3858 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3861 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3862 lt_cv_deplibs_check_method
=pass_all
3865 # This must be Linux ELF.
3868 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3869 lt_cv_deplibs_check_method
=pass_all
;;
3871 # glibc up to 2.1.1 does not perform some relocations on ARM
3872 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3874 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3878 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3879 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3881 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3886 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3887 lt_cv_file_magic_cmd
=/usr
/bin
/file
3888 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3891 osf3
* | osf4
* | osf5
*)
3892 # this will be overridden with pass_all, but let us keep it just in case
3893 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3894 lt_cv_file_magic_test_file
=/shlib
/libc.so
3895 lt_cv_deplibs_check_method
=pass_all
3899 lt_cv_deplibs_check_method
=pass_all
3903 lt_cv_deplibs_check_method
=pass_all
3904 lt_cv_file_magic_test_file
=/lib
/libc.so
3907 sysv5uw
[78]* | sysv4
*uw2
*)
3908 lt_cv_deplibs_check_method
=pass_all
3911 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3912 case $host_vendor in
3914 lt_cv_deplibs_check_method
=pass_all
3917 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]'
3918 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3925 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3926 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3927 file_magic_cmd
=$lt_cv_file_magic_cmd
3928 deplibs_check_method
=$lt_cv_deplibs_check_method
3934 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3936 # Only perform the check for file, if the check method requires it
3937 case $deplibs_check_method in
3939 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3940 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3941 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3942 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3950 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3953 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3954 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3955 ac_dummy
="/usr/bin:$PATH"
3956 for ac_dir
in $ac_dummy; do
3957 test -z "$ac_dir" && ac_dir
=.
3958 if test -f $ac_dir/${ac_tool_prefix}file; then
3959 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3960 if test -n "$file_magic_test_file"; then
3961 case $deplibs_check_method in
3963 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3965 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3966 egrep "$file_magic_regex" > /dev
/null
; then
3971 *** Warning: the command libtool uses to detect shared libraries,
3972 *** $file_magic_cmd, produces output that libtool cannot recognize.
3973 *** The result is that libtool may fail to recognize shared libraries
3974 *** as such. This will affect the creation of libtool libraries that
3975 *** depend on shared libraries, but programs linked with such libtool
3976 *** libraries will work regardless of this problem. Nevertheless, you
3977 *** may want to report the problem to your system manager and/or to
3978 *** bug-libtool@gnu.org
3988 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3994 if test -n "$MAGIC_CMD"; then
3995 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3996 echo "${ECHO_T}$MAGIC_CMD" >&6
3998 echo "$as_me:$LINENO: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4002 if test -z "$lt_cv_path_MAGIC_CMD"; then
4003 if test -n "$ac_tool_prefix"; then
4004 echo "$as_me:$LINENO: checking for file" >&5
4005 echo $ECHO_N "checking for file... $ECHO_C" >&6
4006 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4014 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4017 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4018 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4019 ac_dummy
="/usr/bin:$PATH"
4020 for ac_dir
in $ac_dummy; do
4021 test -z "$ac_dir" && ac_dir
=.
4022 if test -f $ac_dir/file; then
4023 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4024 if test -n "$file_magic_test_file"; then
4025 case $deplibs_check_method in
4027 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4028 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4029 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4030 egrep "$file_magic_regex" > /dev
/null
; then
4035 *** Warning: the command libtool uses to detect shared libraries,
4036 *** $file_magic_cmd, produces output that libtool cannot recognize.
4037 *** The result is that libtool may fail to recognize shared libraries
4038 *** as such. This will affect the creation of libtool libraries that
4039 *** depend on shared libraries, but programs linked with such libtool
4040 *** libraries will work regardless of this problem. Nevertheless, you
4041 *** may want to report the problem to your system manager and/or to
4042 *** bug-libtool@gnu.org
4052 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4057 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4058 if test -n "$MAGIC_CMD"; then
4059 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4060 echo "${ECHO_T}$MAGIC_CMD" >&6
4062 echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6
4075 if test -n "$ac_tool_prefix"; then
4076 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4077 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4078 echo "$as_me:$LINENO: checking for $ac_word" >&5
4079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4080 if test "${ac_cv_prog_RANLIB+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 if test -n "$RANLIB"; then
4084 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 RANLIB
=$ac_cv_prog_RANLIB
4103 if test -n "$RANLIB"; then
4104 echo "$as_me:$LINENO: result: $RANLIB" >&5
4105 echo "${ECHO_T}$RANLIB" >&6
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4112 if test -z "$ac_cv_prog_RANLIB"; then
4113 ac_ct_RANLIB
=$RANLIB
4114 # Extract the first word of "ranlib", so it can be a program name with args.
4115 set dummy ranlib
; ac_word
=$2
4116 echo "$as_me:$LINENO: checking for $ac_word" >&5
4117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4118 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 if test -n "$ac_ct_RANLIB"; then
4122 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4131 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4141 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4142 if test -n "$ac_ct_RANLIB"; then
4143 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4144 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4146 echo "$as_me:$LINENO: result: no" >&5
4147 echo "${ECHO_T}no" >&6
4150 RANLIB
=$ac_ct_RANLIB
4152 RANLIB
="$ac_cv_prog_RANLIB"
4155 if test -n "$ac_tool_prefix"; then
4156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4157 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4160 if test "${ac_cv_prog_STRIP+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$STRIP"; then
4164 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 STRIP
=$ac_cv_prog_STRIP
4183 if test -n "$STRIP"; then
4184 echo "$as_me:$LINENO: result: $STRIP" >&5
4185 echo "${ECHO_T}$STRIP" >&6
4187 echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6
4192 if test -z "$ac_cv_prog_STRIP"; then
4194 # Extract the first word of "strip", so it can be a program name with args.
4195 set dummy strip
; ac_word
=$2
4196 echo "$as_me:$LINENO: checking for $ac_word" >&5
4197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4198 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 if test -n "$ac_ct_STRIP"; then
4202 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir
=.
4209 for ac_exec_ext
in '' $ac_executable_extensions; do
4210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_ac_ct_STRIP
="strip"
4212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4221 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4222 if test -n "$ac_ct_STRIP"; then
4223 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4224 echo "${ECHO_T}$ac_ct_STRIP" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4232 STRIP
="$ac_cv_prog_STRIP"
4236 # Check for any special flags to pass to ltconfig.
4237 libtool_flags
="--cache-file=$cache_file"
4238 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4239 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4240 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4241 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4242 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4245 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4246 if test "${enable_libtool_lock+set}" = set; then
4247 enableval
="$enable_libtool_lock"
4250 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4251 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4254 # Check whether --with-pic or --without-pic was given.
4255 if test "${with_pic+set}" = set; then
4261 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4262 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4264 # Some flags need to be propagated to the compiler or linker for good
4268 # Find out which ABI we are using.
4269 echo '#line 4269 "configure"' > conftest.
$ac_ext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4271 (eval $ac_compile) 2>&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; then
4275 if test "$lt_cv_prog_gnu_ld" = yes; then
4276 case `/usr/bin/file conftest.$ac_objext` in
4278 LD
="${LD-ld} -melf32bsmip"
4281 LD
="${LD-ld} -melf32bmipn32"
4284 LD
="${LD-ld} -melf64bmip"
4288 case `/usr/bin/file conftest.$ac_objext` in
4305 # Find out which ABI we are using.
4306 echo 'int i;' > 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 case "`/usr/bin/file conftest.o`" in
4324 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4325 # Find out which ABI we are using.
4326 echo 'int i;' > conftest.
$ac_ext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4328 (eval $ac_compile) 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; then
4332 case "`/usr/bin/file conftest.o`" in
4336 LD
="${LD-ld} -m elf_i386"
4338 ppc64-
*linux
*|powerpc64-
*linux
*)
4339 LD
="${LD-ld} -m elf32ppclinux"
4342 LD
="${LD-ld} -m elf_s390"
4345 LD
="${LD-ld} -m elf32_sparc"
4352 LD
="${LD-ld} -m elf_x86_64"
4354 ppc
*-*linux
*|powerpc
*-*linux
*)
4355 LD
="${LD-ld} -m elf64ppc"
4358 LD
="${LD-ld} -m elf64_s390"
4361 LD
="${LD-ld} -m elf64_sparc"
4371 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4372 SAVE_CFLAGS
="$CFLAGS"
4373 CFLAGS
="$CFLAGS -belf"
4374 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4375 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4376 if test "${lt_cv_cc_needs_belf+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 ac_cpp
='$CPP $CPPFLAGS'
4383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4387 if test x
$gcc_no_link = xyes
; then
4388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4390 { (exit 1); exit 1; }; }
4392 cat >conftest.
$ac_ext <<_ACEOF
4395 cat confdefs.h
>>conftest.
$ac_ext
4396 cat >>conftest.
$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4407 rm -f conftest.
$ac_objext conftest
$ac_exeext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4409 (eval $ac_link) 2>conftest.er1
4411 grep -v '^ *+' conftest.er1
>conftest.err
4413 cat conftest.err
>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try
='test -z "$ac_c_werror_flag"
4417 || test ! -s conftest.err'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; } &&
4423 { ac_try
='test -s conftest$ac_exeext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 lt_cv_cc_needs_belf
=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.
$ac_ext >&5
4434 lt_cv_cc_needs_belf
=no
4436 rm -f conftest.err conftest.
$ac_objext \
4437 conftest
$ac_exeext conftest.
$ac_ext
4439 ac_cpp
='$CPP $CPPFLAGS'
4440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4445 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4446 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4447 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4448 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4449 CFLAGS
="$SAVE_CFLAGS"
4457 # Save cache, so that ltconfig can load it
4458 cat >confcache
<<\_ACEOF
4459 # This file is a shell script that caches the results of configure
4460 # tests run on this system so they can be shared between configure
4461 # scripts and configure runs, see configure's option --config-cache.
4462 # It is not useful on other systems. If it contains results you don't
4463 # want to keep, you may remove or edit it.
4465 # config.status only pays attention to the cache file if you give it
4466 # the --recheck option to rerun configure.
4468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4474 # The following way of writing the cache mishandles newlines in values,
4475 # but we know of no workaround that is simple, portable, and efficient.
4476 # So, don't put newlines in cache variables' values.
4477 # Ultrix sh set writes to stderr and can't be redirected directly,
4478 # and sets the high bit in the cache file unless we assign to the vars.
4481 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4483 # `set' does not quote correctly, so add quotes (double-quote
4484 # substitution turns \\\\ into \\, and sed turns \\ into \).
4487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4490 # `set' quotes correctly as required by POSIX, so do not add quotes.
4492 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4499 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4501 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4503 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4504 if test -w $cache_file; then
4505 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4506 cat confcache
>$cache_file
4508 echo "not updating unwritable cache $cache_file"
4513 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4514 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4515 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4516 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4517 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4518 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4519 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4520 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4521 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4522 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4523 echo "$as_me: error: libtool configure failed" >&2;}
4524 { (exit 1); exit 1; }; }
4526 # Reload cache, that may have been modified by ltconfig
4527 if test -r "$cache_file"; then
4528 # Some versions of bash will fail to source /dev/null (special
4529 # files actually), so we avoid doing that.
4530 if test -f "$cache_file"; then
4531 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4532 echo "$as_me: loading cache $cache_file" >&6;}
4534 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4535 *) . .
/$cache_file;;
4539 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4540 echo "$as_me: creating cache $cache_file" >&6;}
4545 # This can be used to rebuild libtool when needed
4546 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4548 # Always use our own libtool.
4549 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4551 # Redirect the config.log output again, so that the ltconfig log is not
4552 # clobbered by the next message.
4553 exec 5>>.
/config.log
4556 ac_cpp
='$CXXCPP $CPPFLAGS'
4557 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4560 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4561 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4562 if test -z "$CXXCPP"; then
4563 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 # Double quotes because CXXCPP needs to be expanded
4567 for CXXCPP
in "$CXX -E" "/lib/cpp"
4570 for ac_cxx_preproc_warn_flag
in '' yes
4572 # Use a header file that comes with gcc, so configuring glibc
4573 # with a fresh cross-compiler works.
4574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4575 # <limits.h> exists even on freestanding compilers.
4576 # On the NeXT, cc -E runs the code through the compiler's parser,
4577 # not just through cpp. "Syntax error" is here to catch this case.
4578 cat >conftest.
$ac_ext <<_ACEOF
4581 cat confdefs.h
>>conftest.
$ac_ext
4582 cat >>conftest.
$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4585 # include <limits.h>
4587 # include <assert.h>
4591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } >/dev
/null
; then
4599 if test -s conftest.err
; then
4600 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4601 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4608 if test -z "$ac_cpp_err"; then
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 # Broken: fails on valid input.
4617 rm -f conftest.err conftest.
$ac_ext
4619 # OK, works on sane cases. Now check whether non-existent headers
4620 # can be detected and how.
4621 cat >conftest.
$ac_ext <<_ACEOF
4624 cat confdefs.h
>>conftest.
$ac_ext
4625 cat >>conftest.
$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 #include <ac_nonexistent.h>
4629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } >/dev
/null
; then
4637 if test -s conftest.err
; then
4638 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4639 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4646 if test -z "$ac_cpp_err"; then
4647 # Broken: success on invalid input.
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 # Passes both tests.
4657 rm -f conftest.err conftest.
$ac_ext
4660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4661 rm -f conftest.err conftest.
$ac_ext
4662 if $ac_preproc_ok; then
4667 ac_cv_prog_CXXCPP
=$CXXCPP
4670 CXXCPP
=$ac_cv_prog_CXXCPP
4672 ac_cv_prog_CXXCPP
=$CXXCPP
4674 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4675 echo "${ECHO_T}$CXXCPP" >&6
4677 for ac_cxx_preproc_warn_flag
in '' yes
4679 # Use a header file that comes with gcc, so configuring glibc
4680 # with a fresh cross-compiler works.
4681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 # <limits.h> exists even on freestanding compilers.
4683 # On the NeXT, cc -E runs the code through the compiler's parser,
4684 # not just through cpp. "Syntax error" is here to catch this case.
4685 cat >conftest.
$ac_ext <<_ACEOF
4688 cat confdefs.h
>>conftest.
$ac_ext
4689 cat >>conftest.
$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4692 # include <limits.h>
4694 # include <assert.h>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1
>conftest.err
4703 cat conftest.err
>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev
/null
; then
4706 if test -s conftest.err
; then
4707 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4708 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4715 if test -z "$ac_cpp_err"; then
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 # Broken: fails on valid input.
4724 rm -f conftest.err conftest.
$ac_ext
4726 # OK, works on sane cases. Now check whether non-existent headers
4727 # can be detected and how.
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4734 #include <ac_nonexistent.h>
4736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4739 grep -v '^ *+' conftest.er1
>conftest.err
4741 cat conftest.err
>&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); } >/dev
/null
; then
4744 if test -s conftest.err
; then
4745 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4746 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4753 if test -z "$ac_cpp_err"; then
4754 # Broken: success on invalid input.
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 # Passes both tests.
4764 rm -f conftest.err conftest.
$ac_ext
4767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4768 rm -f conftest.err conftest.
$ac_ext
4769 if $ac_preproc_ok; then
4772 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4773 See \`config.log' for more details." >&5
4774 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4775 See \`config.log' for more details." >&2;}
4776 { (exit 1); exit 1; }; }
4780 ac_cpp
='$CPP $CPPFLAGS'
4781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4787 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4789 lt_save_CFLAGS
="$CFLAGS"
4790 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
4791 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4792 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4793 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4794 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4795 deplibs_check_method
="$deplibs_check_method" \
4796 file_magic_cmd
="$file_magic_cmd" \
4797 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
4798 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
4799 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4800 echo "$as_me: error: libtool tag configuration failed" >&2;}
4801 { (exit 1); exit 1; }; }
4803 CFLAGS
="$lt_save_CFLAGS"
4805 # Redirect the config.log output again, so that the ltconfig log is not
4806 # clobbered by the next message.
4807 exec 5>>.
/config.log
4816 # Check whether --with-target-subdir or --without-target-subdir was given.
4817 if test "${with_target_subdir+set}" = set; then
4818 withval
="$with_target_subdir"
4822 # Check whether --with-cross-host or --without-cross-host was given.
4823 if test "${with_cross_host+set}" = set; then
4824 withval
="$with_cross_host"
4828 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4829 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4830 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4831 if test -z "$THREADS"; then
4834 echo "$as_me:$LINENO: result: $THREADS" >&5
4835 echo "${ECHO_T}$THREADS" >&6
4837 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4838 if test "${enable_parallel_mark+set}" = set; then
4839 enableval
="$enable_parallel_mark"
4842 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4843 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4844 { (exit 1); exit 1; }; }
4850 INCLUDES
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4858 THREADLIBS
=-lpthread
4860 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
4861 cat >>confdefs.h
<<\_ACEOF
4862 #define GC_LINUX_THREADS 1
4865 cat >>confdefs.h
<<\_ACEOF
4866 #define _REENTRANT 1
4869 if test "${enable_parallel_mark}" = yes; then
4870 cat >>confdefs.h
<<\_ACEOF
4871 #define PARALLEL_MARK 1
4875 cat >>confdefs.h
<<\_ACEOF
4876 #define THREAD_LOCAL_ALLOC 1
4881 cat >>confdefs.h
<<\_ACEOF
4882 #define GC_LINUX_THREADS 1
4885 cat >>confdefs.h
<<\_ACEOF
4886 #define _REENTRANT 1
4891 cat >>confdefs.h
<<\_ACEOF
4892 #define GC_AIX_THREADS 1
4895 cat >>confdefs.h
<<\_ACEOF
4896 #define _REENTRANT 1
4901 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4902 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4903 cat >>confdefs.h
<<\_ACEOF
4904 #define GC_HPUX_THREADS 1
4907 cat >>confdefs.h
<<\_ACEOF
4908 #define _POSIX_C_SOURCE 199506L
4911 if test "${enable_parallel_mark}" = yes; then
4912 cat >>confdefs.h
<<\_ACEOF
4913 #define PARALLEL_MARK 1
4917 cat >>confdefs.h
<<\_ACEOF
4918 #define THREAD_LOCAL_ALLOC 1
4921 THREADLIBS
="-lpthread -lrt"
4924 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4925 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4926 cat >>confdefs.h
<<\_ACEOF
4927 #define GC_FREEBSD_THREADS 1
4930 INCLUDES
="$INCLUDES -pthread"
4934 cat >>confdefs.h
<<\_ACEOF
4935 #define GC_SOLARIS_THREADS 1
4938 cat >>confdefs.h
<<\_ACEOF
4939 #define GC_SOLARIS_PTHREADS 1
4944 cat >>confdefs.h
<<\_ACEOF
4945 #define GC_IRIX_THREADS 1
4950 cat >>confdefs.h
<<\_ACEOF
4951 #define GC_WIN32_THREADS 1
4956 cat >>confdefs.h
<<\_ACEOF
4957 #define GC_DARWIN_THREADS 1
4960 cat >>confdefs.h
<<\_ACEOF
4961 #define THREAD_LOCAL_ALLOC 1
4964 if test "${enable_parallel_mark}" = yes; then
4965 cat >>confdefs.h
<<\_ACEOF
4966 #define PARALLEL_MARK 1
4972 cat >>confdefs.h
<<\_ACEOF
4973 #define GC_OSF1_THREADS 1
4976 if test "${enable_parallel_mark}" = yes; then
4977 cat >>confdefs.h
<<\_ACEOF
4978 #define PARALLEL_MARK 1
4981 cat >>confdefs.h
<<\_ACEOF
4982 #define THREAD_LOCAL_ALLOC 1
4985 # May want to enable it in other cases, too.
4986 # Measurements havent yet been done.
4988 INCLUDES
="$INCLUDES -pthread"
4989 THREADLIBS
="-lpthread -lrt"
4994 cat >>confdefs.h
<<\_ACEOF
4995 #define GC_WIN32_THREADS 1
5001 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
5002 echo "${ECHO_T}$THREADLIBS" >&6
5003 # Use pthread GCC switch
5005 if test "${enable_parallel_mark}" = yes; then
5006 cat >>confdefs.h
<<\_ACEOF
5007 #define PARALLEL_MARK 1
5011 cat >>confdefs.h
<<\_ACEOF
5012 #define THREAD_LOCAL_ALLOC 1
5015 cat >>confdefs.h
<<\_ACEOF
5016 #define GC_DGUX386_THREADS 1
5019 cat >>confdefs.h
<<\_ACEOF
5020 #define DGUX_THREADS 1
5023 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
5024 INCLUDES
="-pthread $INCLUDES"
5028 THREADLIBS
=-lpthread
5029 cat >>confdefs.h
<<\_ACEOF
5030 #define GC_AIX_THREADS 1
5033 cat >>confdefs.h
<<\_ACEOF
5034 #define _REENTRANT 1
5038 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
5039 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
5040 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
5041 { (exit 1); exit 1; }; }
5044 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
5045 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
5046 { (exit 1); exit 1; }; }
5058 if test x
$powerpc_darwin = xtrue
; then
5059 POWERPC_DARWIN_TRUE
=
5060 POWERPC_DARWIN_FALSE
='#'
5062 POWERPC_DARWIN_TRUE
='#'
5063 POWERPC_DARWIN_FALSE
=
5066 # We never want libdl on darwin. It is a fake libdl that just ends up making
5071 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5072 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5073 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 ac_check_lib_save_LIBS
=$LIBS
5078 if test x
$gcc_no_link = xyes
; then
5079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5081 { (exit 1); exit 1; }; }
5083 cat >conftest.
$ac_ext <<_ACEOF
5086 cat confdefs.h
>>conftest.
$ac_ext
5087 cat >>conftest.
$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5090 /* Override any gcc2 internal prototype to avoid an error. */
5094 /* We use char because int might match the return type of a gcc2
5095 builtin and then its argument prototype would still apply. */
5105 rm -f conftest.
$ac_objext conftest
$ac_exeext
5106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5107 (eval $ac_link) 2>conftest.er1
5109 grep -v '^ *+' conftest.er1
>conftest.err
5111 cat conftest.err
>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } &&
5114 { ac_try
='test -z "$ac_c_werror_flag"
5115 || test ! -s conftest.err'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; } &&
5121 { ac_try
='test -s conftest$ac_exeext'
5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); }; }; then
5127 ac_cv_lib_dl_dlopen
=yes
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.
$ac_ext >&5
5132 ac_cv_lib_dl_dlopen
=no
5134 rm -f conftest.err conftest.
$ac_objext \
5135 conftest
$ac_exeext conftest.
$ac_ext
5136 LIBS
=$ac_check_lib_save_LIBS
5138 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5139 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5140 if test $ac_cv_lib_dl_dlopen = yes; then
5141 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
5149 target_all
=libgcjgc.la
5155 # Check whether --with-ecos or --without-ecos was given.
5156 if test "${with_ecos+set}" = set; then
5157 withval
="$with_ecos"
5158 TARGET_ECOS
="$with_ecos"
5167 case "$TARGET_ECOS" in
5171 cat >>confdefs.h
<<\_ACEOF
5175 CXXINCLUDES
="-I${TARGET_ECOS}/include"
5176 addobjs
="$addobjs ecos.lo"
5180 if test "${enable_cplusplus}" = yes; then
5181 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
5182 addtests
="$addtests test_cpp"
5187 if test "${enable_cplusplus}" = yes; then
5200 # Configuration of shared libraries
5202 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5203 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5204 # Check whether --enable-shared or --disable-shared was given.
5205 if test "${enable_shared+set}" = set; then
5206 enableval
="$enable_shared"
5207 p
=${PACKAGE-default}
5209 yes) enable_shared
=yes ;;
5210 no
) enable_shared
=no
;;
5213 # Look at the argument we got. We use all the common list separators.
5214 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5215 for pkg
in $enableval; do
5216 if test "X$pkg" = "X$p"; then
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5234 echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6
5239 # Configuration of machine-dependent code
5241 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5242 # anything else that creates trampolines in gc-allocated memory)
5243 # always needs exec permission. The exceptions to this are IA-64 and
5244 # some variations of Power PC, where trampolines don't contain
5247 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5248 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5252 machdep
="alpha_mach_dep.lo"
5253 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
5254 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5255 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5259 machdep
="alpha_mach_dep.lo"
5261 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
5262 cat >>confdefs.h
<<\_ACEOF
5263 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5268 machdep
="mips_ultrix_mach_dep.lo"
5269 cat >>confdefs.h
<<\_ACEOF
5270 #define STACKBASE __stackbase
5273 cat >>confdefs.h
<<\_ACEOF
5274 #define DATASTART_IS_ETEXT 1
5279 machdep
="mips_ultrix_mach-dep.lo"
5281 mips-nec-sysv
*|mips-unknown-sysv
*)
5286 machdep
="mips_sgi_mach_dep.lo"
5289 machdep
="sparc_netbsd_mach_dep.lo"
5291 sparc-sun-solaris2.3
)
5292 machdep
="sparc_mach_dep.lo"
5293 cat >>confdefs.h
<<\_ACEOF
5294 #define SUNOS53_SHARED_LIB 1
5298 sparc-sun-solaris2.
*)
5299 machdep
="sparc_mach_dep.lo"
5302 cat >>confdefs.h
<<\_ACEOF
5303 #define NO_EXECUTE_PERMISSION 1
5306 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
5309 if test x
"$machdep" = x
; then
5310 echo "$as_me:$LINENO: result: $machdep" >&5
5311 echo "${ECHO_T}$machdep" >&6
5312 machdep
="mach_dep.lo"
5314 addobjs
="$addobjs $machdep"
5327 # Check for AViiON Machines running DGUX
5329 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5330 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5333 ac_cpp
='$CPP $CPPFLAGS'
5334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5337 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5338 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5339 # On Suns, sometimes $CPP names a directory.
5340 if test -n "$CPP" && test -d "$CPP"; then
5343 if test -z "$CPP"; then
5344 if test "${ac_cv_prog_CPP+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 # Double quotes because CPP needs to be expanded
5348 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5351 for ac_c_preproc_warn_flag
in '' yes
5353 # Use a header file that comes with gcc, so configuring glibc
5354 # with a fresh cross-compiler works.
5355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5356 # <limits.h> exists even on freestanding compilers.
5357 # On the NeXT, cc -E runs the code through the compiler's parser,
5358 # not just through cpp. "Syntax error" is here to catch this case.
5359 cat >conftest.
$ac_ext <<_ACEOF
5362 cat confdefs.h
>>conftest.
$ac_ext
5363 cat >>conftest.
$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5366 # include <limits.h>
5368 # include <assert.h>
5372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } >/dev
/null
; then
5380 if test -s conftest.err
; then
5381 ac_cpp_err
=$ac_c_preproc_warn_flag
5382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5389 if test -z "$ac_cpp_err"; then
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 # Broken: fails on valid input.
5398 rm -f conftest.err conftest.
$ac_ext
5400 # OK, works on sane cases. Now check whether non-existent headers
5401 # can be detected and how.
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 #include <ac_nonexistent.h>
5410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5413 grep -v '^ *+' conftest.er1
>conftest.err
5415 cat conftest.err
>&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } >/dev
/null
; then
5418 if test -s conftest.err
; then
5419 ac_cpp_err
=$ac_c_preproc_warn_flag
5420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5427 if test -z "$ac_cpp_err"; then
5428 # Broken: success on invalid input.
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.
$ac_ext >&5
5434 # Passes both tests.
5438 rm -f conftest.err conftest.
$ac_ext
5441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5442 rm -f conftest.err conftest.
$ac_ext
5443 if $ac_preproc_ok; then
5455 echo "$as_me:$LINENO: result: $CPP" >&5
5456 echo "${ECHO_T}$CPP" >&6
5458 for ac_c_preproc_warn_flag
in '' yes
5460 # Use a header file that comes with gcc, so configuring glibc
5461 # with a fresh cross-compiler works.
5462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5463 # <limits.h> exists even on freestanding compilers.
5464 # On the NeXT, cc -E runs the code through the compiler's parser,
5465 # not just through cpp. "Syntax error" is here to catch this case.
5466 cat >conftest.
$ac_ext <<_ACEOF
5469 cat confdefs.h
>>conftest.
$ac_ext
5470 cat >>conftest.
$ac_ext <<_ACEOF
5471 /* end confdefs.h. */
5473 # include <limits.h>
5475 # include <assert.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
5499 echo "$as_me: failed program was:" >&5
5500 sed 's/^/| /' conftest.
$ac_ext >&5
5502 # Broken: fails on valid input.
5505 rm -f conftest.err conftest.
$ac_ext
5507 # OK, works on sane cases. Now check whether non-existent headers
5508 # can be detected and how.
5509 cat >conftest.
$ac_ext <<_ACEOF
5512 cat confdefs.h
>>conftest.
$ac_ext
5513 cat >>conftest.
$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5515 #include <ac_nonexistent.h>
5517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } >/dev
/null
; then
5525 if test -s conftest.err
; then
5526 ac_cpp_err
=$ac_c_preproc_warn_flag
5527 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5534 if test -z "$ac_cpp_err"; then
5535 # Broken: success on invalid input.
5538 echo "$as_me: failed program was:" >&5
5539 sed 's/^/| /' conftest.
$ac_ext >&5
5541 # Passes both tests.
5545 rm -f conftest.err conftest.
$ac_ext
5548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5549 rm -f conftest.err conftest.
$ac_ext
5550 if $ac_preproc_ok; then
5553 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5554 See \`config.log' for more details." >&5
5555 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5556 See \`config.log' for more details." >&2;}
5557 { (exit 1); exit 1; }; }
5561 ac_cpp
='$CPP $CPPFLAGS'
5562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5567 echo "$as_me:$LINENO: checking for egrep" >&5
5568 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5569 if test "${ac_cv_prog_egrep+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5573 then ac_cv_prog_egrep
='grep -E'
5574 else ac_cv_prog_egrep
='egrep'
5577 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5578 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5579 EGREP
=$ac_cv_prog_egrep
5582 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5584 if test "${ac_cv_header_stdc+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 cat >conftest.
$ac_ext <<_ACEOF
5590 cat confdefs.h
>>conftest.
$ac_ext
5591 cat >>conftest.
$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5606 rm -f conftest.
$ac_objext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>conftest.er1
5610 grep -v '^ *+' conftest.er1
>conftest.err
5612 cat conftest.err
>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try
='test -z "$ac_c_werror_flag"
5616 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try
='test -s conftest.$ac_objext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 ac_cv_header_stdc
=yes
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.
$ac_ext >&5
5633 ac_cv_header_stdc
=no
5635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5637 if test $ac_cv_header_stdc = yes; then
5638 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5639 cat >conftest.
$ac_ext <<_ACEOF
5642 cat confdefs.h
>>conftest.
$ac_ext
5643 cat >>conftest.
$ac_ext <<_ACEOF
5644 /* end confdefs.h. */
5648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5649 $EGREP "memchr" >/dev
/null
2>&1; then
5652 ac_cv_header_stdc
=no
5658 if test $ac_cv_header_stdc = yes; then
5659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5660 cat >conftest.
$ac_ext <<_ACEOF
5663 cat confdefs.h
>>conftest.
$ac_ext
5664 cat >>conftest.
$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5670 $EGREP "free" >/dev
/null
2>&1; then
5673 ac_cv_header_stdc
=no
5679 if test $ac_cv_header_stdc = yes; then
5680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5681 if test "$cross_compiling" = yes; then
5684 cat >conftest.
$ac_ext <<_ACEOF
5687 cat confdefs.h
>>conftest.
$ac_ext
5688 cat >>conftest.
$ac_ext <<_ACEOF
5689 /* end confdefs.h. */
5691 #if ((' ' & 0x0FF) == 0x020)
5692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5695 # define ISLOWER(c) \
5696 (('a' <= (c) && (c) <= 'i') \
5697 || ('j' <= (c) && (c) <= 'r') \
5698 || ('s' <= (c) && (c) <= 'z'))
5699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5707 for (i = 0; i < 256; i++)
5708 if (XOR (islower (i), ISLOWER (i))
5709 || toupper (i) != TOUPPER (i))
5714 rm -f conftest
$ac_exeext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5716 (eval $ac_link) 2>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); }; }; then
5727 echo "$as_me: program exited with status $ac_status" >&5
5728 echo "$as_me: failed program was:" >&5
5729 sed 's/^/| /' conftest.
$ac_ext >&5
5732 ac_cv_header_stdc
=no
5734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5738 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5739 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5740 if test $ac_cv_header_stdc = yes; then
5742 cat >>confdefs.h
<<\_ACEOF
5743 #define STDC_HEADERS 1
5748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5758 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5759 inttypes.h stdint.h unistd.h
5761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5762 echo "$as_me:$LINENO: checking for $ac_header" >&5
5763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 cat >conftest.
$ac_ext <<_ACEOF
5770 cat confdefs.h
>>conftest.
$ac_ext
5771 cat >>conftest.
$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5773 $ac_includes_default
5775 #include <$ac_header>
5777 rm -f conftest.
$ac_objext
5778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779 (eval $ac_compile) 2>conftest.er1
5781 grep -v '^ *+' conftest.er1
>conftest.err
5783 cat conftest.err
>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } &&
5786 { ac_try
='test -z "$ac_c_werror_flag"
5787 || test ! -s conftest.err'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; } &&
5793 { ac_try
='test -s conftest.$ac_objext'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; }; then
5799 eval "$as_ac_Header=yes"
5801 echo "$as_me: failed program was:" >&5
5802 sed 's/^/| /' conftest.
$ac_ext >&5
5804 eval "$as_ac_Header=no"
5806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5811 cat >>confdefs.h
<<_ACEOF
5812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5820 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5821 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5822 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5823 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5827 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5829 # Is the header compilable?
5830 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5831 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5838 $ac_includes_default
5839 #include <sys/dg_sys_info.h>
5841 rm -f conftest.
$ac_objext
5842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5843 (eval $ac_compile) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -z "$ac_c_werror_flag"
5851 || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try
='test -s conftest.$ac_objext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 ac_header_compiler
=yes
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.
$ac_ext >&5
5868 ac_header_compiler
=no
5870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5872 echo "${ECHO_T}$ac_header_compiler" >&6
5874 # Is the header present?
5875 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5876 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <sys/dg_sys_info.h>
5885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } >/dev
/null
; then
5893 if test -s conftest.err
; then
5894 ac_cpp_err
=$ac_c_preproc_warn_flag
5895 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5902 if test -z "$ac_cpp_err"; then
5903 ac_header_preproc
=yes
5905 echo "$as_me: failed program was:" >&5
5906 sed 's/^/| /' conftest.
$ac_ext >&5
5908 ac_header_preproc
=no
5910 rm -f conftest.err conftest.
$ac_ext
5911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5912 echo "${ECHO_T}$ac_header_preproc" >&6
5914 # So? What about this header?
5915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5917 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5918 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5919 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
5920 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
5921 ac_header_preproc
=yes
5924 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5925 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5926 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5927 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5928 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
5929 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
5930 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
5931 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
5932 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5933 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5934 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
5935 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
5938 ## ------------------------------------------ ##
5939 ## Report this to the AC_PACKAGE_NAME lists. ##
5940 ## ------------------------------------------ ##
5943 sed "s/^/$as_me: WARNING: /" >&2
5946 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5947 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5948 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
5953 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5954 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5957 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
5963 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
5964 echo "${ECHO_T}$ac_is_dgux" >&6
5965 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
5966 if test $ac_is_dgux = yes; then
5967 if test "$enable_full_debug" = "yes"; then
5968 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5969 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5971 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5972 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5979 # Check whether --with-target-subdir or --without-target-subdir was given.
5980 if test "${with_target_subdir+set}" = set; then
5981 withval
="$with_target_subdir"
5985 # Check whether --with-cross-host or --without-cross-host was given.
5986 if test "${with_cross_host+set}" = set; then
5987 withval
="$with_cross_host"
5991 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
5992 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
5994 sparc-sun-solaris2
*|
*aix
*)
5995 if test "$GCC" = yes; then
5996 echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6
5999 for i
in $CFLAGS; do
6004 new_CFLAGS
="$new_CFLAGS $i"
6008 CFLAGS
="$new_CFLAGS"
6010 echo "$as_me:$LINENO: result: no" >&5
6011 echo "${ECHO_T}no" >&6
6014 *) echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6 ;;
6021 cat >>confdefs.h
<<\_ACEOF
6025 cat >>confdefs.h
<<\_ACEOF
6026 #define NO_SIGNALS 1
6029 cat >>confdefs.h
<<\_ACEOF
6030 #define ALL_INTERIOR_POINTERS 1
6034 cat >>confdefs.h
<<\_ACEOF
6035 #define JAVA_FINALIZATION 1
6038 cat >>confdefs.h
<<\_ACEOF
6039 #define GC_GCJ_SUPPORT 1
6042 cat >>confdefs.h
<<\_ACEOF
6043 #define ATOMIC_UNCOLLECTABLE 1
6047 if test -n "${with_cross_host}"; then
6048 cat >>confdefs.h
<<\_ACEOF
6052 cat >>confdefs.h
<<\_ACEOF
6053 #define NO_DEBUGGING 1
6058 # Check whether --enable-full-debug or --disable-full-debug was given.
6059 if test "${enable_full_debug+set}" = set; then
6060 enableval
="$enable_full_debug"
6061 if test "$enable_full_debug" = "yes"; then
6062 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
6063 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
6064 cat >>confdefs.h
<<\_ACEOF
6065 #define KEEP_BACK_PTRS 1
6068 cat >>confdefs.h
<<\_ACEOF
6069 #define DBG_HDRS_ALL 1
6074 cat >>confdefs.h
<<\_ACEOF
6075 #define MAKE_BACK_GRAPH 1
6079 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
6080 cat >>confdefs.h
<<\_ACEOF
6081 #define MAKE_BACK_GRAPH 1
6084 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
6085 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
6086 cat >>confdefs.h
<<\_ACEOF
6087 #define SAVE_CALL_COUNT 8
6092 cat >>confdefs.h
<<\_ACEOF
6093 #define MAKE_BACK_GRAPH 1
6101 if test -n "$with_cross_host" &&
6102 test x
"$with_cross_host" != x
"no"; then
6103 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
6104 toolexeclibdir
='$(toolexecdir)/lib'
6106 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
6107 toolexeclibdir
='$(libdir)'
6109 multi_os_directory
=`$CC -print-multi-os-directory`
6110 case $multi_os_directory in
6111 .
) ;; # Avoid trailing /.
6112 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6117 if test "${multilib}" = "yes"; then
6118 multilib_arg
="--enable-multilib"
6123 ac_config_files
="$ac_config_files Makefile include/Makefile"
6124 ac_config_commands
="$ac_config_commands default"
6125 cat >confcache
<<\_ACEOF
6126 # This file is a shell script that caches the results of configure
6127 # tests run on this system so they can be shared between configure
6128 # scripts and configure runs, see configure's option --config-cache.
6129 # It is not useful on other systems. If it contains results you don't
6130 # want to keep, you may remove or edit it.
6132 # config.status only pays attention to the cache file if you give it
6133 # the --recheck option to rerun configure.
6135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6141 # The following way of writing the cache mishandles newlines in values,
6142 # but we know of no workaround that is simple, portable, and efficient.
6143 # So, don't put newlines in cache variables' values.
6144 # Ultrix sh set writes to stderr and can't be redirected directly,
6145 # and sets the high bit in the cache file unless we assign to the vars.
6148 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6150 # `set' does not quote correctly, so add quotes (double-quote
6151 # substitution turns \\\\ into \\, and sed turns \\ into \).
6154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6157 # `set' quotes correctly as required by POSIX, so do not add quotes.
6159 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6168 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6170 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6171 if test -w $cache_file; then
6172 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6173 cat confcache
>$cache_file
6175 echo "not updating unwritable cache $cache_file"
6180 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6181 # Let make expand exec_prefix.
6182 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6184 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6185 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6186 # trailing colons and then remove the whole line if VPATH becomes empty
6187 # (actually we leave an empty line to preserve line numbers).
6188 if test "x$srcdir" = x.
; then
6189 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6190 s/:*\$(srcdir):*/:/;
6191 s/:*\${srcdir}:*/:/;
6193 s/^\([^=]*=[ ]*\):*/\1/;
6199 # Transform confdefs.h into DEFS.
6200 # Protect against shell expansion while executing Makefile rules.
6201 # Protect against Makefile macro expansion.
6203 # If the first sed substitution is executed (which looks for macros that
6204 # take arguments), then we branch to the quote section. Otherwise,
6205 # look for a macro that doesn't take arguments.
6206 cat >confdef2opt.
sed <<\_ACEOF
6209 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6211 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6215 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6221 # We use echo to avoid assuming a particular line-breaking character.
6222 # The extra dot is to prevent the shell from consuming trailing
6223 # line-breaks from the sub-command output. A line-break within
6224 # single-quotes doesn't work because, if this script is created in a
6225 # platform that uses two characters for line-breaks (e.g., DOS), tr
6227 ac_LF_and_DOT=`echo; echo .
`
6228 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
6229 rm -f confdef2opt.sed
6234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6235 # 1. Remove the extension, and $U if already installed.
6236 ac_i=`echo "$ac_i" |
6237 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6239 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6240 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6244 LTLIBOBJS=$ac_ltlibobjs
6248 : ${CONFIG_STATUS=./config.status}
6249 ac_clean_files_save=$ac_clean_files
6250 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6251 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6252 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6253 cat >$CONFIG_STATUS <<_ACEOF
6255 # Generated by $as_me.
6256 # Run this file to recreate the current configuration.
6257 # Compiler output produced by configure, useful for debugging
6258 # configure, is in config.log if it exists.
6263 SHELL=\${CONFIG_SHELL-$SHELL}
6266 cat >>$CONFIG_STATUS <<\_ACEOF
6267 ## --------------------- ##
6268 ## M4sh Initialization. ##
6269 ## --------------------- ##
6271 # Be Bourne compatible
6272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6275 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6276 # is contrary to our usage. Disable this feature.
6277 alias -g '${1+"$@"}'='"$@"'
6278 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6281 DUALCASE=1; export DUALCASE # for MKS sh
6283 # Support unset when possible.
6284 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6291 # Work around bugs in pre-3.0 UWIN ksh.
6292 $as_unset ENV MAIL MAILPATH
6299 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6300 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6301 LC_TELEPHONE LC_TIME
6303 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
6304 eval $as_var=C; export $as_var
6310 # Required to use basename.
6311 if expr a : '\(a\)' >/dev/null 2>&1; then
6317 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6318 as_basename=basename
6324 # Name of the executable.
6325 as_me=`$as_basename "$0" ||
6326 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6327 X
"$0" : 'X\(//\)$' \| \
6328 X
"$0" : 'X\(/\)$' \| \
6329 .
: '\(.\)' 2>/dev
/null ||
6331 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6332 /^X\/\(\/\/\)$/{ s//\1/; q; }
6333 /^X\/\(\/\).*/{ s//\1/; q; }
6337 # PATH needs CR, and LINENO needs CR and PATH.
6338 # Avoid depending upon Character Ranges.
6339 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6340 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6341 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6342 as_cr_digits='0123456789'
6343 as_cr_alnum=$as_cr_Letters$as_cr_digits
6345 # The user is always right.
6346 if test "${PATH_SEPARATOR+set}" != set; then
6347 echo "#! /bin/sh" >conf$$.sh
6348 echo "exit 0" >>conf$$.sh
6350 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6361 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
6362 test "x$as_lineno_1" != "x$as_lineno_2" &&
6363 test "x$as_lineno_3" = "x$as_lineno_2" || {
6364 # Find who we are. Look in the path if we contain no path at all
6367 *[\\/]* ) as_myself=$0 ;;
6368 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6378 # We did not find ourselves, most probably we were run as `sh COMMAND
'
6379 # in which case we are not to be found in the path.
6380 if test "x$as_myself" = x; then
6383 if test ! -f "$as_myself"; then
6384 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6385 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6386 { (exit 1); exit 1; }; }
6388 case $CONFIG_SHELL in
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6394 test -z "$as_dir" && as_dir=.
6395 for as_base in sh bash ksh sh5; do
6398 if ("$as_dir/$as_base" -c '
6401 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6402 test "x$as_lineno_1" != "x$as_lineno_2" &&
6403 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6404 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6405 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6406 CONFIG_SHELL=$as_dir/$as_base
6408 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6416 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6417 # uniformly replaced by the line number. The first 'sed' inserts a
6418 # line-number line before each line; the second 'sed' does the real
6419 # work. The second script uses 'N
' to pair each line-number line
6420 # with the numbered line, and appends trailing '-' during
6421 # substitution so that $LINENO is not a special case at line end.
6422 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6423 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
6424 sed '=' <$as_myself |
6429 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6432 s,^['$as_cr_digits']*\n,,
6434 chmod +x
$as_me.lineno ||
6435 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6436 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6437 { (exit 1); exit 1; }; }
6439 # Don't try to exec as it changes $[0], causing all sort of problems
6440 # (the dirname of $[0] is not the place where we might find the
6441 # original and so on. Autoconf is especially sensible to this).
6443 # Exit status is that of the last command.
6448 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6449 *c
*,-n*) ECHO_N
= ECHO_C
='
6451 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6452 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6455 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6461 rm -f conf$$ conf$$.exe conf$$.
file
6463 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6464 # We could just check for DJGPP; but this test a) works b) is more generic
6465 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6466 if test -f conf$$.exe
; then
6467 # Don't use ln at all; we don't have any links
6472 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6477 rm -f conf$$ conf$$.exe conf$$.
file
6479 if mkdir
-p .
2>/dev
/null
; then
6482 test -d .
/-p && rmdir .
/-p
6486 as_executable_p
="test -f"
6488 # Sed expression to map a string onto a valid CPP name.
6489 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6491 # Sed expression to map a string onto a valid variable name.
6492 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6496 # We need space, tab and new line, in precisely that order.
6506 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6507 # report actual input values of CONFIG_FILES etc. instead of their
6508 # values after options handling. Logging --version etc. is OK.
6512 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6513 ## Running $as_me. ##
6518 This file was extended by $as_me, which was
6519 generated by GNU Autoconf 2.59. Invocation command line was
6521 CONFIG_FILES = $CONFIG_FILES
6522 CONFIG_HEADERS = $CONFIG_HEADERS
6523 CONFIG_LINKS = $CONFIG_LINKS
6524 CONFIG_COMMANDS = $CONFIG_COMMANDS
6528 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6532 # Files that config.status was made for.
6533 if test -n "$ac_config_files"; then
6534 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6537 if test -n "$ac_config_headers"; then
6538 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6541 if test -n "$ac_config_links"; then
6542 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6545 if test -n "$ac_config_commands"; then
6546 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6549 cat >>$CONFIG_STATUS <<\_ACEOF
6552 \`$as_me' instantiates files from templates according to the
6553 current configuration.
6555 Usage: $0 [OPTIONS] [FILE]...
6557 -h, --help print this help, then exit
6558 -V, --version print version number, then exit
6559 -q, --quiet do not print progress messages
6560 -d, --debug don't remove temporary files
6561 --recheck update $as_me by reconfiguring in the same conditions
6562 --file=FILE[:TEMPLATE]
6563 instantiate the configuration file FILE
6565 Configuration files:
6568 Configuration commands:
6571 Report bugs to <bug-autoconf@gnu.org>."
6574 cat >>$CONFIG_STATUS <<_ACEOF
6577 configured by $0, generated by GNU Autoconf 2.59,
6578 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6580 Copyright (C) 2003 Free Software Foundation, Inc.
6581 This config.status script is free software; the Free Software Foundation
6582 gives unlimited permission to copy, distribute and modify it."
6587 cat >>$CONFIG_STATUS <<\_ACEOF
6588 # If no file are specified by the user, then we need to provide default
6589 # value. By we need to know if files were specified by the user.
6595 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6596 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6604 *) # This is not an option, so the user has probably given explicit
6607 ac_need_defaults
=false
;;
6611 # Handling of the options.
6613 cat >>$CONFIG_STATUS <<\_ACEOF
6614 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6616 --version |
--vers* |
-V )
6617 echo "$ac_cs_version"; exit 0 ;;
6619 # Conflict between --help and --header
6620 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6621 Try \`$0 --help' for more information." >&5
6622 echo "$as_me: error: ambiguous option: $1
6623 Try \`$0 --help' for more information." >&2;}
6624 { (exit 1); exit 1; }; };;
6625 --help |
--hel |
-h )
6626 echo "$ac_cs_usage"; exit 0 ;;
6627 --debug |
--d* |
-d )
6629 --file |
--fil |
--fi |
--f )
6631 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6632 ac_need_defaults
=false
;;
6633 --header |
--heade |
--head |
--hea )
6635 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6636 ac_need_defaults
=false
;;
6637 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6638 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6642 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6643 Try \`$0 --help' for more information." >&5
6644 echo "$as_me: error: unrecognized option: $1
6645 Try \`$0 --help' for more information." >&2;}
6646 { (exit 1); exit 1; }; } ;;
6648 *) ac_config_targets
="$ac_config_targets $1" ;;
6654 ac_configure_extra_args
=
6656 if $ac_cs_silent; then
6658 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6662 cat >>$CONFIG_STATUS <<_ACEOF
6663 if \$ac_cs_recheck; then
6664 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6665 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6670 cat >>$CONFIG_STATUS <<_ACEOF
6672 # INIT-COMMANDS section.
6678 with_multisubdir=${with_multisubdir}
6679 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6680 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6681 gc_basedir=${gc_basedir}
6683 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6685 INCLUDES="$INCLUDES"
6692 cat >>$CONFIG_STATUS <<\_ACEOF
6693 for ac_config_target
in $ac_config_targets
6695 case "$ac_config_target" in
6696 # Handling of arguments.
6697 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6698 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6699 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6700 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6701 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6702 { (exit 1); exit 1; }; };;
6706 # If the user did not use the arguments to specify the items to instantiate,
6707 # then the envvar interface is used. Set only those that are not.
6708 # We use the long form for the default assignment because of an extremely
6709 # bizarre bug on SunOS 4.1.3.
6710 if $ac_need_defaults; then
6711 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6712 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6715 # Have a temporary directory for convenience. Make it in the build tree
6716 # simply because there is no reason to put it here, and in addition,
6717 # creating and moving files from /tmp can sometimes cause problems.
6718 # Create a temporary directory, and hook for its removal unless debugging.
6721 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6722 trap '{ (exit 1); exit 1; }' 1 2 13 15
6725 # Create a (secure) tmp directory for tmp files.
6728 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6729 test -n "$tmp" && test -d "$tmp"
6732 tmp
=.
/confstat$$
-$RANDOM
6733 (umask 077 && mkdir
$tmp)
6736 echo "$me: cannot create a temporary directory in ." >&2
6737 { (exit 1); exit 1; }
6742 cat >>$CONFIG_STATUS <<_ACEOF
6745 # CONFIG_FILES section.
6748 # No need to generate the scripts if there are no CONFIG_FILES.
6749 # This happens for instance when ./config.status config.h
6750 if test -n "\$CONFIG_FILES"; then
6751 # Protect against being on the right side of a sed subst in config.status.
6752 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6753 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6754 s,@SHELL@,$SHELL,;t t
6755 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6756 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6757 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6758 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6759 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6760 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6761 s,@exec_prefix@,$exec_prefix,;t t
6762 s,@prefix@,$prefix,;t t
6763 s,@program_transform_name@,$program_transform_name,;t t
6764 s,@bindir@,$bindir,;t t
6765 s,@sbindir@,$sbindir,;t t
6766 s,@libexecdir@,$libexecdir,;t t
6767 s,@datadir@,$datadir,;t t
6768 s,@sysconfdir@,$sysconfdir,;t t
6769 s,@sharedstatedir@,$sharedstatedir,;t t
6770 s,@localstatedir@,$localstatedir,;t t
6771 s,@libdir@,$libdir,;t t
6772 s,@includedir@,$includedir,;t t
6773 s,@oldincludedir@,$oldincludedir,;t t
6774 s,@infodir@,$infodir,;t t
6775 s,@mandir@,$mandir,;t t
6776 s,@build_alias@,$build_alias,;t t
6777 s,@host_alias@,$host_alias,;t t
6778 s,@target_alias@,$target_alias,;t t
6780 s,@ECHO_C@,$ECHO_C,;t t
6781 s,@ECHO_N@,$ECHO_N,;t t
6782 s,@ECHO_T@,$ECHO_T,;t t
6784 s,@gc_basedir@,$gc_basedir,;t t
6785 s,@build@,$build,;t t
6786 s,@build_cpu@,$build_cpu,;t t
6787 s,@build_vendor@,$build_vendor,;t t
6788 s,@build_os@,$build_os,;t t
6790 s,@host_cpu@,$host_cpu,;t t
6791 s,@host_vendor@,$host_vendor,;t t
6792 s,@host_os@,$host_os,;t t
6793 s,@target@,$target,;t t
6794 s,@target_cpu@,$target_cpu,;t t
6795 s,@target_vendor@,$target_vendor,;t t
6796 s,@target_os@,$target_os,;t t
6797 s,@mkinstalldirs@,$mkinstalldirs,;t t
6798 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6799 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6800 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6801 s,@PACKAGE@,$PACKAGE,;t t
6802 s,@VERSION@,$VERSION,;t t
6803 s,@ACLOCAL@,$ACLOCAL,;t t
6804 s,@AUTOCONF@,$AUTOCONF,;t t
6805 s,@AUTOMAKE@,$AUTOMAKE,;t t
6806 s,@AUTOHEADER@,$AUTOHEADER,;t t
6807 s,@MAKEINFO@,$MAKEINFO,;t t
6808 s,@SET_MAKE@,$SET_MAKE,;t t
6810 s,@ac_ct_CC@,$ac_ct_CC,;t t
6811 s,@EXEEXT@,$EXEEXT,;t t
6812 s,@OBJEXT@,$OBJEXT,;t t
6814 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6815 s,@CFLAGS@,$CFLAGS,;t t
6816 s,@CXXFLAGS@,$CXXFLAGS,;t t
6818 s,@CCASFLAGS@,$CCASFLAGS,;t t
6820 s,@ac_ct_AS@,$ac_ct_AS,;t t
6822 s,@ac_ct_AR@,$ac_ct_AR,;t t
6823 s,@RANLIB@,$RANLIB,;t t
6824 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6825 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6826 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6827 s,@MAINT@,$MAINT,;t t
6828 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6830 s,@STRIP@,$STRIP,;t t
6831 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6832 s,@LIBTOOL@,$LIBTOOL,;t t
6833 s,@CXXCPP@,$CXXCPP,;t t
6834 s,@CPPFLAGS@,$CPPFLAGS,;t t
6835 s,@THREADLIBS@,$THREADLIBS,;t t
6836 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6837 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6838 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6839 s,@target_all@,$target_all,;t t
6840 s,@target_noncanonical@,$target_noncanonical,;t t
6841 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6842 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6843 s,@INCLUDES@,$INCLUDES,;t t
6844 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6845 s,@addobjs@,$addobjs,;t t
6846 s,@addincludes@,$addincludes,;t t
6847 s,@addlibs@,$addlibs,;t t
6848 s,@addtests@,$addtests,;t t
6850 s,@EGREP@,$EGREP,;t t
6851 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6852 s,@toolexecdir@,$toolexecdir,;t t
6853 s,@toolexeclibdir@,$toolexeclibdir,;t t
6854 s,@LIBOBJS@,$LIBOBJS,;t t
6855 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6860 cat >>$CONFIG_STATUS <<\_ACEOF
6861 # Split the substitutions into bite-sized pieces for seds with
6862 # small command number limits, like on Digital OSF/1 and HP-UX.
6864 ac_sed_frag
=1 # Number of current file.
6865 ac_beg
=1 # First line for current file.
6866 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6869 while $ac_more_lines; do
6870 if test $ac_beg -gt 1; then
6871 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6873 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6875 if test ! -s $tmp/subs.frag
; then
6878 # The purpose of the label and of the branching condition is to
6879 # speed up the sed processing (if there are no `@' at all, there
6880 # is no need to browse any of the substitutions).
6881 # These are the two extra sed commands mentioned above.
6883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6884 if test -z "$ac_sed_cmds"; then
6885 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6887 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6889 ac_sed_frag
=`expr $ac_sed_frag + 1`
6891 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6894 if test -z "$ac_sed_cmds"; then
6897 fi # test -n "$CONFIG_FILES"
6900 cat >>$CONFIG_STATUS <<\_ACEOF
6901 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6902 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6904 - |
*:- |
*:-:* ) # input from stdin
6906 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6907 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6908 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6909 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6910 * ) ac_file_in
=$ac_file.
in ;;
6913 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6914 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916 X"$ac_file" : 'X\(//\)[^/]' \| \
6917 X"$ac_file" : 'X\(//\)$' \| \
6918 X"$ac_file" : 'X\(/\)' \| \
6919 . : '\(.\)' 2>/dev/null ||
6921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6923 /^X\(\/\/\)$/{ s//\1/; q; }
6924 /^X\(\/\).*/{ s//\1/; q; }
6926 { if $as_mkdir_p; then
6931 while test ! -d "$as_dir"; do
6932 as_dirs
="$as_dir $as_dirs"
6933 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6935 X"$as_dir" : 'X\(//\)[^/]' \| \
6936 X"$as_dir" : 'X\(//\)$' \| \
6937 X"$as_dir" : 'X\(/\)' \| \
6938 . : '\(.\)' 2>/dev/null ||
6940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6942 /^X\(\/\/\)$/{ s//\1/; q; }
6943 /^X\(\/\).*/{ s//\1/; q; }
6946 test ! -n "$as_dirs" || mkdir
$as_dirs
6947 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6948 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6949 { (exit 1); exit 1; }; }; }
6953 if test "$ac_dir" != .
; then
6954 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6955 # A "../" for each directory in $ac_dir_suffix.
6956 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6958 ac_dir_suffix
= ac_top_builddir
=
6962 .
) # No --srcdir option. We are building in place.
6964 if test -z "$ac_top_builddir"; then
6967 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6969 [\\/]* | ?
:[\\/]* ) # Absolute path.
6970 ac_srcdir
=$srcdir$ac_dir_suffix;
6971 ac_top_srcdir
=$srcdir ;;
6973 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6974 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6977 # Do not use `cd foo && pwd` to compute absolute paths, because
6978 # the directories may not exist.
6980 .
) ac_abs_builddir
="$ac_dir";;
6983 .
) ac_abs_builddir
=`pwd`;;
6984 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6985 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6988 case $ac_abs_builddir in
6989 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6991 case ${ac_top_builddir}.
in
6992 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6993 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6994 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6997 case $ac_abs_builddir in
6998 .
) ac_abs_srcdir
=$ac_srcdir;;
7001 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7002 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7003 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7006 case $ac_abs_builddir in
7007 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7009 case $ac_top_srcdir in
7010 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7011 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7012 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7018 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7019 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7022 if test x
"$ac_file" != x-
; then
7023 { echo "$as_me:$LINENO: creating $ac_file" >&5
7024 echo "$as_me: creating $ac_file" >&6;}
7027 # Let's still pretend it is `configure' which instantiates (i.e., don't
7028 # use $as_me), people would be surprised to read:
7029 # /* config.h. Generated by config.status. */
7030 if test x
"$ac_file" = x-
; then
7033 configure_input
="$ac_file. "
7035 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7036 sed 's,.*/,,'` by configure."
7038 # First look for the input files in the build tree, otherwise in the
7040 ac_file_inputs
=`IFS=:
7041 for f in $ac_file_in; do
7043 -) echo $tmp/stdin ;;
7045 # Absolute (can't be DOS-style, as IFS=:)
7046 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7047 echo "$as_me: error: cannot find input file: $f" >&2;}
7048 { (exit 1); exit 1; }; }
7051 if test -f "$f"; then
7054 elif test -f "$srcdir/$f"; then
7059 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7060 echo "$as_me: error: cannot find input file: $f" >&2;}
7061 { (exit 1); exit 1; }; }
7064 done` ||
{ (exit 1); exit 1; }
7066 cat >>$CONFIG_STATUS <<_ACEOF
7070 cat >>$CONFIG_STATUS <<\_ACEOF
7072 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7073 s
,@configure_input@
,$configure_input,;t t
7074 s
,@srcdir@
,$ac_srcdir,;t t
7075 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7076 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7077 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7078 s
,@builddir@
,$ac_builddir,;t t
7079 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7080 s
,@top_builddir@
,$ac_top_builddir,;t t
7081 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7082 s
,@INSTALL@
,$ac_INSTALL,;t t
7083 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7085 if test x"$ac_file" != x-; then
7086 mv $tmp/out $ac_file
7094 cat >>$CONFIG_STATUS <<\_ACEOF
7097 # CONFIG_COMMANDS section.
7099 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
7100 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7101 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7102 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7103 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7104 X"$ac_dest" : 'X\(//\)[^/]' \| \
7105 X"$ac_dest" : 'X\(//\)$' \| \
7106 X"$ac_dest" : 'X\(/\)' \| \
7107 . : '\(.\)' 2>/dev/null ||
7109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7111 /^X\(\/\/\)$/{ s//\1/; q; }
7112 /^X\(\/\).*/{ s//\1/; q; }
7114 { if $as_mkdir_p; then
7119 while test ! -d "$as_dir"; do
7120 as_dirs="$as_dir $as_dirs"
7121 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7122 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7123 X"$as_dir" : 'X\(//\)[^/]' \| \
7124 X"$as_dir" : 'X\(//\)$' \| \
7125 X"$as_dir" : 'X\(/\)' \| \
7126 . : '\(.\)' 2>/dev/null ||
7128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7130 /^X\(\/\/\)$/{ s//\1/; q; }
7131 /^X\(\/\).*/{ s//\1/; q; }
7134 test ! -n "$as_dirs" || mkdir $as_dirs
7135 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
7136 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
7137 { (exit 1); exit 1; }; }; }
7141 if test "$ac_dir" != .; then
7142 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7143 # A "..
/" for each directory in $ac_dir_suffix.
7144 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7146 ac_dir_suffix= ac_top_builddir=
7150 .) # No --srcdir option. We are building in place.
7152 if test -z "$ac_top_builddir"; then
7155 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7157 [\\/]* | ?:[\\/]* ) # Absolute path.
7158 ac_srcdir=$srcdir$ac_dir_suffix;
7159 ac_top_srcdir=$srcdir ;;
7161 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7162 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7165 # Do not use `cd foo && pwd` to compute absolute paths, because
7166 # the directories may not exist.
7168 .) ac_abs_builddir="$ac_dir";;
7171 .) ac_abs_builddir=`pwd`;;
7172 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7173 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7176 case $ac_abs_builddir in
7177 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7179 case ${ac_top_builddir}. in
7180 .) ac_abs_top_builddir=$ac_abs_builddir;;
7181 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7182 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7185 case $ac_abs_builddir in
7186 .) ac_abs_srcdir=$ac_srcdir;;
7189 .) ac_abs_srcdir=$ac_abs_builddir;;
7190 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7191 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7194 case $ac_abs_builddir in
7195 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7197 case $ac_top_srcdir in
7198 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7199 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7200 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7205 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
7206 echo "$as_me: executing
$ac_dest commands
" >&6;}
7209 echo "$INCLUDES $DEFS" > boehm-cflags
7211 if test -n "$CONFIG_FILES"; then
7212 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
7213 ac_file=Makefile . ${gc_basedir}/../config-ml.in
7219 cat >>$CONFIG_STATUS <<\_ACEOF
7221 { (exit 0); exit 0; }
7223 chmod +x $CONFIG_STATUS
7224 ac_clean_files=$ac_clean_files_save
7227 # configure is writing to config.log, and then calls config.status.
7228 # config.status does its own redirection, appending to config.log.
7229 # Unfortunately, on DOS this fails, as config.log is still kept open
7230 # by configure, so config.status won't be able to write to it; its
7231 # output is simply discarded. So we exec the FD to /dev/null,
7232 # effectively closing config.log, so it can be properly (re)opened and
7233 # appended to by config.status. When coming back to configure, we
7234 # need to make the FD available again.
7235 if test "$no_create" != yes; then
7237 ac_config_status_args=
7238 test "$silent" = yes &&
7239 ac_config_status_args="$ac_config_status_args --quiet"
7241 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7243 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7244 # would make configure fail if this is the last instruction.
7245 $ac_cs_success || { (exit 1); exit 1; }