3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-multilib build many library versions (default)"
17 --enable-maintainer-mode enable make rules and dependencies not useful
18 (and sometimes confusing) to the casual installer"
20 --enable-shared[=PKGS] build shared libraries [default=yes]"
22 --enable-static[=PKGS] build static libraries [default=yes]"
24 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
26 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
28 --disable-libtool-lock avoid locking (might break parallel builds)"
30 --with-target-subdir=SUBDIR
31 configuring with a cross compiler"
33 --with-cross-host=HOST configuring with a cross compiler"
35 --enable-maintainer-mode enable make rules and dependencies not useful
36 (and sometimes confusing) to the casual installer"
38 --enable-threads=TYPE choose threading package"
40 --enable-parallel-mark parallelize marking and free list construction"
42 --with-ecos enable runtime eCos target support"
44 --enable-full-debug include full support for pointer backtracing etc."
46 # Initialize some variables set by options.
47 # The variables have the same names as the options, with
48 # dashes changed to underlines.
50 cache_file
=.
/config.cache
59 program_transform_name
=s
,x
,x
,
67 bindir
='${exec_prefix}/bin'
68 sbindir
='${exec_prefix}/sbin'
69 libexecdir
='${exec_prefix}/libexec'
70 datadir
='${prefix}/share'
71 sysconfdir
='${prefix}/etc'
72 sharedstatedir
='${prefix}/com'
73 localstatedir
='${prefix}/var'
74 libdir
='${exec_prefix}/lib'
75 includedir
='${prefix}/include'
76 oldincludedir
='/usr/include'
77 infodir
='${prefix}/info'
78 mandir
='${prefix}/man'
80 # Initialize some other variables.
83 SHELL
=${CONFIG_SHELL-/bin/sh}
84 # Maximum number of lines to put in a shell here document.
91 # If the previous option needs an argument, assign it.
92 if test -n "$ac_prev"; then
93 eval "$ac_prev=\$ac_option"
99 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
103 # Accept the important Cygnus configure options, so we can diagnose typos.
107 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
109 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
110 bindir
="$ac_optarg" ;;
112 -build |
--build |
--buil |
--bui |
--bu)
114 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
115 build
="$ac_optarg" ;;
117 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
118 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
119 ac_prev
=cache_file
;;
120 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
121 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
122 cache_file
="$ac_optarg" ;;
124 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
126 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
128 datadir
="$ac_optarg" ;;
130 -disable-* |
--disable-*)
131 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
132 # Reject names that are not valid shell variable names.
133 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
134 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
136 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
137 eval "enable_${ac_feature}=no" ;;
139 -enable-* |
--enable-*)
140 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
141 # Reject names that are not valid shell variable names.
142 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
143 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
145 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
150 eval "enable_${ac_feature}='$ac_optarg'" ;;
152 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
153 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
154 |
--exec |
--exe |
--ex)
155 ac_prev
=exec_prefix
;;
156 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
157 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
158 |
--exec=* |
--exe=* |
--ex=*)
159 exec_prefix
="$ac_optarg" ;;
161 -gas |
--gas |
--ga |
--g)
162 # Obsolete; use --with-gas.
165 -help |
--help |
--hel |
--he)
166 # Omit some internal or obsolete options to make the list less imposing.
167 # This message is too long to be a string in the A/UX 3.1 sh.
169 Usage: configure [options] [host]
170 Options: [defaults in brackets after descriptions]
172 --cache-file=FILE cache test results in FILE
173 --help print this message
174 --no-create do not create output files
175 --quiet, --silent do not print \`checking...' messages
176 --version print the version of autoconf that created configure
177 Directory and file names:
178 --prefix=PREFIX install architecture-independent files in PREFIX
180 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
182 --bindir=DIR user executables in DIR [EPREFIX/bin]
183 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
184 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
185 --datadir=DIR read-only architecture-independent data in DIR
187 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
188 --sharedstatedir=DIR modifiable architecture-independent data in DIR
190 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
191 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
192 --includedir=DIR C header files in DIR [PREFIX/include]
193 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
194 --infodir=DIR info documentation in DIR [PREFIX/info]
195 --mandir=DIR man documentation in DIR [PREFIX/man]
196 --srcdir=DIR find the sources in DIR [configure dir or ..]
197 --program-prefix=PREFIX prepend PREFIX to installed program names
198 --program-suffix=SUFFIX append SUFFIX to installed program names
199 --program-transform-name=PROGRAM
200 run sed PROGRAM on installed program names
204 --build=BUILD configure for building on BUILD [BUILD=HOST]
205 --host=HOST configure for HOST [guessed]
206 --target=TARGET configure for TARGET [TARGET=HOST]
207 Features and packages:
208 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
209 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
210 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
211 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
212 --x-includes=DIR X include files are in DIR
213 --x-libraries=DIR X library files are in DIR
215 if test -n "$ac_help"; then
216 echo "--enable and --with options recognized:$ac_help"
220 -host |
--host |
--hos |
--ho)
222 -host=* |
--host=* |
--hos=* |
--ho=*)
225 -includedir |
--includedir |
--includedi |
--included |
--include \
226 |
--includ |
--inclu |
--incl |
--inc)
227 ac_prev
=includedir
;;
228 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
229 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
230 includedir
="$ac_optarg" ;;
232 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
234 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
235 infodir
="$ac_optarg" ;;
237 -libdir |
--libdir |
--libdi |
--libd)
239 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
240 libdir
="$ac_optarg" ;;
242 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
243 |
--libexe |
--libex |
--libe)
244 ac_prev
=libexecdir
;;
245 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
246 |
--libexe=* |
--libex=* |
--libe=*)
247 libexecdir
="$ac_optarg" ;;
249 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
250 |
--localstate |
--localstat |
--localsta |
--localst \
251 |
--locals |
--local |
--loca |
--loc |
--lo)
252 ac_prev
=localstatedir
;;
253 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
254 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
255 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
256 localstatedir
="$ac_optarg" ;;
258 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
260 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
261 mandir
="$ac_optarg" ;;
264 # Obsolete; use --without-fp.
267 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
271 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
272 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
275 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
276 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
277 |
--oldin |
--oldi |
--old |
--ol |
--o)
278 ac_prev
=oldincludedir
;;
279 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
280 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
281 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
282 oldincludedir
="$ac_optarg" ;;
284 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
286 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
287 prefix
="$ac_optarg" ;;
289 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
290 |
--program-pre |
--program-pr |
--program-p)
291 ac_prev
=program_prefix
;;
292 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
293 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
294 program_prefix
="$ac_optarg" ;;
296 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
297 |
--program-suf |
--program-su |
--program-s)
298 ac_prev
=program_suffix
;;
299 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
300 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
301 program_suffix
="$ac_optarg" ;;
303 -program-transform-name |
--program-transform-name \
304 |
--program-transform-nam |
--program-transform-na \
305 |
--program-transform-n |
--program-transform- \
306 |
--program-transform |
--program-transfor \
307 |
--program-transfo |
--program-transf \
308 |
--program-trans |
--program-tran \
309 |
--progr-tra |
--program-tr |
--program-t)
310 ac_prev
=program_transform_name
;;
311 -program-transform-name=* |
--program-transform-name=* \
312 |
--program-transform-nam=* |
--program-transform-na=* \
313 |
--program-transform-n=* |
--program-transform-=* \
314 |
--program-transform=* |
--program-transfor=* \
315 |
--program-transfo=* |
--program-transf=* \
316 |
--program-trans=* |
--program-tran=* \
317 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
318 program_transform_name
="$ac_optarg" ;;
320 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
321 |
-silent |
--silent |
--silen |
--sile |
--sil)
324 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
326 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
328 sbindir
="$ac_optarg" ;;
330 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
331 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
332 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
334 ac_prev
=sharedstatedir
;;
335 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
336 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
337 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
339 sharedstatedir
="$ac_optarg" ;;
341 -site |
--site |
--sit)
343 -site=* |
--site=* |
--sit=*)
346 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
348 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
349 srcdir
="$ac_optarg" ;;
351 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
352 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
353 ac_prev
=sysconfdir
;;
354 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
355 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
356 sysconfdir
="$ac_optarg" ;;
358 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
360 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
361 target
="$ac_optarg" ;;
363 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
366 -version |
--version |
--versio |
--versi |
--vers)
367 echo "configure generated by autoconf version 2.13"
371 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
374 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
376 ac_package
=`echo $ac_package| sed 's/-/_/g'`
381 eval "with_${ac_package}='$ac_optarg'" ;;
383 -without-* |
--without-*)
384 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
385 # Reject names that are not valid shell variable names.
386 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
387 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
389 ac_package
=`echo $ac_package| sed 's/-/_/g'`
390 eval "with_${ac_package}=no" ;;
393 # Obsolete; use --with-x.
396 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
397 |
--x-incl |
--x-inc |
--x-in |
--x-i)
398 ac_prev
=x_includes
;;
399 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
400 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
401 x_includes
="$ac_optarg" ;;
403 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
404 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
405 ac_prev
=x_libraries
;;
406 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
407 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
408 x_libraries
="$ac_optarg" ;;
410 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
414 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
415 echo "configure: warning: $ac_option: invalid host type" 1>&2
417 if test "x$nonopt" != xNONE
; then
418 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
426 if test -n "$ac_prev"; then
427 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
430 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
432 # File descriptor usage:
435 # 2 errors and warnings
436 # 3 some systems may open it to /dev/tty
437 # 4 used on the Kubota Titan
438 # 6 checking for... messages and results
439 # 5 compiler messages saved in config.log
440 if test "$silent" = yes; then
448 This file contains any messages produced by compilers while
449 running configure, to aid debugging if configure makes a mistake.
452 # Strip out --no-create and --no-recursion so they do not pile up.
453 # Also quote any args containing shell metacharacters.
458 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
459 |
--no-cr |
--no-c) ;;
460 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
461 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
462 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
463 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
464 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
469 # Only set these to C if already set. These must not be set unconditionally
470 # because not all systems understand e.g. LANG=C (notably SCO).
471 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
472 # Non-C LC_CTYPE values break the ctype check.
473 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
474 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
475 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
476 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
478 # confdefs.h avoids OS command line length limits that DEFS can exceed.
479 rm -rf conftest
* confdefs.h
480 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
483 # A filename unique to this package, relative to the directory that
484 # configure is in, which we can look for to find out if srcdir is correct.
485 ac_unique_file
=gcj_mlc.c
487 # Find the source files, if location was not specified.
488 if test -z "$srcdir"; then
489 ac_srcdir_defaulted
=yes
490 # Try the directory containing this script, then its parent.
492 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
493 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
495 if test ! -r $srcdir/$ac_unique_file; then
499 ac_srcdir_defaulted
=no
501 if test ! -r $srcdir/$ac_unique_file; then
502 if test "$ac_srcdir_defaulted" = yes; then
503 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
505 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
508 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
510 # Prefer explicitly selected file to automatically selected ones.
511 if test -z "$CONFIG_SITE"; then
512 if test "x$prefix" != xNONE
; then
513 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
515 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
518 for ac_site_file
in $CONFIG_SITE; do
519 if test -r "$ac_site_file"; then
520 echo "loading site script $ac_site_file"
525 if test -r "$cache_file"; then
526 echo "loading cache $cache_file"
529 echo "creating cache $cache_file"
534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
535 ac_cpp
='$CPP $CPPFLAGS'
536 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
537 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
538 cross_compiling
=$ac_cv_prog_cc_cross
542 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
543 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
544 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
551 ac_n
= ac_c
='\c' ac_t
=
557 for ac_dir
in .
$srcdir/.
; do
558 if test -f $ac_dir/install-sh
; then
560 ac_install_sh
="$ac_aux_dir/install-sh -c"
562 elif test -f $ac_dir/install.sh
; then
564 ac_install_sh
="$ac_aux_dir/install.sh -c"
568 if test -z "$ac_aux_dir"; then
569 { echo "configure: error: can not find install-sh or install.sh in . $srcdir/." 1>&2; exit 1; }
571 ac_config_guess
=$ac_aux_dir/config.guess
572 ac_config_sub
=$ac_aux_dir/config.sub
573 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
577 # Do some error checking and defaulting for the host and target type.
579 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
582 # 1. You are not allowed to specify --host, --target, and nonopt at the
584 # 2. Host defaults to nonopt.
585 # 3. If nonopt is not specified, then host defaults to the current host,
586 # as determined by config.guess.
587 # 4. Target and build default to nonopt.
588 # 5. If nonopt is not specified, then target and build default to host.
590 # The aliases save the names the user supplied, while $host etc.
591 # will get canonicalized.
592 case $host---$target---$nonopt in
593 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
594 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
598 # Make sure we can run config.sub.
599 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
600 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
603 echo $ac_n "checking host system type""... $ac_c" 1>&6
604 echo "configure:605: checking host system type" >&5
607 case "$host_alias" in
611 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
612 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
614 *) host_alias
=$nonopt ;;
618 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
619 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
620 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
621 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
622 echo "$ac_t""$host" 1>&6
624 echo $ac_n "checking target system type""... $ac_c" 1>&6
625 echo "configure:626: checking target system type" >&5
628 case "$target_alias" in
631 NONE
) target_alias
=$host_alias ;;
632 *) target_alias
=$nonopt ;;
636 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
637 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
638 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
639 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
640 echo "$ac_t""$target" 1>&6
642 echo $ac_n "checking build system type""... $ac_c" 1>&6
643 echo "configure:644: checking build system type" >&5
646 case "$build_alias" in
649 NONE
) build_alias
=$host_alias ;;
650 *) build_alias
=$nonopt ;;
654 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
655 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
656 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
657 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
658 echo "$ac_t""$build" 1>&6
660 test "$host_alias" != "$target_alias" &&
661 test "$program_prefix$program_suffix$program_transform_name" = \
663 program_prefix
=${target_alias}-
666 # Find a good install program. We prefer a C program (faster),
667 # so one script is as good as another. But avoid the broken or
668 # incompatible versions:
669 # SysV /etc/install, /usr/sbin/install
670 # SunOS /usr/etc/install
673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
676 # ./install, which can be erroneously created by make from ./install.sh.
677 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
678 echo "configure:679: checking for a BSD compatible install" >&5
679 if test -z "$INSTALL"; then
680 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
681 echo $ac_n "(cached) $ac_c" 1>&6
683 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
684 for ac_dir
in $PATH; do
685 # Account for people who put trailing slashes in PATH elements.
687 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
689 # OSF1 and SCO ODT 3.0 have their own names for install.
690 # Don't use installbsd from OSF since it installs stuff as root
692 for ac_prog
in ginstall scoinst
install; do
693 if test -f $ac_dir/$ac_prog; then
694 if test $ac_prog = install &&
695 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
696 # AIX install. It has an incompatible calling convention.
699 ac_cv_path_install
="$ac_dir/$ac_prog -c"
710 if test "${ac_cv_path_install+set}" = set; then
711 INSTALL
="$ac_cv_path_install"
713 # As a last resort, use the slow shell script. We don't cache a
714 # path for INSTALL within a source directory, because that will
715 # break other packages using the cache if that directory is
716 # removed, or if the path is relative.
717 INSTALL
="$ac_install_sh"
720 echo "$ac_t""$INSTALL" 1>&6
722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
723 # It thinks the first close brace ends the variable substitution.
724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
728 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
730 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
731 echo "configure:732: checking whether build environment is sane" >&5
734 echo timestamp
> conftestfile
735 # Do `set' in a subshell so we don't clobber the current shell's
736 # arguments. Must try -L first in case configure is actually a
737 # symlink; some systems play weird games with the mod time of symlinks
738 # (eg FreeBSD returns the mod time of the symlink's containing
741 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
742 if test "$*" = "X"; then
744 set X
`ls -t $srcdir/configure conftestfile`
746 if test "$*" != "X $srcdir/configure conftestfile" \
747 && test "$*" != "X conftestfile $srcdir/configure"; then
749 # If neither matched, then we have a broken ls. This can happen
750 # if, for instance, CONFIG_SHELL is bash and it inherits a
751 # broken ls alias from the environment. This has actually
752 # happened. Such a system could not be considered "sane".
753 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
754 alias in your environment" 1>&2; exit 1; }
757 test "$2" = conftestfile
763 { echo "configure: error: newly created file is older than distributed files!
764 Check your system clock" 1>&2; exit 1; }
767 echo "$ac_t""yes" 1>&6
768 if test "$program_transform_name" = s
,x
,x
,; then
769 program_transform_name
=
771 # Double any \ or $. echo might interpret backslashes.
772 cat <<\EOF_SED
> conftestsed
773 s
,\\,\\\\,g
; s
,\$
,$$
,g
775 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
778 test "$program_prefix" != NONE
&&
779 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
780 # Use a double $ so make ignores it.
781 test "$program_suffix" != NONE
&&
782 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
784 # sed with no file args requires a program.
785 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
787 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
788 echo "configure:789: checking whether ${MAKE-make} sets \${MAKE}" >&5
789 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
790 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
791 echo $ac_n "(cached) $ac_c" 1>&6
793 cat > conftestmake
<<\EOF
795 @
echo 'ac_maketemp="${MAKE}"'
797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
798 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
799 if test -n "$ac_maketemp"; then
800 eval ac_cv_prog_make_
${ac_make}_set
=yes
802 eval ac_cv_prog_make_
${ac_make}_set
=no
806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
807 echo "$ac_t""yes" 1>&6
810 echo "$ac_t""no" 1>&6
811 SET_MAKE
="MAKE=${MAKE-make}"
814 if test $host != $build; then
815 ac_tool_prefix
=${host_alias}-
820 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
821 echo "configure:822: checking for Cygwin environment" >&5
822 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
825 cat > conftest.
$ac_ext <<EOF
826 #line 827 "configure"
827 #include "confdefs.h"
832 #define __CYGWIN__ __CYGWIN32__
837 if { (eval echo configure
:838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
841 echo "configure: failed program was:" >&5
842 cat conftest.
$ac_ext >&5
850 echo "$ac_t""$ac_cv_cygwin" 1>&6
852 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
853 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
854 echo "configure:855: checking for mingw32 environment" >&5
855 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
856 echo $ac_n "(cached) $ac_c" 1>&6
858 cat > conftest.
$ac_ext <<EOF
859 #line 860 "configure"
860 #include "confdefs.h"
866 if { (eval echo configure
:867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
870 echo "configure: failed program was:" >&5
871 cat conftest.
$ac_ext >&5
879 echo "$ac_t""$ac_cv_mingw32" 1>&6
881 test "$ac_cv_mingw32" = yes && MINGW32
=yes
883 # Check whether --enable-multilib or --disable-multilib was given.
884 if test "${enable_multilib+set}" = set; then
885 enableval
="$enable_multilib"
886 case "${enableval}" in
889 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
896 if test "${srcdir}" = "."; then
897 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
898 gc_basedir
="${srcdir}/${with_multisrctop}../."
900 gc_basedir
="${srcdir}/${with_multisrctop}."
903 gc_basedir
="${srcdir}/."
907 for ac_dir
in $gc_basedir $srcdir/$gc_basedir; do
908 if test -f $ac_dir/install-sh
; then
910 ac_install_sh
="$ac_aux_dir/install-sh -c"
912 elif test -f $ac_dir/install.sh
; then
914 ac_install_sh
="$ac_aux_dir/install.sh -c"
918 if test -z "$ac_aux_dir"; then
919 { echo "configure: error: can not find install-sh or install.sh in $gc_basedir $srcdir/$gc_basedir" 1>&2; exit 1; }
921 ac_config_guess
=$ac_aux_dir/config.guess
922 ac_config_sub
=$ac_aux_dir/config.sub
923 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
927 # Do some error checking and defaulting for the host and target type.
929 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
932 # 1. You are not allowed to specify --host, --target, and nonopt at the
934 # 2. Host defaults to nonopt.
935 # 3. If nonopt is not specified, then host defaults to the current host,
936 # as determined by config.guess.
937 # 4. Target and build default to nonopt.
938 # 5. If nonopt is not specified, then target and build default to host.
940 # The aliases save the names the user supplied, while $host etc.
941 # will get canonicalized.
942 case $host---$target---$nonopt in
943 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
944 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
948 # Make sure we can run config.sub.
949 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
950 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
953 echo $ac_n "checking host system type""... $ac_c" 1>&6
954 echo "configure:955: checking host system type" >&5
957 case "$host_alias" in
961 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
962 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
964 *) host_alias
=$nonopt ;;
968 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
969 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972 echo "$ac_t""$host" 1>&6
974 echo $ac_n "checking target system type""... $ac_c" 1>&6
975 echo "configure:976: checking target system type" >&5
978 case "$target_alias" in
981 NONE
) target_alias
=$host_alias ;;
982 *) target_alias
=$nonopt ;;
986 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
987 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
988 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
989 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
990 echo "$ac_t""$target" 1>&6
992 echo $ac_n "checking build system type""... $ac_c" 1>&6
993 echo "configure:994: checking build system type" >&5
996 case "$build_alias" in
999 NONE
) build_alias
=$host_alias ;;
1000 *) build_alias
=$nonopt ;;
1004 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1005 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1006 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1007 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1008 echo "$ac_t""$build" 1>&6
1010 test "$host_alias" != "$target_alias" &&
1011 test "$program_prefix$program_suffix$program_transform_name" = \
1013 program_prefix
=${target_alias}-
1021 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1022 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
1027 missing_dir
=`cd $ac_aux_dir && pwd`
1028 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1029 echo "configure:1030: checking for working aclocal" >&5
1030 # Run test in a subshell; some versions of sh will print an error if
1031 # an executable is not found, even if stderr is redirected.
1032 # Redirect stdin to placate older versions of autoconf. Sigh.
1033 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1035 echo "$ac_t""found" 1>&6
1037 ACLOCAL
="$missing_dir/missing aclocal"
1038 echo "$ac_t""missing" 1>&6
1041 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1042 echo "configure:1043: checking for working autoconf" >&5
1043 # Run test in a subshell; some versions of sh will print an error if
1044 # an executable is not found, even if stderr is redirected.
1045 # Redirect stdin to placate older versions of autoconf. Sigh.
1046 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1048 echo "$ac_t""found" 1>&6
1050 AUTOCONF
="$missing_dir/missing autoconf"
1051 echo "$ac_t""missing" 1>&6
1054 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1055 echo "configure:1056: checking for working automake" >&5
1056 # Run test in a subshell; some versions of sh will print an error if
1057 # an executable is not found, even if stderr is redirected.
1058 # Redirect stdin to placate older versions of autoconf. Sigh.
1059 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1061 echo "$ac_t""found" 1>&6
1063 AUTOMAKE
="$missing_dir/missing automake"
1064 echo "$ac_t""missing" 1>&6
1067 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1068 echo "configure:1069: checking for working autoheader" >&5
1069 # Run test in a subshell; some versions of sh will print an error if
1070 # an executable is not found, even if stderr is redirected.
1071 # Redirect stdin to placate older versions of autoconf. Sigh.
1072 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1073 AUTOHEADER
=autoheader
1074 echo "$ac_t""found" 1>&6
1076 AUTOHEADER
="$missing_dir/missing autoheader"
1077 echo "$ac_t""missing" 1>&6
1080 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1081 echo "configure:1082: checking for working makeinfo" >&5
1082 # Run test in a subshell; some versions of sh will print an error if
1083 # an executable is not found, even if stderr is redirected.
1084 # Redirect stdin to placate older versions of autoconf. Sigh.
1085 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1087 echo "$ac_t""found" 1>&6
1089 MAKEINFO
="$missing_dir/missing makeinfo"
1090 echo "$ac_t""missing" 1>&6
1095 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1096 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1097 # are probably using a cross compiler, which will not be able to fully
1098 # link an executable. This should really be fixed in autoconf
1104 # Extract the first word of "gcc", so it can be a program name with args.
1105 set dummy gcc
; ac_word
=$2
1106 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1107 echo "configure:1108: checking for $ac_word" >&5
1108 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1109 echo $ac_n "(cached) $ac_c" 1>&6
1111 if test -n "$CC"; then
1112 ac_cv_prog_CC
="$CC" # Let the user override the test.
1114 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1116 for ac_dir
in $ac_dummy; do
1117 test -z "$ac_dir" && ac_dir
=.
1118 if test -f $ac_dir/$ac_word; then
1127 if test -n "$CC"; then
1128 echo "$ac_t""$CC" 1>&6
1130 echo "$ac_t""no" 1>&6
1133 if test -z "$CC"; then
1134 # Extract the first word of "cc", so it can be a program name with args.
1135 set dummy cc
; ac_word
=$2
1136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1137 echo "configure:1138: checking for $ac_word" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1141 if test -n "$CC"; then
1142 ac_cv_prog_CC
="$CC" # Let the user override the test.
1144 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1147 for ac_dir
in $ac_dummy; do
1148 test -z "$ac_dir" && ac_dir
=.
1149 if test -f $ac_dir/$ac_word; then
1150 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1151 ac_prog_rejected
=yes
1159 if test $ac_prog_rejected = yes; then
1160 # We found a bogon in the path, so make sure we never use it.
1161 set dummy
$ac_cv_prog_CC
1163 if test $# -gt 0; then
1164 # We chose a different compiler from the bogus one.
1165 # However, it has the same basename, so the bogon will be chosen
1166 # first if we set CC to just the basename; use the full file name.
1168 set dummy
"$ac_dir/$ac_word" "$@"
1176 if test -n "$CC"; then
1177 echo "$ac_t""$CC" 1>&6
1179 echo "$ac_t""no" 1>&6
1182 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1185 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1186 echo "configure:1187: checking whether we are using GNU C" >&5
1187 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1188 echo $ac_n "(cached) $ac_c" 1>&6
1190 cat > conftest.c
<<EOF
1195 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1202 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1204 if test $ac_cv_prog_gcc = yes; then
1206 ac_test_CFLAGS
="${CFLAGS+set}"
1207 ac_save_CFLAGS
="$CFLAGS"
1209 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1210 echo "configure:1211: checking whether ${CC-cc} accepts -g" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1214 echo 'void f(){}' > conftest.c
1215 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1224 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1225 if test "$ac_test_CFLAGS" = set; then
1226 CFLAGS
="$ac_save_CFLAGS"
1227 elif test $ac_cv_prog_cc_g = yes; then
1234 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1238 # Likewise for AC_PROG_CXX.
1242 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1244 # Extract the first word of "$ac_prog", so it can be a program name with args.
1245 set dummy
$ac_prog; ac_word
=$2
1246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1247 echo "configure:1248: checking for $ac_word" >&5
1248 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1249 echo $ac_n "(cached) $ac_c" 1>&6
1251 if test -n "$CXX"; then
1252 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1254 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1256 for ac_dir
in $ac_dummy; do
1257 test -z "$ac_dir" && ac_dir
=.
1258 if test -f $ac_dir/$ac_word; then
1259 ac_cv_prog_CXX
="$ac_prog"
1266 CXX
="$ac_cv_prog_CXX"
1267 if test -n "$CXX"; then
1268 echo "$ac_t""$CXX" 1>&6
1270 echo "$ac_t""no" 1>&6
1273 test -n "$CXX" && break
1275 test -n "$CXX" || CXX
="gcc"
1277 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1279 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1280 echo "configure:1281: checking whether we are using GNU C++" >&5
1281 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1282 echo $ac_n "(cached) $ac_c" 1>&6
1284 cat > conftest.C
<<EOF
1289 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1296 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1298 if test $ac_cv_prog_gxx = yes; then
1300 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1301 ac_save_CXXFLAGS
="$CXXFLAGS"
1303 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1304 echo "configure:1305: checking whether ${CXX-g++} accepts -g" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1306 echo $ac_n "(cached) $ac_c" 1>&6
1308 echo 'void f(){}' > conftest.cc
1309 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1310 ac_cv_prog_cxx_g
=yes
1318 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1319 if test "$ac_test_CXXFLAGS" = set; then
1320 CXXFLAGS
="$ac_save_CXXFLAGS"
1321 elif test $ac_cv_prog_cxx_g = yes; then
1328 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1332 # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
1333 # run it explicitly here, it will be run implicitly before
1334 # NEWLIB_CONFIGURE, which doesn't work because that means that it will
1335 # be run before AC_CANONICAL_HOST.
1336 echo $ac_n "checking build system type""... $ac_c" 1>&6
1337 echo "configure:1338: checking build system type" >&5
1340 case "$build_alias" in
1343 NONE
) build_alias
=$host_alias ;;
1344 *) build_alias
=$nonopt ;;
1348 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1349 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1350 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1351 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1352 echo "$ac_t""$build" 1>&6
1355 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1356 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1357 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1358 echo "configure:1359: checking for $ac_word" >&5
1359 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1360 echo $ac_n "(cached) $ac_c" 1>&6
1362 if test -n "$AS"; then
1363 ac_cv_prog_AS
="$AS" # Let the user override the test.
1365 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1367 for ac_dir
in $ac_dummy; do
1368 test -z "$ac_dir" && ac_dir
=.
1369 if test -f $ac_dir/$ac_word; then
1370 ac_cv_prog_AS
="${ac_tool_prefix}as"
1375 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1379 if test -n "$AS"; then
1380 echo "$ac_t""$AS" 1>&6
1382 echo "$ac_t""no" 1>&6
1387 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1388 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1390 echo "configure:1391: checking for $ac_word" >&5
1391 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1392 echo $ac_n "(cached) $ac_c" 1>&6
1394 if test -n "$AR"; then
1395 ac_cv_prog_AR
="$AR" # Let the user override the test.
1397 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1399 for ac_dir
in $ac_dummy; do
1400 test -z "$ac_dir" && ac_dir
=.
1401 if test -f $ac_dir/$ac_word; then
1402 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1407 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1411 if test -n "$AR"; then
1412 echo "$ac_t""$AR" 1>&6
1414 echo "$ac_t""no" 1>&6
1419 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1420 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1421 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1422 echo "configure:1423: checking for $ac_word" >&5
1423 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1424 echo $ac_n "(cached) $ac_c" 1>&6
1426 if test -n "$RANLIB"; then
1427 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1429 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1431 for ac_dir
in $ac_dummy; do
1432 test -z "$ac_dir" && ac_dir
=.
1433 if test -f $ac_dir/$ac_word; then
1434 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1441 RANLIB
="$ac_cv_prog_RANLIB"
1442 if test -n "$RANLIB"; then
1443 echo "$ac_t""$RANLIB" 1>&6
1445 echo "$ac_t""no" 1>&6
1449 if test -z "$ac_cv_prog_RANLIB"; then
1450 if test -n "$ac_tool_prefix"; then
1451 # Extract the first word of "ranlib", so it can be a program name with args.
1452 set dummy ranlib
; ac_word
=$2
1453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1454 echo "configure:1455: checking for $ac_word" >&5
1455 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1456 echo $ac_n "(cached) $ac_c" 1>&6
1458 if test -n "$RANLIB"; then
1459 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1461 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1463 for ac_dir
in $ac_dummy; do
1464 test -z "$ac_dir" && ac_dir
=.
1465 if test -f $ac_dir/$ac_word; then
1466 ac_cv_prog_RANLIB
="ranlib"
1471 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1474 RANLIB
="$ac_cv_prog_RANLIB"
1475 if test -n "$RANLIB"; then
1476 echo "$ac_t""$RANLIB" 1>&6
1478 echo "$ac_t""no" 1>&6
1487 # Find a good install program. We prefer a C program (faster),
1488 # so one script is as good as another. But avoid the broken or
1489 # incompatible versions:
1490 # SysV /etc/install, /usr/sbin/install
1491 # SunOS /usr/etc/install
1492 # IRIX /sbin/install
1494 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1495 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1496 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1497 # ./install, which can be erroneously created by make from ./install.sh.
1498 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1499 echo "configure:1500: checking for a BSD compatible install" >&5
1500 if test -z "$INSTALL"; then
1501 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1502 echo $ac_n "(cached) $ac_c" 1>&6
1504 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1505 for ac_dir
in $PATH; do
1506 # Account for people who put trailing slashes in PATH elements.
1508 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1510 # OSF1 and SCO ODT 3.0 have their own names for install.
1511 # Don't use installbsd from OSF since it installs stuff as root
1513 for ac_prog
in ginstall scoinst
install; do
1514 if test -f $ac_dir/$ac_prog; then
1515 if test $ac_prog = install &&
1516 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1517 # AIX install. It has an incompatible calling convention.
1520 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1531 if test "${ac_cv_path_install+set}" = set; then
1532 INSTALL
="$ac_cv_path_install"
1534 # As a last resort, use the slow shell script. We don't cache a
1535 # path for INSTALL within a source directory, because that will
1536 # break other packages using the cache if that directory is
1537 # removed, or if the path is relative.
1538 INSTALL
="$ac_install_sh"
1541 echo "$ac_t""$INSTALL" 1>&6
1543 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1544 # It thinks the first close brace ends the variable substitution.
1545 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1547 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1549 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1552 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1553 echo "configure:1554: checking whether to enable maintainer-specific portions of Makefiles" >&5
1554 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1555 if test "${enable_maintainer_mode+set}" = set; then
1556 enableval
="$enable_maintainer_mode"
1557 USE_MAINTAINER_MODE
=$enableval
1559 USE_MAINTAINER_MODE
=no
1562 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1565 if test $USE_MAINTAINER_MODE = yes; then
1566 MAINTAINER_MODE_TRUE
=
1567 MAINTAINER_MODE_FALSE
='#'
1569 MAINTAINER_MODE_TRUE
='#'
1570 MAINTAINER_MODE_FALSE
=
1572 MAINT
=$MAINTAINER_MODE_TRUE
1576 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1577 # at least currently, we never actually build a program, so we never
1578 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1579 # fails, because we are probably configuring with a cross compiler
1580 # which can't create executables. So we include AC_EXEEXT to keep
1581 # automake happy, but we don't execute it, since we don't care about
1584 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1585 # to nothing, so nothing would remain between `then' and `fi' if it
1586 # were not for the `:' below.
1590 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1591 echo "configure:1592: checking for executable suffix" >&5
1592 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1593 echo $ac_n "(cached) $ac_c" 1>&6
1595 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1599 echo 'int main () { return 0; }' > conftest.
$ac_ext
1601 if { (eval echo configure
:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1602 for file in conftest.
*; do
1604 *.c |
*.o |
*.obj
) ;;
1605 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1609 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1612 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1617 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1618 echo "$ac_t""${ac_cv_exeext}" 1>&6
1623 .
${srcdir}/configure.
host
1625 case ${gc_basedir} in
1626 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
1627 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
1630 gc_cflags
="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
1633 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
1638 GC_CFLAGS
=${gc_cflags}
1642 # Check whether --enable-shared or --disable-shared was given.
1643 if test "${enable_shared+set}" = set; then
1644 enableval
="$enable_shared"
1645 p
=${PACKAGE-default}
1646 case "$enableval" in
1647 yes) enable_shared
=yes ;;
1648 no
) enable_shared
=no
;;
1651 # Look at the argument we got. We use all the common list separators.
1652 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1653 for pkg
in $enableval; do
1654 if test "X$pkg" = "X$p"; then
1665 # Check whether --enable-static or --disable-static was given.
1666 if test "${enable_static+set}" = set; then
1667 enableval
="$enable_static"
1668 p
=${PACKAGE-default}
1669 case "$enableval" in
1670 yes) enable_static
=yes ;;
1671 no
) enable_static
=no
;;
1674 # Look at the argument we got. We use all the common list separators.
1675 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1676 for pkg
in $enableval; do
1677 if test "X$pkg" = "X$p"; then
1688 # Check whether --enable-fast-install or --disable-fast-install was given.
1689 if test "${enable_fast_install+set}" = set; then
1690 enableval
="$enable_fast_install"
1691 p
=${PACKAGE-default}
1692 case "$enableval" in
1693 yes) enable_fast_install
=yes ;;
1694 no
) enable_fast_install
=no
;;
1696 enable_fast_install
=no
1697 # Look at the argument we got. We use all the common list separators.
1698 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1699 for pkg
in $enableval; do
1700 if test "X$pkg" = "X$p"; then
1701 enable_fast_install
=yes
1708 enable_fast_install
=yes
1711 # Extract the first word of "ranlib", so it can be a program name with args.
1712 set dummy ranlib
; ac_word
=$2
1713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1714 echo "configure:1715: checking for $ac_word" >&5
1715 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1716 echo $ac_n "(cached) $ac_c" 1>&6
1718 if test -n "$RANLIB"; then
1719 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1721 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1723 for ac_dir
in $ac_dummy; do
1724 test -z "$ac_dir" && ac_dir
=.
1725 if test -f $ac_dir/$ac_word; then
1726 ac_cv_prog_RANLIB
="ranlib"
1731 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1734 RANLIB
="$ac_cv_prog_RANLIB"
1735 if test -n "$RANLIB"; then
1736 echo "$ac_t""$RANLIB" 1>&6
1738 echo "$ac_t""no" 1>&6
1741 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1742 if test "${with_gnu_ld+set}" = set; then
1743 withval
="$with_gnu_ld"
1744 test "$withval" = no || with_gnu_ld
=yes
1750 if test "$ac_cv_prog_gcc" = yes; then
1751 # Check if gcc -print-prog-name=ld gives a path.
1752 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1753 echo "configure:1754: checking for ld used by GCC" >&5
1754 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1756 # Accept absolute paths.
1757 [\\/]* |
[A-Za-z
]:[\\/]*)
1758 re_direlt
='/[^/][^/]*/\.\./'
1759 # Canonicalize the path of ld
1760 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1761 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1762 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1764 test -z "$LD" && LD
="$ac_prog"
1767 # If it fails, then pretend we aren't using GCC.
1771 # If it is relative, then search for the first ld in PATH.
1775 elif test "$with_gnu_ld" = yes; then
1776 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1777 echo "configure:1778: checking for GNU ld" >&5
1779 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1780 echo "configure:1781: checking for non-GNU ld" >&5
1782 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1783 echo $ac_n "(cached) $ac_c" 1>&6
1785 if test -z "$LD"; then
1786 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1787 for ac_dir
in $PATH; do
1788 test -z "$ac_dir" && ac_dir
=.
1789 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1790 ac_cv_path_LD
="$ac_dir/$ac_prog"
1791 # Check to see if the program is GNU ld. I'd rather use --version,
1792 # but apparently some GNU ld's only accept -v.
1793 # Break only if it was the GNU/non-GNU ld that we prefer.
1794 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1795 test "$with_gnu_ld" != no
&& break
1797 test "$with_gnu_ld" != yes && break
1803 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1808 if test -n "$LD"; then
1809 echo "$ac_t""$LD" 1>&6
1811 echo "$ac_t""no" 1>&6
1813 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1814 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1815 echo "configure:1816: checking if the linker ($LD) is GNU ld" >&5
1816 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1817 echo $ac_n "(cached) $ac_c" 1>&6
1819 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1820 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1821 ac_cv_prog_gnu_ld
=yes
1823 ac_cv_prog_gnu_ld
=no
1827 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1830 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1831 echo "configure:1832: checking for BSD-compatible nm" >&5
1832 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1833 echo $ac_n "(cached) $ac_c" 1>&6
1835 if test -n "$NM"; then
1836 # Let the user override the test.
1839 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1840 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1841 test -z "$ac_dir" && ac_dir
=.
1842 if test -f $ac_dir/nm ||
test -f $ac_dir/nm
$ac_exeext ; then
1843 # Check to see if the nm accepts a BSD-compat flag.
1844 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1845 # nm: unknown option "B" ignored
1846 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1847 ac_cv_path_NM
="$ac_dir/nm -B"
1849 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1850 ac_cv_path_NM
="$ac_dir/nm -p"
1853 ac_cv_path_NM
=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1854 continue # so that we can try to find one that supports BSD flags
1859 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1864 echo "$ac_t""$NM" 1>&6
1866 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1867 echo "configure:1868: checking whether ln -s works" >&5
1868 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6
1872 if ln -s X conftestdata
2>/dev
/null
1875 ac_cv_prog_LN_S
="ln -s"
1880 LN_S
="$ac_cv_prog_LN_S"
1881 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1882 echo "$ac_t""yes" 1>&6
1884 echo "$ac_t""no" 1>&6
1889 NONE
) lt_target
="$host" ;;
1890 *) lt_target
="$target" ;;
1893 # Check for any special flags to pass to ltconfig.
1895 # the following will cause an existing older ltconfig to fail, so
1896 # we ignore this at the expense of the cache file... Checking this
1897 # will just take longer ... bummer!
1898 #libtool_flags="--cache-file=$cache_file"
1900 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1901 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1902 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
1903 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1904 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1907 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1908 if test "${enable_libtool_lock+set}" = set; then
1909 enableval
="$enable_libtool_lock"
1913 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
1914 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
1916 # Some flags need to be propagated to the compiler or linker for good
1918 case "$lt_target" in
1920 # Find out which ABI we are using.
1921 echo '#line 1922 "configure"' > conftest.
$ac_ext
1922 if { (eval echo configure
:1923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1923 case "`/usr/bin/file conftest.o`" in
1939 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1940 SAVE_CFLAGS
="$CFLAGS"
1941 CFLAGS
="$CFLAGS -belf"
1942 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1943 echo "configure:1944: checking whether the C compiler needs -belf" >&5
1944 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1945 echo $ac_n "(cached) $ac_c" 1>&6
1947 cat > conftest.
$ac_ext <<EOF
1948 #line 1949 "configure"
1949 #include "confdefs.h"
1955 if { (eval echo configure
:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1957 lt_cv_cc_needs_belf
=yes
1959 echo "configure: failed program was:" >&5
1960 cat conftest.
$ac_ext >&5
1962 lt_cv_cc_needs_belf
=no
1967 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1968 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
1969 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1970 CFLAGS
="$SAVE_CFLAGS"
1978 # Save cache, so that ltconfig can load it
1979 cat > confcache
<<\EOF
1980 # This file is a shell script that caches the results of configure
1981 # tests run on this system so they can be shared between configure
1982 # scripts and configure runs. It is not useful on other systems.
1983 # If it contains results you don't want to keep, you may remove or edit it.
1985 # By default, configure uses ./config.cache as the cache file,
1986 # creating it if it does not exist already. You can give configure
1987 # the --cache-file=FILE option to use a different cache file; that is
1988 # what configure does when it calls configure scripts in
1989 # subdirectories, so they share the cache.
1990 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1991 # config.status only pays attention to the cache file if you give it the
1992 # --recheck option to rerun configure.
1995 # The following way of writing the cache mishandles newlines in values,
1996 # but we know of no workaround that is simple, portable, and efficient.
1997 # So, don't put newlines in cache variables' values.
1998 # Ultrix sh set writes to stderr and can't be redirected directly,
1999 # and sets the high bit in the cache file unless we assign to the vars.
2001 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2003 # `set' does not quote correctly, so add quotes (double-quote substitution
2004 # turns \\\\ into \\, and sed turns \\ into \).
2006 -e "s/'/'\\\\''/g" \
2007 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2010 # `set' quotes correctly as required by POSIX, so do not add quotes.
2011 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2014 if cmp -s $cache_file confcache
; then
2017 if test -w $cache_file; then
2018 echo "updating cache $cache_file"
2019 cat confcache
> $cache_file
2021 echo "not updating unwritable cache $cache_file"
2027 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2028 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2029 LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2030 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" \
2031 DLLTOOL
="$DLLTOOL" AS
="$AS" OBJDUMP
="$OBJDUMP" \
2032 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2033 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$lt_target \
2034 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2036 # Reload cache, that may have been modified by ltconfig
2037 if test -r "$cache_file"; then
2038 echo "loading cache $cache_file"
2041 echo "creating cache $cache_file"
2046 # This can be used to rebuild libtool when needed
2047 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
2049 # Always use our own libtool.
2050 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2052 # Redirect the config.log output again, so that the ltconfig log is not
2053 # clobbered by the next message.
2054 exec 5>>.
/config.log
2057 # Check whether --with-target-subdir or --without-target-subdir was given.
2058 if test "${with_target_subdir+set}" = set; then
2059 withval
="$with_target_subdir"
2063 # Check whether --with-cross-host or --without-cross-host was given.
2064 if test "${with_cross_host+set}" = set; then
2065 withval
="$with_cross_host"
2070 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
2071 echo "configure:2072: checking whether to enable maintainer-specific portions of Makefiles" >&5
2072 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2073 if test "${enable_maintainer_mode+set}" = set; then
2074 enableval
="$enable_maintainer_mode"
2075 USE_MAINTAINER_MODE
=$enableval
2077 USE_MAINTAINER_MODE
=no
2080 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
2083 if test $USE_MAINTAINER_MODE = yes; then
2084 MAINTAINER_MODE_TRUE
=
2085 MAINTAINER_MODE_FALSE
='#'
2087 MAINTAINER_MODE_TRUE
='#'
2088 MAINTAINER_MODE_FALSE
=
2090 MAINT
=$MAINTAINER_MODE_TRUE
2093 # automake wants to see AC_EXEEXT. But we don't need it. And having
2094 # it is actually a problem, because the compiler we're passed can't
2095 # necessarily do a full link. So we fool automake here.
2097 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
2098 # to nothing, so nothing would remain between `then' and `fi' if it
2099 # were not for the `:' below.
2103 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2104 echo "configure:2105: checking for executable suffix" >&5
2105 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2106 echo $ac_n "(cached) $ac_c" 1>&6
2108 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
2112 echo 'int main () { return 0; }' > conftest.
$ac_ext
2114 if { (eval echo configure
:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2115 for file in conftest.
*; do
2117 *.c |
*.o |
*.obj
) ;;
2118 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
2122 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
2125 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
2130 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
2131 echo "$ac_t""${ac_cv_exeext}" 1>&6
2136 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
2137 echo "configure:2138: checking for threads package to use" >&5
2138 # Check whether --enable-threads or --disable-threads was given.
2139 if test "${enable_threads+set}" = set; then
2140 enableval
="$enable_threads"
2143 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
2144 echo "configure:2145: checking for thread model used by GCC" >&5
2145 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
2146 if test -z "$THREADS"; then
2149 echo "$ac_t""$THREADS" 1>&6
2153 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
2154 if test "${enable_parallel_mark+set}" = set; then
2155 enableval
="$enable_parallel_mark"
2158 { echo "configure: error: Parallel mark requires --enable-threads=x spec" 1>&2; exit 1; }
2165 INCLUDES
=-I${srcdir}/include
2173 THREADLIBS
=-lpthread
2175 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux*)
2176 cat >> confdefs.h
<<\EOF
2177 #define GC_LINUX_THREADS 1
2180 cat >> confdefs.h
<<\EOF
2181 #define _REENTRANT 1
2184 if test "${enable_parallel_mark}"; then
2185 cat >> confdefs.h
<<\EOF
2186 #define PARALLEL_MARK 1
2190 cat >> confdefs.h
<<\EOF
2191 #define THREAD_LOCAL_ALLOC 1
2196 cat >> confdefs.h
<<\EOF
2197 #define GC_LINUX_THREADS 1
2200 cat >> confdefs.h
<<\EOF
2201 #define _REENTRANT 1
2206 echo "configure: warning: "Only HP
/UX
11 threads are supported.
"" 1>&2
2207 cat >> confdefs.h
<<\EOF
2208 #define GC_HPUX_THREADS 1
2211 cat >> confdefs.h
<<\EOF
2212 #define _POSIX_C_SOURCE 199506L
2215 if test "${enable_parallel_mark}" = yes; then
2216 cat >> confdefs.h
<<\EOF
2217 #define PARALLEL_MARK 1
2221 cat >> confdefs.h
<<\EOF
2222 #define THREAD_LOCAL_ALLOC 1
2225 THREADLIBS
="-lpthread -lrt"
2228 echo "configure: warning: "FreeBSD does not yet fully support threads with Boehm GC.
"" 1>&2
2229 cat >> confdefs.h
<<\EOF
2230 #define FREEBSD_THREADS 1
2233 INCLUDES
="$INCLUDES -pthread"
2237 cat >> confdefs.h
<<\EOF
2238 #define GC_SOLARIS_THREADS 1
2241 cat >> confdefs.h
<<\EOF
2242 #define GC_SOLARIS_PTHREADS 1
2247 cat >> confdefs.h
<<\EOF
2248 #define GC_IRIX_THREADS 1
2254 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
2255 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
2258 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
2263 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2264 echo "configure:2265: checking for dlopen in -ldl" >&5
2265 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2267 echo $ac_n "(cached) $ac_c" 1>&6
2269 ac_save_LIBS
="$LIBS"
2271 cat > conftest.
$ac_ext <<EOF
2272 #line 2273 "configure"
2273 #include "confdefs.h"
2274 /* Override any gcc2 internal prototype to avoid an error. */
2275 /* We use char because int might match the return type of a gcc2
2276 builtin and then its argument prototype would still apply. */
2283 if { (eval echo configure
:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2285 eval "ac_cv_lib_$ac_lib_var=yes"
2287 echo "configure: failed program was:" >&5
2288 cat conftest.
$ac_ext >&5
2290 eval "ac_cv_lib_$ac_lib_var=no"
2293 LIBS
="$ac_save_LIBS"
2296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2297 echo "$ac_t""yes" 1>&6
2298 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
2300 echo "$ac_t""no" 1>&6
2309 # Check whether --with-ecos or --without-ecos was given.
2310 if test "${with_ecos+set}" = set; then
2311 withval
="$with_ecos"
2312 TARGET_ECOS
="$with_ecos"
2319 case "$TARGET_ECOS" in
2323 cat >> confdefs.h
<<\EOF
2327 CXXINCLUDES
="-I${TARGET_ECOS}/include"
2328 addobjs
="$addobjs ecos.lo"
2338 # alpha_mach_dep.s assumes that pointers are not saved in fp registers.
2339 # Gcc on a 21264 can spill pointers to fp registers. Oops.
2341 # machdep="alpha_mach_dep.lo"
2344 machdep
="mips_ultrix_mach_dep.lo"
2345 cat >> confdefs.h
<<\EOF
2346 #define STACKBASE __stackbase
2349 cat >> confdefs.h
<<\EOF
2350 #define DATASTART_IS_ETEXT 1
2355 machdep
="mips_ultrix_mach-dep.lo"
2358 machdep
="mips_sgi_mach_dep.lo"
2359 cat >> confdefs.h
<<\EOF
2360 #define NO_EXECUTE_PERMISSION 1
2364 sparc-sun-solaris2.3
*)
2365 cat >> confdefs.h
<<\EOF
2366 #define SUNOS53_SHARED_LIB 1
2371 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
2374 if test x
"$machdep" = x
; then
2375 machdep
="mach_dep.lo"
2377 addobjs
="$addobjs $machdep"
2381 sparc-sun-solaris2
*)
2382 if test "$GCC" = yes; then
2384 for i
in $CFLAGS; do
2389 new_CFLAGS
="$new_CFLAGS $i"
2393 CFLAGS
="$new_CFLAGS"
2401 cat >> confdefs.h
<<\EOF
2405 cat >> confdefs.h
<<\EOF
2406 #define NO_SIGNALS 1
2409 cat >> confdefs.h
<<\EOF
2410 #define NO_EXECUTE_PERMISSION 1
2413 cat >> confdefs.h
<<\EOF
2414 #define ALL_INTERIOR_POINTERS 1
2418 cat >> confdefs.h
<<\EOF
2419 #define JAVA_FINALIZATION 1
2422 cat >> confdefs.h
<<\EOF
2423 #define GC_GCJ_SUPPORT 1
2426 cat >> confdefs.h
<<\EOF
2427 #define ATOMIC_UNCOLLECTABLE 1
2431 if test -n "${with_cross_host}"; then
2432 cat >> confdefs.h
<<\EOF
2436 cat >> confdefs.h
<<\EOF
2440 cat >> confdefs.h
<<\EOF
2441 #define SMALL_CONFIG 1
2444 cat >> confdefs.h
<<\EOF
2445 #define NO_DEBUGGING 1
2450 # Check whether --enable-full-debug or --disable-full-debug was given.
2451 if test "${enable_full_debug+set}" = set; then
2452 enableval
="$enable_full_debug"
2453 if test "$enable_full_debug" = "yes"; then
2454 echo "configure: warning: "Must define GC_DEBUG and use debug alloc.
in clients.
"" 1>&2
2455 cat >> confdefs.h
<<\EOF
2456 #define KEEP_BACK_PTRS 1
2459 cat >> confdefs.h
<<\EOF
2460 #define DBG_HDRS_ALL 1
2464 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* )
2465 echo "configure: warning: "Client must not use
-fomit-frame-pointer.
"" 1>&2
2466 cat >> confdefs.h
<<\EOF
2467 #define SAVE_CALL_COUNT 8
2478 if test -z "$with_cross_host"; then
2480 USE_LIBDIR_FALSE
='#'
2486 if test "${multilib}" = "yes"; then
2487 multilib_arg
="--enable-multilib"
2493 cat > confcache
<<\EOF
2494 # This file is a shell script that caches the results of configure
2495 # tests run on this system so they can be shared between configure
2496 # scripts and configure runs. It is not useful on other systems.
2497 # If it contains results you don't want to keep, you may remove or edit it.
2499 # By default, configure uses ./config.cache as the cache file,
2500 # creating it if it does not exist already. You can give configure
2501 # the --cache-file=FILE option to use a different cache file; that is
2502 # what configure does when it calls configure scripts in
2503 # subdirectories, so they share the cache.
2504 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2505 # config.status only pays attention to the cache file if you give it the
2506 # --recheck option to rerun configure.
2509 # The following way of writing the cache mishandles newlines in values,
2510 # but we know of no workaround that is simple, portable, and efficient.
2511 # So, don't put newlines in cache variables' values.
2512 # Ultrix sh set writes to stderr and can't be redirected directly,
2513 # and sets the high bit in the cache file unless we assign to the vars.
2515 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2517 # `set' does not quote correctly, so add quotes (double-quote substitution
2518 # turns \\\\ into \\, and sed turns \\ into \).
2520 -e "s/'/'\\\\''/g" \
2521 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2524 # `set' quotes correctly as required by POSIX, so do not add quotes.
2525 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2528 if cmp -s $cache_file confcache
; then
2531 if test -w $cache_file; then
2532 echo "updating cache $cache_file"
2533 cat confcache
> $cache_file
2535 echo "not updating unwritable cache $cache_file"
2540 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2542 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2543 # Let make expand exec_prefix.
2544 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2546 # Any assignment to VPATH causes Sun make to only execute
2547 # the first set of double-colon rules, so remove it if not needed.
2548 # If there is a colon in the path, we need to keep it.
2549 if test "x$srcdir" = x.
; then
2550 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2553 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2555 # Transform confdefs.h into DEFS.
2556 # Protect against shell expansion while executing Makefile rules.
2557 # Protect against Makefile macro expansion.
2558 cat > conftest.defs
<<\EOF
2559 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2560 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2565 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
2569 # Without the "./", some shells look in PATH for config.status.
2570 : ${CONFIG_STATUS=./config.status}
2572 echo creating $CONFIG_STATUS
2573 rm -f $CONFIG_STATUS
2574 cat > $CONFIG_STATUS <<EOF
2576 # Generated automatically by configure.
2577 # Run this file to recreate the current configuration.
2578 # This directory was configured as follows,
2579 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
2581 # $0 $ac_configure_args
2583 # Compiler output produced by configure, useful for debugging
2584 # configure, is in ./config.log if it exists.
2586 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2589 case "\$ac_option" in
2590 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2591 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2592 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2593 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2594 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2596 -help | --help | --hel | --he | --h)
2597 echo "\$ac_cs_usage"; exit 0 ;;
2598 *) echo "\$ac_cs_usage"; exit 1 ;;
2602 ac_given_srcdir=$srcdir
2603 ac_given_INSTALL="$INSTALL"
2605 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2607 cat >> $CONFIG_STATUS <<EOF
2609 # Protect against being on the right side of a sed subst in config.status.
2610 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2611 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2615 s%@CFLAGS@%$CFLAGS%g
2616 s%@CPPFLAGS@%$CPPFLAGS%g
2617 s%@CXXFLAGS@%$CXXFLAGS%g
2618 s%@FFLAGS@%$FFLAGS%g
2620 s%@LDFLAGS@%$LDFLAGS%g
2622 s%@exec_prefix@%$exec_prefix%g
2623 s%@prefix@%$prefix%g
2624 s%@program_transform_name@%$program_transform_name%g
2625 s%@bindir@%$bindir%g
2626 s%@sbindir@%$sbindir%g
2627 s%@libexecdir@%$libexecdir%g
2628 s%@datadir@%$datadir%g
2629 s%@sysconfdir@%$sysconfdir%g
2630 s%@sharedstatedir@%$sharedstatedir%g
2631 s%@localstatedir@%$localstatedir%g
2632 s%@libdir@%$libdir%g
2633 s%@includedir@%$includedir%g
2634 s%@oldincludedir@%$oldincludedir%g
2635 s%@infodir@%$infodir%g
2636 s%@mandir@%$mandir%g
2638 s%@host_alias@%$host_alias%g
2639 s%@host_cpu@%$host_cpu%g
2640 s%@host_vendor@%$host_vendor%g
2641 s%@host_os@%$host_os%g
2642 s%@target@%$target%g
2643 s%@target_alias@%$target_alias%g
2644 s%@target_cpu@%$target_cpu%g
2645 s%@target_vendor@%$target_vendor%g
2646 s%@target_os@%$target_os%g
2648 s%@build_alias@%$build_alias%g
2649 s%@build_cpu@%$build_cpu%g
2650 s%@build_vendor@%$build_vendor%g
2651 s%@build_os@%$build_os%g
2652 s%@gc_basedir@%$gc_basedir%g
2653 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2654 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2655 s%@INSTALL_DATA@%$INSTALL_DATA%g
2656 s%@PACKAGE@%$PACKAGE%g
2657 s%@VERSION@%$VERSION%g
2658 s%@ACLOCAL@%$ACLOCAL%g
2659 s%@AUTOCONF@%$AUTOCONF%g
2660 s%@AUTOMAKE@%$AUTOMAKE%g
2661 s%@AUTOHEADER@%$AUTOHEADER%g
2662 s%@MAKEINFO@%$MAKEINFO%g
2663 s%@SET_MAKE@%$SET_MAKE%g
2668 s%@RANLIB@%$RANLIB%g
2669 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
2670 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
2672 s%@EXEEXT@%$EXEEXT%g
2673 s%@GC_CFLAGS@%$GC_CFLAGS%g
2675 s%@LIBTOOL@%$LIBTOOL%g
2676 s%@THREADLIBS@%$THREADLIBS%g
2677 s%@EXTRA_TEST_LIBS@%$EXTRA_TEST_LIBS%g
2678 s%@target_all@%$target_all%g
2679 s%@INCLUDES@%$INCLUDES%g
2680 s%@CXXINCLUDES@%$CXXINCLUDES%g
2681 s%@addobjs@%$addobjs%g
2682 s%@MY_CFLAGS@%$MY_CFLAGS%g
2683 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
2684 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
2689 cat >> $CONFIG_STATUS <<\EOF
2691 # Split the substitutions into bite-sized pieces for seds with
2692 # small command number limits, like on Digital OSF/1 and HP-UX.
2693 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2694 ac_file=1 # Number of current file.
2695 ac_beg=1 # First line for current file.
2696 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2699 while $ac_more_lines; do
2700 if test $ac_beg -gt 1; then
2701 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2703 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2705 if test ! -s conftest.s$ac_file; then
2707 rm -f conftest.s$ac_file
2709 if test -z "$ac_sed_cmds"; then
2710 ac_sed_cmds="sed -f conftest.s$ac_file"
2712 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2714 ac_file=`expr $ac_file + 1`
2716 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2719 if test -z "$ac_sed_cmds"; then
2724 cat >> $CONFIG_STATUS <<EOF
2726 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2728 cat >> $CONFIG_STATUS <<\EOF
2729 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2730 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2732 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
2733 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
2734 *) ac_file_in="${ac_file}.in" ;;
2737 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2739 # Remove last slash and all that follows it. Not all systems have dirname.
2740 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2741 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2742 # The file is in a subdirectory.
2743 test ! -d "$ac_dir" && mkdir "$ac_dir"
2744 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
2745 # A "../" for each directory in $ac_dir_suffix.
2746 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
2748 ac_dir_suffix= ac_dots=
2751 case "$ac_given_srcdir" in
2753 if test -z "$ac_dots"; then top_srcdir=.
2754 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
2755 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2757 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2758 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2761 case "$ac_given_INSTALL" in
2762 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2763 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2766 echo creating "$ac_file"
2768 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
2770 *Makefile*) ac_comsub="1i\\
2771 # $configure_input" ;;
2775 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2777 s%@configure_input@%$configure_input%g
2778 s%@srcdir@%$srcdir%g
2779 s%@top_srcdir@%$top_srcdir%g
2780 s%@INSTALL@%$INSTALL%g
2781 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2786 cat >> $CONFIG_STATUS <<EOF
2790 with_multisubdir=${with_multisubdir}
2791 ac_configure_args="${multilib_arg} ${ac_configure_args}"
2792 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2793 gc_basedir=${gc_basedir}
2798 cat >> $CONFIG_STATUS <<\EOF
2802 chmod +x $CONFIG_STATUS
2803 rm -fr confdefs* $ac_clean_files
2804 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1