1 diff -uraN libgc-6.8.orig/config.guess libgc-6.8/config.guess
2 --- libgc-6.8.orig/config.guess 2008-09-29 00:00:51.000000000 -0400
3 +++ libgc-6.8/config.guess 2008-09-29 00:00:43.105308351 -0400
6 # Attempt to guess a canonical system name.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
8 -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
10 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11 +# Free Software Foundation, Inc.
13 -timestamp='2006-07-02'
14 +timestamp='2008-01-23'
16 # This file is free software; you can redistribute it and/or modify it
17 # under the terms of the GNU General Public License as published by
19 GNU config.guess ($timestamp)
21 Originally written by Per Bothner.
22 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
23 -Free Software Foundation, Inc.
24 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
25 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
27 This is free software; see the source for copying conditions. There is NO
28 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
30 arm*) machine=arm-unknown ;;
31 sh3el) machine=shl-unknown ;;
32 sh3eb) machine=sh-unknown ;;
33 + sh5el) machine=sh5le-unknown ;;
34 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
36 # The Operating System including object format, if it has switched
38 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
39 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
42 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
43 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
47 echo rs6000-ibm-aix3.2
52 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
53 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
57 echo ${UNAME_MACHINE}-pc-cygwin
61 echo ${UNAME_MACHINE}-pc-mingw32
66 echo ${UNAME_MACHINE}-pc-pw32
68 - x86:Interix*:[3456]*)
69 - echo i586-pc-interix${UNAME_RELEASE}
71 - EM64T:Interix*:[3456]*)
72 - echo x86_64-unknown-interix${UNAME_RELEASE}
75 + case ${UNAME_MACHINE} in
77 + echo i586-pc-interix${UNAME_RELEASE}
79 + EM64T | authenticamd)
80 + echo x86_64-unknown-interix${UNAME_RELEASE}
83 + echo ia64-unknown-interix${UNAME_RELEASE}
86 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
87 echo i${UNAME_MACHINE}-pc-mks
91 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
93 + *:GNU/kOpenSolaris:*:*)
94 + # like linux, we don't need to record the version number
95 + echo ${UNAME_MACHINE}-unknown-kopensolaris-gnu
98 # other systems with GNU libc and userland
99 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
101 echo ${UNAME_MACHINE}-pc-minix
104 - echo ${UNAME_MACHINE}-unknown-linux-gnu
105 + eval $set_cc_for_build
106 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
107 + | grep -q __ARM_EABI__
109 + echo ${UNAME_MACHINE}-unknown-linux-gnu
111 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
115 echo ${UNAME_MACHINE}-unknown-linux-gnu
118 echo x86_64-unknown-linux-gnu
121 + echo ${UNAME_MACHINE}-unknown-linux-gnu
124 # The BFD linker knows what the default object file format is, so
125 # first see if it will tell us. cd to the root directory to prevent
126 @@ -1208,6 +1229,15 @@
128 echo sx6-nec-superux${UNAME_RELEASE}
131 + echo sx7-nec-superux${UNAME_RELEASE}
134 + echo sx8-nec-superux${UNAME_RELEASE}
136 + SX-8R:SUPER-UX:*:*)
137 + echo sx8r-nec-superux${UNAME_RELEASE}
140 echo powerpc-apple-rhapsody${UNAME_RELEASE}
142 @@ -1458,9 +1488,9 @@
143 the operating system you are using. It is advised that you
144 download the most up to date version of the config scripts from
146 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
147 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
149 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
150 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
152 If the version you run ($0) is already up to date, please
153 send the following data and any information you think might be
154 diff -uraN libgc-6.8.orig/config.sub libgc-6.8/config.sub
155 --- libgc-6.8.orig/config.sub 2008-09-29 00:00:51.000000000 -0400
156 +++ libgc-6.8/config.sub 2008-09-29 00:00:43.105480065 -0400
159 # Configuration validation subroutine script.
160 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
161 -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
163 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
164 +# Free Software Foundation, Inc.
166 -timestamp='2006-07-02'
167 +timestamp='2008-01-16'
169 # This file is (in principle) common to ALL GNU software.
170 # The presence of a machine in this file suggests that SOME GNU software
173 GNU config.sub ($timestamp)
175 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
176 -Free Software Foundation, Inc.
177 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
178 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
180 This is free software; see the source for copying conditions. There is NO
181 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
184 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
185 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
186 - storm-chaos* | os2-emx* | rtmk-nova*)
187 + storm-chaos* | os2-emx* | rtmk-nova* | kopensolaris*-gnu* )
189 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
191 @@ -245,12 +245,12 @@
194 | d10v | d30v | dlx | dsp16xx \
196 + | fido | fr30 | frv \
197 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
198 | i370 | i860 | i960 | ia64 \
200 | m32c | m32r | m32rle | m68000 | m68k | m88k \
201 - | maxq | mb | microblaze | mcore \
202 + | maxq | mb | microblaze | mcore | mep \
203 | mips | mipsbe | mipseb | mipsel | mipsle \
205 | mips64 | mips64el \
207 | pdp10 | pdp11 | pj | pjl \
208 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
211 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
213 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
215 | tahoe | thumb | tic4x | tic80 | tron \
218 - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
219 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
221 basic_machine=$basic_machine-unknown
224 | clipper-* | craynv-* | cydra-* \
225 | d10v-* | d30v-* | dlx-* \
227 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
228 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
229 | h8300-* | h8500-* \
230 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
231 | i*86-* | i860-* | i960-* | ia64-* \
232 @@ -367,11 +368,15 @@
234 | v850-* | v850e-* | vax-* \
236 - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
237 - | xstormy16-* | xtensa-* \
238 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
239 + | xstormy16-* | xtensa*-* \
243 + # Recognize the basic CPU types without company name, with glob match.
245 + basic_machine=$basic_machine-unknown
247 # Recognize the various machine names and aliases which stand
248 # for a CPU type and a company and sometimes even an OS.
251 basic_machine=ns32k-sequent
255 + basic_machine=bfin-unknown
259 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
263 basic_machine=c90-cray
266 basic_machine=craynv-cray
270 - basic_machine=cr16c-unknown
272 + basic_machine=cr16-unknown
277 basic_machine=m68k-isi
281 + basic_machine=m68k-unknown
285 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
289 basic_machine=m88k-omron
292 basic_machine=i386-pc
296 + basic_machine=arm-unknown
300 basic_machine=m68000-convergent
303 basic_machine=i860-intel
307 + basic_machine=hppa-unknown
311 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
315 basic_machine=sparc-tti
319 basic_machine=mipsisa64sb1el-unknown
322 + basic_machine=mipsisa32-sde
326 basic_machine=mips-sei
329 basic_machine=sh-hitachi
333 + basic_machine=sh5le-unknown
336 basic_machine=sh64-unknown
338 @@ -1009,6 +1049,10 @@
339 basic_machine=tic6x-unknown
343 + basic_machine=tile-unknown
347 basic_machine=mipstx39-unknown
349 @@ -1214,7 +1258,7 @@
350 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
351 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
352 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
353 - | -skyos* | -haiku* | -rdos* | -toppers*)
354 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -kopensolaris*-gnu* )
355 # Remember, each alternative MUST END IN *, to match a version number.
358 @@ -1366,6 +1410,9 @@
359 # system, and we'll never get to this point.
361 case $basic_machine in
368 @@ -1406,6 +1453,9 @@
378 diff -uraN libgc-6.8.orig/configure libgc-6.8/configure
379 --- libgc-6.8.orig/configure 2008-09-29 00:00:51.000000000 -0400
380 +++ libgc-6.8/configure 2008-09-29 00:00:04.128450210 -0400
381 @@ -4791,7 +4791,7 @@
383 THREADDLLIBS="-lpthread -lrt"
386 + *-*-solaris* | *-*-kopensolaris*-gnu* )
387 cat >>confdefs.h <<\_ACEOF
388 #define GC_SOLARIS_THREADS 1
390 @@ -5218,7 +5218,7 @@
392 machdep="alpha_mach_dep.lo"
394 - i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
395 + i?86-*-solaris2.[89] | i?86-*-solaris2.1? | i?86-*-kopensolaris*-gnu*)
396 cat >>confdefs.h <<\_ACEOF
397 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
399 diff -uraN libgc-6.8.orig/configure.in libgc-6.8/configure.in
400 --- libgc-6.8.orig/configure.in 2008-09-29 00:00:51.000000000 -0400
401 +++ libgc-6.8/configure.in 2008-09-29 00:00:04.129555462 -0400
404 THREADDLLIBS="-lpthread -lrt"
407 + *-*-solaris* | *-*-kopensolaris*-gnu*)
408 AC_DEFINE(GC_SOLARIS_THREADS)
409 AC_DEFINE(GC_SOLARIS_PTHREADS)
413 machdep="alpha_mach_dep.lo"
415 - i?86-*-solaris2.[[89]] | i?86-*-solaris2.1?)
416 + i?86-*-solaris2.[[89]] | i?86-*-solaris2.1? | i?86-*-kopensolaris*-gnu*)
417 AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED)
420 diff -uraN libgc-6.8.orig/configure.in.orig libgc-6.8/configure.in.orig
421 --- libgc-6.8.orig/configure.in.orig 1969-12-31 19:00:00.000000000 -0500
422 +++ libgc-6.8/configure.in.orig 2008-09-28 23:59:42.000000000 -0400
424 +# Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.
426 +# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
427 +# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
429 +# Permission is hereby granted to use or copy this program
430 +# for any purpose, provided the above notices are retained on all copies.
431 +# Permission to modify the code and to distribute modified code is granted,
432 +# provided the above notices are retained, and a notice that the code was
433 +# modified is included with the above copyright notice.
435 +# Original author: Tom Tromey
436 +# Modified by: Grzegorz Jakacki <jakacki at acm dot org>
438 +dnl Process this file with autoconf to produce configure.
443 +AC_INIT(gc,6.8,Hans.Boehm@hp.com)
444 + ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
445 +AC_CONFIG_SRCDIR(gcj_mlc.c)
448 +AC_REVISION($Revision: 1.2 $)
453 +AC_SUBST(GC_VERSION)
459 +AC_CHECK_TOOL(AR, ar)
460 +AC_CHECK_TOOL(RANLIB, ranlib, :) # :)
466 +. [$]{srcdir}/configure.host
468 +GC_CFLAGS=${gc_cflags}
471 +AC_ARG_ENABLE(threads, [ --enable-threads=TYPE choose threading package],
472 + THREADS=$enableval,
473 + [ AC_MSG_CHECKING([for thread model used by GCC])
474 + THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
475 + if test -z "$THREADS"; then
478 + AC_MSG_RESULT([$THREADS])])
480 +AC_ARG_ENABLE(parallel-mark,
481 +[ --enable-parallel-mark parallelize marking and free list construction],
482 + [case "$THREADS" in
483 + no | none | single)
484 + AC_MSG_ERROR([Parallel mark requires --enable-threads=x spec])
489 +AC_ARG_ENABLE(cplusplus,
490 +[ --enable-cplusplus install C++ support],
493 +INCLUDES=-I${srcdir}/include
495 +## Libraries needed to support dynamic loading and/or threads.
497 + no | none | single)
502 + THREADDLLIBS=-lpthread
505 + AC_DEFINE(GC_LINUX_THREADS)
506 + AC_DEFINE(_REENTRANT)
507 + if test "${enable_parallel_mark}" = yes; then
508 + AC_DEFINE(PARALLEL_MARK)
510 + AC_DEFINE(THREAD_LOCAL_ALLOC)
513 + AC_DEFINE(GC_AIX_THREADS)
514 + AC_DEFINE(_REENTRANT)
517 + AC_MSG_WARN("Only HP-UX 11 POSIX threads are supported.")
518 + AC_DEFINE(GC_HPUX_THREADS)
519 + AC_DEFINE(_POSIX_C_SOURCE,199506L)
520 + if test "${enable_parallel_mark}" = yes; then
521 + AC_DEFINE(PARALLEL_MARK)
523 + AC_DEFINE(THREAD_LOCAL_ALLOC)
524 + THREADDLLIBS="-lpthread -lrt"
525 + # HPUX needs REENTRANT for the _r calls.
526 + AC_DEFINE(_REENTRANT, 1, [Required define if using POSIX threads])
529 + AC_MSG_WARN("Only HP-UX 11 POSIX threads are supported.")
532 + AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.")
533 + AC_DEFINE(GC_FREEBSD_THREADS)
534 + INCLUDES="$INCLUDES -pthread"
535 + THREADDLLIBS=-pthread
538 + AC_DEFINE(GC_FREEBSD_THREADS)
539 + INCLUDES="$INCLUDES -pthread"
540 + THREADDLLIBS=-pthread
541 + AC_DEFINE(_REENTRANT)
542 + if test "${enable_parallel_mark}" = yes; then
543 + AC_DEFINE(PARALLEL_MARK)
545 + AC_DEFINE(THREAD_LOCAL_ALLOC)
546 + AC_DEFINE(USE_COMPILER_TLS)
549 + AC_MSG_WARN("Only on NetBSD 2.0 or later.")
550 + AC_DEFINE(GC_NETBSD_THREADS)
551 + AC_DEFINE(_REENTRANT)
552 + AC_DEFINE(_PTHREADS)
553 + THREADDLLIBS="-lpthread -lrt"
556 + AC_DEFINE(GC_SOLARIS_THREADS)
557 + AC_DEFINE(GC_SOLARIS_PTHREADS)
560 + AC_DEFINE(GC_IRIX_THREADS)
563 + AC_DEFINE(GC_WIN32_THREADS)
566 + AC_DEFINE(GC_DARWIN_THREADS)
567 + AC_DEFINE(THREAD_LOCAL_ALLOC)
568 + if test "${enable_parallel_mark}" = yes; then
569 + AC_DEFINE(PARALLEL_MARK)
573 + AC_DEFINE(GC_OSF1_THREADS)
574 + if test "${enable_parallel_mark}" = yes; then
575 + AC_DEFINE(PARALLEL_MARK)
576 + AC_DEFINE(THREAD_LOCAL_ALLOC)
577 + # May want to enable it in other cases, too.
578 + # Measurements havent yet been done.
580 + INCLUDES="$INCLUDES -pthread"
581 + THREADDLLIBS="-lpthread -lrt"
584 + AC_MSG_ERROR("Pthreads not supported by the GC on this platform.")
589 + AC_DEFINE(GC_WIN32_THREADS)
590 + dnl Wine getenv may not return NULL for missing entry
591 + AC_DEFINE(NO_GETENV)
595 + AC_MSG_RESULT($THREADDLLIBS)
596 + # Use pthread GCC switch
597 + THREADDLLIBS=-pthread
598 + if test "${enable_parallel_mark}" = yes; then
599 + AC_DEFINE(PARALLEL_MARK)
601 + AC_DEFINE(THREAD_LOCAL_ALLOC)
602 + AC_DEFINE(GC_DGUX386_THREADS)
603 + AC_DEFINE(DGUX_THREADS)
604 + # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
605 + INCLUDES="-pthread $INCLUDES"
609 + THREADDLLIBS=-lpthread
610 + AC_DEFINE(GC_AIX_THREADS)
611 + AC_DEFINE(_REENTRANT)
613 + decosf1 | irix | mach | os2 | solaris | dce | vxworks)
614 + AC_MSG_ERROR(thread package $THREADS not yet supported)
617 + AC_MSG_ERROR($THREADS is an unknown thread package)
620 +AC_SUBST(THREADDLLIBS)
624 + powerpc_darwin=true
627 +AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue)
629 +AC_MSG_CHECKING(for xlc)
634 +], [compiler_xlc=yes], [compiler_xlc=no])
635 +AC_MSG_RESULT($compiler_xlc)
636 +AM_CONDITIONAL(COMPILER_XLC,test $compiler_xlc = yes)
637 +if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then
638 + # the darwin stack-frame-walking code is completely broken on xlc
639 + AC_DEFINE(DARWIN_DONT_PARSE_STACK)
642 +# We never want libdl on darwin. It is a fake libdl that just ends up making
647 + AC_CHECK_LIB(dl, dlopen, THREADDLLIBS="$THREADDLLIBS -ldl")
651 +AC_SUBST(EXTRA_TEST_LIBS)
654 +AC_SUBST(target_all)
656 +dnl If the target is an eCos system, use the appropriate eCos
658 +dnl FIXME: this should not be a local option but a global target
659 +dnl system; at present there is no eCos target.
662 +[ --with-ecos enable runtime eCos target support],
663 +TARGET_ECOS="$with_ecos"
671 +case "$TARGET_ECOS" in
676 + CXXINCLUDES="-I${TARGET_ECOS}/include"
677 + addobjs="$addobjs ecos.lo"
681 +if test "${enable_cplusplus}" = yes; then
682 + addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
683 + addtests="$addtests test_cpp"
686 +AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes)
691 +AC_SUBST(CXXINCLUDES)
693 +# Configuration of shared libraries
695 +AC_MSG_CHECKING(whether to build shared libraries)
708 +# Configuration of machine-dependent code
710 +AC_MSG_CHECKING(which machine-dependent code should be used)
714 + machdep="alpha_mach_dep.lo"
715 + if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
716 + AC_MSG_WARN(OpenBSD/Alpha without dlopen(). Shared library support is disabled)
720 + machdep="alpha_mach_dep.lo"
722 + i?86-*-solaris2.[[89]] | i?86-*-solaris2.1?)
723 + AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED)
726 + machdep="mips_ultrix_mach_dep.lo"
727 + AC_DEFINE(STACKBASE, __stackbase)
728 + AC_DEFINE(DATASTART_IS_ETEXT)
731 + machdep="mips_ultrix_mach-dep.lo"
733 + mips-nec-sysv*|mips-unknown-sysv*)
738 + machdep="mips_sgi_mach_dep.lo"
739 + AC_DEFINE(NO_EXECUTE_PERMISSION)
742 + machdep="sparc_netbsd_mach_dep.lo"
744 + sparc-sun-solaris2.3)
745 + machdep="sparc_mach_dep.lo"
746 + AC_DEFINE(SUNOS53_SHARED_LIB)
748 + sparc*-sun-solaris2.*)
749 + machdep="sparc_mach_dep.lo"
752 + machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
755 +if test x"$machdep" = x; then
756 +AC_MSG_RESULT($machdep)
757 + machdep="mach_dep.lo"
759 +addobjs="$addobjs $machdep"
761 +AC_SUBST(addincludes)
768 +# Check for AViiON Machines running DGUX
771 +AC_CHECK_HEADER(sys/dg_sys_info.h,
774 + ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
775 +if test $ac_is_dgux = yes; then
776 + if test "$enable_full_debug" = "yes"; then
777 + CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
778 + CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
780 + CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
781 + CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
787 +dnl We use these options to decide which functions to include.
788 +AC_ARG_WITH(target-subdir,
789 +[ --with-target-subdir=SUBDIR
790 + configuring with a cross compiler])
791 +AC_ARG_WITH(cross-host,
792 +[ --with-cross-host=HOST configuring with a cross compiler])
794 +# automake wants to see AC_EXEEXT. But we don't need it. And having
795 +# it is actually a problem, because the compiler we're passed can't
796 +# necessarily do a full link. So we fool automake here.
798 + # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
799 + # to nothing, so nothing would remain between `then' and `fi' if it
800 + # were not for the `:' below.
805 +dnl As of 4.13a2, the collector will not properly work on Solaris when
806 +dnl built with gcc and -O. So we remove -O in the appropriate case.
807 +dnl Not needed anymore on Solaris.
808 +AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
811 + if test "$GCC" = yes; then
814 + for i in $CFLAGS; do
819 + new_CFLAGS="$new_CFLAGS $i"
823 + CFLAGS="$new_CFLAGS"
828 + *) AC_MSG_RESULT(no) ;;
831 +dnl We need to override the top-level CFLAGS. This is how we do it.
835 +dnl Include defines that have become de facto standard.
836 +dnl ALL_INTERIOR_POINTERS can be overridden in startup code.
838 +AC_DEFINE(NO_SIGNALS)
839 +AC_DEFINE(NO_EXECUTE_PERMISSION)
840 +AC_DEFINE(ALL_INTERIOR_POINTERS)
842 +dnl By default, make the library as general as possible.
843 +AC_DEFINE(JAVA_FINALIZATION)
844 +AC_DEFINE(GC_GCJ_SUPPORT)
845 +AC_DEFINE(ATOMIC_UNCOLLECTABLE)
847 +dnl This is something of a hack. When cross-compiling we turn off
848 +dnl some functionality. We also enable the "small" configuration.
849 +dnl These is only correct when targetting an embedded system. FIXME.
850 +if test -n "${with_cross_host}"; then
851 + AC_DEFINE(NO_SIGSET)
852 + AC_DEFINE(NO_CLOCK)
853 + AC_DEFINE(SMALL_CONFIG)
854 + AC_DEFINE(NO_DEBUGGING)
858 +AC_ARG_ENABLE(full-debug,
859 +[ --enable-full-debug include full support for pointer backtracing etc.],
860 +[ if test "$enable_full_debug" = "yes"; then
861 + AC_MSG_WARN("Should define GC_DEBUG and use debug alloc. in clients.")
862 + AC_DEFINE(KEEP_BACK_PTRS)
863 + AC_DEFINE(DBG_HDRS_ALL)
866 + AC_DEFINE(MAKE_BACK_GRAPH)
867 + AC_DEFINE(SAVE_CALL_COUNT, 8)
868 + AC_CHECK_LIB(unwind, backtrace, [
869 + AC_DEFINE(GC_HAVE_BUILTIN_BACKTRACE)
870 + UNWINDLIBS=-lunwind
871 + AC_MSG_WARN("Client code may need to link against libunwind.")
874 + x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
875 + AC_DEFINE(MAKE_BACK_GRAPH)
876 + AC_MSG_WARN("Client must not use -fomit-frame-pointer.")
877 + AC_DEFINE(SAVE_CALL_COUNT, 8)
880 + AC_DEFINE(MAKE_BACK_GRAPH)
885 +AC_SUBST(UNWINDLIBS)
887 +AC_ARG_ENABLE(redirect-malloc,
888 +[ --enable-redirect-malloc redirect malloc and friends to GC routines])
890 +if test "${enable_redirect_malloc}" = yes; then
891 + if test "${enable_full_debug}" = yes; then
892 + AC_DEFINE(REDIRECT_MALLOC, GC_debug_malloc_replacement)
893 + AC_DEFINE(REDIRECT_REALLOC, GC_debug_realloc_replacement)
894 + AC_DEFINE(REDIRECT_FREE, GC_debug_free)
896 + AC_DEFINE(REDIRECT_MALLOC, GC_malloc)
900 +AC_ARG_ENABLE(gc-assertions,
901 +[ --enable-gc-assertions collector-internal assertion checking])
902 +if test "${enable_gc_assertions}" = yes; then
903 + AC_DEFINE(GC_ASSERTIONS)
906 +AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
908 +AC_OUTPUT([Makefile doc/Makefile include/Makefile],,
911 +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
915 diff -uraN libgc-6.8.orig/configure.orig libgc-6.8/configure.orig
916 --- libgc-6.8.orig/configure.orig 1969-12-31 19:00:00.000000000 -0500
917 +++ libgc-6.8/configure.orig 2008-09-28 23:59:42.000000000 -0400
920 +# From configure.in Revision: 1.2 .
921 +# Guess values for system-dependent variables and create Makefiles.
922 +# Generated by GNU Autoconf 2.60a for gc 6.8.
924 +# Report bugs to <Hans.Boehm@hp.com>.
926 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
927 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
928 +# This configure script is free software; the Free Software Foundation
929 +# gives unlimited permission to copy, distribute and modify it.
930 +## --------------------- ##
931 +## M4sh Initialization. ##
932 +## --------------------- ##
934 +# Be Bourne compatible
935 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
938 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
939 + # is contrary to our usage. Disable this feature.
940 + alias -g '${1+"$@"}'='"$@"'
941 + setopt NO_GLOB_SUBST
943 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
945 +BIN_SH=xpg4; export BIN_SH # for Tru64
946 +DUALCASE=1; export DUALCASE # for MKS sh
950 +# Avoid depending upon Character Ranges.
951 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
952 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
953 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
954 +as_cr_digits='0123456789'
955 +as_cr_alnum=$as_cr_Letters$as_cr_digits
957 +# The user is always right.
958 +if test "${PATH_SEPARATOR+set}" != set; then
959 + echo "#! /bin/sh" >conf$$.sh
960 + echo "exit 0" >>conf$$.sh
962 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
970 +# Support unset when possible.
971 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
979 +# We need space, tab and new line, in precisely that order. Quoting is
980 +# there to prevent editors from complaining about space-tab.
981 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
982 +# splitting by setting IFS to empty value.)
987 +# Find who we are. Look in the path if we contain no directory separator.
989 + *[\\/]* ) as_myself=$0 ;;
990 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994 + test -z "$as_dir" && as_dir=.
995 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1001 +# We did not find ourselves, most probably we were run as `sh COMMAND'
1002 +# in which case we are not to be found in the path.
1003 +if test "x$as_myself" = x; then
1006 +if test ! -f "$as_myself"; then
1007 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1008 + { (exit 1); exit 1; }
1011 +# Work around bugs in pre-3.0 UWIN ksh.
1012 +for as_var in ENV MAIL MAILPATH
1013 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1021 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1022 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1023 + LC_TELEPHONE LC_TIME
1025 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1026 + eval $as_var=C; export $as_var
1028 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1032 +# Required to use basename.
1033 +if expr a : '\(a\)' >/dev/null 2>&1 &&
1034 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
1040 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1041 + as_basename=basename
1047 +# Name of the executable.
1048 +as_me=`$as_basename -- "$0" ||
1049 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1050 + X"$0" : 'X\(//\)$' \| \
1051 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1053 + sed '/^.*\/\([^/][^/]*\)\/*$/{
1071 +if test "x$CONFIG_SHELL" = x; then
1072 + if (eval ":") 2>/dev/null; then
1073 + as_have_required=yes
1075 + as_have_required=no
1078 + if test $as_have_required = yes && (eval ":
1079 +(as_func_return () {
1082 +as_func_success () {
1085 +as_func_failure () {
1088 +as_func_ret_success () {
1091 +as_func_ret_failure () {
1096 +if as_func_success; then
1100 + echo as_func_success failed.
1103 +if as_func_failure; then
1105 + echo as_func_failure succeeded.
1108 +if as_func_ret_success; then
1112 + echo as_func_ret_success failed.
1115 +if as_func_ret_failure; then
1117 + echo as_func_ret_failure succeeded.
1120 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1124 + echo positional parameters were not saved.
1127 +test \$exitcode = 0) || { (exit 1); exit 1; }
1130 + as_lineno_1=\$LINENO
1131 + as_lineno_2=\$LINENO
1132 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
1133 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
1134 +") 2> /dev/null; then
1137 + as_candidate_shells=
1138 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1139 +for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1142 + test -z "$as_dir" && as_dir=.
1145 + for as_base in sh bash ksh sh5; do
1146 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
1153 + for as_shell in $as_candidate_shells $SHELL; do
1154 + # Try only shells that exist, to save several forks.
1155 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1156 + { ("$as_shell") 2> /dev/null <<\_ASEOF
1157 +# Be Bourne compatible
1158 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1161 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1162 + # is contrary to our usage. Disable this feature.
1163 + alias -g '${1+"$@"}'='"$@"'
1164 + setopt NO_GLOB_SUBST
1166 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1168 +BIN_SH=xpg4; export BIN_SH # for Tru64
1169 +DUALCASE=1; export DUALCASE # for MKS sh
1174 + CONFIG_SHELL=$as_shell
1175 + as_have_required=yes
1176 + if { "$as_shell" 2> /dev/null <<\_ASEOF
1177 +# Be Bourne compatible
1178 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1181 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1182 + # is contrary to our usage. Disable this feature.
1183 + alias -g '${1+"$@"}'='"$@"'
1184 + setopt NO_GLOB_SUBST
1186 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1188 +BIN_SH=xpg4; export BIN_SH # for Tru64
1189 +DUALCASE=1; export DUALCASE # for MKS sh
1192 +(as_func_return () {
1195 +as_func_success () {
1198 +as_func_failure () {
1201 +as_func_ret_success () {
1204 +as_func_ret_failure () {
1209 +if as_func_success; then
1213 + echo as_func_success failed.
1216 +if as_func_failure; then
1218 + echo as_func_failure succeeded.
1221 +if as_func_ret_success; then
1225 + echo as_func_ret_success failed.
1228 +if as_func_ret_failure; then
1230 + echo as_func_ret_failure succeeded.
1233 +if ( set x; as_func_ret_success y && test x = "$1" ); then
1237 + echo positional parameters were not saved.
1240 +test $exitcode = 0) || { (exit 1); exit 1; }
1243 + as_lineno_1=$LINENO
1244 + as_lineno_2=$LINENO
1245 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1246 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
1257 + if test "x$CONFIG_SHELL" != x; then
1258 + for as_var in BASH_ENV ENV
1259 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1261 + export CONFIG_SHELL
1262 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1266 + if test $as_have_required = no; then
1267 + echo This script requires a shell more modern than all the
1268 + echo shells that I found on your system. Please install a
1269 + echo modern shell, or manually run the script under such a
1270 + echo shell if you do have one.
1271 + { (exit 1); exit 1; }
1281 +(eval "as_func_return () {
1284 +as_func_success () {
1287 +as_func_failure () {
1290 +as_func_ret_success () {
1293 +as_func_ret_failure () {
1298 +if as_func_success; then
1302 + echo as_func_success failed.
1305 +if as_func_failure; then
1307 + echo as_func_failure succeeded.
1310 +if as_func_ret_success; then
1314 + echo as_func_ret_success failed.
1317 +if as_func_ret_failure; then
1319 + echo as_func_ret_failure succeeded.
1322 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1326 + echo positional parameters were not saved.
1329 +test \$exitcode = 0") || {
1330 + echo No shell found that supports shell functions.
1331 + echo Please tell autoconf@gnu.org about your system,
1332 + echo including any error possibly output before this
1338 + as_lineno_1=$LINENO
1339 + as_lineno_2=$LINENO
1340 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1341 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1343 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1344 + # uniformly replaced by the line number. The first 'sed' inserts a
1345 + # line-number line after each line using $LINENO; the second 'sed'
1346 + # does the real work. The second script uses 'N' to pair each
1347 + # line-number line with the line containing $LINENO, and appends
1348 + # trailing '-' during substitution so that $LINENO is not a special
1349 + # case at line end.
1350 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1351 + # scripts with optimization help from Paolo Bonzini. Blame Lee
1352 + # E. McMahon (1931-1989) for sed's syntax. :-)
1364 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1367 + ' >$as_me.lineno &&
1368 + chmod +x "$as_me.lineno" ||
1369 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1370 + { (exit 1); exit 1; }; }
1372 + # Don't try to exec as it changes $[0], causing all sort of problems
1373 + # (the dirname of $[0] is not the place where we might find the
1374 + # original and so on. Autoconf is especially sensitive to this).
1375 + . "./$as_me.lineno"
1376 + # Exit status is that of the last command.
1381 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1382 + as_dirname=dirname
1387 +ECHO_C= ECHO_N= ECHO_T=
1388 +case `echo -n x` in
1390 + case `echo 'x\c'` in
1391 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1398 +if expr a : '\(a\)' >/dev/null 2>&1 &&
1399 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
1405 +rm -f conf$$ conf$$.exe conf$$.file
1406 +if test -d conf$$.dir; then
1407 + rm -f conf$$.dir/conf$$.file
1413 +if ln -s conf$$.file conf$$ 2>/dev/null; then
1415 + # ... but there are two gotchas:
1416 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1417 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1418 + # In both cases, we have to default to `cp -p'.
1419 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1421 +elif ln conf$$.file conf$$ 2>/dev/null; then
1426 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1427 +rmdir conf$$.dir 2>/dev/null
1429 +if mkdir -p . 2>/dev/null; then
1432 + test -d ./-p && rmdir ./-p
1436 +# Find out whether ``test -x'' works. Don't use a zero-byte file, as
1437 +# systems may use methods other than mode bits to determine executability.
1438 +cat >conf$$.file <<_ASEOF
1442 +chmod +x conf$$.file
1443 +if test -x conf$$.file >/dev/null 2>&1; then
1444 + as_executable_p="test -x"
1450 +# Sed expression to map a string onto a valid CPP name.
1451 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1453 +# Sed expression to map a string onto a valid variable name.
1454 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1459 +# Check that we are running under the correct shell.
1460 +SHELL=${CONFIG_SHELL-/bin/sh}
1464 + # Remove one level of quotation (which was required for Make).
1465 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
1470 +if test "X$1" = X--no-reexec; then
1471 + # Discard the --no-reexec flag, and continue.
1473 +elif test "X$1" = X--fallback-echo; then
1474 + # Avoid inline document here, it may be left over
1476 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1477 + # Yippee, $echo works!
1480 + # Restart under the correct shell.
1481 + exec $SHELL "$0" --no-reexec ${1+"$@"}
1484 +if test "X$1" = X--fallback-echo; then
1485 + # used as fallback echo
1493 +# The HP-UX ksh and POSIX shell print the target directory to stdout
1494 +# if CDPATH is set.
1495 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1497 +if test -z "$ECHO"; then
1498 +if test "X${echo_test_string+set}" != Xset; then
1499 +# find a string as large as possible, as long as the shell can cope with it
1500 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
1501 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1502 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1503 + echo_test_string=`eval $cmd` &&
1504 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1511 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1512 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1513 + test "X$echo_testing_string" = "X$echo_test_string"; then
1516 + # The Solaris, AIX, and Digital Unix default echo programs unquote
1517 + # backslashes. This makes it impossible to quote backslashes using
1518 + # echo "$something" | sed 's/\\/\\\\/g'
1520 + # So, first we look for a working echo in the user's PATH.
1522 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1523 + for dir in $PATH /usr/ucb; do
1524 + IFS="$lt_save_ifs"
1525 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1526 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1527 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1528 + test "X$echo_testing_string" = "X$echo_test_string"; then
1533 + IFS="$lt_save_ifs"
1535 + if test "X$echo" = Xecho; then
1536 + # We didn't find a better echo, so look for alternatives.
1537 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1538 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1539 + test "X$echo_testing_string" = "X$echo_test_string"; then
1540 + # This shell has a builtin print -r that does the trick.
1542 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1543 + test "X$CONFIG_SHELL" != X/bin/ksh; then
1544 + # If we have ksh, try running configure again with it.
1545 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1546 + export ORIGINAL_CONFIG_SHELL
1547 + CONFIG_SHELL=/bin/ksh
1548 + export CONFIG_SHELL
1549 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1551 + # Try using printf.
1552 + echo='printf %s\n'
1553 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1554 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1555 + test "X$echo_testing_string" = "X$echo_test_string"; then
1556 + # Cool, printf works
1558 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1559 + test "X$echo_testing_string" = 'X\t' &&
1560 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1561 + test "X$echo_testing_string" = "X$echo_test_string"; then
1562 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1563 + export CONFIG_SHELL
1564 + SHELL="$CONFIG_SHELL"
1566 + echo="$CONFIG_SHELL $0 --fallback-echo"
1567 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1568 + test "X$echo_testing_string" = 'X\t' &&
1569 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1570 + test "X$echo_testing_string" = "X$echo_test_string"; then
1571 + echo="$CONFIG_SHELL $0 --fallback-echo"
1573 + # maybe with a smaller string...
1576 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
1577 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1584 + if test "$prev" != 'sed 50q "$0"'; then
1585 + echo_test_string=`eval $prev`
1586 + export echo_test_string
1587 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
1589 + # Oops. We lost completely, so just stick with echo.
1598 +# Copy echo and quote the copy suitably for passing to libtool from
1599 +# the Makefile, instead of quoting the original, which is used later.
1601 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
1602 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
1608 +tagnames=${tagnames+${tagnames},}CXX
1610 +tagnames=${tagnames+${tagnames},}F77
1612 +exec 7<&0 </dev/null 6>&1
1614 +# Name of the host.
1615 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1616 +# so uname gets run too.
1617 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1622 +ac_default_prefix=/usr/local
1624 +ac_config_libobj_dir=.
1630 +SHELL=${CONFIG_SHELL-/bin/sh}
1632 +# Identity of this package.
1634 +PACKAGE_TARNAME='gc'
1635 +PACKAGE_VERSION='6.8'
1636 +PACKAGE_STRING='gc 6.8'
1637 +PACKAGE_BUGREPORT='Hans.Boehm@hp.com'
1639 +ac_unique_file="gcj_mlc.c"
1640 +# Factoring default headers for most tests.
1641 +ac_includes_default="\
1643 +#ifdef HAVE_SYS_TYPES_H
1644 +# include <sys/types.h>
1646 +#ifdef HAVE_SYS_STAT_H
1647 +# include <sys/stat.h>
1649 +#ifdef STDC_HEADERS
1650 +# include <stdlib.h>
1651 +# include <stddef.h>
1653 +# ifdef HAVE_STDLIB_H
1654 +# include <stdlib.h>
1657 +#ifdef HAVE_STRING_H
1658 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1659 +# include <memory.h>
1661 +# include <string.h>
1663 +#ifdef HAVE_STRINGS_H
1664 +# include <strings.h>
1666 +#ifdef HAVE_INTTYPES_H
1667 +# include <inttypes.h>
1669 +#ifdef HAVE_STDINT_H
1670 +# include <stdint.h>
1672 +#ifdef HAVE_UNISTD_H
1673 +# include <unistd.h>
1676 +ac_subst_vars='SHELL
1685 +program_transform_name
1738 +INSTALL_STRIP_PROGRAM
1762 +am__fastdepCC_FALSE
1767 +am__fastdepCXX_TRUE
1768 +am__fastdepCXX_FALSE
1773 +MAINTAINER_MODE_TRUE
1774 +MAINTAINER_MODE_FALSE
1778 +POWERPC_DARWIN_TRUE
1779 +POWERPC_DARWIN_FALSE
1809 + ac_precious_vars='build_alias
1827 +# Initialize some variables set by options.
1829 +ac_init_version=false
1830 +# The variables have the same names as the options, with
1831 +# dashes changed to underlines.
1832 +cache_file=/dev/null
1837 +program_prefix=NONE
1838 +program_suffix=NONE
1839 +program_transform_name=s,x,x,
1847 +# Installation directory options.
1848 +# These are left unexpanded so users can "make install exec_prefix=/foo"
1849 +# and all the variables that are supposed to be based on exec_prefix
1850 +# by default will actually change.
1851 +# Use braces instead of parens because sh, perl, etc. also accept them.
1852 +# (The list follows the same order as the GNU Coding Standards.)
1853 +bindir='${exec_prefix}/bin'
1854 +sbindir='${exec_prefix}/sbin'
1855 +libexecdir='${exec_prefix}/libexec'
1856 +datarootdir='${prefix}/share'
1857 +datadir='${datarootdir}'
1858 +sysconfdir='${prefix}/etc'
1859 +sharedstatedir='${prefix}/com'
1860 +localstatedir='${prefix}/var'
1861 +includedir='${prefix}/include'
1862 +oldincludedir='/usr/include'
1863 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1864 +infodir='${datarootdir}/info'
1865 +htmldir='${docdir}'
1869 +libdir='${exec_prefix}/lib'
1870 +localedir='${datarootdir}/locale'
1871 +mandir='${datarootdir}/man'
1877 + # If the previous option needs an argument, assign it.
1878 + if test -n "$ac_prev"; then
1879 + eval $ac_prev=\$ac_option
1884 + case $ac_option in
1885 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1886 + *) ac_optarg=yes ;;
1889 + # Accept the important Cygnus configure options, so we can diagnose typos.
1891 + case $ac_dashdash$ac_option in
1893 + ac_dashdash=yes ;;
1895 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
1897 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1898 + bindir=$ac_optarg ;;
1900 + -build | --build | --buil | --bui | --bu)
1901 + ac_prev=build_alias ;;
1902 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1903 + build_alias=$ac_optarg ;;
1905 + -cache-file | --cache-file | --cache-fil | --cache-fi \
1906 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1907 + ac_prev=cache_file ;;
1908 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1909 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1910 + cache_file=$ac_optarg ;;
1912 + --config-cache | -C)
1913 + cache_file=config.cache ;;
1915 + -datadir | --datadir | --datadi | --datad)
1916 + ac_prev=datadir ;;
1917 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1918 + datadir=$ac_optarg ;;
1920 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1921 + | --dataroo | --dataro | --datar)
1922 + ac_prev=datarootdir ;;
1923 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1924 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1925 + datarootdir=$ac_optarg ;;
1927 + -disable-* | --disable-*)
1928 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1929 + # Reject names that are not valid shell variable names.
1930 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1931 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1932 + { (exit 1); exit 1; }; }
1933 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1934 + eval enable_$ac_feature=no ;;
1936 + -docdir | --docdir | --docdi | --doc | --do)
1938 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1939 + docdir=$ac_optarg ;;
1941 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1943 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1944 + dvidir=$ac_optarg ;;
1946 + -enable-* | --enable-*)
1947 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1948 + # Reject names that are not valid shell variable names.
1949 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1950 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1951 + { (exit 1); exit 1; }; }
1952 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1953 + eval enable_$ac_feature=\$ac_optarg ;;
1955 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1956 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1957 + | --exec | --exe | --ex)
1958 + ac_prev=exec_prefix ;;
1959 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1960 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1961 + | --exec=* | --exe=* | --ex=*)
1962 + exec_prefix=$ac_optarg ;;
1964 + -gas | --gas | --ga | --g)
1965 + # Obsolete; use --with-gas.
1968 + -help | --help | --hel | --he | -h)
1969 + ac_init_help=long ;;
1970 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1971 + ac_init_help=recursive ;;
1972 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1973 + ac_init_help=short ;;
1975 + -host | --host | --hos | --ho)
1976 + ac_prev=host_alias ;;
1977 + -host=* | --host=* | --hos=* | --ho=*)
1978 + host_alias=$ac_optarg ;;
1980 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1981 + ac_prev=htmldir ;;
1982 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1984 + htmldir=$ac_optarg ;;
1986 + -includedir | --includedir | --includedi | --included | --include \
1987 + | --includ | --inclu | --incl | --inc)
1988 + ac_prev=includedir ;;
1989 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1990 + | --includ=* | --inclu=* | --incl=* | --inc=*)
1991 + includedir=$ac_optarg ;;
1993 + -infodir | --infodir | --infodi | --infod | --info | --inf)
1994 + ac_prev=infodir ;;
1995 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1996 + infodir=$ac_optarg ;;
1998 + -libdir | --libdir | --libdi | --libd)
2000 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
2001 + libdir=$ac_optarg ;;
2003 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2004 + | --libexe | --libex | --libe)
2005 + ac_prev=libexecdir ;;
2006 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2007 + | --libexe=* | --libex=* | --libe=*)
2008 + libexecdir=$ac_optarg ;;
2010 + -localedir | --localedir | --localedi | --localed | --locale)
2011 + ac_prev=localedir ;;
2012 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2013 + localedir=$ac_optarg ;;
2015 + -localstatedir | --localstatedir | --localstatedi | --localstated \
2016 + | --localstate | --localstat | --localsta | --localst | --locals)
2017 + ac_prev=localstatedir ;;
2018 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2019 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2020 + localstatedir=$ac_optarg ;;
2022 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2024 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2025 + mandir=$ac_optarg ;;
2027 + -nfp | --nfp | --nf)
2028 + # Obsolete; use --without-fp.
2031 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2032 + | --no-cr | --no-c | -n)
2035 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2036 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2037 + no_recursion=yes ;;
2039 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2040 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2041 + | --oldin | --oldi | --old | --ol | --o)
2042 + ac_prev=oldincludedir ;;
2043 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2044 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2045 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2046 + oldincludedir=$ac_optarg ;;
2048 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2050 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2051 + prefix=$ac_optarg ;;
2053 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
2054 + | --program-pre | --program-pr | --program-p)
2055 + ac_prev=program_prefix ;;
2056 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
2057 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2058 + program_prefix=$ac_optarg ;;
2060 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
2061 + | --program-suf | --program-su | --program-s)
2062 + ac_prev=program_suffix ;;
2063 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
2064 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2065 + program_suffix=$ac_optarg ;;
2067 + -program-transform-name | --program-transform-name \
2068 + | --program-transform-nam | --program-transform-na \
2069 + | --program-transform-n | --program-transform- \
2070 + | --program-transform | --program-transfor \
2071 + | --program-transfo | --program-transf \
2072 + | --program-trans | --program-tran \
2073 + | --progr-tra | --program-tr | --program-t)
2074 + ac_prev=program_transform_name ;;
2075 + -program-transform-name=* | --program-transform-name=* \
2076 + | --program-transform-nam=* | --program-transform-na=* \
2077 + | --program-transform-n=* | --program-transform-=* \
2078 + | --program-transform=* | --program-transfor=* \
2079 + | --program-transfo=* | --program-transf=* \
2080 + | --program-trans=* | --program-tran=* \
2081 + | --progr-tra=* | --program-tr=* | --program-t=*)
2082 + program_transform_name=$ac_optarg ;;
2084 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2086 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2087 + pdfdir=$ac_optarg ;;
2089 + -psdir | --psdir | --psdi | --psd | --ps)
2091 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2092 + psdir=$ac_optarg ;;
2094 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 + | -silent | --silent | --silen | --sile | --sil)
2098 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2099 + ac_prev=sbindir ;;
2100 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2101 + | --sbi=* | --sb=*)
2102 + sbindir=$ac_optarg ;;
2104 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
2105 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2106 + | --sharedst | --shareds | --shared | --share | --shar \
2108 + ac_prev=sharedstatedir ;;
2109 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2110 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2111 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2112 + | --sha=* | --sh=*)
2113 + sharedstatedir=$ac_optarg ;;
2115 + -site | --site | --sit)
2117 + -site=* | --site=* | --sit=*)
2118 + site=$ac_optarg ;;
2120 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2122 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2123 + srcdir=$ac_optarg ;;
2125 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2126 + | --syscon | --sysco | --sysc | --sys | --sy)
2127 + ac_prev=sysconfdir ;;
2128 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2129 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2130 + sysconfdir=$ac_optarg ;;
2132 + -target | --target | --targe | --targ | --tar | --ta | --t)
2133 + ac_prev=target_alias ;;
2134 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2135 + target_alias=$ac_optarg ;;
2137 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
2140 + -version | --version | --versio | --versi | --vers | -V)
2141 + ac_init_version=: ;;
2143 + -with-* | --with-*)
2144 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2145 + # Reject names that are not valid shell variable names.
2146 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2147 + { echo "$as_me: error: invalid package name: $ac_package" >&2
2148 + { (exit 1); exit 1; }; }
2149 + ac_package=`echo $ac_package| sed 's/-/_/g'`
2150 + eval with_$ac_package=\$ac_optarg ;;
2152 + -without-* | --without-*)
2153 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2154 + # Reject names that are not valid shell variable names.
2155 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2156 + { echo "$as_me: error: invalid package name: $ac_package" >&2
2157 + { (exit 1); exit 1; }; }
2158 + ac_package=`echo $ac_package | sed 's/-/_/g'`
2159 + eval with_$ac_package=no ;;
2162 + # Obsolete; use --with-x.
2165 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2166 + | --x-incl | --x-inc | --x-in | --x-i)
2167 + ac_prev=x_includes ;;
2168 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2169 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2170 + x_includes=$ac_optarg ;;
2172 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
2173 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2174 + ac_prev=x_libraries ;;
2175 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2176 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2177 + x_libraries=$ac_optarg ;;
2179 + -*) { echo "$as_me: error: unrecognized option: $ac_option
2180 +Try \`$0 --help' for more information." >&2
2181 + { (exit 1); exit 1; }; }
2185 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2186 + # Reject names that are not valid shell variable names.
2187 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
2188 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
2189 + { (exit 1); exit 1; }; }
2190 + eval $ac_envvar=\$ac_optarg
2191 + export $ac_envvar ;;
2194 + # FIXME: should be removed in autoconf 3.0.
2195 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2196 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2197 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2198 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
2204 +if test -n "$ac_prev"; then
2205 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2206 + { echo "$as_me: error: missing argument to $ac_option" >&2
2207 + { (exit 1); exit 1; }; }
2210 +# Be sure to have absolute directory names.
2211 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2212 + datadir sysconfdir sharedstatedir localstatedir includedir \
2213 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2214 + libdir localedir mandir
2216 + eval ac_val=\$$ac_var
2218 + [\\/$]* | ?:[\\/]* ) continue;;
2219 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2221 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
2222 + { (exit 1); exit 1; }; }
2225 +# There might be people who depend on the old broken behavior: `$host'
2226 +# used to hold the argument of --host etc.
2227 +# FIXME: To remove some day.
2230 +target=$target_alias
2232 +# FIXME: To remove some day.
2233 +if test "x$host_alias" != x; then
2234 + if test "x$build_alias" = x; then
2235 + cross_compiling=maybe
2236 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
2237 + If a cross compiler is detected then cross compile mode will be used." >&2
2238 + elif test "x$build_alias" != "x$host_alias"; then
2239 + cross_compiling=yes
2244 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
2246 +test "$silent" = yes && exec 6>/dev/null
2249 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
2250 +ac_ls_di=`ls -di .` &&
2251 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2252 + { echo "$as_me: error: Working directory cannot be determined" >&2
2253 + { (exit 1); exit 1; }; }
2254 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2255 + { echo "$as_me: error: pwd does not report name of working directory" >&2
2256 + { (exit 1); exit 1; }; }
2259 +# Find the source files, if location was not specified.
2260 +if test -z "$srcdir"; then
2261 + ac_srcdir_defaulted=yes
2262 + # Try the directory containing this script, then the parent directory.
2263 + ac_confdir=`$as_dirname -- "$0" ||
2264 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2265 + X"$0" : 'X\(//\)[^/]' \| \
2266 + X"$0" : 'X\(//\)$' \| \
2267 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2269 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2273 + /^X\(\/\/\)[^/].*/{
2286 + srcdir=$ac_confdir
2287 + if test ! -r "$srcdir/$ac_unique_file"; then
2291 + ac_srcdir_defaulted=no
2293 +if test ! -r "$srcdir/$ac_unique_file"; then
2294 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2295 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
2296 + { (exit 1); exit 1; }; }
2298 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2300 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
2301 + { (exit 1); exit 1; }; }
2303 +# When building in place, set srcdir=.
2304 +if test "$ac_abs_confdir" = "$ac_pwd"; then
2307 +# Remove unnecessary trailing slashes from srcdir.
2308 +# Double slashes in file names in object file debugging info
2309 +# mess up M-x gdb in Emacs.
2311 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2313 +for ac_var in $ac_precious_vars; do
2314 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
2315 + eval ac_env_${ac_var}_value=\$${ac_var}
2316 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2317 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
2321 +# Report the --help message.
2323 +if test "$ac_init_help" = "long"; then
2324 + # Omit some internal or obsolete options to make the list less imposing.
2325 + # This message is too long to be a string in the A/UX 3.1 sh.
2327 +\`configure' configures gc 6.8 to adapt to many kinds of systems.
2329 +Usage: $0 [OPTION]... [VAR=VALUE]...
2331 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
2332 +VAR=VALUE. See below for descriptions of some of the useful variables.
2334 +Defaults for the options are specified in brackets.
2337 + -h, --help display this help and exit
2338 + --help=short display options specific to this package
2339 + --help=recursive display the short help of all the included packages
2340 + -V, --version display version information and exit
2341 + -q, --quiet, --silent do not print \`checking...' messages
2342 + --cache-file=FILE cache test results in FILE [disabled]
2343 + -C, --config-cache alias for \`--cache-file=config.cache'
2344 + -n, --no-create do not create output files
2345 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
2347 +Installation directories:
2348 + --prefix=PREFIX install architecture-independent files in PREFIX
2349 + [$ac_default_prefix]
2350 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2353 +By default, \`make install' will install all the files in
2354 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2355 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2356 +for instance \`--prefix=\$HOME'.
2358 +For better control, use the options below.
2360 +Fine tuning of the installation directories:
2361 + --bindir=DIR user executables [EPREFIX/bin]
2362 + --sbindir=DIR system admin executables [EPREFIX/sbin]
2363 + --libexecdir=DIR program executables [EPREFIX/libexec]
2364 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2365 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2366 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2367 + --libdir=DIR object code libraries [EPREFIX/lib]
2368 + --includedir=DIR C header files [PREFIX/include]
2369 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
2370 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2371 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2372 + --infodir=DIR info documentation [DATAROOTDIR/info]
2373 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2374 + --mandir=DIR man documentation [DATAROOTDIR/man]
2375 + --docdir=DIR documentation root [DATAROOTDIR/doc/gc]
2376 + --htmldir=DIR html documentation [DOCDIR]
2377 + --dvidir=DIR dvi documentation [DOCDIR]
2378 + --pdfdir=DIR pdf documentation [DOCDIR]
2379 + --psdir=DIR ps documentation [DOCDIR]
2385 + --program-prefix=PREFIX prepend PREFIX to installed program names
2386 + --program-suffix=SUFFIX append SUFFIX to installed program names
2387 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2390 + --build=BUILD configure for building on BUILD [guessed]
2391 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
2392 + --target=TARGET configure for building compilers for TARGET [HOST]
2396 +if test -n "$ac_init_help"; then
2397 + case $ac_init_help in
2398 + short | recursive ) echo "Configuration of gc 6.8:";;
2403 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2404 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2405 + --disable-dependency-tracking speeds up one-time build
2406 + --enable-dependency-tracking do not reject slow dependency extractors
2407 + --enable-maintainer-mode enable make rules and dependencies not useful
2408 + (and sometimes confusing) to the casual installer
2409 + --enable-threads=TYPE choose threading package
2410 + --enable-parallel-mark parallelize marking and free list construction
2411 + --enable-cplusplus install C++ support
2412 + --enable-shared[=PKGS] build shared libraries [default=yes]
2413 + --enable-static[=PKGS] build static libraries [default=yes]
2414 + --enable-fast-install[=PKGS]
2415 + optimize for fast installation [default=yes]
2416 + --disable-libtool-lock avoid locking (might break parallel builds)
2417 + --enable-full-debug include full support for pointer backtracing etc.
2418 + --enable-redirect-malloc redirect malloc and friends to GC routines
2419 + --enable-gc-assertions collector-internal assertion checking
2422 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2423 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2424 + --with-ecos enable runtime eCos target support
2425 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2426 + --with-pic try to use only PIC/non-PIC objects [default=use
2428 + --with-tags[=TAGS] include additional configurations [automatic]
2429 + --with-target-subdir=SUBDIR
2430 + configuring with a cross compiler
2431 + --with-cross-host=HOST configuring with a cross compiler
2433 +Some influential environment variables:
2434 + CC C compiler command
2435 + CFLAGS C compiler flags
2436 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2437 + nonstandard directory <lib dir>
2438 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2439 + you have headers in a nonstandard directory <include dir>
2440 + CXX C++ compiler command
2441 + CXXFLAGS C++ compiler flags
2442 + CCAS assembler compiler command (defaults to CC)
2443 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2444 + CPP C preprocessor
2445 + CXXCPP C++ preprocessor
2446 + F77 Fortran 77 compiler command
2447 + FFLAGS Fortran 77 compiler flags
2449 +Use these variables to override the choices made by `configure' or to help
2450 +it to find libraries and programs with nonstandard names/locations.
2452 +Report bugs to <Hans.Boehm@hp.com>.
2457 +if test "$ac_init_help" = "recursive"; then
2458 + # If there are subdirs, report their specific --help.
2459 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2460 + test -d "$ac_dir" || continue
2464 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2466 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2467 + # A ".." for each directory in $ac_dir_suffix.
2468 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2469 + case $ac_top_builddir_sub in
2470 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2471 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2474 +ac_abs_top_builddir=$ac_pwd
2475 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
2476 +# for backward compatibility:
2477 +ac_top_builddir=$ac_top_build_prefix
2480 + .) # We are building in place.
2482 + ac_top_srcdir=$ac_top_builddir_sub
2483 + ac_abs_top_srcdir=$ac_pwd ;;
2484 + [\\/]* | ?:[\\/]* ) # Absolute name.
2485 + ac_srcdir=$srcdir$ac_dir_suffix;
2486 + ac_top_srcdir=$srcdir
2487 + ac_abs_top_srcdir=$srcdir ;;
2488 + *) # Relative name.
2489 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2490 + ac_top_srcdir=$ac_top_build_prefix$srcdir
2491 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2493 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2495 + cd "$ac_dir" || { ac_status=$?; continue; }
2496 + # Check for guested configure.
2497 + if test -f "$ac_srcdir/configure.gnu"; then
2499 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2500 + elif test -f "$ac_srcdir/configure"; then
2502 + $SHELL "$ac_srcdir/configure" --help=recursive
2504 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2505 + fi || ac_status=$?
2506 + cd "$ac_pwd" || { ac_status=$?; break; }
2510 +test -n "$ac_init_help" && exit $ac_status
2511 +if $ac_init_version; then
2514 +generated by GNU Autoconf 2.60a
2516 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2517 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2518 +This configure script is free software; the Free Software Foundation
2519 +gives unlimited permission to copy, distribute and modify it.
2523 +cat >config.log <<_ACEOF
2524 +This file contains any messages produced by compilers while
2525 +running configure, to aid debugging if configure makes a mistake.
2527 +It was created by gc $as_me 6.8, which was
2528 +generated by GNU Autoconf 2.60a. Invocation command line was
2540 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2541 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
2542 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
2543 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
2544 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
2546 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2547 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2549 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2550 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2551 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2552 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2553 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2554 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2555 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2559 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 +for as_dir in $PATH
2563 + test -z "$as_dir" && as_dir=.
2564 + echo "PATH: $as_dir"
2580 +# Keep a trace of the command line.
2581 +# Strip out --no-create and --no-recursion so they do not pile up.
2582 +# Strip out --silent because we don't want to record it for future runs.
2583 +# Also quote any args containing shell meta-characters.
2584 +# Make two passes to allow for proper duplicate-argument suppression.
2586 +ac_configure_args0=
2587 +ac_configure_args1=
2588 +ac_must_keep_next=false
2594 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2595 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2596 + | -silent | --silent | --silen | --sile | --sil)
2599 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2602 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2604 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2605 + if test $ac_must_keep_next = true; then
2606 + ac_must_keep_next=false # Got value, back to normal.
2609 + *=* | --config-cache | -C | -disable-* | --disable-* \
2610 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2611 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2612 + | -with-* | --with-* | -without-* | --without-* | --x)
2613 + case "$ac_configure_args0 " in
2614 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2617 + -* ) ac_must_keep_next=true ;;
2620 + ac_configure_args="$ac_configure_args '$ac_arg'"
2625 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2626 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2628 +# When interrupted or exit'd, cleanup temporary files, and complete
2629 +# config.log. We remove comments because anyway the quotes in there
2630 +# would cause problems or look ugly.
2631 +# WARNING: Use '\'' to represent an apostrophe within the trap.
2632 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2633 +trap 'exit_status=$?
2634 + # Save into config.log some information that might help in debugging.
2639 +## ---------------- ##
2640 +## Cache variables. ##
2641 +## ---------------- ##
2644 + # The following way of writing the cache mishandles newlines in values,
2646 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2647 + eval ac_val=\$$ac_var
2648 + case $ac_val in #(
2650 + case $ac_var in #(
2651 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2652 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2654 + case $ac_var in #(
2655 + _ | IFS | as_nl) ;; #(
2656 + *) $as_unset $ac_var ;;
2661 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2662 + *${as_nl}ac_space=\ *)
2664 + "s/'\''/'\''\\\\'\'''\''/g;
2665 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2668 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2676 +## ----------------- ##
2677 +## Output variables. ##
2678 +## ----------------- ##
2681 + for ac_var in $ac_subst_vars
2683 + eval ac_val=\$$ac_var
2685 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2687 + echo "$ac_var='\''$ac_val'\''"
2691 + if test -n "$ac_subst_files"; then
2693 +## ------------------- ##
2694 +## File substitutions. ##
2695 +## ------------------- ##
2698 + for ac_var in $ac_subst_files
2700 + eval ac_val=\$$ac_var
2702 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2704 + echo "$ac_var='\''$ac_val'\''"
2709 + if test -s confdefs.h; then
2719 + test "$ac_signal" != 0 &&
2720 + echo "$as_me: caught signal $ac_signal"
2721 + echo "$as_me: exit $exit_status"
2723 + rm -f core *.core core.conftest.* &&
2724 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2727 +for ac_signal in 1 2 13 15; do
2728 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2732 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
2733 +rm -f -r conftest* confdefs.h
2735 +# Predefined preprocessor variables.
2737 +cat >>confdefs.h <<_ACEOF
2738 +#define PACKAGE_NAME "$PACKAGE_NAME"
2742 +cat >>confdefs.h <<_ACEOF
2743 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2747 +cat >>confdefs.h <<_ACEOF
2748 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
2752 +cat >>confdefs.h <<_ACEOF
2753 +#define PACKAGE_STRING "$PACKAGE_STRING"
2757 +cat >>confdefs.h <<_ACEOF
2758 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2762 +# Let the site file select an alternate cache file if it wants to.
2763 +# Prefer explicitly selected file to automatically selected ones.
2764 +if test -n "$CONFIG_SITE"; then
2765 + set x "$CONFIG_SITE"
2766 +elif test "x$prefix" != xNONE; then
2767 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
2769 + set x "$ac_default_prefix/share/config.site" \
2770 + "$ac_default_prefix/etc/config.site"
2775 + if test -r "$ac_site_file"; then
2776 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2777 +echo "$as_me: loading site script $ac_site_file" >&6;}
2778 + sed 's/^/| /' "$ac_site_file" >&5
2783 +if test -r "$cache_file"; then
2784 + # Some versions of bash will fail to source /dev/null (special
2785 + # files actually), so we avoid doing that.
2786 + if test -f "$cache_file"; then
2787 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2788 +echo "$as_me: loading cache $cache_file" >&6;}
2789 + case $cache_file in
2790 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
2791 + *) . "./$cache_file";;
2795 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2796 +echo "$as_me: creating cache $cache_file" >&6;}
2800 +# Check that the precious variables saved in the cache have kept the same
2802 +ac_cache_corrupted=false
2803 +for ac_var in $ac_precious_vars; do
2804 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
2805 + eval ac_new_set=\$ac_env_${ac_var}_set
2806 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
2807 + eval ac_new_val=\$ac_env_${ac_var}_value
2808 + case $ac_old_set,$ac_new_set in
2810 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2811 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2812 + ac_cache_corrupted=: ;;
2814 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2815 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2816 + ac_cache_corrupted=: ;;
2819 + if test "x$ac_old_val" != "x$ac_new_val"; then
2820 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2821 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2822 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2823 +echo "$as_me: former value: $ac_old_val" >&2;}
2824 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2825 +echo "$as_me: current value: $ac_new_val" >&2;}
2826 + ac_cache_corrupted=:
2829 + # Pass precious variables to config.status.
2830 + if test "$ac_new_set" = set; then
2831 + case $ac_new_val in
2832 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2833 + *) ac_arg=$ac_var=$ac_new_val ;;
2835 + case " $ac_configure_args " in
2836 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2837 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2841 +if $ac_cache_corrupted; then
2842 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2843 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2844 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2845 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2846 + { (exit 1); exit 1; }; }
2874 +ac_cpp='$CPP $CPPFLAGS'
2875 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2880 + ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
2883 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2884 + if test -f "$ac_dir/install-sh"; then
2885 + ac_aux_dir=$ac_dir
2886 + ac_install_sh="$ac_aux_dir/install-sh -c"
2888 + elif test -f "$ac_dir/install.sh"; then
2889 + ac_aux_dir=$ac_dir
2890 + ac_install_sh="$ac_aux_dir/install.sh -c"
2892 + elif test -f "$ac_dir/shtool"; then
2893 + ac_aux_dir=$ac_dir
2894 + ac_install_sh="$ac_aux_dir/shtool install -c"
2898 +if test -z "$ac_aux_dir"; then
2899 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2900 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2901 + { (exit 1); exit 1; }; }
2904 +# These three variables are undocumented and unsupported,
2905 +# and are intended to be withdrawn in a future Autoconf release.
2906 +# They can cause serious problems if a builder's source tree is in a directory
2907 +# whose full name contains unusual characters.
2908 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2909 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2910 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2913 +# Make sure we can run config.sub.
2914 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2915 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2916 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2917 + { (exit 1); exit 1; }; }
2919 +{ echo "$as_me:$LINENO: checking build system type" >&5
2920 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2921 +if test "${ac_cv_build+set}" = set; then
2922 + echo $ECHO_N "(cached) $ECHO_C" >&6
2924 + ac_build_alias=$build_alias
2925 +test "x$ac_build_alias" = x &&
2926 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2927 +test "x$ac_build_alias" = x &&
2928 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2929 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2930 + { (exit 1); exit 1; }; }
2931 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2932 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2933 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2934 + { (exit 1); exit 1; }; }
2937 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2938 +echo "${ECHO_T}$ac_cv_build" >&6; }
2939 +case $ac_cv_build in
2941 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2942 +echo "$as_me: error: invalid value of canonical build" >&2;}
2943 + { (exit 1); exit 1; }; };;
2946 +ac_save_IFS=$IFS; IFS='-'
2952 +# Remember, the first character of IFS is used to create $*,
2953 +# except with old shells:
2956 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 +{ echo "$as_me:$LINENO: checking host system type" >&5
2960 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2961 +if test "${ac_cv_host+set}" = set; then
2962 + echo $ECHO_N "(cached) $ECHO_C" >&6
2964 + if test "x$host_alias" = x; then
2965 + ac_cv_host=$ac_cv_build
2967 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2969 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2970 + { (exit 1); exit 1; }; }
2974 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2975 +echo "${ECHO_T}$ac_cv_host" >&6; }
2976 +case $ac_cv_host in
2978 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2979 +echo "$as_me: error: invalid value of canonical host" >&2;}
2980 + { (exit 1); exit 1; }; };;
2983 +ac_save_IFS=$IFS; IFS='-'
2989 +# Remember, the first character of IFS is used to create $*,
2990 +# except with old shells:
2993 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2996 +{ echo "$as_me:$LINENO: checking target system type" >&5
2997 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2998 +if test "${ac_cv_target+set}" = set; then
2999 + echo $ECHO_N "(cached) $ECHO_C" >&6
3001 + if test "x$target_alias" = x; then
3002 + ac_cv_target=$ac_cv_host
3004 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3005 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3006 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3007 + { (exit 1); exit 1; }; }
3011 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3012 +echo "${ECHO_T}$ac_cv_target" >&6; }
3013 +case $ac_cv_target in
3015 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3016 +echo "$as_me: error: invalid value of canonical target" >&2;}
3017 + { (exit 1); exit 1; }; };;
3019 +target=$ac_cv_target
3020 +ac_save_IFS=$IFS; IFS='-'
3021 +set x $ac_cv_target
3026 +# Remember, the first character of IFS is used to create $*,
3027 +# except with old shells:
3030 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3033 +# The aliases save the names the user supplied, while $host etc.
3034 +# will get canonicalized.
3035 +test -n "$target_alias" &&
3036 + test "$program_prefix$program_suffix$program_transform_name" = \
3038 + program_prefix=${target_alias}-
3042 + { echo "$as_me:$LINENO: checking GC version numbers" >&5
3043 +echo $ECHO_N "checking GC version numbers... $ECHO_C" >&6; }
3044 + GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`
3045 + GC_VERSION_MINOR=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.]\([0-9][0-9]*\).*$/\1/g'`
3046 + GC_ALPHA_VERSION=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.][0-9]*//'`
3048 + case "$GC_ALPHA_VERSION" in
3050 + GC_ALPHA_VERSION=`echo $GC_ALPHA_VERSION \
3051 + | sed 's/alpha\([0-9][0-9]*\)/\1/'` ;;
3052 + *) GC_ALPHA_MAJOR='' ;;
3055 + if test :$GC_VERSION_MAJOR: = :: \
3056 + -o :$GC_VERSION_MINOR: = :: ;
3058 + { echo "$as_me:$LINENO: result: invalid" >&5
3059 +echo "${ECHO_T}invalid" >&6; }
3060 + { { echo "$as_me:$LINENO: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&5
3061 +echo "$as_me: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&2;}
3062 + { (exit 1); exit 1; }; }
3065 + cat >>confdefs.h <<_ACEOF
3066 +#define GC_VERSION_MAJOR $GC_VERSION_MAJOR
3069 + cat >>confdefs.h <<_ACEOF
3070 +#define GC_VERSION_MINOR $GC_VERSION_MINOR
3073 + if test :$GC_ALPHA_VERSION: != :: ; then
3074 + cat >>confdefs.h <<_ACEOF
3075 +#define GC_ALPHA_VERSION $GC_ALPHA_VERSION
3079 + { echo "$as_me:$LINENO: result: major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
3080 +${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&5
3081 +echo "${ECHO_T}major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
3082 +${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&6; }
3084 +am__api_version="1.9"
3085 +# Find a good install program. We prefer a C program (faster),
3086 +# so one script is as good as another. But avoid the broken or
3087 +# incompatible versions:
3088 +# SysV /etc/install, /usr/sbin/install
3089 +# SunOS /usr/etc/install
3090 +# IRIX /sbin/install
3092 +# AmigaOS /C/install, which installs bootblocks on floppy discs
3093 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3094 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3095 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3096 +# OS/2's system install, which has a completely different semantic
3097 +# ./install, which can be erroneously created by make from ./install.sh.
3098 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3099 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3100 +if test -z "$INSTALL"; then
3101 +if test "${ac_cv_path_install+set}" = set; then
3102 + echo $ECHO_N "(cached) $ECHO_C" >&6
3104 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 +for as_dir in $PATH
3108 + test -z "$as_dir" && as_dir=.
3109 + # Account for people who put trailing slashes in PATH elements.
3111 + ./ | .// | /cC/* | \
3112 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3113 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3116 + # OSF1 and SCO ODT 3.0 have their own names for install.
3117 + # Don't use installbsd from OSF since it installs stuff as root
3119 + for ac_prog in ginstall scoinst install; do
3120 + for ac_exec_ext in '' $ac_executable_extensions; do
3121 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3122 + if test $ac_prog = install &&
3123 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3124 + # AIX install. It has an incompatible calling convention.
3126 + elif test $ac_prog = install &&
3127 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 + # program-specific install script used by HP pwplus--don't use.
3131 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3144 + if test "${ac_cv_path_install+set}" = set; then
3145 + INSTALL=$ac_cv_path_install
3147 + # As a last resort, use the slow shell script. Don't cache a
3148 + # value for INSTALL within a source directory, because that will
3149 + # break other packages using the cache if that directory is
3150 + # removed, or if the value is a relative name.
3151 + INSTALL=$ac_install_sh
3154 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3155 +echo "${ECHO_T}$INSTALL" >&6; }
3157 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3158 +# It thinks the first close brace ends the variable substitution.
3159 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3161 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3163 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3165 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3166 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3169 +echo timestamp > conftest.file
3170 +# Do `set' in a subshell so we don't clobber the current shell's
3171 +# arguments. Must try -L first in case configure is actually a
3172 +# symlink; some systems play weird games with the mod time of symlinks
3173 +# (eg FreeBSD returns the mod time of the symlink's containing
3176 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3177 + if test "$*" = "X"; then
3179 + set X `ls -t $srcdir/configure conftest.file`
3181 + rm -f conftest.file
3182 + if test "$*" != "X $srcdir/configure conftest.file" \
3183 + && test "$*" != "X conftest.file $srcdir/configure"; then
3185 + # If neither matched, then we have a broken ls. This can happen
3186 + # if, for instance, CONFIG_SHELL is bash and it inherits a
3187 + # broken ls alias from the environment. This has actually
3188 + # happened. Such a system could not be considered "sane".
3189 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3190 +alias in your environment" >&5
3191 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3192 +alias in your environment" >&2;}
3193 + { (exit 1); exit 1; }; }
3196 + test "$2" = conftest.file
3202 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3203 +Check your system clock" >&5
3204 +echo "$as_me: error: newly created file is older than distributed files!
3205 +Check your system clock" >&2;}
3206 + { (exit 1); exit 1; }; }
3208 +{ echo "$as_me:$LINENO: result: yes" >&5
3209 +echo "${ECHO_T}yes" >&6; }
3210 +test "$program_prefix" != NONE &&
3211 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3212 +# Use a double $ so make ignores it.
3213 +test "$program_suffix" != NONE &&
3214 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3215 +# Double any \ or $. echo might interpret backslashes.
3216 +# By default was `s,x,x', remove it if useless.
3217 +cat <<\_ACEOF >conftest.sed
3218 +s/[\\$]/&&/g;s/;s,x,x,$//
3220 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3223 +# expand $ac_aux_dir to an absolute path
3224 +am_aux_dir=`cd $ac_aux_dir && pwd`
3226 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3227 +# Use eval to expand $SHELL
3228 +if eval "$MISSING --run true"; then
3229 + am_missing_run="$MISSING --run "
3232 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3233 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3236 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3237 + # We used to keeping the `.' as first argument, in order to
3238 + # allow $(mkdir_p) to be used without argument. As in
3239 + # $(mkdir_p) $(somedir)
3240 + # where $(somedir) is conditionally defined. However this is wrong
3241 + # for two reasons:
3242 + # 1. if the package is installed by a user who cannot write `.'
3243 + # make install will fail,
3244 + # 2. the above comment should most certainly read
3245 + # $(mkdir_p) $(DESTDIR)$(somedir)
3246 + # so it does not work when $(somedir) is undefined and
3247 + # $(DESTDIR) is not.
3248 + # To support the latter case, we have to write
3249 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3250 + # so the `.' trick is pointless.
3251 + mkdir_p='mkdir -p --'
3253 + # On NextStep and OpenStep, the `mkdir' command does not
3254 + # recognize any option. It will interpret all options as
3255 + # directories to create, and then abort because `.' already
3257 + for d in ./-p ./--version;
3259 + test -d $d && rmdir $d
3261 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3262 + if test -f "$ac_aux_dir/mkinstalldirs"; then
3263 + mkdir_p='$(mkinstalldirs)'
3265 + mkdir_p='$(install_sh) -d'
3269 +for ac_prog in gawk mawk nawk awk
3271 + # Extract the first word of "$ac_prog", so it can be a program name with args.
3272 +set dummy $ac_prog; ac_word=$2
3273 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3274 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3275 +if test "${ac_cv_prog_AWK+set}" = set; then
3276 + echo $ECHO_N "(cached) $ECHO_C" >&6
3278 + if test -n "$AWK"; then
3279 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
3281 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 +for as_dir in $PATH
3285 + test -z "$as_dir" && as_dir=.
3286 + for ac_exec_ext in '' $ac_executable_extensions; do
3287 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3288 + ac_cv_prog_AWK="$ac_prog"
3289 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 +AWK=$ac_cv_prog_AWK
3299 +if test -n "$AWK"; then
3300 + { echo "$as_me:$LINENO: result: $AWK" >&5
3301 +echo "${ECHO_T}$AWK" >&6; }
3303 + { echo "$as_me:$LINENO: result: no" >&5
3304 +echo "${ECHO_T}no" >&6; }
3308 + test -n "$AWK" && break
3311 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3312 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3313 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3314 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3315 + echo $ECHO_N "(cached) $ECHO_C" >&6
3317 + cat >conftest.make <<\_ACEOF
3320 + @echo '@@@%%%=$(MAKE)=@@@%%%'
3322 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3323 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
3324 + *@@@%%%=?*=@@@%%%*)
3325 + eval ac_cv_prog_make_${ac_make}_set=yes;;
3327 + eval ac_cv_prog_make_${ac_make}_set=no;;
3329 +rm -f conftest.make
3331 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3332 + { echo "$as_me:$LINENO: result: yes" >&5
3333 +echo "${ECHO_T}yes" >&6; }
3336 + { echo "$as_me:$LINENO: result: no" >&5
3337 +echo "${ECHO_T}no" >&6; }
3338 + SET_MAKE="MAKE=${MAKE-make}"
3341 +rm -rf .tst 2>/dev/null
3342 +mkdir .tst 2>/dev/null
3343 +if test -d .tst; then
3348 +rmdir .tst 2>/dev/null
3350 +# test to see if srcdir already configured
3351 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
3352 + test -f $srcdir/config.status; then
3353 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3354 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3355 + { (exit 1); exit 1; }; }
3358 +# test whether we have cygpath
3359 +if test -z "$CYGPATH_W"; then
3360 + if (cygpath --version) >/dev/null 2>/dev/null; then
3361 + CYGPATH_W='cygpath -w'
3368 +# Define the identity of the package.
3373 +cat >>confdefs.h <<_ACEOF
3374 +#define PACKAGE "$PACKAGE"
3378 +cat >>confdefs.h <<_ACEOF
3379 +#define VERSION "$VERSION"
3382 +# Some tools Automake needs.
3384 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3387 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3390 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3393 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3396 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3398 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
3400 +# Installed binaries are usually stripped using `strip' when the user
3401 +# run `make install-strip'. However `strip' might not be the right
3402 +# tool to use in cross-compilation environments, therefore Automake
3403 +# will honor the `STRIP' environment variable to overrule this program.
3404 +if test "$cross_compiling" != no; then
3405 + if test -n "$ac_tool_prefix"; then
3406 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3407 +set dummy ${ac_tool_prefix}strip; ac_word=$2
3408 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3409 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3410 +if test "${ac_cv_prog_STRIP+set}" = set; then
3411 + echo $ECHO_N "(cached) $ECHO_C" >&6
3413 + if test -n "$STRIP"; then
3414 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3416 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 +for as_dir in $PATH
3420 + test -z "$as_dir" && as_dir=.
3421 + for ac_exec_ext in '' $ac_executable_extensions; do
3422 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3423 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3424 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 +STRIP=$ac_cv_prog_STRIP
3434 +if test -n "$STRIP"; then
3435 + { echo "$as_me:$LINENO: result: $STRIP" >&5
3436 +echo "${ECHO_T}$STRIP" >&6; }
3438 + { echo "$as_me:$LINENO: result: no" >&5
3439 +echo "${ECHO_T}no" >&6; }
3444 +if test -z "$ac_cv_prog_STRIP"; then
3445 + ac_ct_STRIP=$STRIP
3446 + # Extract the first word of "strip", so it can be a program name with args.
3447 +set dummy strip; ac_word=$2
3448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3450 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3451 + echo $ECHO_N "(cached) $ECHO_C" >&6
3453 + if test -n "$ac_ct_STRIP"; then
3454 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3456 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 +for as_dir in $PATH
3460 + test -z "$as_dir" && as_dir=.
3461 + for ac_exec_ext in '' $ac_executable_extensions; do
3462 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3463 + ac_cv_prog_ac_ct_STRIP="strip"
3464 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3474 +if test -n "$ac_ct_STRIP"; then
3475 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3476 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3478 + { echo "$as_me:$LINENO: result: no" >&5
3479 +echo "${ECHO_T}no" >&6; }
3482 + if test "x$ac_ct_STRIP" = x; then
3485 + case $cross_compiling:$ac_tool_warned in
3487 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3488 +whose name does not start with the host triplet. If you think this
3489 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3490 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3491 +whose name does not start with the host triplet. If you think this
3492 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3493 +ac_tool_warned=yes ;;
3495 + STRIP=$ac_ct_STRIP
3498 + STRIP="$ac_cv_prog_STRIP"
3502 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3504 +# We need awk for the "check" target. The system "awk" is bad on
3506 +# Always define AMTAR for backward compatibility.
3508 +AMTAR=${AMTAR-"${am_missing_run}tar"}
3510 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3521 +ac_cpp='$CPP $CPPFLAGS'
3522 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3525 +if test -n "$ac_tool_prefix"; then
3526 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3527 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
3528 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3530 +if test "${ac_cv_prog_CC+set}" = set; then
3531 + echo $ECHO_N "(cached) $ECHO_C" >&6
3533 + if test -n "$CC"; then
3534 + ac_cv_prog_CC="$CC" # Let the user override the test.
3536 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 +for as_dir in $PATH
3540 + test -z "$as_dir" && as_dir=.
3541 + for ac_exec_ext in '' $ac_executable_extensions; do
3542 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3543 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
3544 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 +if test -n "$CC"; then
3555 + { echo "$as_me:$LINENO: result: $CC" >&5
3556 +echo "${ECHO_T}$CC" >&6; }
3558 + { echo "$as_me:$LINENO: result: no" >&5
3559 +echo "${ECHO_T}no" >&6; }
3564 +if test -z "$ac_cv_prog_CC"; then
3566 + # Extract the first word of "gcc", so it can be a program name with args.
3567 +set dummy gcc; ac_word=$2
3568 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3569 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3570 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3571 + echo $ECHO_N "(cached) $ECHO_C" >&6
3573 + if test -n "$ac_ct_CC"; then
3574 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3576 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 +for as_dir in $PATH
3580 + test -z "$as_dir" && as_dir=.
3581 + for ac_exec_ext in '' $ac_executable_extensions; do
3582 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 + ac_cv_prog_ac_ct_CC="gcc"
3584 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
3594 +if test -n "$ac_ct_CC"; then
3595 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3596 +echo "${ECHO_T}$ac_ct_CC" >&6; }
3598 + { echo "$as_me:$LINENO: result: no" >&5
3599 +echo "${ECHO_T}no" >&6; }
3602 + if test "x$ac_ct_CC" = x; then
3605 + case $cross_compiling:$ac_tool_warned in
3607 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3608 +whose name does not start with the host triplet. If you think this
3609 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3610 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3611 +whose name does not start with the host triplet. If you think this
3612 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3613 +ac_tool_warned=yes ;;
3618 + CC="$ac_cv_prog_CC"
3621 +if test -z "$CC"; then
3622 + if test -n "$ac_tool_prefix"; then
3623 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3624 +set dummy ${ac_tool_prefix}cc; ac_word=$2
3625 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 +if test "${ac_cv_prog_CC+set}" = set; then
3628 + echo $ECHO_N "(cached) $ECHO_C" >&6
3630 + if test -n "$CC"; then
3631 + ac_cv_prog_CC="$CC" # Let the user override the test.
3633 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 +for as_dir in $PATH
3637 + test -z "$as_dir" && as_dir=.
3638 + for ac_exec_ext in '' $ac_executable_extensions; do
3639 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 + ac_cv_prog_CC="${ac_tool_prefix}cc"
3641 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 +if test -n "$CC"; then
3652 + { echo "$as_me:$LINENO: result: $CC" >&5
3653 +echo "${ECHO_T}$CC" >&6; }
3655 + { echo "$as_me:$LINENO: result: no" >&5
3656 +echo "${ECHO_T}no" >&6; }
3662 +if test -z "$CC"; then
3663 + # Extract the first word of "cc", so it can be a program name with args.
3664 +set dummy cc; ac_word=$2
3665 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3667 +if test "${ac_cv_prog_CC+set}" = set; then
3668 + echo $ECHO_N "(cached) $ECHO_C" >&6
3670 + if test -n "$CC"; then
3671 + ac_cv_prog_CC="$CC" # Let the user override the test.
3673 + ac_prog_rejected=no
3674 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 +for as_dir in $PATH
3678 + test -z "$as_dir" && as_dir=.
3679 + for ac_exec_ext in '' $ac_executable_extensions; do
3680 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3682 + ac_prog_rejected=yes
3685 + ac_cv_prog_CC="cc"
3686 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 +if test $ac_prog_rejected = yes; then
3694 + # We found a bogon in the path, so make sure we never use it.
3695 + set dummy $ac_cv_prog_CC
3697 + if test $# != 0; then
3698 + # We chose a different compiler from the bogus one.
3699 + # However, it has the same basename, so the bogon will be chosen
3700 + # first if we set CC to just the basename; use the full file name.
3702 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3708 +if test -n "$CC"; then
3709 + { echo "$as_me:$LINENO: result: $CC" >&5
3710 +echo "${ECHO_T}$CC" >&6; }
3712 + { echo "$as_me:$LINENO: result: no" >&5
3713 +echo "${ECHO_T}no" >&6; }
3718 +if test -z "$CC"; then
3719 + if test -n "$ac_tool_prefix"; then
3720 + for ac_prog in cl.exe
3722 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3723 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3724 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3725 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3726 +if test "${ac_cv_prog_CC+set}" = set; then
3727 + echo $ECHO_N "(cached) $ECHO_C" >&6
3729 + if test -n "$CC"; then
3730 + ac_cv_prog_CC="$CC" # Let the user override the test.
3732 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 +for as_dir in $PATH
3736 + test -z "$as_dir" && as_dir=.
3737 + for ac_exec_ext in '' $ac_executable_extensions; do
3738 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3739 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3740 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 +if test -n "$CC"; then
3751 + { echo "$as_me:$LINENO: result: $CC" >&5
3752 +echo "${ECHO_T}$CC" >&6; }
3754 + { echo "$as_me:$LINENO: result: no" >&5
3755 +echo "${ECHO_T}no" >&6; }
3759 + test -n "$CC" && break