2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="objc/objc.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION OBJC_BOEHM_GC toplevel_srcdir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical glibcpp_srcdir gcc_version toolexecdir toolexeclibdir libext CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S STRIP ac_ct_STRIP LIBTOOL SET_MAKE CPP CPPFLAGS EGREP GTHREAD_FLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
763 # Report the --help message.
765 if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
769 \`configure' configures this package to adapt to many kinds of systems.
771 Usage: $0 [OPTION]... [VAR=VALUE]...
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE. See below for descriptions of some of the useful variables.
776 Defaults for the options are specified in brackets.
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
803 For better control, use the options below.
805 Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
823 --build=BUILD configure
for building on BUILD
[guessed
]
824 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
825 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
829 if test -n "$ac_init_help"; then
834 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
835 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
836 --enable-multilib build hella library versions
(default
)
837 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
838 --enable-objc-gc enable the use of Boehm
's garbage collector with
839 the GNU Objective-C runtime.
840 --enable-shared=PKGS build shared libraries default=no
841 --enable-static=PKGS build static libraries default=yes
842 --enable-fast-install=PKGS optimize for fast installation default=yes
843 --disable-libtool-lock avoid locking (might break parallel builds)
846 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
847 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
848 --with-target-subdir=SUBDIR
849 configuring in a subdirectory
850 --with-cross-host=HOST configuring with a cross compiler
851 --with-gnu-ld assume the C compiler uses GNU ld default=no
852 --with-pic try to use only PIC/non-PIC objects default=use both
854 Some influential environment variables:
855 CC C compiler command
856 CFLAGS C compiler flags
857 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
858 nonstandard directory <lib dir>
859 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
860 headers in a nonstandard directory <include dir>
863 Use these variables to override the choices made by `configure' or to
help
864 it to
find libraries and programs with nonstandard names
/locations.
869 if test "$ac_init_help" = "recursive"; then
870 # If there are subdirs, report their specific --help.
872 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
873 test -d $ac_dir ||
continue
876 if test "$ac_dir" != .
; then
877 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
878 # A "../" for each directory in $ac_dir_suffix.
879 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881 ac_dir_suffix
= ac_top_builddir
=
885 .
) # No --srcdir option. We are building in place.
887 if test -z "$ac_top_builddir"; then
890 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
892 [\\/]* | ?
:[\\/]* ) # Absolute path.
893 ac_srcdir
=$srcdir$ac_dir_suffix;
894 ac_top_srcdir
=$srcdir ;;
896 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
897 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
900 # Do not use `cd foo && pwd` to compute absolute paths, because
901 # the directories may not exist.
903 .
) ac_abs_builddir
="$ac_dir";;
906 .
) ac_abs_builddir
=`pwd`;;
907 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
908 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
911 case $ac_abs_builddir in
912 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
914 case ${ac_top_builddir}.
in
915 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
916 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
917 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
920 case $ac_abs_builddir in
921 .
) ac_abs_srcdir
=$ac_srcdir;;
924 .
) ac_abs_srcdir
=$ac_abs_builddir;;
925 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
926 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
929 case $ac_abs_builddir in
930 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
932 case $ac_top_srcdir in
933 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
934 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
935 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
940 # Check for guested configure; otherwise get Cygnus style configure.
941 if test -f $ac_srcdir/configure.gnu
; then
943 $SHELL $ac_srcdir/configure.gnu
--help=recursive
944 elif test -f $ac_srcdir/configure
; then
946 $SHELL $ac_srcdir/configure
--help=recursive
947 elif test -f $ac_srcdir/configure.ac ||
948 test -f $ac_srcdir/configure.
in; then
952 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958 test -n "$ac_init_help" && exit 0
959 if $ac_init_version; then
962 Copyright
(C
) 2003 Free Software Foundation
, Inc.
963 This configure
script is free software
; the Free Software Foundation
964 gives unlimited permission to copy
, distribute and modify it.
970 This file contains any messages produced by compilers while
971 running configure, to aid debugging if configure makes a mistake.
973 It was created by $as_me, which was
974 generated by GNU Autoconf 2.59. Invocation command line was
985 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
986 uname -m = `(uname -m) 2>/dev/null || echo unknown`
987 uname -r = `(uname -r) 2>/dev/null || echo unknown`
988 uname -s = `(uname -s) 2>/dev/null || echo unknown`
989 uname -v = `(uname -v) 2>/dev/null || echo unknown`
991 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
992 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
994 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
995 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
996 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
997 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
998 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
999 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1000 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1008 test -z "$as_dir" && as_dir
=.
1009 echo "PATH: $as_dir"
1024 # Keep a trace of the command line.
1025 # Strip out --no-create and --no-recursion so they do not pile up.
1026 # Strip out --silent because we don't want to record it for future runs.
1027 # Also quote any args containing shell meta-characters.
1028 # Make two passes to allow for proper duplicate-argument suppression.
1033 ac_must_keep_next
=false
1039 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1040 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1041 |
-silent |
--silent |
--silen |
--sile |
--sil)
1043 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1044 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1047 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1049 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1050 if test $ac_must_keep_next = true
; then
1051 ac_must_keep_next
=false
# Got value, back to normal.
1054 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1055 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1056 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1057 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1058 case "$ac_configure_args0 " in
1059 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1062 -* ) ac_must_keep_next
=true
;;
1065 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1066 # Get rid of the leading space.
1072 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1073 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1075 # When interrupted or exit'd, cleanup temporary files, and complete
1076 # config.log. We remove comments because anyway the quotes in there
1077 # would cause problems or look ugly.
1078 # WARNING: Be sure not to use single quotes in there, as some shells,
1079 # such as our DU 5.0 friend, will then `close' the trap.
1080 trap 'exit_status=$?
1081 # Save into config.log some information that might help in debugging.
1086 ## ---------------- ##
1087 ## Cache variables. ##
1088 ## ---------------- ##
1091 # The following way of writing the cache mishandles newlines in values,
1094 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1097 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1102 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1109 ## ----------------- ##
1110 ## Output variables. ##
1111 ## ----------------- ##
1114 for ac_var in $ac_subst_vars
1116 eval ac_val=$`echo $ac_var`
1117 echo "$ac_var='"'"'$ac_val'"'"'"
1121 if test -n "$ac_subst_files"; then
1128 for ac_var in $ac_subst_files
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -s confdefs.h; then
1143 sed "/^$/d" confdefs.h | sort
1146 test "$ac_signal" != 0 &&
1147 echo "$as_me: caught signal $ac_signal"
1148 echo "$as_me: exit $exit_status"
1150 rm -f core *.core &&
1151 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1154 for ac_signal
in 1 2 13 15; do
1155 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1160 rm -rf conftest
* confdefs.h
1161 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1164 # Predefined preprocessor variables.
1166 cat >>confdefs.h
<<_ACEOF
1167 #define PACKAGE_NAME "$PACKAGE_NAME"
1171 cat >>confdefs.h
<<_ACEOF
1172 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1176 cat >>confdefs.h
<<_ACEOF
1177 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1181 cat >>confdefs.h
<<_ACEOF
1182 #define PACKAGE_STRING "$PACKAGE_STRING"
1186 cat >>confdefs.h
<<_ACEOF
1187 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1191 # Let the site file select an alternate cache file if it wants to.
1192 # Prefer explicitly selected file to automatically selected ones.
1193 if test -z "$CONFIG_SITE"; then
1194 if test "x$prefix" != xNONE
; then
1195 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1197 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1200 for ac_site_file
in $CONFIG_SITE; do
1201 if test -r "$ac_site_file"; then
1202 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1203 echo "$as_me: loading site script $ac_site_file" >&6;}
1204 sed 's/^/| /' "$ac_site_file" >&5
1209 if test -r "$cache_file"; then
1210 # Some versions of bash will fail to source /dev/null (special
1211 # files actually), so we avoid doing that.
1212 if test -f "$cache_file"; then
1213 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1214 echo "$as_me: loading cache $cache_file" >&6;}
1216 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1217 *) . .
/$cache_file;;
1221 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1222 echo "$as_me: creating cache $cache_file" >&6;}
1226 # Check that the precious variables saved in the cache have kept the same
1228 ac_cache_corrupted
=false
1229 for ac_var
in `(set) 2>&1 |
1230 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1231 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1232 eval ac_new_set
=\
$ac_env_${ac_var}_set
1233 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1234 eval ac_new_val
="\$ac_env_${ac_var}_value"
1235 case $ac_old_set,$ac_new_set in
1237 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1238 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1239 ac_cache_corrupted
=: ;;
1241 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1242 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1243 ac_cache_corrupted
=: ;;
1246 if test "x$ac_old_val" != "x$ac_new_val"; then
1247 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1248 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1249 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1250 echo "$as_me: former value: $ac_old_val" >&2;}
1251 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1252 echo "$as_me: current value: $ac_new_val" >&2;}
1253 ac_cache_corrupted
=:
1256 # Pass precious variables to config.status.
1257 if test "$ac_new_set" = set; then
1259 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1260 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1261 *) ac_arg
=$ac_var=$ac_new_val ;;
1263 case " $ac_configure_args " in
1264 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1265 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1269 if $ac_cache_corrupted; then
1270 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1271 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1272 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1273 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1274 { (exit 1); exit 1; }; }
1278 ac_cpp
='$CPP $CPPFLAGS'
1279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1303 # We need the following definitions because AC_PROG_LIBTOOL relies on them
1305 # Version is pulled out to make it a bit easier to change using sed.
1309 # This works around the fact that libtool configuration may change LD
1310 # for this particular configuration, but some shells, instead of
1311 # keeping the changes in LD private, export them just because LD is
1313 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1319 # Default to --enable-multilib
1320 # Check whether --enable-multilib or --disable-multilib was given.
1321 if test "${enable_multilib+set}" = set; then
1322 enableval
="$enable_multilib"
1323 case "${enableval}" in
1324 yes) multilib
=yes ;;
1326 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1327 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1328 { (exit 1); exit 1; }; } ;;
1334 # We use these options to decide which functions to include.
1336 # Check whether --with-target-subdir or --without-target-subdir was given.
1337 if test "${with_target_subdir+set}" = set; then
1338 withval
="$with_target_subdir"
1342 # Check whether --with-cross-host or --without-cross-host was given.
1343 if test "${with_cross_host+set}" = set; then
1344 withval
="$with_cross_host"
1348 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1349 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1350 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1351 if test "${enable_version_specific_runtime_libs+set}" = set; then
1352 enableval
="$enable_version_specific_runtime_libs"
1353 case "$enableval" in
1354 yes) version_specific_libs
=yes ;;
1355 no
) version_specific_libs
=no
;;
1356 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1357 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1358 { (exit 1); exit 1; }; };;
1361 version_specific_libs
=no
1363 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1364 echo "${ECHO_T}$version_specific_libs" >&6
1366 # Check whether --enable-objc-gc or --disable-objc-gc was given.
1367 if test "${enable_objc_gc+set}" = set; then
1368 enableval
="$enable_objc_gc"
1369 case $enable_objc_gc in
1370 no
) OBJC_BOEHM_GC
='' ;;
1371 *) OBJC_BOEHM_GC
=libobjc_gc.la
;;
1382 # When building with srcdir == objdir, links to the source files will
1383 # be created in directories within the target_subdir. We have to
1384 # adjust toplevel_srcdir accordingly, so that configure finds
1385 # install-sh and other auxiliary files that live in the top-level
1387 if test "${srcdir}" = "."; then
1388 if test -z "${with_target_subdir}"; then
1391 if test "${with_target_subdir}" != "."; then
1392 toprel
="${with_multisrctop}../.."
1394 toprel
="${with_multisrctop}.."
1401 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1402 if test -f $ac_dir/install-sh
; then
1404 ac_install_sh
="$ac_aux_dir/install-sh -c"
1406 elif test -f $ac_dir/install.sh
; then
1408 ac_install_sh
="$ac_aux_dir/install.sh -c"
1410 elif test -f $ac_dir/shtool
; then
1412 ac_install_sh
="$ac_aux_dir/shtool install -c"
1416 if test -z "$ac_aux_dir"; then
1417 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&5
1418 echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&2;}
1419 { (exit 1); exit 1; }; }
1421 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1422 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1423 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1425 toplevel_srcdir=\${srcdir}/$toprel
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430 { { echo "$as_me:$LINENO: error
: cannot run
$ac_config_sub" >&5
1431 echo "$as_me: error
: cannot run
$ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system
type" >&5
1435 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached
) $ECHO_C" >&6
1439 ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
1444 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_build_alias failed
" >&5
1448 echo "$as_me: error
: $ac_config_sub $ac_cv_build_alias failed
" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1456 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1457 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1460 echo "$as_me:$LINENO: checking
host system
type" >&5
1461 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached
) $ECHO_C" >&6
1465 ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_host_alias failed
" >&5
1470 echo "$as_me: error
: $ac_config_sub $ac_cv_host_alias failed
" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1478 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1479 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482 echo "$as_me:$LINENO: checking target system
type" >&5
1483 echo $ECHO_N "checking target system
type...
$ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485 echo $ECHO_N "(cached
) $ECHO_C" >&6
1487 ac_cv_target_alias=$target_alias
1488 test "x
$ac_cv_target_alias" = "x
" &&
1489 ac_cv_target_alias=$ac_cv_host_alias
1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1491 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_target_alias failed
" >&5
1492 echo "$as_me: error
: $ac_config_sub $ac_cv_target_alias failed
" >&2;}
1493 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target=$ac_cv_target
1499 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1500 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1501 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507 test "$program_prefix$program_suffix$program_transform_name" = \
1509 program_prefix=${target_alias}-
1510 case ${build_alias} in
1511 "") build_noncanonical=${build} ;;
1512 *) build_noncanonical=${build_alias} ;;
1515 case ${host_alias} in
1516 "") host_noncanonical=${build_noncanonical} ;;
1517 *) host_noncanonical=${host_alias} ;;
1520 case ${target_alias} in
1521 "") target_noncanonical=${host_noncanonical} ;;
1522 *) target_noncanonical=${target_alias} ;;
1527 # Export source directory.
1528 # These need to be absolute paths, yet at the same time need to
1529 # canonicalize only relative paths, because then amd will not unmount
1530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1532 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1533 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1537 # Process the option "--enable-version-specific-runtime-libs"
1538 gcc_version_trigger=${srcdir}/../gcc/version.c
1539 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1540 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1543 # Calculate toolexeclibdir
1544 # Also toolexecdir, though it's only used in toolexeclibdir
1545 case ${version_specific_libs} in
1547 # Need the gcc compiler version to know where to install libraries
1548 # and header files if --enable-version-specific-runtime-libs option
1550 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
1551 toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1554 if test -n "$with_cross_host" &&
1555 test x"$with_cross_host" != x"no
"; then
1556 # Install a library built with a cross compiler in tooldir, not libdir.
1557 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
1558 toolexeclibdir='$(toolexecdir)/lib'
1560 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
1561 toolexeclibdir='$(libdir)'
1563 multi_os_directory=`$CC -print-multi-os-directory`
1564 case $multi_os_directory in
1565 .) ;; # Avoid trailing /.
1566 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1573 # Figure out if we want to name the include directory and the
1574 # library name changes differently.
1579 # Darwin is the only target so far that needs a different include directory.
1580 includedir=gnu-runtime;
1593 # We must force CC to /not/ be a precious variable; otherwise
1594 # the wrong, non-multilib-adjusted value will be used in multilibs.
1595 # As a side effect, we have to subst CFLAGS ourselves.
1599 ac_cpp='$CPP $CPPFLAGS'
1600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1603 if test -n "$ac_tool_prefix"; then
1604 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1606 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1608 if test "${ac_cv_prog_CC+set}" = set; then
1609 echo $ECHO_N "(cached
) $ECHO_C" >&6
1611 if test -n "$CC"; then
1612 ac_cv_prog_CC="$CC" # Let the user override the test.
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 for ac_exec_ext in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1622 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1631 if test -n "$CC"; then
1632 echo "$as_me:$LINENO: result
: $CC" >&5
1633 echo "${ECHO_T}$CC" >&6
1635 echo "$as_me:$LINENO: result
: no
" >&5
1636 echo "${ECHO_T}no
" >&6
1640 if test -z "$ac_cv_prog_CC"; then
1642 # Extract the first word of "gcc
", so it can be a program name with args.
1643 set dummy gcc; ac_word=$2
1644 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1645 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1646 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1647 echo $ECHO_N "(cached
) $ECHO_C" >&6
1649 if test -n "$ac_ct_CC"; then
1650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1656 test -z "$as_dir" && as_dir=.
1657 for ac_exec_ext in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 ac_cv_prog_ac_ct_CC="gcc
"
1660 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1669 if test -n "$ac_ct_CC"; then
1670 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1671 echo "${ECHO_T}$ac_ct_CC" >&6
1673 echo "$as_me:$LINENO: result
: no
" >&5
1674 echo "${ECHO_T}no
" >&6
1682 if test -z "$CC"; then
1683 if test -n "$ac_tool_prefix"; then
1684 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1685 set dummy ${ac_tool_prefix}cc; ac_word=$2
1686 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1687 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1688 if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached
) $ECHO_C" >&6
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC="$CC" # Let the user override the test.
1694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir=.
1699 for ac_exec_ext in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1702 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1711 if test -n "$CC"; then
1712 echo "$as_me:$LINENO: result
: $CC" >&5
1713 echo "${ECHO_T}$CC" >&6
1715 echo "$as_me:$LINENO: result
: no
" >&5
1716 echo "${ECHO_T}no
" >&6
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "cc
", so it can be a program name with args.
1723 set dummy cc; ac_word=$2
1724 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1725 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached
) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC="cc
"
1740 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result
: no
" >&5
1754 echo "${ECHO_T}no
" >&6
1763 if test -z "$CC"; then
1764 # Extract the first word of "cc
", so it can be a program name with args.
1765 set dummy cc; ac_word=$2
1766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached
) $ECHO_C" >&6
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC="$CC" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1783 ac_prog_rejected=yes
1787 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1793 if test $ac_prog_rejected = yes; then
1794 # We found a bogon in the path, so make sure we never use it.
1795 set dummy $ac_cv_prog_CC
1797 if test $# != 0; then
1798 # We chose a different compiler from the bogus one.
1799 # However, it has the same basename, so the bogon will be chosen
1800 # first if we set CC to just the basename; use the full file name.
1802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1808 if test -n "$CC"; then
1809 echo "$as_me:$LINENO: result
: $CC" >&5
1810 echo "${ECHO_T}$CC" >&6
1812 echo "$as_me:$LINENO: result
: no
" >&5
1813 echo "${ECHO_T}no
" >&6
1817 if test -z "$CC"; then
1818 if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1823 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1824 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1825 if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached
) $ECHO_C" >&6
1828 if test -n "$CC"; then
1829 ac_cv_prog_CC="$CC" # Let the user override the test.
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1839 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1848 if test -n "$CC"; then
1849 echo "$as_me:$LINENO: result
: $CC" >&5
1850 echo "${ECHO_T}$CC" >&6
1852 echo "$as_me:$LINENO: result
: no
" >&5
1853 echo "${ECHO_T}no
" >&6
1856 test -n "$CC" && break
1859 if test -z "$CC"; then
1863 # Extract the first word of "$ac_prog", so it can be a program name with args.
1864 set dummy $ac_prog; ac_word=$2
1865 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1866 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1868 echo $ECHO_N "(cached
) $ECHO_C" >&6
1870 if test -n "$ac_ct_CC"; then
1871 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir=.
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880 ac_cv_prog_ac_ct_CC="$ac_prog"
1881 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1890 if test -n "$ac_ct_CC"; then
1891 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1892 echo "${ECHO_T}$ac_ct_CC" >&6
1894 echo "$as_me:$LINENO: result
: no
" >&5
1895 echo "${ECHO_T}no
" >&6
1898 test -n "$ac_ct_CC" && break
1907 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1908 See \
`config.log' for more details." >&5
1909 echo "$as_me: error: no acceptable C compiler found in \$PATH
1910 See \`config.log
' for more details." >&2;}
1911 { (exit 1); exit 1; }; }
1913 # Provide some information about the compiler.
1914 echo "$as_me:$LINENO:" \
1915 "checking for C compiler version" >&5
1916 ac_compiler=`set X $ac_compile; echo $2`
1917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1918 (eval $ac_compiler --version </dev/null >&5) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1923 (eval $ac_compiler -v </dev/null >&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1928 (eval $ac_compiler -V </dev/null >&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1933 cat >conftest.$ac_ext <<_ACEOF
1936 cat confdefs.h >>conftest.$ac_ext
1937 cat >>conftest.$ac_ext <<_ACEOF
1938 /* end confdefs.h. */
1949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1950 (eval $ac_link) 2>&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }; then
1959 if test x$gcc_no_link = xyes; then
1960 # Setting cross_compile will disable run tests; it will
1961 # also disable AC_CHECK_FILE but that's generally
1962 # correct if we can't link.
1966 cat >conftest.
$ac_ext <<_ACEOF
1969 cat confdefs.h
>>conftest.
$ac_ext
1970 cat >>conftest.
$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1981 ac_clean_files_save
=$ac_clean_files
1982 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1983 # Try to create an executable without -o first, disregard a.out.
1984 # It will help us diagnose broken compilers, and finding out an intuition
1986 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1987 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1988 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1989 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1990 (eval $ac_link_default) 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }; then
1994 # Find the output, starting from the most likely. This scheme is
1995 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1998 # Be careful to initialize this variable, since it used to be cached.
1999 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2001 # b.out is created by i960 compilers.
2002 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2004 test -f "$ac_file" ||
continue
2006 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2009 # This is the source file.
2012 # We found the default executable, but exeext='' is most
2016 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2017 # FIXME: I believe we export ac_cv_exeext for Libtool,
2018 # but it would be cool to find out if it's true. Does anybody
2019 # maintain Libtool? --akim.
2027 echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.
$ac_ext >&5
2030 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2031 See \`config.log' for more details." >&5
2032 echo "$as_me: error: C compiler cannot create executables
2033 See \`config.log' for more details." >&2;}
2034 { (exit 77); exit 77; }; }
2037 ac_exeext
=$ac_cv_exeext
2038 echo "$as_me:$LINENO: result: $ac_file" >&5
2039 echo "${ECHO_T}$ac_file" >&6
2041 # Check the compiler produces executables we can run. If not, either
2042 # the compiler is broken, or we cross compile.
2043 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2044 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2045 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2046 # If not cross compiling, check that we can run a simple program.
2047 if test "$cross_compiling" != yes; then
2048 if { ac_try
='./$ac_file'
2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); }; }; then
2056 if test "$cross_compiling" = maybe
; then
2059 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2060 If you meant to cross compile, use \`--host'.
2061 See \`config.log' for more details." >&5
2062 echo "$as_me: error: cannot run C compiled programs.
2063 If you meant to cross compile, use \`--host'.
2064 See \`config.log' for more details." >&2;}
2065 { (exit 1); exit 1; }; }
2069 echo "$as_me:$LINENO: result: yes" >&5
2070 echo "${ECHO_T}yes" >&6
2072 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2073 ac_clean_files
=$ac_clean_files_save
2074 # Check the compiler produces executables we can run. If not, either
2075 # the compiler is broken, or we cross compile.
2076 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2077 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2078 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2079 echo "${ECHO_T}$cross_compiling" >&6
2081 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2082 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2084 (eval $ac_link) 2>&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; then
2088 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2089 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2090 # work properly (i.e., refer to `conftest.exe'), while it won't with
2092 for ac_file
in conftest.exe conftest conftest.
*; do
2093 test -f "$ac_file" ||
continue
2095 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2096 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2103 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2106 See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2110 rm -f conftest
$ac_cv_exeext
2111 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2112 echo "${ECHO_T}$ac_cv_exeext" >&6
2114 rm -f conftest.
$ac_ext
2115 EXEEXT
=$ac_cv_exeext
2118 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2119 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2120 if test "${ac_cv_objext+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 cat >conftest.
$ac_ext <<_ACEOF
2126 cat confdefs.h
>>conftest.
$ac_ext
2127 cat >>conftest.
$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2138 rm -f conftest.o conftest.obj
2139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2140 (eval $ac_compile) 2>&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; then
2144 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2146 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2147 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2152 echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.
$ac_ext >&5
2155 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2156 See \`config.log' for more details." >&5
2157 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2158 See \`config.log' for more details." >&2;}
2159 { (exit 1); exit 1; }; }
2162 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2164 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2165 echo "${ECHO_T}$ac_cv_objext" >&6
2166 OBJEXT
=$ac_cv_objext
2168 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2169 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2170 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 cat >conftest.
$ac_ext <<_ACEOF
2176 cat confdefs.h
>>conftest.
$ac_ext
2177 cat >>conftest.
$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1
>conftest.err
2197 cat conftest.err
>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try
='test -z "$ac_c_werror_flag"
2201 || test ! -s conftest.err'
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try
='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.
$ac_ext >&5
2220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2221 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2224 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2225 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2226 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2227 ac_test_CFLAGS
=${CFLAGS+set}
2228 ac_save_CFLAGS
=$CFLAGS
2230 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2231 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2232 if test "${ac_cv_prog_cc_g+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 cat >conftest.
$ac_ext <<_ACEOF
2238 cat confdefs.h
>>conftest.
$ac_ext
2239 cat >>conftest.
$ac_ext <<_ACEOF
2240 /* end confdefs.h. */
2250 rm -f conftest.
$ac_objext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252 (eval $ac_compile) 2>conftest.er1
2254 grep -v '^ *+' conftest.er1
>conftest.err
2256 cat conftest.err
>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } &&
2259 { ac_try
='test -z "$ac_c_werror_flag"
2260 || test ! -s conftest.err'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; } &&
2266 { ac_try
='test -s conftest.$ac_objext'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; }; then
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2282 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2283 if test "$ac_test_CFLAGS" = set; then
2284 CFLAGS
=$ac_save_CFLAGS
2285 elif test $ac_cv_prog_cc_g = yes; then
2286 if test "$GCC" = yes; then
2292 if test "$GCC" = yes; then
2298 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2299 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2300 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 ac_cv_prog_cc_stdc
=no
2305 cat >conftest.
$ac_ext <<_ACEOF
2308 cat confdefs.h
>>conftest.
$ac_ext
2309 cat >>conftest.
$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2313 #include <sys/types.h>
2314 #include <sys/stat.h>
2315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2316 struct buf { int x; };
2317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2318 static char *e (p, i)
2324 static char *f (char * (*g) (char **, int), char **p, ...)
2329 s = g (p, va_arg (v,int));
2334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2335 function prototypes and stuff, but not '\xHH' hex character constants.
2336 These don't provoke an error unfortunately, instead are silently treated
2337 as 'x'. The following induces an error, until -std1 is added to get
2338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2339 array size at least. It's necessary to write '\x00'==0 to get something
2340 that's true only with -std1. */
2341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2343 int test (int i, double x);
2344 struct s1 {int (*f) (int a);};
2345 struct s2 {int (*f) (double a);};
2346 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2352 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2357 # Don't try gcc -ansi; that turns off useful extensions and
2358 # breaks some systems' header files.
2359 # AIX -qlanglvl=ansi
2360 # Ultrix and OSF/1 -std1
2361 # HP-UX 10.20 and later -Ae
2362 # HP-UX older versions -Aa -D_HPUX_SOURCE
2363 # SVR4 -Xc -D__EXTENSIONS__
2364 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2366 CC
="$ac_save_CC $ac_arg"
2367 rm -f conftest.
$ac_objext
2368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2369 (eval $ac_compile) 2>conftest.er1
2371 grep -v '^ *+' conftest.er1
>conftest.err
2373 cat conftest.err
>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } &&
2376 { ac_try
='test -z "$ac_c_werror_flag"
2377 || test ! -s conftest.err'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; } &&
2383 { ac_try
='test -s conftest.$ac_objext'
2384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; }; then
2389 ac_cv_prog_cc_stdc
=$ac_arg
2392 echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.
$ac_ext >&5
2396 rm -f conftest.err conftest.
$ac_objext
2398 rm -f conftest.
$ac_ext conftest.
$ac_objext
2403 case "x$ac_cv_prog_cc_stdc" in
2405 echo "$as_me:$LINENO: result: none needed" >&5
2406 echo "${ECHO_T}none needed" >&6 ;;
2408 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2409 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2410 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2413 # Some people use a C++ compiler to compile C. Since we use `exit',
2414 # in C++ we need to declare it. In case someone uses the same compiler
2415 # for both compiling C and C++ we need to have the C++ compiler decide
2416 # the declaration of exit, since it's the most demanding environment.
2417 cat >conftest.
$ac_ext <<_ACEOF
2422 rm -f conftest.
$ac_objext
2423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424 (eval $ac_compile) 2>conftest.er1
2426 grep -v '^ *+' conftest.er1
>conftest.err
2428 cat conftest.err
>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } &&
2431 { ac_try
='test -z "$ac_c_werror_flag"
2432 || test ! -s conftest.err'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; } &&
2438 { ac_try
='test -s conftest.$ac_objext'
2439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; }; then
2444 for ac_declaration
in \
2446 'extern "C" void std::exit (int) throw (); using std::exit;' \
2447 'extern "C" void std::exit (int); using std::exit;' \
2448 'extern "C" void exit (int) throw ();' \
2449 'extern "C" void exit (int);' \
2452 cat >conftest.
$ac_ext <<_ACEOF
2455 cat confdefs.h
>>conftest.
$ac_ext
2456 cat >>conftest.
$ac_ext <<_ACEOF
2457 /* end confdefs.h. */
2468 rm -f conftest.
$ac_objext
2469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2470 (eval $ac_compile) 2>conftest.er1
2472 grep -v '^ *+' conftest.er1
>conftest.err
2474 cat conftest.err
>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try
='test -z "$ac_c_werror_flag"
2478 || test ! -s conftest.err'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; } &&
2484 { ac_try
='test -s conftest.$ac_objext'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_c_werror_flag"
2523 || test ! -s conftest.err'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; } &&
2529 { ac_try
='test -s conftest.$ac_objext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2544 if test -n "$ac_declaration"; then
2545 echo '#ifdef __cplusplus' >>confdefs.h
2546 echo $ac_declaration >>confdefs.h
2547 echo '#endif' >>confdefs.h
2551 echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.
$ac_ext >&5
2555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2557 ac_cpp
='$CPP $CPPFLAGS'
2558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2566 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2568 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571 if test "${ac_cv_prog_AS+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$AS"; then
2575 ac_cv_prog_AS
="$AS" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_AS
="${ac_tool_prefix}as"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$AS"; then
2595 echo "$as_me:$LINENO: result: $AS" >&5
2596 echo "${ECHO_T}$AS" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2603 if test -z "$ac_cv_prog_AS"; then
2605 # Extract the first word of "as", so it can be a program name with args.
2606 set dummy as
; ac_word
=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$ac_ct_AS"; then
2613 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_ac_ct_AS
="as"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2632 if test -n "$ac_ct_AS"; then
2633 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2634 echo "${ECHO_T}$ac_ct_AS" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2645 if test -n "$ac_tool_prefix"; then
2646 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2647 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_AR+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$AR"; then
2654 ac_cv_prog_AR
="$AR" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$AR"; then
2674 echo "$as_me:$LINENO: result: $AR" >&5
2675 echo "${ECHO_T}$AR" >&6
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2682 if test -z "$ac_cv_prog_AR"; then
2684 # Extract the first word of "ar", so it can be a program name with args.
2685 set dummy
ar; ac_word
=$2
2686 echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2688 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 if test -n "$ac_ct_AR"; then
2692 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 for ac_exec_ext
in '' $ac_executable_extensions; do
2700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_ac_ct_AR
="ar"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2711 if test -n "$ac_ct_AR"; then
2712 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2713 echo "${ECHO_T}$ac_ct_AR" >&6
2715 echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6
2724 if test -n "$ac_tool_prefix"; then
2725 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2726 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2727 echo "$as_me:$LINENO: checking for $ac_word" >&5
2728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2729 if test "${ac_cv_prog_RANLIB+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 if test -n "$RANLIB"; then
2733 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 RANLIB
=$ac_cv_prog_RANLIB
2752 if test -n "$RANLIB"; then
2753 echo "$as_me:$LINENO: result: $RANLIB" >&5
2754 echo "${ECHO_T}$RANLIB" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2761 if test -z "$ac_cv_prog_RANLIB"; then
2762 ac_ct_RANLIB
=$RANLIB
2763 # Extract the first word of "ranlib", so it can be a program name with args.
2764 set dummy ranlib
; ac_word
=$2
2765 echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2767 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 if test -n "$ac_ct_RANLIB"; then
2771 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir
=.
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2790 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2791 if test -n "$ac_ct_RANLIB"; then
2792 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2793 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2799 RANLIB
=$ac_ct_RANLIB
2801 RANLIB
="$ac_cv_prog_RANLIB"
2804 # Find a good install program. We prefer a C program (faster),
2805 # so one script is as good as another. But avoid the broken or
2806 # incompatible versions:
2807 # SysV /etc/install, /usr/sbin/install
2808 # SunOS /usr/etc/install
2809 # IRIX /sbin/install
2811 # AmigaOS /C/install, which installs bootblocks on floppy discs
2812 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2813 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2814 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2815 # OS/2's system install, which has a completely different semantic
2816 # ./install, which can be erroneously created by make from ./install.sh.
2817 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2818 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2819 if test -z "$INSTALL"; then
2820 if test "${ac_cv_path_install+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 # Account for people who put trailing slashes in PATH elements.
2830 .
/ | .
// |
/cC
/* | \
2831 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2832 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2835 # OSF1 and SCO ODT 3.0 have their own names for install.
2836 # Don't use installbsd from OSF since it installs stuff as root
2838 for ac_prog
in ginstall scoinst
install; do
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2841 if test $ac_prog = install &&
2842 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2843 # AIX install. It has an incompatible calling convention.
2845 elif test $ac_prog = install &&
2846 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2847 # program-specific install script used by HP pwplus--don't use.
2850 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2862 if test "${ac_cv_path_install+set}" = set; then
2863 INSTALL
=$ac_cv_path_install
2865 # As a last resort, use the slow shell script. We don't cache a
2866 # path for INSTALL within a source directory, because that will
2867 # break other packages using the cache if that directory is
2868 # removed, or if the path is relative.
2869 INSTALL
=$ac_install_sh
2872 echo "$as_me:$LINENO: result: $INSTALL" >&5
2873 echo "${ECHO_T}$INSTALL" >&6
2875 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2876 # It thinks the first close brace ends the variable substitution.
2877 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2879 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2881 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2884 # Disable shared libs by default
2885 # Check whether --enable-shared or --disable-shared was given.
2886 if test "${enable_shared+set}" = set; then
2887 enableval
="$enable_shared"
2888 p
=${PACKAGE-default}
2890 yes) enable_shared
=yes ;;
2891 no
) enable_shared
=no
;;
2894 # Look at the argument we got. We use all the common list separators.
2895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2896 for pkg
in $enableval; do
2897 if test "X$pkg" = "X$p"; then
2907 # Enable Win32 DLL on MS Windows - FIXME
2910 # Check whether --enable-static or --disable-static was given.
2911 if test "${enable_static+set}" = set; then
2912 enableval
="$enable_static"
2913 p
=${PACKAGE-default}
2915 yes) enable_static
=yes ;;
2916 no
) enable_static
=no
;;
2919 # Look at the argument we got. We use all the common list separators.
2920 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2921 for pkg
in $enableval; do
2922 if test "X$pkg" = "X$p"; then
2932 # Check whether --enable-fast-install or --disable-fast-install was given.
2933 if test "${enable_fast_install+set}" = set; then
2934 enableval
="$enable_fast_install"
2935 p
=${PACKAGE-default}
2937 yes) enable_fast_install
=yes ;;
2938 no
) enable_fast_install
=no
;;
2940 enable_fast_install
=no
2941 # Look at the argument we got. We use all the common list separators.
2942 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2943 for pkg
in $enableval; do
2944 if test "X$pkg" = "X$p"; then
2945 enable_fast_install
=yes
2952 enable_fast_install
=yes
2955 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2956 if test "${with_gnu_ld+set}" = set; then
2957 withval
="$with_gnu_ld"
2958 test "$withval" = no || with_gnu_ld
=yes
2963 if test "$GCC" = yes; then
2964 # Check if gcc -print-prog-name=ld gives a path.
2965 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2966 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2969 # gcc leaves a trailing carriage return which upsets mingw
2970 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2972 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2975 # Accept absolute paths.
2976 [\\/]* |
[A-Za-z
]:[\\/]*)
2977 re_direlt
='/[^/][^/]*/\.\./'
2978 # Canonicalize the path of ld
2979 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2980 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2981 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2983 test -z "$LD" && LD
="$ac_prog"
2986 # If it fails, then pretend we aren't using GCC.
2990 # If it is relative, then search for the first ld in PATH.
2994 elif test "$with_gnu_ld" = yes; then
2995 echo "$as_me:$LINENO: checking for GNU ld" >&5
2996 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2998 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2999 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3001 if test "${lt_cv_path_LD+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 if test -z "$LD"; then
3005 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3006 for ac_dir
in $PATH; do
3007 test -z "$ac_dir" && ac_dir
=.
3008 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3009 lt_cv_path_LD
="$ac_dir/$ac_prog"
3010 # Check to see if the program is GNU ld. I'd rather use --version,
3011 # but apparently some GNU ld's only accept -v.
3012 # Break only if it was the GNU/non-GNU ld that we prefer.
3013 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3014 test "$with_gnu_ld" != no
&& break
3016 test "$with_gnu_ld" != yes && break
3022 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3027 if test -n "$LD"; then
3028 echo "$as_me:$LINENO: result: $LD" >&5
3029 echo "${ECHO_T}$LD" >&6
3031 echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3034 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3035 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3036 { (exit 1); exit 1; }; }
3037 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3038 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3039 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3043 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3044 lt_cv_prog_gnu_ld
=yes
3046 lt_cv_prog_gnu_ld
=no
3049 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3050 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3051 with_gnu_ld
=$lt_cv_prog_gnu_ld
3054 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3055 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3056 if test "${lt_cv_ld_reload_flag+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 lt_cv_ld_reload_flag
='-r'
3061 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3062 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3063 reload_flag
=$lt_cv_ld_reload_flag
3064 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3066 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3067 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3068 if test "${lt_cv_path_NM+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 if test -n "$NM"; then
3072 # Let the user override the test.
3075 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3076 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3077 test -z "$ac_dir" && ac_dir
=.
3078 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3079 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3080 # Check to see if the nm accepts a BSD-compat flag.
3081 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3082 # nm: unknown option "B" ignored
3083 # Tru64's nm complains that /dev/null is an invalid object file
3084 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3085 lt_cv_path_NM
="$tmp_nm -B"
3087 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3088 lt_cv_path_NM
="$tmp_nm -p"
3091 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3092 continue # so that we can try to find one that supports BSD flags
3097 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3102 echo "$as_me:$LINENO: result: $NM" >&5
3103 echo "${ECHO_T}$NM" >&6
3105 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3106 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3108 if test "$LN_S" = "ln -s"; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3112 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3113 echo "${ECHO_T}no, using $LN_S" >&6
3116 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3117 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3118 if test "${lt_cv_deplibs_check_method+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3122 lt_cv_file_magic_test_file
=
3123 lt_cv_deplibs_check_method
='unknown'
3124 # Need to set the preceding variable on all platforms that support
3125 # interlibrary dependencies.
3126 # 'none' -- dependencies not supported.
3127 # `unknown' -- same as none, but documents that we really don't know.
3128 # 'pass_all' -- all dependencies passed with no checks.
3129 # 'test_compile' -- check by making test program.
3130 # 'file_magic [regex]' -- check by looking for files in library path
3131 # which responds to the $file_magic_cmd with a given egrep regex.
3132 # If you have `file' or equivalent on your system and you're not sure
3133 # whether `pass_all' will *always* work, you probably want this one.
3137 lt_cv_deplibs_check_method
=pass_all
3141 lt_cv_deplibs_check_method
=pass_all
3145 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3146 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3147 lt_cv_file_magic_test_file
=/shlib
/libc.so
3150 cygwin
* | mingw
* |pw32
*)
3151 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3152 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3155 darwin
* | rhapsody
*)
3156 # this will be overwritten by pass_all, but leave it in just in case
3157 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3158 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3160 rhapsody
* | darwin1.012
)
3161 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3164 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3167 lt_cv_deplibs_check_method
=pass_all
3170 freebsd
* | kfreebsd
*-gnu)
3171 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3174 # Not sure whether the presence of OpenBSD here was a mistake.
3175 # Let's accept both of them until this is cleared up.
3176 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3177 lt_cv_file_magic_cmd
=/usr
/bin
/file
3178 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3182 lt_cv_deplibs_check_method
=pass_all
3187 lt_cv_deplibs_check_method
=pass_all
3193 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3194 lt_cv_file_magic_cmd
=/usr
/bin
/file
3195 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3198 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3199 lt_cv_file_magic_cmd
=/usr
/bin
/file
3200 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3208 # this will be overridden with pass_all, but let us keep it just in case
3209 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3213 *-32|
*"-32 ") libmagic
=32-bit;;
3214 *-n32|
*"-n32 ") libmagic
=N32
;;
3215 *-64|
*"-64 ") libmagic
=64-bit;;
3216 *) libmagic
=never-match
;;
3218 # this will be overridden with pass_all, but let us keep it just in case
3219 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3222 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3223 lt_cv_deplibs_check_method
=pass_all
3226 # This must be Linux ELF.
3229 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3230 lt_cv_deplibs_check_method
=pass_all
;;
3232 # glibc up to 2.1.1 does not perform some relocations on ARM
3233 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3235 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3238 netbsd
* | knetbsd
*-gnu)
3239 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3240 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3242 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3247 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3248 lt_cv_file_magic_cmd
=/usr
/bin
/file
3249 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3252 osf3
* | osf4
* | osf5
*)
3253 # this will be overridden with pass_all, but let us keep it just in case
3254 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3255 lt_cv_file_magic_test_file
=/shlib
/libc.so
3256 lt_cv_deplibs_check_method
=pass_all
3260 lt_cv_deplibs_check_method
=pass_all
3264 lt_cv_deplibs_check_method
=pass_all
3265 lt_cv_file_magic_test_file
=/lib
/libc.so
3268 sysv5uw
[78]* | sysv4
*uw2
*)
3269 lt_cv_deplibs_check_method
=pass_all
3272 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3273 case $host_vendor in
3275 lt_cv_deplibs_check_method
=pass_all
3278 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3279 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3286 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3287 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3288 file_magic_cmd
=$lt_cv_file_magic_cmd
3289 deplibs_check_method
=$lt_cv_deplibs_check_method
3295 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3297 # Only perform the check for file, if the check method requires it
3298 case $deplibs_check_method in
3300 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3301 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3302 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3311 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3314 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3315 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3316 ac_dummy
="/usr/bin:$PATH"
3317 for ac_dir
in $ac_dummy; do
3318 test -z "$ac_dir" && ac_dir
=.
3319 if test -f $ac_dir/${ac_tool_prefix}file; then
3320 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3321 if test -n "$file_magic_test_file"; then
3322 case $deplibs_check_method in
3324 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3325 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3326 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3327 egrep "$file_magic_regex" > /dev
/null
; then
3332 *** Warning: the command libtool uses to detect shared libraries,
3333 *** $file_magic_cmd, produces output that libtool cannot recognize.
3334 *** The result is that libtool may fail to recognize shared libraries
3335 *** as such. This will affect the creation of libtool libraries that
3336 *** depend on shared libraries, but programs linked with such libtool
3337 *** libraries will work regardless of this problem. Nevertheless, you
3338 *** may want to report the problem to your system manager and/or to
3339 *** bug-libtool@gnu.org
3349 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3354 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3355 if test -n "$MAGIC_CMD"; then
3356 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3357 echo "${ECHO_T}$MAGIC_CMD" >&6
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3363 if test -z "$lt_cv_path_MAGIC_CMD"; then
3364 if test -n "$ac_tool_prefix"; then
3365 echo "$as_me:$LINENO: checking for file" >&5
3366 echo $ECHO_N "checking for file... $ECHO_C" >&6
3367 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3375 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3378 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3379 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3380 ac_dummy
="/usr/bin:$PATH"
3381 for ac_dir
in $ac_dummy; do
3382 test -z "$ac_dir" && ac_dir
=.
3383 if test -f $ac_dir/file; then
3384 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3385 if test -n "$file_magic_test_file"; then
3386 case $deplibs_check_method in
3388 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3389 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3390 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3391 egrep "$file_magic_regex" > /dev
/null
; then
3396 *** Warning: the command libtool uses to detect shared libraries,
3397 *** $file_magic_cmd, produces output that libtool cannot recognize.
3398 *** The result is that libtool may fail to recognize shared libraries
3399 *** as such. This will affect the creation of libtool libraries that
3400 *** depend on shared libraries, but programs linked with such libtool
3401 *** libraries will work regardless of this problem. Nevertheless, you
3402 *** may want to report the problem to your system manager and/or to
3403 *** bug-libtool@gnu.org
3413 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3418 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3419 if test -n "$MAGIC_CMD"; then
3420 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3421 echo "${ECHO_T}$MAGIC_CMD" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3436 if test -n "$ac_tool_prefix"; then
3437 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3438 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3439 echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441 if test "${ac_cv_prog_RANLIB+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -n "$RANLIB"; then
3445 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_exec_ext
in '' $ac_executable_extensions; do
3453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 RANLIB
=$ac_cv_prog_RANLIB
3464 if test -n "$RANLIB"; then
3465 echo "$as_me:$LINENO: result: $RANLIB" >&5
3466 echo "${ECHO_T}$RANLIB" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3473 if test -z "$ac_cv_prog_RANLIB"; then
3474 ac_ct_RANLIB
=$RANLIB
3475 # Extract the first word of "ranlib", so it can be a program name with args.
3476 set dummy ranlib
; ac_word
=$2
3477 echo "$as_me:$LINENO: checking for $ac_word" >&5
3478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3479 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 if test -n "$ac_ct_RANLIB"; then
3483 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir
=.
3490 for ac_exec_ext
in '' $ac_executable_extensions; do
3491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3502 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3503 if test -n "$ac_ct_RANLIB"; then
3504 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3505 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3511 RANLIB
=$ac_ct_RANLIB
3513 RANLIB
="$ac_cv_prog_RANLIB"
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3518 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3519 echo "$as_me:$LINENO: checking for $ac_word" >&5
3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3521 if test "${ac_cv_prog_STRIP+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 if test -n "$STRIP"; then
3525 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir
=.
3532 for ac_exec_ext
in '' $ac_executable_extensions; do
3533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 STRIP
=$ac_cv_prog_STRIP
3544 if test -n "$STRIP"; then
3545 echo "$as_me:$LINENO: result: $STRIP" >&5
3546 echo "${ECHO_T}$STRIP" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3553 if test -z "$ac_cv_prog_STRIP"; then
3555 # Extract the first word of "strip", so it can be a program name with args.
3556 set dummy strip
; ac_word
=$2
3557 echo "$as_me:$LINENO: checking for $ac_word" >&5
3558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3559 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 if test -n "$ac_ct_STRIP"; then
3563 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_ac_ct_STRIP
="strip"
3573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3582 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3583 if test -n "$ac_ct_STRIP"; then
3584 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3585 echo "${ECHO_T}$ac_ct_STRIP" >&6
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3593 STRIP
="$ac_cv_prog_STRIP"
3597 # Check for any special flags to pass to ltconfig.
3598 libtool_flags
="--cache-file=$cache_file"
3599 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3600 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3601 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3602 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3603 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3606 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3607 if test "${enable_libtool_lock+set}" = set; then
3608 enableval
="$enable_libtool_lock"
3611 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3612 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3615 # Check whether --with-pic or --without-pic was given.
3616 if test "${with_pic+set}" = set; then
3622 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3623 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3625 # Some flags need to be propagated to the compiler or linker for good
3629 # Find out which ABI we are using.
3630 echo '#line 3630 "configure"' > conftest.
$ac_ext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3632 (eval $ac_compile) 2>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; then
3636 if test "$lt_cv_prog_gnu_ld" = yes; then
3637 case `/usr/bin/file conftest.$ac_objext` in
3639 LD
="${LD-ld} -melf32bsmip"
3642 LD
="${LD-ld} -melf32bmipn32"
3645 LD
="${LD-ld} -melf64bmip"
3649 case `/usr/bin/file conftest.$ac_objext` in
3666 # Find out which ABI we are using.
3667 echo 'int i;' > conftest.
$ac_ext
3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3669 (eval $ac_compile) 2>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; then
3673 case "`/usr/bin/file conftest.o`" in
3685 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3686 # Find out which ABI we are using.
3687 echo 'int i;' > conftest.
$ac_ext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689 (eval $ac_compile) 2>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; then
3693 case "`/usr/bin/file conftest.o`" in
3697 LD
="${LD-ld} -m elf_i386"
3699 ppc64-
*linux
*|powerpc64-
*linux
*)
3700 LD
="${LD-ld} -m elf32ppclinux"
3703 LD
="${LD-ld} -m elf_s390"
3706 LD
="${LD-ld} -m elf32_sparc"
3713 LD
="${LD-ld} -m elf_x86_64"
3715 ppc
*-*linux
*|powerpc
*-*linux
*)
3716 LD
="${LD-ld} -m elf64ppc"
3719 LD
="${LD-ld} -m elf64_s390"
3722 LD
="${LD-ld} -m elf64_sparc"
3732 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3733 SAVE_CFLAGS
="$CFLAGS"
3734 CFLAGS
="$CFLAGS -belf"
3735 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3736 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3737 if test "${lt_cv_cc_needs_belf+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 ac_cpp
='$CPP $CPPFLAGS'
3744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3748 if test x
$gcc_no_link = xyes
; then
3749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3751 { (exit 1); exit 1; }; }
3753 cat >conftest.
$ac_ext <<_ACEOF
3756 cat confdefs.h
>>conftest.
$ac_ext
3757 cat >>conftest.
$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3768 rm -f conftest.
$ac_objext conftest
$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag"
3778 || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try
='test -s conftest$ac_exeext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 lt_cv_cc_needs_belf
=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 lt_cv_cc_needs_belf
=no
3797 rm -f conftest.err conftest.
$ac_objext \
3798 conftest
$ac_exeext conftest.
$ac_ext
3800 ac_cpp
='$CPP $CPPFLAGS'
3801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3806 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3807 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3808 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3809 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3810 CFLAGS
="$SAVE_CFLAGS"
3818 # Save cache, so that ltconfig can load it
3819 cat >confcache
<<\_ACEOF
3820 # This file is a shell script that caches the results of configure
3821 # tests run on this system so they can be shared between configure
3822 # scripts and configure runs, see configure's option --config-cache.
3823 # It is not useful on other systems. If it contains results you don't
3824 # want to keep, you may remove or edit it.
3826 # config.status only pays attention to the cache file if you give it
3827 # the --recheck option to rerun configure.
3829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3835 # The following way of writing the cache mishandles newlines in values,
3836 # but we know of no workaround that is simple, portable, and efficient.
3837 # So, don't put newlines in cache variables' values.
3838 # Ultrix sh set writes to stderr and can't be redirected directly,
3839 # and sets the high bit in the cache file unless we assign to the vars.
3842 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3844 # `set' does not quote correctly, so add quotes (double-quote
3845 # substitution turns \\\\ into \\, and sed turns \\ into \).
3848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3851 # `set' quotes correctly as required by POSIX, so do not add quotes.
3853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3862 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3864 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3865 if test -w $cache_file; then
3866 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3867 cat confcache
>$cache_file
3869 echo "not updating unwritable cache $cache_file"
3874 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3875 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3876 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3877 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3878 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3879 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3880 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3881 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3882 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3883 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3884 echo "$as_me: error: libtool configure failed" >&2;}
3885 { (exit 1); exit 1; }; }
3887 # Reload cache, that may have been modified by ltconfig
3888 if test -r "$cache_file"; then
3889 # Some versions of bash will fail to source /dev/null (special
3890 # files actually), so we avoid doing that.
3891 if test -f "$cache_file"; then
3892 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3893 echo "$as_me: loading cache $cache_file" >&6;}
3895 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3896 *) . .
/$cache_file;;
3900 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3901 echo "$as_me: creating cache $cache_file" >&6;}
3906 # This can be used to rebuild libtool when needed
3907 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3909 # Always use our own libtool.
3910 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3912 # Redirect the config.log output again, so that the ltconfig log is not
3913 # clobbered by the next message.
3914 exec 5>>.
/config.log
3922 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3923 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3924 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3925 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 cat >conftest.
make <<\_ACEOF
3930 @
echo 'ac_maketemp="$(MAKE)"'
3932 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3933 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3934 if test -n "$ac_maketemp"; then
3935 eval ac_cv_prog_make_
${ac_make}_set
=yes
3937 eval ac_cv_prog_make_
${ac_make}_set
=no
3941 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3948 SET_MAKE
="MAKE=${MAKE-make}"
3956 # Sanity check for the cross-compilation case:
3958 ac_cpp
='$CPP $CPPFLAGS'
3959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3962 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3963 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3964 # On Suns, sometimes $CPP names a directory.
3965 if test -n "$CPP" && test -d "$CPP"; then
3968 if test -z "$CPP"; then
3969 if test "${ac_cv_prog_CPP+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 # Double quotes because CPP needs to be expanded
3973 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3976 for ac_c_preproc_warn_flag
in '' yes
3978 # Use a header file that comes with gcc, so configuring glibc
3979 # with a fresh cross-compiler works.
3980 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3981 # <limits.h> exists even on freestanding compilers.
3982 # On the NeXT, cc -E runs the code through the compiler's parser,
3983 # not just through cpp. "Syntax error" is here to catch this case.
3984 cat >conftest.
$ac_ext <<_ACEOF
3987 cat confdefs.h
>>conftest.
$ac_ext
3988 cat >>conftest.
$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3991 # include <limits.h>
3993 # include <assert.h>
3997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1
>conftest.err
4002 cat conftest.err
>&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } >/dev
/null
; then
4005 if test -s conftest.err
; then
4006 ac_cpp_err
=$ac_c_preproc_warn_flag
4007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4014 if test -z "$ac_cpp_err"; then
4017 echo "$as_me: failed program was:" >&5
4018 sed 's/^/| /' conftest.
$ac_ext >&5
4020 # Broken: fails on valid input.
4023 rm -f conftest.err conftest.
$ac_ext
4025 # OK, works on sane cases. Now check whether non-existent headers
4026 # can be detected and how.
4027 cat >conftest.
$ac_ext <<_ACEOF
4030 cat confdefs.h
>>conftest.
$ac_ext
4031 cat >>conftest.
$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <ac_nonexistent.h>
4035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4038 grep -v '^ *+' conftest.er1
>conftest.err
4040 cat conftest.err
>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev
/null
; then
4043 if test -s conftest.err
; then
4044 ac_cpp_err
=$ac_c_preproc_warn_flag
4045 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4052 if test -z "$ac_cpp_err"; then
4053 # Broken: success on invalid input.
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.
$ac_ext >&5
4059 # Passes both tests.
4063 rm -f conftest.err conftest.
$ac_ext
4066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4067 rm -f conftest.err conftest.
$ac_ext
4068 if $ac_preproc_ok; then
4080 echo "$as_me:$LINENO: result: $CPP" >&5
4081 echo "${ECHO_T}$CPP" >&6
4083 for ac_c_preproc_warn_flag
in '' yes
4085 # Use a header file that comes with gcc, so configuring glibc
4086 # with a fresh cross-compiler works.
4087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4088 # <limits.h> exists even on freestanding compilers.
4089 # On the NeXT, cc -E runs the code through the compiler's parser,
4090 # not just through cpp. "Syntax error" is here to catch this case.
4091 cat >conftest.
$ac_ext <<_ACEOF
4094 cat confdefs.h
>>conftest.
$ac_ext
4095 cat >>conftest.
$ac_ext <<_ACEOF
4096 /* end confdefs.h. */
4098 # include <limits.h>
4100 # include <assert.h>
4104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4107 grep -v '^ *+' conftest.er1
>conftest.err
4109 cat conftest.err
>&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); } >/dev
/null
; then
4112 if test -s conftest.err
; then
4113 ac_cpp_err
=$ac_c_preproc_warn_flag
4114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4121 if test -z "$ac_cpp_err"; then
4124 echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.
$ac_ext >&5
4127 # Broken: fails on valid input.
4130 rm -f conftest.err conftest.
$ac_ext
4132 # OK, works on sane cases. Now check whether non-existent headers
4133 # can be detected and how.
4134 cat >conftest.
$ac_ext <<_ACEOF
4137 cat confdefs.h
>>conftest.
$ac_ext
4138 cat >>conftest.
$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4140 #include <ac_nonexistent.h>
4142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4145 grep -v '^ *+' conftest.er1
>conftest.err
4147 cat conftest.err
>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } >/dev
/null
; then
4150 if test -s conftest.err
; then
4151 ac_cpp_err
=$ac_c_preproc_warn_flag
4152 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4159 if test -z "$ac_cpp_err"; then
4160 # Broken: success on invalid input.
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.
$ac_ext >&5
4166 # Passes both tests.
4170 rm -f conftest.err conftest.
$ac_ext
4173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174 rm -f conftest.err conftest.
$ac_ext
4175 if $ac_preproc_ok; then
4178 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4179 See \`config.log' for more details." >&5
4180 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4181 See \`config.log' for more details." >&2;}
4182 { (exit 1); exit 1; }; }
4186 ac_cpp
='$CPP $CPPFLAGS'
4187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4192 echo "$as_me:$LINENO: checking for egrep" >&5
4193 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4194 if test "${ac_cv_prog_egrep+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4198 then ac_cv_prog_egrep
='grep -E'
4199 else ac_cv_prog_egrep
='egrep'
4202 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4203 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4204 EGREP
=$ac_cv_prog_egrep
4207 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4208 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4209 if test "${ac_cv_header_stdc+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 cat >conftest.
$ac_ext <<_ACEOF
4215 cat confdefs.h
>>conftest.
$ac_ext
4216 cat >>conftest.
$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4231 rm -f conftest.
$ac_objext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1
>conftest.err
4237 cat conftest.err
>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } &&
4240 { ac_try
='test -z "$ac_c_werror_flag"
4241 || test ! -s conftest.err'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; } &&
4247 { ac_try
='test -s conftest.$ac_objext'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4253 ac_cv_header_stdc
=yes
4255 echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.
$ac_ext >&5
4258 ac_cv_header_stdc
=no
4260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4262 if test $ac_cv_header_stdc = yes; then
4263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4274 $EGREP "memchr" >/dev
/null
2>&1; then
4277 ac_cv_header_stdc
=no
4283 if test $ac_cv_header_stdc = yes; then
4284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4285 cat >conftest.
$ac_ext <<_ACEOF
4288 cat confdefs.h
>>conftest.
$ac_ext
4289 cat >>conftest.
$ac_ext <<_ACEOF
4290 /* end confdefs.h. */
4294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4295 $EGREP "free" >/dev
/null
2>&1; then
4298 ac_cv_header_stdc
=no
4304 if test $ac_cv_header_stdc = yes; then
4305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4306 if test "$cross_compiling" = yes; then
4309 cat >conftest.
$ac_ext <<_ACEOF
4312 cat confdefs.h
>>conftest.
$ac_ext
4313 cat >>conftest.
$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4316 #if ((' ' & 0x0FF) == 0x020)
4317 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4318 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4320 # define ISLOWER(c) \
4321 (('a' <= (c) && (c) <= 'i') \
4322 || ('j' <= (c) && (c) <= 'r') \
4323 || ('s' <= (c) && (c) <= 'z'))
4324 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4327 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4332 for (i = 0; i < 256; i++)
4333 if (XOR (islower (i), ISLOWER (i))
4334 || toupper (i) != TOUPPER (i))
4339 rm -f conftest
$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); }; }; then
4352 echo "$as_me: program exited with status $ac_status" >&5
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.
$ac_ext >&5
4357 ac_cv_header_stdc
=no
4359 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4363 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4364 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4365 if test $ac_cv_header_stdc = yes; then
4367 cat >>confdefs.h
<<\_ACEOF
4368 #define STDC_HEADERS 1
4373 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4383 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4384 inttypes.h stdint.h unistd.h
4386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4387 echo "$as_me:$LINENO: checking for $ac_header" >&5
4388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 cat >conftest.
$ac_ext <<_ACEOF
4395 cat confdefs.h
>>conftest.
$ac_ext
4396 cat >>conftest.
$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4398 $ac_includes_default
4400 #include <$ac_header>
4402 rm -f conftest.
$ac_objext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4404 (eval $ac_compile) 2>conftest.er1
4406 grep -v '^ *+' conftest.er1
>conftest.err
4408 cat conftest.err
>&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try
='test -z "$ac_c_werror_flag"
4412 || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try
='test -s conftest.$ac_objext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 eval "$as_ac_Header=yes"
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 eval "$as_ac_Header=no"
4431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4436 cat >>confdefs.h
<<_ACEOF
4437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4445 if test "${ac_cv_header_stdio_h+set}" = set; then
4446 echo "$as_me:$LINENO: checking for stdio.h" >&5
4447 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4448 if test "${ac_cv_header_stdio_h+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4452 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4454 # Is the header compilable?
4455 echo "$as_me:$LINENO: checking stdio.h usability" >&5
4456 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4460 cat confdefs.h
>>conftest.
$ac_ext
4461 cat >>conftest.
$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 $ac_includes_default
4466 rm -f conftest.
$ac_objext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4468 (eval $ac_compile) 2>conftest.er1
4470 grep -v '^ *+' conftest.er1
>conftest.err
4472 cat conftest.err
>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } &&
4475 { ac_try
='test -z "$ac_c_werror_flag"
4476 || test ! -s conftest.err'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; } &&
4482 { ac_try
='test -s conftest.$ac_objext'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; }; then
4488 ac_header_compiler
=yes
4490 echo "$as_me: failed program was:" >&5
4491 sed 's/^/| /' conftest.
$ac_ext >&5
4493 ac_header_compiler
=no
4495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4497 echo "${ECHO_T}$ac_header_compiler" >&6
4499 # Is the header present?
4500 echo "$as_me:$LINENO: checking stdio.h presence" >&5
4501 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
4502 cat >conftest.
$ac_ext <<_ACEOF
4505 cat confdefs.h
>>conftest.
$ac_ext
4506 cat >>conftest.
$ac_ext <<_ACEOF
4507 /* end confdefs.h. */
4510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4513 grep -v '^ *+' conftest.er1
>conftest.err
4515 cat conftest.err
>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } >/dev
/null
; then
4518 if test -s conftest.err
; then
4519 ac_cpp_err
=$ac_c_preproc_warn_flag
4520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4527 if test -z "$ac_cpp_err"; then
4528 ac_header_preproc
=yes
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.
$ac_ext >&5
4533 ac_header_preproc
=no
4535 rm -f conftest.err conftest.
$ac_ext
4536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4537 echo "${ECHO_T}$ac_header_preproc" >&6
4539 # So? What about this header?
4540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4542 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4543 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4544 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
4545 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
4546 ac_header_preproc
=yes
4549 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
4550 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
4552 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
4554 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
4555 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
4556 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
4558 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
4560 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
4563 ## ------------------------------------------ ##
4564 ## Report this to the AC_PACKAGE_NAME lists. ##
4565 ## ------------------------------------------ ##
4568 sed "s/^/$as_me: WARNING: /" >&2
4571 echo "$as_me:$LINENO: checking for stdio.h" >&5
4572 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4573 if test "${ac_cv_header_stdio_h+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 ac_cv_header_stdio_h
=$ac_header_preproc
4578 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4579 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4582 if test $ac_cv_header_stdio_h = yes; then
4585 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
4586 You must have a usable C system for the target already installed, at least
4587 including headers and, preferably, the library, before you can configure
4588 the Objective C runtime system. If necessary, install gcc now with
4589 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
4590 echo "$as_me: error: Can't find stdio.h.
4591 You must have a usable C system for the target already installed, at least
4592 including headers and, preferably, the library, before you can configure
4593 the Objective C runtime system. If necessary, install gcc now with
4594 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
4595 { (exit 1); exit 1; }; }
4600 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4601 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4602 if test "${ac_cv_header_stdc+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4624 rm -f conftest.
$ac_objext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4626 (eval $ac_compile) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try
='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try
='test -s conftest.$ac_objext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 ac_cv_header_stdc
=yes
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.
$ac_ext >&5
4651 ac_cv_header_stdc
=no
4653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4655 if test $ac_cv_header_stdc = yes; then
4656 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4657 cat >conftest.
$ac_ext <<_ACEOF
4660 cat confdefs.h
>>conftest.
$ac_ext
4661 cat >>conftest.
$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4667 $EGREP "memchr" >/dev
/null
2>&1; then
4670 ac_cv_header_stdc
=no
4676 if test $ac_cv_header_stdc = yes; then
4677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4678 cat >conftest.
$ac_ext <<_ACEOF
4681 cat confdefs.h
>>conftest.
$ac_ext
4682 cat >>conftest.
$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4688 $EGREP "free" >/dev
/null
2>&1; then
4691 ac_cv_header_stdc
=no
4697 if test $ac_cv_header_stdc = yes; then
4698 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4699 if test "$cross_compiling" = yes; then
4702 cat >conftest.
$ac_ext <<_ACEOF
4705 cat confdefs.h
>>conftest.
$ac_ext
4706 cat >>conftest.
$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4709 #if ((' ' & 0x0FF) == 0x020)
4710 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4711 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4713 # define ISLOWER(c) \
4714 (('a' <= (c) && (c) <= 'i') \
4715 || ('j' <= (c) && (c) <= 'r') \
4716 || ('s' <= (c) && (c) <= 'z'))
4717 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4725 for (i = 0; i < 256; i++)
4726 if (XOR (islower (i), ISLOWER (i))
4727 || toupper (i) != TOUPPER (i))
4732 rm -f conftest
$ac_exeext
4733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4734 (eval $ac_link) 2>&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4745 echo "$as_me: program exited with status $ac_status" >&5
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4750 ac_cv_header_stdc
=no
4752 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4756 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4757 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4758 if test $ac_cv_header_stdc = yes; then
4760 cat >>confdefs.h
<<\_ACEOF
4761 #define STDC_HEADERS 1
4768 for ac_header
in sched.h
4770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4772 echo "$as_me:$LINENO: checking for $ac_header" >&5
4773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4780 # Is the header compilable?
4781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4783 cat >conftest.
$ac_ext <<_ACEOF
4786 cat confdefs.h
>>conftest.
$ac_ext
4787 cat >>conftest.
$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 $ac_includes_default
4790 #include <$ac_header>
4792 rm -f conftest.
$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 ac_header_compiler
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 ac_header_compiler
=no
4821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4823 echo "${ECHO_T}$ac_header_compiler" >&6
4825 # Is the header present?
4826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4828 cat >conftest.
$ac_ext <<_ACEOF
4831 cat confdefs.h
>>conftest.
$ac_ext
4832 cat >>conftest.
$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 #include <$ac_header>
4836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } >/dev
/null
; then
4844 if test -s conftest.err
; then
4845 ac_cpp_err
=$ac_c_preproc_warn_flag
4846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4853 if test -z "$ac_cpp_err"; then
4854 ac_header_preproc
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4859 ac_header_preproc
=no
4861 rm -f conftest.err conftest.
$ac_ext
4862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4863 echo "${ECHO_T}$ac_header_preproc" >&6
4865 # So? What about this header?
4866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4871 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4872 ac_header_preproc
=yes
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4880 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4882 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4886 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4889 ## ------------------------------------------ ##
4890 ## Report this to the AC_PACKAGE_NAME lists. ##
4891 ## ------------------------------------------ ##
4894 sed "s/^/$as_me: WARNING: /" >&2
4897 echo "$as_me:$LINENO: checking for $ac_header" >&5
4898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 eval "$as_ac_Header=\$ac_header_preproc"
4904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4909 cat >>confdefs.h
<<_ACEOF
4910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4922 # Determine CFLAGS for gthread.
4923 # FIXME: the current implementation is dependent on the 'r' variable
4924 # passed down from the top level
4925 echo "$as_me:$LINENO: checking for gthread cflags" >&5
4926 echo $ECHO_N "checking for gthread cflags... $ECHO_C" >&6
4927 if test "${objc_cv_gthread_flags+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 if test -f "$r"/gcc
/Makefile
4932 objc_cv_gthread_flags
=`grep \^GTHREAD_FLAGS "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
4934 { { echo "$as_me:$LINENO: error: not found" >&5
4935 echo "$as_me: error: not found" >&2;}
4936 { (exit 1); exit 1; }; }
4939 echo "$as_me:$LINENO: result: $objc_cv_gthread_flags" >&5
4940 echo "${ECHO_T}$objc_cv_gthread_flags" >&6
4941 GTHREAD_FLAGS
=$objc_cv_gthread_flags
4948 ac_config_files
="$ac_config_files Makefile"
4951 ac_config_commands
="$ac_config_commands default"
4954 cat >confcache
<<\_ACEOF
4955 # This file is a shell script that caches the results of configure
4956 # tests run on this system so they can be shared between configure
4957 # scripts and configure runs, see configure's option --config-cache.
4958 # It is not useful on other systems. If it contains results you don't
4959 # want to keep, you may remove or edit it.
4961 # config.status only pays attention to the cache file if you give it
4962 # the --recheck option to rerun configure.
4964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4970 # The following way of writing the cache mishandles newlines in values,
4971 # but we know of no workaround that is simple, portable, and efficient.
4972 # So, don't put newlines in cache variables' values.
4973 # Ultrix sh set writes to stderr and can't be redirected directly,
4974 # and sets the high bit in the cache file unless we assign to the vars.
4977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4979 # `set' does not quote correctly, so add quotes (double-quote
4980 # substitution turns \\\\ into \\, and sed turns \\ into \).
4983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4986 # `set' quotes correctly as required by POSIX, so do not add quotes.
4988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5000 if test -w $cache_file; then
5001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5002 cat confcache
>$cache_file
5004 echo "not updating unwritable cache $cache_file"
5009 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5010 # Let make expand exec_prefix.
5011 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5015 # trailing colons and then remove the whole line if VPATH becomes empty
5016 # (actually we leave an empty line to preserve line numbers).
5017 if test "x$srcdir" = x.
; then
5018 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5019 s/:*\$(srcdir):*/:/;
5020 s/:*\${srcdir}:*/:/;
5022 s/^\([^=]*=[ ]*\):*/\1/;
5028 # Transform confdefs.h into DEFS.
5029 # Protect against shell expansion while executing Makefile rules.
5030 # Protect against Makefile macro expansion.
5032 # If the first sed substitution is executed (which looks for macros that
5033 # take arguments), then we branch to the quote section. Otherwise,
5034 # look for a macro that doesn't take arguments.
5035 cat >confdef2opt.
sed <<\_ACEOF
5038 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5040 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5044 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5050 # We use echo to avoid assuming a particular line-breaking character.
5051 # The extra dot is to prevent the shell from consuming trailing
5052 # line-breaks from the sub-command output. A line-break within
5053 # single-quotes doesn't work because, if this script is created in a
5054 # platform that uses two characters for line-breaks (e.g., DOS), tr
5056 ac_LF_and_DOT=`echo; echo .
`
5057 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5058 rm -f confdef2opt.sed
5063 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5064 # 1. Remove the extension, and $U if already installed.
5065 ac_i=`echo "$ac_i" |
5066 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5068 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5069 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5073 LTLIBOBJS=$ac_ltlibobjs
5077 : ${CONFIG_STATUS=./config.status}
5078 ac_clean_files_save=$ac_clean_files
5079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5082 cat >$CONFIG_STATUS <<_ACEOF
5084 # Generated by $as_me.
5085 # Run this file to recreate the current configuration.
5086 # Compiler output produced by configure, useful for debugging
5087 # configure, is in config.log if it exists.
5092 SHELL=\${CONFIG_SHELL-$SHELL}
5095 cat >>$CONFIG_STATUS <<\_ACEOF
5096 ## --------------------- ##
5097 ## M4sh Initialization. ##
5098 ## --------------------- ##
5100 # Be Bourne compatible
5101 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5104 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5105 # is contrary to our usage. Disable this feature.
5106 alias -g '${1+"$@"}'='"$@"'
5107 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5110 DUALCASE=1; export DUALCASE # for MKS sh
5112 # Support unset when possible.
5113 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5120 # Work around bugs in pre-3.0 UWIN ksh.
5121 $as_unset ENV MAIL MAILPATH
5128 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5129 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5130 LC_TELEPHONE LC_TIME
5132 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5133 eval $as_var=C; export $as_var
5139 # Required to use basename.
5140 if expr a : '\(a\)' >/dev/null 2>&1; then
5146 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5147 as_basename=basename
5153 # Name of the executable.
5154 as_me=`$as_basename "$0" ||
5155 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5156 X
"$0" : 'X\(//\)$' \| \
5157 X
"$0" : 'X\(/\)$' \| \
5158 .
: '\(.\)' 2>/dev
/null ||
5160 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5161 /^X\/\(\/\/\)$/{ s//\1/; q; }
5162 /^X\/\(\/\).*/{ s//\1/; q; }
5166 # PATH needs CR, and LINENO needs CR and PATH.
5167 # Avoid depending upon Character Ranges.
5168 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5169 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5170 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5171 as_cr_digits='0123456789'
5172 as_cr_alnum=$as_cr_Letters$as_cr_digits
5174 # The user is always right.
5175 if test "${PATH_SEPARATOR+set}" != set; then
5176 echo "#! /bin/sh" >conf$$.sh
5177 echo "exit 0" >>conf$$.sh
5179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5190 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5191 test "x$as_lineno_1" != "x$as_lineno_2" &&
5192 test "x$as_lineno_3" = "x$as_lineno_2" || {
5193 # Find who we are. Look in the path if we contain no path at all
5196 *[\\/]* ) as_myself=$0 ;;
5197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir=.
5202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5207 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5208 # in which case we are not to be found in the path.
5209 if test "x$as_myself" = x; then
5212 if test ! -f "$as_myself"; then
5213 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5214 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5215 { (exit 1); exit 1; }; }
5217 case $CONFIG_SHELL in
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5223 test -z "$as_dir" && as_dir=.
5224 for as_base in sh bash ksh sh5; do
5227 if ("$as_dir/$as_base" -c '
5230 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5231 test "x$as_lineno_1" != "x$as_lineno_2" &&
5232 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5233 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5234 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5235 CONFIG_SHELL=$as_dir/$as_base
5237 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5246 # uniformly replaced by the line number. The first 'sed' inserts a
5247 # line-number line before each line; the second 'sed' does the real
5248 # work. The second script uses 'N
' to pair each line-number line
5249 # with the numbered line, and appends trailing '-' during
5250 # substitution so that $LINENO is not a special case at line end.
5251 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5252 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5253 sed '=' <$as_myself |
5258 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5261 s,^['$as_cr_digits']*\n,,
5263 chmod +x
$as_me.lineno ||
5264 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5265 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5266 { (exit 1); exit 1; }; }
5268 # Don't try to exec as it changes $[0], causing all sort of problems
5269 # (the dirname of $[0] is not the place where we might find the
5270 # original and so on. Autoconf is especially sensible to this).
5272 # Exit status is that of the last command.
5277 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5278 *c
*,-n*) ECHO_N
= ECHO_C
='
5280 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5281 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5284 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5290 rm -f conf$$ conf$$.exe conf$$.
file
5292 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5293 # We could just check for DJGPP; but this test a) works b) is more generic
5294 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5295 if test -f conf$$.exe
; then
5296 # Don't use ln at all; we don't have any links
5301 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5306 rm -f conf$$ conf$$.exe conf$$.
file
5308 if mkdir
-p .
2>/dev
/null
; then
5311 test -d .
/-p && rmdir .
/-p
5315 as_executable_p
="test -f"
5317 # Sed expression to map a string onto a valid CPP name.
5318 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5320 # Sed expression to map a string onto a valid variable name.
5321 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5325 # We need space, tab and new line, in precisely that order.
5335 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5336 # report actual input values of CONFIG_FILES etc. instead of their
5337 # values after options handling. Logging --version etc. is OK.
5341 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5342 ## Running $as_me. ##
5347 This file was extended by $as_me, which was
5348 generated by GNU Autoconf 2.59. Invocation command line was
5350 CONFIG_FILES = $CONFIG_FILES
5351 CONFIG_HEADERS = $CONFIG_HEADERS
5352 CONFIG_LINKS = $CONFIG_LINKS
5353 CONFIG_COMMANDS = $CONFIG_COMMANDS
5357 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5361 # Files that config.status was made for.
5362 if test -n "$ac_config_files"; then
5363 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5366 if test -n "$ac_config_headers"; then
5367 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5370 if test -n "$ac_config_links"; then
5371 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5374 if test -n "$ac_config_commands"; then
5375 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5378 cat >>$CONFIG_STATUS <<\_ACEOF
5381 \`$as_me' instantiates files from templates according to the
5382 current configuration.
5384 Usage: $0 [OPTIONS] [FILE]...
5386 -h, --help print this help, then exit
5387 -V, --version print version number, then exit
5388 -q, --quiet do not print progress messages
5389 -d, --debug don't remove temporary files
5390 --recheck update $as_me by reconfiguring in the same conditions
5391 --file=FILE[:TEMPLATE]
5392 instantiate the configuration file FILE
5394 Configuration files:
5397 Configuration commands:
5400 Report bugs to <bug-autoconf@gnu.org>."
5403 cat >>$CONFIG_STATUS <<_ACEOF
5406 configured by $0, generated by GNU Autoconf 2.59,
5407 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5409 Copyright (C) 2003 Free Software Foundation, Inc.
5410 This config.status script is free software; the Free Software Foundation
5411 gives unlimited permission to copy, distribute and modify it."
5416 cat >>$CONFIG_STATUS <<\_ACEOF
5417 # If no file are specified by the user, then we need to provide default
5418 # value. By we need to know if files were specified by the user.
5424 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5425 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5433 *) # This is not an option, so the user has probably given explicit
5436 ac_need_defaults
=false
;;
5440 # Handling of the options.
5442 cat >>$CONFIG_STATUS <<\_ACEOF
5443 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5445 --version |
--vers* |
-V )
5446 echo "$ac_cs_version"; exit 0 ;;
5448 # Conflict between --help and --header
5449 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5450 Try \`$0 --help' for more information." >&5
5451 echo "$as_me: error: ambiguous option: $1
5452 Try \`$0 --help' for more information." >&2;}
5453 { (exit 1); exit 1; }; };;
5454 --help |
--hel |
-h )
5455 echo "$ac_cs_usage"; exit 0 ;;
5456 --debug |
--d* |
-d )
5458 --file |
--fil |
--fi |
--f )
5460 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5461 ac_need_defaults
=false
;;
5462 --header |
--heade |
--head |
--hea )
5464 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5465 ac_need_defaults
=false
;;
5466 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5467 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5471 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5472 Try \`$0 --help' for more information." >&5
5473 echo "$as_me: error: unrecognized option: $1
5474 Try \`$0 --help' for more information." >&2;}
5475 { (exit 1); exit 1; }; } ;;
5477 *) ac_config_targets
="$ac_config_targets $1" ;;
5483 ac_configure_extra_args
=
5485 if $ac_cs_silent; then
5487 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5491 cat >>$CONFIG_STATUS <<_ACEOF
5492 if \$ac_cs_recheck; then
5493 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5494 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5499 cat >>$CONFIG_STATUS <<_ACEOF
5501 # INIT-COMMANDS section.
5507 with_target_subdir=${with_target_subdir}
5508 with_multisubdir=${with_multisubdir}
5509 ac_configure_args="--enable-multilib ${ac_configure_args}"
5510 toplevel_srcdir=${toplevel_srcdir}
5511 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5512 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
5519 cat >>$CONFIG_STATUS <<\_ACEOF
5520 for ac_config_target
in $ac_config_targets
5522 case "$ac_config_target" in
5523 # Handling of arguments.
5524 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5525 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5526 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5527 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5528 { (exit 1); exit 1; }; };;
5532 # If the user did not use the arguments to specify the items to instantiate,
5533 # then the envvar interface is used. Set only those that are not.
5534 # We use the long form for the default assignment because of an extremely
5535 # bizarre bug on SunOS 4.1.3.
5536 if $ac_need_defaults; then
5537 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5538 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5541 # Have a temporary directory for convenience. Make it in the build tree
5542 # simply because there is no reason to put it here, and in addition,
5543 # creating and moving files from /tmp can sometimes cause problems.
5544 # Create a temporary directory, and hook for its removal unless debugging.
5547 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5548 trap '{ (exit 1); exit 1; }' 1 2 13 15
5551 # Create a (secure) tmp directory for tmp files.
5554 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5555 test -n "$tmp" && test -d "$tmp"
5558 tmp
=.
/confstat$$
-$RANDOM
5559 (umask 077 && mkdir
$tmp)
5562 echo "$me: cannot create a temporary directory in ." >&2
5563 { (exit 1); exit 1; }
5568 cat >>$CONFIG_STATUS <<_ACEOF
5571 # CONFIG_FILES section.
5574 # No need to generate the scripts if there are no CONFIG_FILES.
5575 # This happens for instance when ./config.status config.h
5576 if test -n "\$CONFIG_FILES"; then
5577 # Protect against being on the right side of a sed subst in config.status.
5578 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5579 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5580 s,@SHELL@,$SHELL,;t t
5581 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5582 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5583 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5584 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5585 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5586 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5587 s,@exec_prefix@,$exec_prefix,;t t
5588 s,@prefix@,$prefix,;t t
5589 s,@program_transform_name@,$program_transform_name,;t t
5590 s,@bindir@,$bindir,;t t
5591 s,@sbindir@,$sbindir,;t t
5592 s,@libexecdir@,$libexecdir,;t t
5593 s,@datadir@,$datadir,;t t
5594 s,@sysconfdir@,$sysconfdir,;t t
5595 s,@sharedstatedir@,$sharedstatedir,;t t
5596 s,@localstatedir@,$localstatedir,;t t
5597 s,@libdir@,$libdir,;t t
5598 s,@includedir@,$includedir,;t t
5599 s,@oldincludedir@,$oldincludedir,;t t
5600 s,@infodir@,$infodir,;t t
5601 s,@mandir@,$mandir,;t t
5602 s,@build_alias@,$build_alias,;t t
5603 s,@host_alias@,$host_alias,;t t
5604 s,@target_alias@,$target_alias,;t t
5606 s,@ECHO_C@,$ECHO_C,;t t
5607 s,@ECHO_N@,$ECHO_N,;t t
5608 s,@ECHO_T@,$ECHO_T,;t t
5610 s,@VERSION@,$VERSION,;t t
5611 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
5612 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
5613 s,@build@,$build,;t t
5614 s,@build_cpu@,$build_cpu,;t t
5615 s,@build_vendor@,$build_vendor,;t t
5616 s,@build_os@,$build_os,;t t
5618 s,@host_cpu@,$host_cpu,;t t
5619 s,@host_vendor@,$host_vendor,;t t
5620 s,@host_os@,$host_os,;t t
5621 s,@target@,$target,;t t
5622 s,@target_cpu@,$target_cpu,;t t
5623 s,@target_vendor@,$target_vendor,;t t
5624 s,@target_os@,$target_os,;t t
5625 s,@target_noncanonical@,$target_noncanonical,;t t
5626 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
5627 s,@gcc_version@,$gcc_version,;t t
5628 s,@toolexecdir@,$toolexecdir,;t t
5629 s,@toolexeclibdir@,$toolexeclibdir,;t t
5630 s,@libext@,$libext,;t t
5632 s,@ac_ct_CC@,$ac_ct_CC,;t t
5633 s,@EXEEXT@,$EXEEXT,;t t
5634 s,@OBJEXT@,$OBJEXT,;t t
5635 s,@CFLAGS@,$CFLAGS,;t t
5637 s,@ac_ct_AS@,$ac_ct_AS,;t t
5639 s,@ac_ct_AR@,$ac_ct_AR,;t t
5640 s,@RANLIB@,$RANLIB,;t t
5641 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5642 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5643 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5644 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5646 s,@STRIP@,$STRIP,;t t
5647 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5648 s,@LIBTOOL@,$LIBTOOL,;t t
5649 s,@SET_MAKE@,$SET_MAKE,;t t
5651 s,@CPPFLAGS@,$CPPFLAGS,;t t
5652 s,@EGREP@,$EGREP,;t t
5653 s,@GTHREAD_FLAGS@,$GTHREAD_FLAGS,;t t
5654 s,@LIBOBJS@,$LIBOBJS,;t t
5655 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5660 cat >>$CONFIG_STATUS <<\_ACEOF
5661 # Split the substitutions into bite-sized pieces for seds with
5662 # small command number limits, like on Digital OSF/1 and HP-UX.
5664 ac_sed_frag
=1 # Number of current file.
5665 ac_beg
=1 # First line for current file.
5666 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5669 while $ac_more_lines; do
5670 if test $ac_beg -gt 1; then
5671 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5673 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5675 if test ! -s $tmp/subs.frag
; then
5678 # The purpose of the label and of the branching condition is to
5679 # speed up the sed processing (if there are no `@' at all, there
5680 # is no need to browse any of the substitutions).
5681 # These are the two extra sed commands mentioned above.
5683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5684 if test -z "$ac_sed_cmds"; then
5685 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5687 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5689 ac_sed_frag
=`expr $ac_sed_frag + 1`
5691 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5694 if test -z "$ac_sed_cmds"; then
5697 fi # test -n "$CONFIG_FILES"
5700 cat >>$CONFIG_STATUS <<\_ACEOF
5701 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5704 - |
*:- |
*:-:* ) # input from stdin
5706 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5708 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5709 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5710 * ) ac_file_in
=$ac_file.
in ;;
5713 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5714 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5716 X"$ac_file" : 'X\(//\)[^/]' \| \
5717 X"$ac_file" : 'X\(//\)$' \| \
5718 X"$ac_file" : 'X\(/\)' \| \
5719 . : '\(.\)' 2>/dev/null ||
5721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5723 /^X\(\/\/\)$/{ s//\1/; q; }
5724 /^X\(\/\).*/{ s//\1/; q; }
5726 { if $as_mkdir_p; then
5731 while test ! -d "$as_dir"; do
5732 as_dirs
="$as_dir $as_dirs"
5733 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5735 X"$as_dir" : 'X\(//\)[^/]' \| \
5736 X"$as_dir" : 'X\(//\)$' \| \
5737 X"$as_dir" : 'X\(/\)' \| \
5738 . : '\(.\)' 2>/dev/null ||
5740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5742 /^X\(\/\/\)$/{ s//\1/; q; }
5743 /^X\(\/\).*/{ s//\1/; q; }
5746 test ! -n "$as_dirs" || mkdir
$as_dirs
5747 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5748 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5749 { (exit 1); exit 1; }; }; }
5753 if test "$ac_dir" != .
; then
5754 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5755 # A "../" for each directory in $ac_dir_suffix.
5756 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5758 ac_dir_suffix
= ac_top_builddir
=
5762 .
) # No --srcdir option. We are building in place.
5764 if test -z "$ac_top_builddir"; then
5767 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5769 [\\/]* | ?
:[\\/]* ) # Absolute path.
5770 ac_srcdir
=$srcdir$ac_dir_suffix;
5771 ac_top_srcdir
=$srcdir ;;
5773 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5774 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5777 # Do not use `cd foo && pwd` to compute absolute paths, because
5778 # the directories may not exist.
5780 .
) ac_abs_builddir
="$ac_dir";;
5783 .
) ac_abs_builddir
=`pwd`;;
5784 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5785 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5788 case $ac_abs_builddir in
5789 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5791 case ${ac_top_builddir}.
in
5792 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5793 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5794 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5797 case $ac_abs_builddir in
5798 .
) ac_abs_srcdir
=$ac_srcdir;;
5801 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5802 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5803 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5806 case $ac_abs_builddir in
5807 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5809 case $ac_top_srcdir in
5810 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5811 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5812 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5818 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5819 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5822 if test x
"$ac_file" != x-
; then
5823 { echo "$as_me:$LINENO: creating $ac_file" >&5
5824 echo "$as_me: creating $ac_file" >&6;}
5827 # Let's still pretend it is `configure' which instantiates (i.e., don't
5828 # use $as_me), people would be surprised to read:
5829 # /* config.h. Generated by config.status. */
5830 if test x
"$ac_file" = x-
; then
5833 configure_input
="$ac_file. "
5835 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5836 sed 's,.*/,,'` by configure."
5838 # First look for the input files in the build tree, otherwise in the
5840 ac_file_inputs
=`IFS=:
5841 for f in $ac_file_in; do
5843 -) echo $tmp/stdin ;;
5845 # Absolute (can't be DOS-style, as IFS=:)
5846 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5847 echo "$as_me: error: cannot find input file: $f" >&2;}
5848 { (exit 1); exit 1; }; }
5851 if test -f "$f"; then
5854 elif test -f "$srcdir/$f"; then
5859 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5860 echo "$as_me: error: cannot find input file: $f" >&2;}
5861 { (exit 1); exit 1; }; }
5864 done` ||
{ (exit 1); exit 1; }
5866 cat >>$CONFIG_STATUS <<_ACEOF
5870 cat >>$CONFIG_STATUS <<\_ACEOF
5872 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5873 s
,@configure_input@
,$configure_input,;t t
5874 s
,@srcdir@
,$ac_srcdir,;t t
5875 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5876 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5877 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5878 s
,@builddir@
,$ac_builddir,;t t
5879 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5880 s
,@top_builddir@
,$ac_top_builddir,;t t
5881 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5882 s
,@INSTALL@
,$ac_INSTALL,;t t
5883 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5885 if test x"$ac_file" != x-; then
5886 mv $tmp/out $ac_file
5894 cat >>$CONFIG_STATUS <<\_ACEOF
5897 # CONFIG_COMMANDS section.
5899 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
5900 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5901 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5902 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5903 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5904 X"$ac_dest" : 'X\(//\)[^/]' \| \
5905 X"$ac_dest" : 'X\(//\)$' \| \
5906 X"$ac_dest" : 'X\(/\)' \| \
5907 . : '\(.\)' 2>/dev/null ||
5909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5911 /^X\(\/\/\)$/{ s//\1/; q; }
5912 /^X\(\/\).*/{ s//\1/; q; }
5914 { if $as_mkdir_p; then
5919 while test ! -d "$as_dir"; do
5920 as_dirs="$as_dir $as_dirs"
5921 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5923 X"$as_dir" : 'X\(//\)[^/]' \| \
5924 X"$as_dir" : 'X\(//\)$' \| \
5925 X"$as_dir" : 'X\(/\)' \| \
5926 . : '\(.\)' 2>/dev/null ||
5928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5930 /^X\(\/\/\)$/{ s//\1/; q; }
5931 /^X\(\/\).*/{ s//\1/; q; }
5934 test ! -n "$as_dirs" || mkdir $as_dirs
5935 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
5936 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
5937 { (exit 1); exit 1; }; }; }
5941 if test "$ac_dir" != .; then
5942 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5943 # A "..
/" for each directory in $ac_dir_suffix.
5944 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5946 ac_dir_suffix= ac_top_builddir=
5950 .) # No --srcdir option. We are building in place.
5952 if test -z "$ac_top_builddir"; then
5955 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5957 [\\/]* | ?:[\\/]* ) # Absolute path.
5958 ac_srcdir=$srcdir$ac_dir_suffix;
5959 ac_top_srcdir=$srcdir ;;
5961 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5962 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5965 # Do not use `cd foo && pwd` to compute absolute paths, because
5966 # the directories may not exist.
5968 .) ac_abs_builddir="$ac_dir";;
5971 .) ac_abs_builddir=`pwd`;;
5972 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5973 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5976 case $ac_abs_builddir in
5977 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5979 case ${ac_top_builddir}. in
5980 .) ac_abs_top_builddir=$ac_abs_builddir;;
5981 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5982 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5985 case $ac_abs_builddir in
5986 .) ac_abs_srcdir=$ac_srcdir;;
5989 .) ac_abs_srcdir=$ac_abs_builddir;;
5990 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5991 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5994 case $ac_abs_builddir in
5995 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5997 case $ac_top_srcdir in
5998 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5999 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6000 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6005 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
6006 echo "$as_me: executing
$ac_dest commands
" >&6;}
6008 default ) if test -n "$CONFIG_FILES"; then
6009 if test -n "${with_target_subdir}"; then
6010 # FIXME: We shouldn't need to set ac_file
6012 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6013 . ${toplevel_srcdir}/config-ml.in
6020 cat >>$CONFIG_STATUS <<\_ACEOF
6022 { (exit 0); exit 0; }
6024 chmod +x $CONFIG_STATUS
6025 ac_clean_files=$ac_clean_files_save
6028 # configure is writing to config.log, and then calls config.status.
6029 # config.status does its own redirection, appending to config.log.
6030 # Unfortunately, on DOS this fails, as config.log is still kept open
6031 # by configure, so config.status won't be able to write to it; its
6032 # output is simply discarded. So we exec the FD to /dev/null,
6033 # effectively closing config.log, so it can be properly (re)opened and
6034 # appended to by config.status. When coming back to configure, we
6035 # need to make the FD available again.
6036 if test "$no_create" != yes; then
6038 ac_config_status_args=
6039 test "$silent" = yes &&
6040 ac_config_status_args="$ac_config_status_args --quiet"
6042 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6044 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6045 # would make configure fail if this is the last instruction.
6046 $ac_cs_success || { (exit 1); exit 1; }