2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
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.
268 PACKAGE_NAME
='package-unused'
269 PACKAGE_TARNAME
='libobjc'
270 PACKAGE_VERSION
='version-unused'
271 PACKAGE_STRING
='package-unused version-unused'
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 build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir VERSION OBJC_BOEHM_GC OBJC_BOEHM_GC_INCLUDES toplevel_srcdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical glibcpp_srcdir toolexecdir toolexeclibdir includedirname libext CC ac_ct_CC EXEEXT OBJEXT extra_ldflags_libobjc CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LN_S STRIP ac_ct_STRIP LIBTOOL SET_MAKE CPP CPPFLAGS EGREP 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 package-unused version-unused 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
830 case $ac_init_help in
831 short | recursive
) echo "Configuration of package-unused version-unused:";;
836 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
837 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
838 --enable-multilib build hella library versions
(default
)
839 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
840 --enable-objc-gc enable the use of Boehm
's garbage collector with
841 the GNU Objective-C runtime.
842 --enable-maintainer-mode enable make rules and dependencies not useful
843 (and sometimes confusing) to the casual installer
844 --enable-shared=PKGS build shared libraries default=yes
845 --enable-static=PKGS build static libraries default=yes
846 --enable-fast-install=PKGS optimize for fast installation default=yes
847 --disable-libtool-lock avoid locking (might break parallel builds)
848 --enable-sjlj-exceptions
849 force use of builtin_setjmp for exceptions
852 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
853 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
854 --with-build-libsubdir=DIR Directory where to find libraries for build system
855 --with-target-subdir=SUBDIR
856 configuring in a subdirectory
857 --with-cross-host=HOST configuring with a cross compiler
858 --with-gnu-ld assume the C compiler uses GNU ld default=no
859 --with-pic try to use only PIC/non-PIC objects default=use both
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to
help
871 it to
find libraries and programs with nonstandard names
/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
880 test -d $ac_dir ||
continue
883 if test "$ac_dir" != .
; then
884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix
= ac_top_builddir
=
892 .
) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?
:[\\/]* ) # Absolute path.
900 ac_srcdir
=$srcdir$ac_dir_suffix;
901 ac_top_srcdir
=$srcdir ;;
903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .
) ac_abs_builddir
="$ac_dir";;
913 .
) ac_abs_builddir
=`pwd`;;
914 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
915 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
921 case ${ac_top_builddir}.
in
922 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
923 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
924 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
927 case $ac_abs_builddir in
928 .
) ac_abs_srcdir
=$ac_srcdir;;
931 .
) ac_abs_srcdir
=$ac_abs_builddir;;
932 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
933 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
941 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu
; then
950 $SHELL $ac_srcdir/configure.gnu
--help=recursive
951 elif test -f $ac_srcdir/configure
; then
953 $SHELL $ac_srcdir/configure
--help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.
in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
968 package-unused configure version-unused
969 generated by GNU Autoconf
2.59
971 Copyright
(C
) 2003 Free Software Foundation
, Inc.
972 This configure
script is free software
; the Free Software Foundation
973 gives unlimited permission to copy
, distribute and modify it.
979 This file contains any messages produced by compilers while
980 running configure, to aid debugging if configure makes a mistake.
982 It was created by package-unused $as_me version-unused, which was
983 generated by GNU Autoconf 2.59. Invocation command line was
994 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
995 uname -m = `(uname -m) 2>/dev/null || echo unknown`
996 uname -r = `(uname -r) 2>/dev/null || echo unknown`
997 uname -s = `(uname -s) 2>/dev/null || echo unknown`
998 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1000 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1001 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1003 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1004 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1005 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1006 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1007 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1008 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1009 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1017 test -z "$as_dir" && as_dir
=.
1018 echo "PATH: $as_dir"
1033 # Keep a trace of the command line.
1034 # Strip out --no-create and --no-recursion so they do not pile up.
1035 # Strip out --silent because we don't want to record it for future runs.
1036 # Also quote any args containing shell meta-characters.
1037 # Make two passes to allow for proper duplicate-argument suppression.
1042 ac_must_keep_next
=false
1048 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1058 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1059 if test $ac_must_keep_next = true
; then
1060 ac_must_keep_next
=false
# Got value, back to normal.
1063 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1064 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1065 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1066 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1067 case "$ac_configure_args0 " in
1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 -* ) ac_must_keep_next
=true
;;
1074 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1075 # Get rid of the leading space.
1081 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1082 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1084 # When interrupted or exit'd, cleanup temporary files, and complete
1085 # config.log. We remove comments because anyway the quotes in there
1086 # would cause problems or look ugly.
1087 # WARNING: Be sure not to use single quotes in there, as some shells,
1088 # such as our DU 5.0 friend, will then `close' the trap.
1089 trap 'exit_status=$?
1090 # Save into config.log some information that might help in debugging.
1095 ## ---------------- ##
1096 ## Cache variables. ##
1097 ## ---------------- ##
1100 # The following way of writing the cache mishandles newlines in values,
1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1118 ## ----------------- ##
1119 ## Output variables. ##
1120 ## ----------------- ##
1123 for ac_var in $ac_subst_vars
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -n "$ac_subst_files"; then
1137 for ac_var in $ac_subst_files
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -s confdefs.h; then
1152 sed "/^$/d" confdefs.h | sort
1155 test "$ac_signal" != 0 &&
1156 echo "$as_me: caught signal $ac_signal"
1157 echo "$as_me: exit $exit_status"
1159 rm -f core *.core &&
1160 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163 for ac_signal
in 1 2 13 15; do
1164 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1169 rm -rf conftest
* confdefs.h
1170 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 # Predefined preprocessor variables.
1175 cat >>confdefs.h
<<_ACEOF
1176 #define PACKAGE_NAME "$PACKAGE_NAME"
1180 cat >>confdefs.h
<<_ACEOF
1181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1185 cat >>confdefs.h
<<_ACEOF
1186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1190 cat >>confdefs.h
<<_ACEOF
1191 #define PACKAGE_STRING "$PACKAGE_STRING"
1195 cat >>confdefs.h
<<_ACEOF
1196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1200 # Let the site file select an alternate cache file if it wants to.
1201 # Prefer explicitly selected file to automatically selected ones.
1202 if test -z "$CONFIG_SITE"; then
1203 if test "x$prefix" != xNONE
; then
1204 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1206 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 for ac_site_file
in $CONFIG_SITE; do
1210 if test -r "$ac_site_file"; then
1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1212 echo "$as_me: loading site script $ac_site_file" >&6;}
1213 sed 's/^/| /' "$ac_site_file" >&5
1218 if test -r "$cache_file"; then
1219 # Some versions of bash will fail to source /dev/null (special
1220 # files actually), so we avoid doing that.
1221 if test -f "$cache_file"; then
1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1223 echo "$as_me: loading cache $cache_file" >&6;}
1225 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1226 *) . .
/$cache_file;;
1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1231 echo "$as_me: creating cache $cache_file" >&6;}
1235 # Check that the precious variables saved in the cache have kept the same
1237 ac_cache_corrupted
=false
1238 for ac_var
in `(set) 2>&1 |
1239 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1240 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1241 eval ac_new_set
=\
$ac_env_${ac_var}_set
1242 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1243 eval ac_new_val
="\$ac_env_${ac_var}_value"
1244 case $ac_old_set,$ac_new_set in
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1248 ac_cache_corrupted
=: ;;
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1252 ac_cache_corrupted
=: ;;
1255 if test "x$ac_old_val" != "x$ac_new_val"; then
1256 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1257 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1258 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1259 echo "$as_me: former value: $ac_old_val" >&2;}
1260 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1261 echo "$as_me: current value: $ac_new_val" >&2;}
1262 ac_cache_corrupted
=:
1265 # Pass precious variables to config.status.
1266 if test "$ac_new_set" = set; then
1268 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1270 *) ac_arg
=$ac_var=$ac_new_val ;;
1272 case " $ac_configure_args " in
1273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1274 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1278 if $ac_cache_corrupted; then
1279 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1280 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1281 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1282 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1283 { (exit 1); exit 1; }; }
1287 ac_cpp
='$CPP $CPPFLAGS'
1288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1320 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1321 if test -f $ac_dir/install-sh
; then
1323 ac_install_sh
="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh
; then
1327 ac_install_sh
="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool
; then
1331 ac_install_sh
="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Make sure we can run config.sub.
1345 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1346 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1347 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1348 { (exit 1); exit 1; }; }
1350 echo "$as_me:$LINENO: checking build system type" >&5
1351 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1352 if test "${ac_cv_build+set}" = set; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 ac_cv_build_alias
=$build_alias
1356 test -z "$ac_cv_build_alias" &&
1357 ac_cv_build_alias
=`$ac_config_guess`
1358 test -z "$ac_cv_build_alias" &&
1359 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1360 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1361 { (exit 1); exit 1; }; }
1362 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1364 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1365 { (exit 1); exit 1; }; }
1368 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1369 echo "${ECHO_T}$ac_cv_build" >&6
1371 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1372 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1373 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1376 case ${build_alias} in
1377 "") build_noncanonical
=${build} ;;
1378 *) build_noncanonical
=${build_alias} ;;
1381 case ${host_alias} in
1382 "") host_noncanonical
=${build_noncanonical} ;;
1383 *) host_noncanonical
=${host_alias} ;;
1386 case ${target_alias} in
1387 "") target_noncanonical
=${host_noncanonical} ;;
1388 *) target_noncanonical
=${target_alias} ;;
1392 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1393 # have matching libraries, they should use host libraries: Makefile.tpl
1394 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1395 # However, they still use the build modules, because the corresponding
1396 # host modules (e.g. bison) are only built for the host when bootstrap
1398 # - build_subdir is where we find build modules, and never changes.
1399 # - build_libsubdir is where we find build libraries, and can be overridden.
1401 # Prefix 'build-' so this never conflicts with target_subdir.
1402 build_subdir
="build-${build_noncanonical}"
1404 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1405 if test "${with_build_libsubdir+set}" = set; then
1406 withval
="$with_build_libsubdir"
1407 build_libsubdir
="$withval"
1409 build_libsubdir
="$build_subdir"
1411 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1412 if ( test $srcdir = .
&& test -d gcc
) \
1413 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1414 host_subdir
="host-${host_noncanonical}"
1419 target_subdir
=${target_noncanonical}
1422 # We need the following definitions because AC_PROG_LIBTOOL relies on them
1424 # Version is pulled out to make it a bit easier to change using sed.
1428 # This works around the fact that libtool configuration may change LD
1429 # for this particular configuration, but some shells, instead of
1430 # keeping the changes in LD private, export them just because LD is
1432 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1438 # Default to --enable-multilib
1439 # Check whether --enable-multilib or --disable-multilib was given.
1440 if test "${enable_multilib+set}" = set; then
1441 enableval
="$enable_multilib"
1442 case "${enableval}" in
1443 yes) multilib
=yes ;;
1445 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1446 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1447 { (exit 1); exit 1; }; } ;;
1453 # We use these options to decide which functions to include.
1455 # Check whether --with-target-subdir or --without-target-subdir was given.
1456 if test "${with_target_subdir+set}" = set; then
1457 withval
="$with_target_subdir"
1461 # Check whether --with-cross-host or --without-cross-host was given.
1462 if test "${with_cross_host+set}" = set; then
1463 withval
="$with_cross_host"
1467 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1468 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1469 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1470 if test "${enable_version_specific_runtime_libs+set}" = set; then
1471 enableval
="$enable_version_specific_runtime_libs"
1472 case "$enableval" in
1473 yes) version_specific_libs
=yes ;;
1474 no
) version_specific_libs
=no
;;
1475 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1476 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1477 { (exit 1); exit 1; }; };;
1480 version_specific_libs
=no
1482 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1483 echo "${ECHO_T}$version_specific_libs" >&6
1485 # Check whether --enable-objc-gc or --disable-objc-gc was given.
1486 if test "${enable_objc_gc+set}" = set; then
1487 enableval
="$enable_objc_gc"
1488 case $enable_objc_gc in
1491 OBJC_BOEHM_GC_INCLUDES
=''
1494 OBJC_BOEHM_GC
=libobjc_gc.la
1495 OBJC_BOEHM_GC_INCLUDES
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
1499 OBJC_BOEHM_GC
=''; OBJC_BOEHM_GC_INCLUDES
=''
1508 # When building with srcdir == objdir, links to the source files will
1509 # be created in directories within the target_subdir. We have to
1510 # adjust toplevel_srcdir accordingly, so that configure finds
1511 # install-sh and other auxiliary files that live in the top-level
1513 if test "${srcdir}" = "."; then
1514 if test -z "${with_target_subdir}"; then
1517 if test "${with_target_subdir}" != "."; then
1518 toprel
="${with_multisrctop}../.."
1520 toprel
="${with_multisrctop}.."
1527 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1528 if test -f $ac_dir/install-sh
; then
1530 ac_install_sh
="$ac_aux_dir/install-sh -c"
1532 elif test -f $ac_dir/install.sh
; then
1534 ac_install_sh
="$ac_aux_dir/install.sh -c"
1536 elif test -f $ac_dir/shtool
; then
1538 ac_install_sh
="$ac_aux_dir/shtool install -c"
1542 if test -z "$ac_aux_dir"; then
1543 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&5
1544 echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&2;}
1545 { (exit 1); exit 1; }; }
1547 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1548 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1549 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1551 toplevel_srcdir=\${srcdir}/$toprel
1554 echo "$as_me:$LINENO: checking
host system
type" >&5
1555 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6
1556 if test "${ac_cv_host+set}" = set; then
1557 echo $ECHO_N "(cached
) $ECHO_C" >&6
1559 ac_cv_host_alias=$host_alias
1560 test -z "$ac_cv_host_alias" &&
1561 ac_cv_host_alias=$ac_cv_build_alias
1562 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1563 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_host_alias failed
" >&5
1564 echo "$as_me: error
: $ac_config_sub $ac_cv_host_alias failed
" >&2;}
1565 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
1569 echo "${ECHO_T}$ac_cv_host" >&6
1571 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1572 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1573 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1576 echo "$as_me:$LINENO: checking target system
type" >&5
1577 echo $ECHO_N "checking target system
type...
$ECHO_C" >&6
1578 if test "${ac_cv_target+set}" = set; then
1579 echo $ECHO_N "(cached
) $ECHO_C" >&6
1581 ac_cv_target_alias=$target_alias
1582 test "x
$ac_cv_target_alias" = "x
" &&
1583 ac_cv_target_alias=$ac_cv_host_alias
1584 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1585 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_target_alias failed
" >&5
1586 echo "$as_me: error
: $ac_config_sub $ac_cv_target_alias failed
" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
1591 echo "${ECHO_T}$ac_cv_target" >&6
1592 target=$ac_cv_target
1593 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 # The aliases save the names the user supplied, while $host etc.
1599 # will get canonicalized.
1600 test -n "$target_alias" &&
1601 test "$program_prefix$program_suffix$program_transform_name" = \
1603 program_prefix=${target_alias}-
1607 # Export source directory.
1608 # These need to be absolute paths, yet at the same time need to
1609 # canonicalize only relative paths, because then amd will not unmount
1610 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1612 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1613 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1617 # Calculate toolexeclibdir
1618 # Also toolexecdir, though it's only used in toolexeclibdir
1619 case ${version_specific_libs} in
1621 # Need the gcc compiler version to know where to install libraries
1622 # and header files if --enable-version-specific-runtime-libs option
1624 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
1625 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1628 if test -n "$with_cross_host" &&
1629 test x"$with_cross_host" != x"no
"; then
1630 # Install a library built with a cross compiler in tooldir, not libdir.
1631 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
1632 toolexeclibdir='$(toolexecdir)/lib'
1634 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
1635 toolexeclibdir='$(libdir)'
1637 multi_os_directory=`$CC -print-multi-os-directory`
1638 case $multi_os_directory in
1639 .) ;; # Avoid trailing /.
1640 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1647 # Figure out if we want to name the include directory and the
1648 # library name changes differently.
1649 includedirname=include
1653 # Darwin is the only target so far that needs a different include directory.
1654 includedirname=include-gnu-runtime
1661 ac_config_headers="$ac_config_headers config.h
"
1670 # We must force CC to /not/ be a precious variable; otherwise
1671 # the wrong, non-multilib-adjusted value will be used in multilibs.
1672 # As a side effect, we have to subst CFLAGS ourselves.
1676 ac_cpp='$CPP $CPPFLAGS'
1677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1680 if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1682 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1683 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1684 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached
) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC="$CC" # Let the user override the test.
1691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir=.
1696 for ac_exec_ext in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1699 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1708 if test -n "$CC"; then
1709 echo "$as_me:$LINENO: result
: $CC" >&5
1710 echo "${ECHO_T}$CC" >&6
1712 echo "$as_me:$LINENO: result
: no
" >&5
1713 echo "${ECHO_T}no
" >&6
1717 if test -z "$ac_cv_prog_CC"; then
1719 # Extract the first word of "gcc
", so it can be a program name with args.
1720 set dummy gcc; ac_word=$2
1721 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1722 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1724 echo $ECHO_N "(cached
) $ECHO_C" >&6
1726 if test -n "$ac_ct_CC"; then
1727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_ac_ct_CC="gcc
"
1737 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1746 if test -n "$ac_ct_CC"; then
1747 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1748 echo "${ECHO_T}$ac_ct_CC" >&6
1750 echo "$as_me:$LINENO: result
: no
" >&5
1751 echo "${ECHO_T}no
" >&6
1759 if test -z "$CC"; then
1760 if test -n "$ac_tool_prefix"; then
1761 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1762 set dummy ${ac_tool_prefix}cc; ac_word=$2
1763 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1764 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1765 if test "${ac_cv_prog_CC+set}" = set; then
1766 echo $ECHO_N "(cached
) $ECHO_C" >&6
1768 if test -n "$CC"; then
1769 ac_cv_prog_CC="$CC" # Let the user override the test.
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir=.
1776 for ac_exec_ext in '' $ac_executable_extensions; do
1777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1779 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1788 if test -n "$CC"; then
1789 echo "$as_me:$LINENO: result
: $CC" >&5
1790 echo "${ECHO_T}$CC" >&6
1792 echo "$as_me:$LINENO: result
: no
" >&5
1793 echo "${ECHO_T}no
" >&6
1797 if test -z "$ac_cv_prog_CC"; then
1799 # Extract the first word of "cc
", so it can be a program name with args.
1800 set dummy cc; ac_word=$2
1801 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1802 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804 echo $ECHO_N "(cached
) $ECHO_C" >&6
1806 if test -n "$ac_ct_CC"; then
1807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_ac_ct_CC="cc
"
1817 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1826 if test -n "$ac_ct_CC"; then
1827 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1828 echo "${ECHO_T}$ac_ct_CC" >&6
1830 echo "$as_me:$LINENO: result
: no
" >&5
1831 echo "${ECHO_T}no
" >&6
1840 if test -z "$CC"; then
1841 # Extract the first word of "cc
", so it can be a program name with args.
1842 set dummy cc; ac_word=$2
1843 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1845 if test "${ac_cv_prog_CC+set}" = set; then
1846 echo $ECHO_N "(cached
) $ECHO_C" >&6
1848 if test -n "$CC"; then
1849 ac_cv_prog_CC="$CC" # Let the user override the test.
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1860 ac_prog_rejected=yes
1864 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1870 if test $ac_prog_rejected = yes; then
1871 # We found a bogon in the path, so make sure we never use it.
1872 set dummy $ac_cv_prog_CC
1874 if test $# != 0; then
1875 # We chose a different compiler from the bogus one.
1876 # However, it has the same basename, so the bogon will be chosen
1877 # first if we set CC to just the basename; use the full file name.
1879 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1885 if test -n "$CC"; then
1886 echo "$as_me:$LINENO: result
: $CC" >&5
1887 echo "${ECHO_T}$CC" >&6
1889 echo "$as_me:$LINENO: result
: no
" >&5
1890 echo "${ECHO_T}no
" >&6
1894 if test -z "$CC"; then
1895 if test -n "$ac_tool_prefix"; then
1898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1900 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1901 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1902 if test "${ac_cv_prog_CC+set}" = set; then
1903 echo $ECHO_N "(cached
) $ECHO_C" >&6
1905 if test -n "$CC"; then
1906 ac_cv_prog_CC="$CC" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1916 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1925 if test -n "$CC"; then
1926 echo "$as_me:$LINENO: result
: $CC" >&5
1927 echo "${ECHO_T}$CC" >&6
1929 echo "$as_me:$LINENO: result
: no
" >&5
1930 echo "${ECHO_T}no
" >&6
1933 test -n "$CC" && break
1936 if test -z "$CC"; then
1940 # Extract the first word of "$ac_prog", so it can be a program name with args.
1941 set dummy $ac_prog; ac_word=$2
1942 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1945 echo $ECHO_N "(cached
) $ECHO_C" >&6
1947 if test -n "$ac_ct_CC"; then
1948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 test -z "$as_dir" && as_dir=.
1955 for ac_exec_ext in '' $ac_executable_extensions; do
1956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1957 ac_cv_prog_ac_ct_CC="$ac_prog"
1958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1966 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1967 if test -n "$ac_ct_CC"; then
1968 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1969 echo "${ECHO_T}$ac_ct_CC" >&6
1971 echo "$as_me:$LINENO: result
: no
" >&5
1972 echo "${ECHO_T}no
" >&6
1975 test -n "$ac_ct_CC" && break
1984 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1985 See \
`config.log' for more details." >&5
1986 echo "$as_me: error: no acceptable C compiler found in \$PATH
1987 See \`config.log
' for more details." >&2;}
1988 { (exit 1); exit 1; }; }
1990 # Provide some information about the compiler.
1991 echo "$as_me:$LINENO:" \
1992 "checking for C compiler version" >&5
1993 ac_compiler=`set X $ac_compile; echo $2`
1994 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1995 (eval $ac_compiler --version </dev/null >&5) 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }
1999 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2000 (eval $ac_compiler -v </dev/null >&5) 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2004 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2005 (eval $ac_compiler -V </dev/null >&5) 2>&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }
2010 cat >conftest.$ac_ext <<_ACEOF
2013 cat confdefs.h >>conftest.$ac_ext
2014 cat >>conftest.$ac_ext <<_ACEOF
2015 /* end confdefs.h. */
2026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2027 (eval $ac_link) 2>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; then
2036 if test x$gcc_no_link = xyes; then
2037 # Setting cross_compile will disable run tests; it will
2038 # also disable AC_CHECK_FILE but that's generally
2039 # correct if we can't link.
2043 cat >conftest.
$ac_ext <<_ACEOF
2046 cat confdefs.h
>>conftest.
$ac_ext
2047 cat >>conftest.
$ac_ext <<_ACEOF
2048 /* end confdefs.h. */
2058 ac_clean_files_save
=$ac_clean_files
2059 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2060 # Try to create an executable without -o first, disregard a.out.
2061 # It will help us diagnose broken compilers, and finding out an intuition
2063 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2064 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2065 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2066 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2067 (eval $ac_link_default) 2>&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; then
2071 # Find the output, starting from the most likely. This scheme is
2072 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2075 # Be careful to initialize this variable, since it used to be cached.
2076 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2078 # b.out is created by i960 compilers.
2079 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2081 test -f "$ac_file" ||
continue
2083 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2086 # This is the source file.
2089 # We found the default executable, but exeext='' is most
2093 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2094 # FIXME: I believe we export ac_cv_exeext for Libtool,
2095 # but it would be cool to find out if it's true. Does anybody
2096 # maintain Libtool? --akim.
2104 echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.
$ac_ext >&5
2107 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2108 See \`config.log' for more details." >&5
2109 echo "$as_me: error: C compiler cannot create executables
2110 See \`config.log' for more details." >&2;}
2111 { (exit 77); exit 77; }; }
2114 ac_exeext
=$ac_cv_exeext
2115 echo "$as_me:$LINENO: result: $ac_file" >&5
2116 echo "${ECHO_T}$ac_file" >&6
2118 # Check the compiler produces executables we can run. If not, either
2119 # the compiler is broken, or we cross compile.
2120 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2121 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2122 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2123 # If not cross compiling, check that we can run a simple program.
2124 if test "$cross_compiling" != yes; then
2125 if { ac_try
='./$ac_file'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; }; then
2133 if test "$cross_compiling" = maybe
; then
2136 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2137 If you meant to cross compile, use \`--host'.
2138 See \`config.log' for more details." >&5
2139 echo "$as_me: error: cannot run C compiled programs.
2140 If you meant to cross compile, use \`--host'.
2141 See \`config.log' for more details." >&2;}
2142 { (exit 1); exit 1; }; }
2146 echo "$as_me:$LINENO: result: yes" >&5
2147 echo "${ECHO_T}yes" >&6
2149 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2150 ac_clean_files
=$ac_clean_files_save
2151 # Check the compiler produces executables we can run. If not, either
2152 # the compiler is broken, or we cross compile.
2153 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2154 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2155 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2156 echo "${ECHO_T}$cross_compiling" >&6
2158 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2159 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2161 (eval $ac_link) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2166 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2167 # work properly (i.e., refer to `conftest.exe'), while it won't with
2169 for ac_file
in conftest.exe conftest conftest.
*; do
2170 test -f "$ac_file" ||
continue
2172 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2173 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2181 See \`config.log' for more details." >&5
2182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2183 See \`config.log' for more details." >&2;}
2184 { (exit 1); exit 1; }; }
2187 rm -f conftest
$ac_cv_exeext
2188 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2189 echo "${ECHO_T}$ac_cv_exeext" >&6
2191 rm -f conftest.
$ac_ext
2192 EXEEXT
=$ac_cv_exeext
2195 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2196 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2197 if test "${ac_cv_objext+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 cat >conftest.
$ac_ext <<_ACEOF
2203 cat confdefs.h
>>conftest.
$ac_ext
2204 cat >>conftest.
$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2215 rm -f conftest.o conftest.obj
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2223 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2224 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2239 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2242 echo "${ECHO_T}$ac_cv_objext" >&6
2243 OBJEXT
=$ac_cv_objext
2245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2301 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2303 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2304 ac_test_CFLAGS
=${CFLAGS+set}
2305 ac_save_CFLAGS
=$CFLAGS
2307 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2309 if test "${ac_cv_prog_cc_g+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 cat >conftest.
$ac_ext <<_ACEOF
2315 cat confdefs.h
>>conftest.
$ac_ext
2316 cat >>conftest.
$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2327 rm -f conftest.
$ac_objext
2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2329 (eval $ac_compile) 2>conftest.er1
2331 grep -v '^ *+' conftest.er1
>conftest.err
2333 cat conftest.err
>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } &&
2336 { ac_try
='test -z "$ac_c_werror_flag"
2337 || test ! -s conftest.err'
2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; } &&
2343 { ac_try
='test -s conftest.$ac_objext'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2360 if test "$ac_test_CFLAGS" = set; then
2361 CFLAGS
=$ac_save_CFLAGS
2362 elif test $ac_cv_prog_cc_g = yes; then
2363 if test "$GCC" = yes; then
2369 if test "$GCC" = yes; then
2375 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2376 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2377 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 ac_cv_prog_cc_stdc
=no
2382 cat >conftest.
$ac_ext <<_ACEOF
2385 cat confdefs.h
>>conftest.
$ac_ext
2386 cat >>conftest.
$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2390 #include <sys/types.h>
2391 #include <sys/stat.h>
2392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2393 struct buf { int x; };
2394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2395 static char *e (p, i)
2401 static char *f (char * (*g) (char **, int), char **p, ...)
2406 s = g (p, va_arg (v,int));
2411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2412 function prototypes and stuff, but not '\xHH' hex character constants.
2413 These don't provoke an error unfortunately, instead are silently treated
2414 as 'x'. The following induces an error, until -std1 is added to get
2415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2416 array size at least. It's necessary to write '\x00'==0 to get something
2417 that's true only with -std1. */
2418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2420 int test (int i, double x);
2421 struct s1 {int (*f) (int a);};
2422 struct s2 {int (*f) (double a);};
2423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2434 # Don't try gcc -ansi; that turns off useful extensions and
2435 # breaks some systems' header files.
2436 # AIX -qlanglvl=ansi
2437 # Ultrix and OSF/1 -std1
2438 # HP-UX 10.20 and later -Ae
2439 # HP-UX older versions -Aa -D_HPUX_SOURCE
2440 # SVR4 -Xc -D__EXTENSIONS__
2441 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2443 CC
="$ac_save_CC $ac_arg"
2444 rm -f conftest.
$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest.$ac_objext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_prog_cc_stdc
=$ac_arg
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext
2475 rm -f conftest.
$ac_ext conftest.
$ac_objext
2480 case "x$ac_cv_prog_cc_stdc" in
2482 echo "$as_me:$LINENO: result: none needed" >&5
2483 echo "${ECHO_T}none needed" >&6 ;;
2485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2486 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2487 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2490 # Some people use a C++ compiler to compile C. Since we use `exit',
2491 # in C++ we need to declare it. In case someone uses the same compiler
2492 # for both compiling C and C++ we need to have the C++ compiler decide
2493 # the declaration of exit, since it's the most demanding environment.
2494 cat >conftest.
$ac_ext <<_ACEOF
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 for ac_declaration
in \
2523 'extern "C" void std::exit (int) throw (); using std::exit;' \
2524 'extern "C" void std::exit (int); using std::exit;' \
2525 'extern "C" void exit (int) throw ();' \
2526 'extern "C" void exit (int);' \
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.
$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2594 grep -v '^ *+' conftest.er1
>conftest.err
2596 cat conftest.err
>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try
='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try
='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.
$ac_ext >&5
2618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2621 if test -n "$ac_declaration"; then
2622 echo '#ifdef __cplusplus' >>confdefs.h
2623 echo $ac_declaration >>confdefs.h
2624 echo '#endif' >>confdefs.h
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2634 ac_cpp
='$CPP $CPPFLAGS'
2635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2641 # extra LD Flags which are required for targets
2644 # Darwin needs -single_module when linking libobjc
2645 extra_ldflags_libobjc
=-Wl,-single_module
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2654 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2655 echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2657 if test "${ac_cv_prog_AS+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 if test -n "$AS"; then
2661 ac_cv_prog_AS
="$AS" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_AS
="${ac_tool_prefix}as"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$AS"; then
2681 echo "$as_me:$LINENO: result: $AS" >&5
2682 echo "${ECHO_T}$AS" >&6
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2689 if test -z "$ac_cv_prog_AS"; then
2691 # Extract the first word of "as", so it can be a program name with args.
2692 set dummy as
; ac_word
=$2
2693 echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2695 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$ac_ct_AS"; then
2699 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_ac_ct_AS
="as"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2718 if test -n "$ac_ct_AS"; then
2719 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2720 echo "${ECHO_T}$ac_ct_AS" >&6
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2733 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2734 echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2736 if test "${ac_cv_prog_AR+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -n "$AR"; then
2740 ac_cv_prog_AR
="$AR" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test -n "$AR"; then
2760 echo "$as_me:$LINENO: result: $AR" >&5
2761 echo "${ECHO_T}$AR" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2768 if test -z "$ac_cv_prog_AR"; then
2770 # Extract the first word of "ar", so it can be a program name with args.
2771 set dummy
ar; ac_word
=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$ac_ct_AR"; then
2778 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_AR
="ar"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2797 if test -n "$ac_ct_AR"; then
2798 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2799 echo "${ECHO_T}$ac_ct_AR" >&6
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2810 if test -n "$ac_tool_prefix"; then
2811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2812 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2813 echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815 if test "${ac_cv_prog_RANLIB+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$RANLIB"; then
2819 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 RANLIB
=$ac_cv_prog_RANLIB
2838 if test -n "$RANLIB"; then
2839 echo "$as_me:$LINENO: result: $RANLIB" >&5
2840 echo "${ECHO_T}$RANLIB" >&6
2842 echo "$as_me:$LINENO: result: no" >&5
2843 echo "${ECHO_T}no" >&6
2847 if test -z "$ac_cv_prog_RANLIB"; then
2848 ac_ct_RANLIB
=$RANLIB
2849 # Extract the first word of "ranlib", so it can be a program name with args.
2850 set dummy ranlib
; ac_word
=$2
2851 echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$ac_ct_RANLIB"; then
2857 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2876 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2877 if test -n "$ac_ct_RANLIB"; then
2878 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2879 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2885 RANLIB
=$ac_ct_RANLIB
2887 RANLIB
="$ac_cv_prog_RANLIB"
2890 # Find a good install program. We prefer a C program (faster),
2891 # so one script is as good as another. But avoid the broken or
2892 # incompatible versions:
2893 # SysV /etc/install, /usr/sbin/install
2894 # SunOS /usr/etc/install
2895 # IRIX /sbin/install
2897 # AmigaOS /C/install, which installs bootblocks on floppy discs
2898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2901 # OS/2's system install, which has a completely different semantic
2902 # ./install, which can be erroneously created by make from ./install.sh.
2903 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2904 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2905 if test -z "$INSTALL"; then
2906 if test "${ac_cv_path_install+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 # Account for people who put trailing slashes in PATH elements.
2916 .
/ | .
// |
/cC
/* | \
2917 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2918 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2921 # OSF1 and SCO ODT 3.0 have their own names for install.
2922 # Don't use installbsd from OSF since it installs stuff as root
2924 for ac_prog
in ginstall scoinst
install; do
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2927 if test $ac_prog = install &&
2928 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2929 # AIX install. It has an incompatible calling convention.
2931 elif test $ac_prog = install &&
2932 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2933 # program-specific install script used by HP pwplus--don't use.
2936 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2948 if test "${ac_cv_path_install+set}" = set; then
2949 INSTALL
=$ac_cv_path_install
2951 # As a last resort, use the slow shell script. We don't cache a
2952 # path for INSTALL within a source directory, because that will
2953 # break other packages using the cache if that directory is
2954 # removed, or if the path is relative.
2955 INSTALL
=$ac_install_sh
2958 echo "$as_me:$LINENO: result: $INSTALL" >&5
2959 echo "${ECHO_T}$INSTALL" >&6
2961 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2962 # It thinks the first close brace ends the variable substitution.
2963 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2965 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2967 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2970 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2971 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2972 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2973 if test "${enable_maintainer_mode+set}" = set; then
2974 enableval
="$enable_maintainer_mode"
2975 USE_MAINTAINER_MODE
=$enableval
2977 USE_MAINTAINER_MODE
=no
2979 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2980 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2983 if test $USE_MAINTAINER_MODE = yes; then
2984 MAINTAINER_MODE_TRUE
=
2985 MAINTAINER_MODE_FALSE
='#'
2987 MAINTAINER_MODE_TRUE
='#'
2988 MAINTAINER_MODE_FALSE
=
2991 MAINT
=$MAINTAINER_MODE_TRUE
2995 # Enable Win32 DLL on MS Windows - FIXME
2998 # Check whether --enable-shared or --disable-shared was given.
2999 if test "${enable_shared+set}" = set; then
3000 enableval
="$enable_shared"
3001 p
=${PACKAGE-default}
3003 yes) enable_shared
=yes ;;
3004 no
) enable_shared
=no
;;
3007 # Look at the argument we got. We use all the common list separators.
3008 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3009 for pkg
in $enableval; do
3010 if test "X$pkg" = "X$p"; then
3020 # Check whether --enable-static or --disable-static was given.
3021 if test "${enable_static+set}" = set; then
3022 enableval
="$enable_static"
3023 p
=${PACKAGE-default}
3025 yes) enable_static
=yes ;;
3026 no
) enable_static
=no
;;
3029 # Look at the argument we got. We use all the common list separators.
3030 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3031 for pkg
in $enableval; do
3032 if test "X$pkg" = "X$p"; then
3042 # Check whether --enable-fast-install or --disable-fast-install was given.
3043 if test "${enable_fast_install+set}" = set; then
3044 enableval
="$enable_fast_install"
3045 p
=${PACKAGE-default}
3047 yes) enable_fast_install
=yes ;;
3048 no
) enable_fast_install
=no
;;
3050 enable_fast_install
=no
3051 # Look at the argument we got. We use all the common list separators.
3052 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3053 for pkg
in $enableval; do
3054 if test "X$pkg" = "X$p"; then
3055 enable_fast_install
=yes
3062 enable_fast_install
=yes
3065 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3066 if test "${with_gnu_ld+set}" = set; then
3067 withval
="$with_gnu_ld"
3068 test "$withval" = no || with_gnu_ld
=yes
3073 if test "$GCC" = yes; then
3074 # Check if gcc -print-prog-name=ld gives a path.
3075 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3076 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3079 # gcc leaves a trailing carriage return which upsets mingw
3080 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3082 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3085 # Accept absolute paths.
3086 [\\/]* |
[A-Za-z
]:[\\/]*)
3087 re_direlt
='/[^/][^/]*/\.\./'
3088 # Canonicalize the path of ld
3089 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3090 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3091 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3093 test -z "$LD" && LD
="$ac_prog"
3096 # If it fails, then pretend we aren't using GCC.
3100 # If it is relative, then search for the first ld in PATH.
3104 elif test "$with_gnu_ld" = yes; then
3105 echo "$as_me:$LINENO: checking for GNU ld" >&5
3106 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3108 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3109 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3111 if test "${lt_cv_path_LD+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 if test -z "$LD"; then
3115 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3116 for ac_dir
in $PATH; do
3117 test -z "$ac_dir" && ac_dir
=.
3118 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3119 lt_cv_path_LD
="$ac_dir/$ac_prog"
3120 # Check to see if the program is GNU ld. I'd rather use --version,
3121 # but apparently some GNU ld's only accept -v.
3122 # Break only if it was the GNU/non-GNU ld that we prefer.
3123 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3124 test "$with_gnu_ld" != no
&& break
3126 test "$with_gnu_ld" != yes && break
3132 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3137 if test -n "$LD"; then
3138 echo "$as_me:$LINENO: result: $LD" >&5
3139 echo "${ECHO_T}$LD" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3144 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3145 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3146 { (exit 1); exit 1; }; }
3147 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3148 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3149 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3153 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3154 lt_cv_prog_gnu_ld
=yes
3156 lt_cv_prog_gnu_ld
=no
3159 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3160 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3161 with_gnu_ld
=$lt_cv_prog_gnu_ld
3164 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3165 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3166 if test "${lt_cv_ld_reload_flag+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 lt_cv_ld_reload_flag
='-r'
3171 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3172 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3173 reload_flag
=$lt_cv_ld_reload_flag
3174 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3176 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3177 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3178 if test "${lt_cv_path_NM+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if test -n "$NM"; then
3182 # Let the user override the test.
3185 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3186 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3187 test -z "$ac_dir" && ac_dir
=.
3188 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3189 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3190 # Check to see if the nm accepts a BSD-compat flag.
3191 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3192 # nm: unknown option "B" ignored
3193 # Tru64's nm complains that /dev/null is an invalid object file
3194 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3195 lt_cv_path_NM
="$tmp_nm -B"
3197 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3198 lt_cv_path_NM
="$tmp_nm -p"
3201 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3202 continue # so that we can try to find one that supports BSD flags
3207 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3212 echo "$as_me:$LINENO: result: $NM" >&5
3213 echo "${ECHO_T}$NM" >&6
3215 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3216 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3218 if test "$LN_S" = "ln -s"; then
3219 echo "$as_me:$LINENO: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3222 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3223 echo "${ECHO_T}no, using $LN_S" >&6
3226 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3227 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3228 if test "${lt_cv_deplibs_check_method+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3232 lt_cv_file_magic_test_file
=
3233 lt_cv_deplibs_check_method
='unknown'
3234 # Need to set the preceding variable on all platforms that support
3235 # interlibrary dependencies.
3236 # 'none' -- dependencies not supported.
3237 # `unknown' -- same as none, but documents that we really don't know.
3238 # 'pass_all' -- all dependencies passed with no checks.
3239 # 'test_compile' -- check by making test program.
3240 # 'file_magic [regex]' -- check by looking for files in library path
3241 # which responds to the $file_magic_cmd with a given egrep regex.
3242 # If you have `file' or equivalent on your system and you're not sure
3243 # whether `pass_all' will *always* work, you probably want this one.
3247 lt_cv_deplibs_check_method
=pass_all
3251 lt_cv_deplibs_check_method
=pass_all
3255 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3256 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3257 lt_cv_file_magic_test_file
=/shlib
/libc.so
3260 cygwin
* | mingw
* |pw32
*)
3261 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3262 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3265 darwin
* | rhapsody
*)
3266 # this will be overwritten by pass_all, but leave it in just in case
3267 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3268 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3270 rhapsody
* | darwin1.012
)
3271 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3274 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3277 lt_cv_deplibs_check_method
=pass_all
3280 freebsd
* | kfreebsd
*-gnu)
3281 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3284 # Not sure whether the presence of OpenBSD here was a mistake.
3285 # Let's accept both of them until this is cleared up.
3286 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3287 lt_cv_file_magic_cmd
=/usr
/bin
/file
3288 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3292 lt_cv_deplibs_check_method
=pass_all
3297 lt_cv_deplibs_check_method
=pass_all
3303 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3304 lt_cv_file_magic_cmd
=/usr
/bin
/file
3305 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3308 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3309 lt_cv_file_magic_cmd
=/usr
/bin
/file
3310 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3318 # this will be overridden with pass_all, but let us keep it just in case
3319 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3323 *-32|
*"-32 ") libmagic
=32-bit;;
3324 *-n32|
*"-n32 ") libmagic
=N32
;;
3325 *-64|
*"-64 ") libmagic
=64-bit;;
3326 *) libmagic
=never-match
;;
3328 # this will be overridden with pass_all, but let us keep it just in case
3329 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3332 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3333 lt_cv_deplibs_check_method
=pass_all
3336 # This must be Linux ELF.
3338 lt_cv_deplibs_check_method
=pass_all
3341 netbsd
* | knetbsd
*-gnu)
3342 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3343 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3345 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3350 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3351 lt_cv_file_magic_cmd
=/usr
/bin
/file
3352 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3355 osf3
* | osf4
* | osf5
*)
3356 # this will be overridden with pass_all, but let us keep it just in case
3357 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3358 lt_cv_file_magic_test_file
=/shlib
/libc.so
3359 lt_cv_deplibs_check_method
=pass_all
3363 lt_cv_deplibs_check_method
=pass_all
3367 lt_cv_deplibs_check_method
=pass_all
3368 lt_cv_file_magic_test_file
=/lib
/libc.so
3371 sysv5uw
[78]* | sysv4
*uw2
*)
3372 lt_cv_deplibs_check_method
=pass_all
3375 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3376 case $host_vendor in
3378 lt_cv_deplibs_check_method
=pass_all
3381 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]'
3382 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3389 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3390 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3391 file_magic_cmd
=$lt_cv_file_magic_cmd
3392 deplibs_check_method
=$lt_cv_deplibs_check_method
3398 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3400 # find the maximum length of command line arguments
3401 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3402 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3403 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 # On DJGPP, this test can blow up pretty badly due to problems in libc
3412 # (any single argument exceeding 2000 bytes causes a buffer overrun
3413 # during glob expansion). Even if it were fixed, the result of this
3414 # check would be larger than it should be.
3415 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3419 # On Win9x/ME, this test blows up -- it succeeds, but takes
3420 # about 5 minutes as the teststring grows exponentially.
3421 # Worse, since 9x/ME are not pre-emptively multitasking,
3422 # you end up with a "frozen" computer, even though with patience
3423 # the test eventually succeeds (with a max line length of 256k).
3424 # Instead, let's just punt: use the minimum linelength reported by
3425 # all of the supported platforms: 8192 (on NT/2K/XP).
3426 lt_cv_sys_max_cmd_len
=8192;
3430 # On AmigaOS with pdksh, this test takes hours, literally.
3431 # So we just punt and use a minimum line length of 8192.
3432 lt_cv_sys_max_cmd_len
=8192;
3435 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3436 # This has been around since 386BSD, at least. Likely further.
3437 if test -x /sbin
/sysctl
; then
3438 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3439 elif test -x /usr
/sbin
/sysctl
; then
3440 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3442 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3444 # And add a safety zone
3445 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3446 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3452 if test -n "$lt_cv_sys_max_cmd_len" ; then
3453 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3454 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3456 echo "$as_me:$LINENO: result: none" >&5
3457 echo "${ECHO_T}none" >&6
3461 # Only perform the check for file, if the check method requires it
3462 case $deplibs_check_method in
3464 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3465 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3466 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3467 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3475 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3478 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3479 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3480 ac_dummy
="/usr/bin:$PATH"
3481 for ac_dir
in $ac_dummy; do
3482 test -z "$ac_dir" && ac_dir
=.
3483 if test -f $ac_dir/${ac_tool_prefix}file; then
3484 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3485 if test -n "$file_magic_test_file"; then
3486 case $deplibs_check_method in
3488 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3489 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3490 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3491 egrep "$file_magic_regex" > /dev
/null
; then
3496 *** Warning: the command libtool uses to detect shared libraries,
3497 *** $file_magic_cmd, produces output that libtool cannot recognize.
3498 *** The result is that libtool may fail to recognize shared libraries
3499 *** as such. This will affect the creation of libtool libraries that
3500 *** depend on shared libraries, but programs linked with such libtool
3501 *** libraries will work regardless of this problem. Nevertheless, you
3502 *** may want to report the problem to your system manager and/or to
3503 *** bug-libtool@gnu.org
3513 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3518 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3519 if test -n "$MAGIC_CMD"; then
3520 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3521 echo "${ECHO_T}$MAGIC_CMD" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3527 if test -z "$lt_cv_path_MAGIC_CMD"; then
3528 if test -n "$ac_tool_prefix"; then
3529 echo "$as_me:$LINENO: checking for file" >&5
3530 echo $ECHO_N "checking for file... $ECHO_C" >&6
3531 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3539 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3542 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3543 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3544 ac_dummy
="/usr/bin:$PATH"
3545 for ac_dir
in $ac_dummy; do
3546 test -z "$ac_dir" && ac_dir
=.
3547 if test -f $ac_dir/file; then
3548 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3549 if test -n "$file_magic_test_file"; then
3550 case $deplibs_check_method in
3552 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3553 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3554 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3555 egrep "$file_magic_regex" > /dev
/null
; then
3560 *** Warning: the command libtool uses to detect shared libraries,
3561 *** $file_magic_cmd, produces output that libtool cannot recognize.
3562 *** The result is that libtool may fail to recognize shared libraries
3563 *** as such. This will affect the creation of libtool libraries that
3564 *** depend on shared libraries, but programs linked with such libtool
3565 *** libraries will work regardless of this problem. Nevertheless, you
3566 *** may want to report the problem to your system manager and/or to
3567 *** bug-libtool@gnu.org
3577 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3582 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3583 if test -n "$MAGIC_CMD"; then
3584 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3585 echo "${ECHO_T}$MAGIC_CMD" >&6
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3602 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3603 echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3605 if test "${ac_cv_prog_RANLIB+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if test -n "$RANLIB"; then
3609 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 RANLIB
=$ac_cv_prog_RANLIB
3628 if test -n "$RANLIB"; then
3629 echo "$as_me:$LINENO: result: $RANLIB" >&5
3630 echo "${ECHO_T}$RANLIB" >&6
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3637 if test -z "$ac_cv_prog_RANLIB"; then
3638 ac_ct_RANLIB
=$RANLIB
3639 # Extract the first word of "ranlib", so it can be a program name with args.
3640 set dummy ranlib
; ac_word
=$2
3641 echo "$as_me:$LINENO: checking for $ac_word" >&5
3642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3643 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 if test -n "$ac_ct_RANLIB"; then
3647 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir
=.
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3666 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3667 if test -n "$ac_ct_RANLIB"; then
3668 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3669 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3675 RANLIB
=$ac_ct_RANLIB
3677 RANLIB
="$ac_cv_prog_RANLIB"
3680 if test -n "$ac_tool_prefix"; then
3681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3682 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3683 echo "$as_me:$LINENO: checking for $ac_word" >&5
3684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3685 if test "${ac_cv_prog_STRIP+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 if test -n "$STRIP"; then
3689 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3695 test -z "$as_dir" && as_dir
=.
3696 for ac_exec_ext
in '' $ac_executable_extensions; do
3697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3698 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 STRIP
=$ac_cv_prog_STRIP
3708 if test -n "$STRIP"; then
3709 echo "$as_me:$LINENO: result: $STRIP" >&5
3710 echo "${ECHO_T}$STRIP" >&6
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3717 if test -z "$ac_cv_prog_STRIP"; then
3719 # Extract the first word of "strip", so it can be a program name with args.
3720 set dummy strip
; ac_word
=$2
3721 echo "$as_me:$LINENO: checking for $ac_word" >&5
3722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3723 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 if test -n "$ac_ct_STRIP"; then
3727 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_exec_ext
in '' $ac_executable_extensions; do
3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_ac_ct_STRIP
="strip"
3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3746 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3747 if test -n "$ac_ct_STRIP"; then
3748 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3749 echo "${ECHO_T}$ac_ct_STRIP" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3757 STRIP
="$ac_cv_prog_STRIP"
3761 # Check for any special flags to pass to ltconfig.
3762 libtool_flags
="--cache-file=$cache_file"
3763 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3764 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3765 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3766 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3767 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3770 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3771 if test "${enable_libtool_lock+set}" = set; then
3772 enableval
="$enable_libtool_lock"
3775 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3776 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3779 # Check whether --with-pic or --without-pic was given.
3780 if test "${with_pic+set}" = set; then
3786 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3787 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3789 # Some flags need to be propagated to the compiler or linker for good
3793 # Find out which ABI we are using.
3794 echo '#line 3794 "configure"' > conftest.
$ac_ext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; then
3800 if test "$lt_cv_prog_gnu_ld" = yes; then
3801 case `/usr/bin/file conftest.$ac_objext` in
3803 LD
="${LD-ld} -melf32bsmip"
3806 LD
="${LD-ld} -melf32bmipn32"
3809 LD
="${LD-ld} -melf64bmip"
3813 case `/usr/bin/file conftest.$ac_objext` in
3830 # Find out which ABI we are using.
3831 echo 'int i;' > conftest.
$ac_ext
3832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3833 (eval $ac_compile) 2>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; then
3837 case "`/usr/bin/file conftest.o`" in
3849 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3850 # Find out which ABI we are using.
3851 echo 'int i;' > conftest.
$ac_ext
3852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3853 (eval $ac_compile) 2>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; then
3857 case "`/usr/bin/file conftest.o`" in
3861 LD
="${LD-ld} -m elf_i386"
3863 ppc64-
*linux
*|powerpc64-
*linux
*)
3864 LD
="${LD-ld} -m elf32ppclinux"
3867 LD
="${LD-ld} -m elf_s390"
3870 LD
="${LD-ld} -m elf32_sparc"
3877 LD
="${LD-ld} -m elf_x86_64"
3879 ppc
*-*linux
*|powerpc
*-*linux
*)
3880 LD
="${LD-ld} -m elf64ppc"
3883 LD
="${LD-ld} -m elf64_s390"
3886 LD
="${LD-ld} -m elf64_sparc"
3896 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3897 SAVE_CFLAGS
="$CFLAGS"
3898 CFLAGS
="$CFLAGS -belf"
3899 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3900 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3901 if test "${lt_cv_cc_needs_belf+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 ac_cpp
='$CPP $CPPFLAGS'
3908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3912 if test x
$gcc_no_link = xyes
; then
3913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3915 { (exit 1); exit 1; }; }
3917 cat >conftest.
$ac_ext <<_ACEOF
3920 cat confdefs.h
>>conftest.
$ac_ext
3921 cat >>conftest.
$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3932 rm -f conftest.
$ac_objext conftest
$ac_exeext
3933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3934 (eval $ac_link) 2>conftest.er1
3936 grep -v '^ *+' conftest.er1
>conftest.err
3938 cat conftest.err
>&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } &&
3941 { ac_try
='test -z "$ac_c_werror_flag"
3942 || test ! -s conftest.err'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; } &&
3948 { ac_try
='test -s conftest$ac_exeext'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; }; then
3954 lt_cv_cc_needs_belf
=yes
3956 echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.
$ac_ext >&5
3959 lt_cv_cc_needs_belf
=no
3961 rm -f conftest.err conftest.
$ac_objext \
3962 conftest
$ac_exeext conftest.
$ac_ext
3964 ac_cpp
='$CPP $CPPFLAGS'
3965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3970 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3971 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3972 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3973 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3974 CFLAGS
="$SAVE_CFLAGS"
3982 # Save cache, so that ltconfig can load it
3983 cat >confcache
<<\_ACEOF
3984 # This file is a shell script that caches the results of configure
3985 # tests run on this system so they can be shared between configure
3986 # scripts and configure runs, see configure's option --config-cache.
3987 # It is not useful on other systems. If it contains results you don't
3988 # want to keep, you may remove or edit it.
3990 # config.status only pays attention to the cache file if you give it
3991 # the --recheck option to rerun configure.
3993 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3994 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3999 # The following way of writing the cache mishandles newlines in values,
4000 # but we know of no workaround that is simple, portable, and efficient.
4001 # So, don't put newlines in cache variables' values.
4002 # Ultrix sh set writes to stderr and can't be redirected directly,
4003 # and sets the high bit in the cache file unless we assign to the vars.
4006 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4008 # `set' does not quote correctly, so add quotes (double-quote
4009 # substitution turns \\\\ into \\, and sed turns \\ into \).
4012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4015 # `set' quotes correctly as required by POSIX, so do not add quotes.
4017 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4026 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4028 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4029 if test -w $cache_file; then
4030 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4031 cat confcache
>$cache_file
4033 echo "not updating unwritable cache $cache_file"
4038 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4039 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4040 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4041 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4042 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4043 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4044 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4045 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4046 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4047 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4048 echo "$as_me: error: libtool configure failed" >&2;}
4049 { (exit 1); exit 1; }; }
4051 # Reload cache, that may have been modified by ltconfig
4052 if test -r "$cache_file"; then
4053 # Some versions of bash will fail to source /dev/null (special
4054 # files actually), so we avoid doing that.
4055 if test -f "$cache_file"; then
4056 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4057 echo "$as_me: loading cache $cache_file" >&6;}
4059 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4060 *) . .
/$cache_file;;
4064 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4065 echo "$as_me: creating cache $cache_file" >&6;}
4070 # This can be used to rebuild libtool when needed
4071 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4073 # Always use our own libtool.
4074 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4076 # Redirect the config.log output again, so that the ltconfig log is not
4077 # clobbered by the next message.
4078 exec 5>>.
/config.log
4086 if test "x$CC" != xcc
; then
4087 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4088 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
4090 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4091 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
4093 set dummy
$CC; ac_cc
=`echo $2 |
4094 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4095 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 cat >conftest.
$ac_ext <<_ACEOF
4101 cat confdefs.h
>>conftest.
$ac_ext
4102 cat >>conftest.
$ac_ext <<_ACEOF
4103 /* end confdefs.h. */
4113 # Make sure it works both with $CC and with simple cc.
4114 # We do the test twice because some compilers refuse to overwrite an
4115 # existing .o file with -o, though they will create one.
4116 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
4117 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } &&
4122 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); };
4128 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4129 if test "x$CC" != xcc
; then
4130 # Test first that cc exists at all.
4131 if { ac_try
='cc -c conftest.$ac_ext >&5'
4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; }; then
4137 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
4138 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } &&
4143 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); };
4152 # cc exists but doesn't like -o.
4153 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4158 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4163 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4170 cat >>confdefs.h
<<\_ACEOF
4171 #define NO_MINUS_C_MINUS_O 1
4176 # expand $ac_aux_dir to an absolute path
4177 am_aux_dir
=`cd $ac_aux_dir && pwd`
4179 # FIXME: we rely on the cache variable name because
4180 # there is no other way.
4182 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4183 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4184 # Losing compiler, so override with the script.
4185 # FIXME: It is wrong to rewrite CC.
4186 # But if we don't then we get into trouble of one sort or another.
4187 # A longer-term fix would be to have automake use am__CC in this case,
4188 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4189 CC
="$am_aux_dir/compile $CC"
4193 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4194 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4195 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4196 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 cat >conftest.
make <<\_ACEOF
4201 @
echo 'ac_maketemp="$(MAKE)"'
4203 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4204 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4205 if test -n "$ac_maketemp"; then
4206 eval ac_cv_prog_make_
${ac_make}_set
=yes
4208 eval ac_cv_prog_make_
${ac_make}_set
=no
4212 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4219 SET_MAKE
="MAKE=${MAKE-make}"
4227 # Sanity check for the cross-compilation case:
4229 ac_cpp
='$CPP $CPPFLAGS'
4230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4233 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4234 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4235 # On Suns, sometimes $CPP names a directory.
4236 if test -n "$CPP" && test -d "$CPP"; then
4239 if test -z "$CPP"; then
4240 if test "${ac_cv_prog_CPP+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 # Double quotes because CPP needs to be expanded
4244 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4247 for ac_c_preproc_warn_flag
in '' yes
4249 # Use a header file that comes with gcc, so configuring glibc
4250 # with a fresh cross-compiler works.
4251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4252 # <limits.h> exists even on freestanding compilers.
4253 # On the NeXT, cc -E runs the code through the compiler's parser,
4254 # not just through cpp. "Syntax error" is here to catch this case.
4255 cat >conftest.
$ac_ext <<_ACEOF
4258 cat confdefs.h
>>conftest.
$ac_ext
4259 cat >>conftest.
$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4262 # include <limits.h>
4264 # include <assert.h>
4268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4271 grep -v '^ *+' conftest.er1
>conftest.err
4273 cat conftest.err
>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } >/dev
/null
; then
4276 if test -s conftest.err
; then
4277 ac_cpp_err
=$ac_c_preproc_warn_flag
4278 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4285 if test -z "$ac_cpp_err"; then
4288 echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.
$ac_ext >&5
4291 # Broken: fails on valid input.
4294 rm -f conftest.err conftest.
$ac_ext
4296 # OK, works on sane cases. Now check whether non-existent headers
4297 # can be detected and how.
4298 cat >conftest.
$ac_ext <<_ACEOF
4301 cat confdefs.h
>>conftest.
$ac_ext
4302 cat >>conftest.
$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4304 #include <ac_nonexistent.h>
4306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4307 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4309 grep -v '^ *+' conftest.er1
>conftest.err
4311 cat conftest.err
>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } >/dev
/null
; then
4314 if test -s conftest.err
; then
4315 ac_cpp_err
=$ac_c_preproc_warn_flag
4316 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4323 if test -z "$ac_cpp_err"; then
4324 # Broken: success on invalid input.
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 # Passes both tests.
4334 rm -f conftest.err conftest.
$ac_ext
4337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4338 rm -f conftest.err conftest.
$ac_ext
4339 if $ac_preproc_ok; then
4351 echo "$as_me:$LINENO: result: $CPP" >&5
4352 echo "${ECHO_T}$CPP" >&6
4354 for ac_c_preproc_warn_flag
in '' yes
4356 # Use a header file that comes with gcc, so configuring glibc
4357 # with a fresh cross-compiler works.
4358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4359 # <limits.h> exists even on freestanding compilers.
4360 # On the NeXT, cc -E runs the code through the compiler's parser,
4361 # not just through cpp. "Syntax error" is here to catch this case.
4362 cat >conftest.
$ac_ext <<_ACEOF
4365 cat confdefs.h
>>conftest.
$ac_ext
4366 cat >>conftest.
$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4369 # include <limits.h>
4371 # include <assert.h>
4375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4378 grep -v '^ *+' conftest.er1
>conftest.err
4380 cat conftest.err
>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } >/dev
/null
; then
4383 if test -s conftest.err
; then
4384 ac_cpp_err
=$ac_c_preproc_warn_flag
4385 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4392 if test -z "$ac_cpp_err"; then
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.
$ac_ext >&5
4398 # Broken: fails on valid input.
4401 rm -f conftest.err conftest.
$ac_ext
4403 # OK, works on sane cases. Now check whether non-existent headers
4404 # can be detected and how.
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4411 #include <ac_nonexistent.h>
4413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4416 grep -v '^ *+' conftest.er1
>conftest.err
4418 cat conftest.err
>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } >/dev
/null
; then
4421 if test -s conftest.err
; then
4422 ac_cpp_err
=$ac_c_preproc_warn_flag
4423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4430 if test -z "$ac_cpp_err"; then
4431 # Broken: success on invalid input.
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.
$ac_ext >&5
4437 # Passes both tests.
4441 rm -f conftest.err conftest.
$ac_ext
4444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4445 rm -f conftest.err conftest.
$ac_ext
4446 if $ac_preproc_ok; then
4449 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4450 See \`config.log' for more details." >&5
4451 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4452 See \`config.log' for more details." >&2;}
4453 { (exit 1); exit 1; }; }
4457 ac_cpp
='$CPP $CPPFLAGS'
4458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4463 echo "$as_me:$LINENO: checking for egrep" >&5
4464 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4465 if test "${ac_cv_prog_egrep+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4469 then ac_cv_prog_egrep
='grep -E'
4470 else ac_cv_prog_egrep
='egrep'
4473 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4474 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4475 EGREP
=$ac_cv_prog_egrep
4478 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4479 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4480 if test "${ac_cv_header_stdc+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 cat >conftest.
$ac_ext <<_ACEOF
4486 cat confdefs.h
>>conftest.
$ac_ext
4487 cat >>conftest.
$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4502 rm -f conftest.
$ac_objext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4504 (eval $ac_compile) 2>conftest.er1
4506 grep -v '^ *+' conftest.er1
>conftest.err
4508 cat conftest.err
>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try
='test -z "$ac_c_werror_flag"
4512 || test ! -s conftest.err'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; } &&
4518 { ac_try
='test -s conftest.$ac_objext'
4519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then
4524 ac_cv_header_stdc
=yes
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.
$ac_ext >&5
4529 ac_cv_header_stdc
=no
4531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4533 if test $ac_cv_header_stdc = yes; then
4534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4535 cat >conftest.
$ac_ext <<_ACEOF
4538 cat confdefs.h
>>conftest.
$ac_ext
4539 cat >>conftest.
$ac_ext <<_ACEOF
4540 /* end confdefs.h. */
4544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4545 $EGREP "memchr" >/dev
/null
2>&1; then
4548 ac_cv_header_stdc
=no
4554 if test $ac_cv_header_stdc = yes; then
4555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4556 cat >conftest.
$ac_ext <<_ACEOF
4559 cat confdefs.h
>>conftest.
$ac_ext
4560 cat >>conftest.
$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4566 $EGREP "free" >/dev
/null
2>&1; then
4569 ac_cv_header_stdc
=no
4575 if test $ac_cv_header_stdc = yes; then
4576 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4577 if test "$cross_compiling" = yes; then
4580 cat >conftest.
$ac_ext <<_ACEOF
4583 cat confdefs.h
>>conftest.
$ac_ext
4584 cat >>conftest.
$ac_ext <<_ACEOF
4585 /* end confdefs.h. */
4587 #if ((' ' & 0x0FF) == 0x020)
4588 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4589 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4591 # define ISLOWER(c) \
4592 (('a' <= (c) && (c) <= 'i') \
4593 || ('j' <= (c) && (c) <= 'r') \
4594 || ('s' <= (c) && (c) <= 'z'))
4595 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4603 for (i = 0; i < 256; i++)
4604 if (XOR (islower (i), ISLOWER (i))
4605 || toupper (i) != TOUPPER (i))
4610 rm -f conftest
$ac_exeext
4611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4612 (eval $ac_link) 2>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4623 echo "$as_me: program exited with status $ac_status" >&5
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.
$ac_ext >&5
4628 ac_cv_header_stdc
=no
4630 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4634 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4635 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4636 if test $ac_cv_header_stdc = yes; then
4638 cat >>confdefs.h
<<\_ACEOF
4639 #define STDC_HEADERS 1
4644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4654 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4655 inttypes.h stdint.h unistd.h
4657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4658 echo "$as_me:$LINENO: checking for $ac_header" >&5
4659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 cat >conftest.
$ac_ext <<_ACEOF
4666 cat confdefs.h
>>conftest.
$ac_ext
4667 cat >>conftest.
$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4669 $ac_includes_default
4671 #include <$ac_header>
4673 rm -f conftest.
$ac_objext
4674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4675 (eval $ac_compile) 2>conftest.er1
4677 grep -v '^ *+' conftest.er1
>conftest.err
4679 cat conftest.err
>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } &&
4682 { ac_try
='test -z "$ac_c_werror_flag"
4683 || test ! -s conftest.err'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; } &&
4689 { ac_try
='test -s conftest.$ac_objext'
4690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4695 eval "$as_ac_Header=yes"
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.
$ac_ext >&5
4700 eval "$as_ac_Header=no"
4702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4707 cat >>confdefs.h
<<_ACEOF
4708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4716 if test "${ac_cv_header_stdio_h+set}" = set; then
4717 echo "$as_me:$LINENO: checking for stdio.h" >&5
4718 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4719 if test "${ac_cv_header_stdio_h+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4723 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4725 # Is the header compilable?
4726 echo "$as_me:$LINENO: checking stdio.h usability" >&5
4727 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4734 $ac_includes_default
4737 rm -f conftest.
$ac_objext
4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739 (eval $ac_compile) 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try
='test -z "$ac_c_werror_flag"
4747 || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_header_compiler
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4764 ac_header_compiler
=no
4766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4768 echo "${ECHO_T}$ac_header_compiler" >&6
4770 # Is the header present?
4771 echo "$as_me:$LINENO: checking stdio.h presence" >&5
4772 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
4773 cat >conftest.
$ac_ext <<_ACEOF
4776 cat confdefs.h
>>conftest.
$ac_ext
4777 cat >>conftest.
$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4784 grep -v '^ *+' conftest.er1
>conftest.err
4786 cat conftest.err
>&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } >/dev
/null
; then
4789 if test -s conftest.err
; then
4790 ac_cpp_err
=$ac_c_preproc_warn_flag
4791 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4798 if test -z "$ac_cpp_err"; then
4799 ac_header_preproc
=yes
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.
$ac_ext >&5
4804 ac_header_preproc
=no
4806 rm -f conftest.err conftest.
$ac_ext
4807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4808 echo "${ECHO_T}$ac_header_preproc" >&6
4810 # So? What about this header?
4811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4813 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4814 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4815 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
4816 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
4817 ac_header_preproc
=yes
4820 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
4821 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
4822 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
4823 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
4824 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
4825 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
4826 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
4827 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4828 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
4829 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
4830 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
4831 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
4834 ## ----------------------------------------- ##
4835 ## Report this to the package-unused lists. ##
4836 ## ----------------------------------------- ##
4839 sed "s/^/$as_me: WARNING: /" >&2
4842 echo "$as_me:$LINENO: checking for stdio.h" >&5
4843 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
4844 if test "${ac_cv_header_stdio_h+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 ac_cv_header_stdio_h
=$ac_header_preproc
4849 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
4850 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
4853 if test $ac_cv_header_stdio_h = yes; then
4856 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
4857 You must have a usable C system for the target already installed, at least
4858 including headers and, preferably, the library, before you can configure
4859 the Objective C runtime system. If necessary, install gcc now with
4860 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
4861 echo "$as_me: error: Can't find stdio.h.
4862 You must have a usable C system for the target already installed, at least
4863 including headers and, preferably, the library, before you can configure
4864 the Objective C runtime system. If necessary, install gcc now with
4865 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
4866 { (exit 1); exit 1; }; }
4871 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4872 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4873 if test "${ac_cv_header_stdc+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4895 rm -f conftest.
$ac_objext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4897 (eval $ac_compile) 2>conftest.er1
4899 grep -v '^ *+' conftest.er1
>conftest.err
4901 cat conftest.err
>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } &&
4904 { ac_try
='test -z "$ac_c_werror_flag"
4905 || test ! -s conftest.err'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; } &&
4911 { ac_try
='test -s conftest.$ac_objext'
4912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4917 ac_cv_header_stdc
=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4922 ac_cv_header_stdc
=no
4924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4926 if test $ac_cv_header_stdc = yes; then
4927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4928 cat >conftest.
$ac_ext <<_ACEOF
4931 cat confdefs.h
>>conftest.
$ac_ext
4932 cat >>conftest.
$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4938 $EGREP "memchr" >/dev
/null
2>&1; then
4941 ac_cv_header_stdc
=no
4947 if test $ac_cv_header_stdc = yes; then
4948 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4949 cat >conftest.
$ac_ext <<_ACEOF
4952 cat confdefs.h
>>conftest.
$ac_ext
4953 cat >>conftest.
$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4959 $EGREP "free" >/dev
/null
2>&1; then
4962 ac_cv_header_stdc
=no
4968 if test $ac_cv_header_stdc = yes; then
4969 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4970 if test "$cross_compiling" = yes; then
4973 cat >conftest.
$ac_ext <<_ACEOF
4976 cat confdefs.h
>>conftest.
$ac_ext
4977 cat >>conftest.
$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4980 #if ((' ' & 0x0FF) == 0x020)
4981 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4982 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4984 # define ISLOWER(c) \
4985 (('a' <= (c) && (c) <= 'i') \
4986 || ('j' <= (c) && (c) <= 'r') \
4987 || ('s' <= (c) && (c) <= 'z'))
4988 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4991 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4996 for (i = 0; i < 256; i++)
4997 if (XOR (islower (i), ISLOWER (i))
4998 || toupper (i) != TOUPPER (i))
5003 rm -f conftest
$ac_exeext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5005 (eval $ac_link) 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5016 echo "$as_me: program exited with status $ac_status" >&5
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.
$ac_ext >&5
5021 ac_cv_header_stdc
=no
5023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5027 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5028 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5029 if test $ac_cv_header_stdc = yes; then
5031 cat >>confdefs.h
<<\_ACEOF
5032 #define STDC_HEADERS 1
5039 for ac_header
in sched.h
5041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5043 echo "$as_me:$LINENO: checking for $ac_header" >&5
5044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5051 # Is the header compilable?
5052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5054 cat >conftest.
$ac_ext <<_ACEOF
5057 cat confdefs.h
>>conftest.
$ac_ext
5058 cat >>conftest.
$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 $ac_includes_default
5061 #include <$ac_header>
5063 rm -f conftest.
$ac_objext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065 (eval $ac_compile) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try
='test -z "$ac_c_werror_flag"
5073 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } &&
5079 { ac_try
='test -s conftest.$ac_objext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 ac_header_compiler
=yes
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.
$ac_ext >&5
5090 ac_header_compiler
=no
5092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5094 echo "${ECHO_T}$ac_header_compiler" >&6
5096 # Is the header present?
5097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5105 #include <$ac_header>
5107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5110 grep -v '^ *+' conftest.er1
>conftest.err
5112 cat conftest.err
>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } >/dev
/null
; then
5115 if test -s conftest.err
; then
5116 ac_cpp_err
=$ac_c_preproc_warn_flag
5117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5124 if test -z "$ac_cpp_err"; then
5125 ac_header_preproc
=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.
$ac_ext >&5
5130 ac_header_preproc
=no
5132 rm -f conftest.err conftest.
$ac_ext
5133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5134 echo "${ECHO_T}$ac_header_preproc" >&6
5136 # So? What about this header?
5137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5143 ac_header_preproc
=yes
5146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5160 ## ----------------------------------------- ##
5161 ## Report this to the package-unused lists. ##
5162 ## ----------------------------------------- ##
5165 sed "s/^/$as_me: WARNING: /" >&2
5168 echo "$as_me:$LINENO: checking for $ac_header" >&5
5169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 eval "$as_ac_Header=\$ac_header_preproc"
5175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5180 cat >>confdefs.h
<<_ACEOF
5181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5193 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
5194 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
5195 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
5196 echo "$as_me:$LINENO: result: $target_thread_file" >&5
5197 echo "${ECHO_T}$target_thread_file" >&6
5199 if test $target_thread_file != single
; then
5201 cat >>confdefs.h
<<\_ACEOF
5202 #define HAVE_GTHR_DEFAULT 1
5208 echo "$as_me:$LINENO: checking for exception model to use" >&5
5209 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5211 ac_cpp
='$CPP $CPPFLAGS'
5212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5216 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5217 if test "${enable_sjlj_exceptions+set}" = set; then
5218 enableval
="$enable_sjlj_exceptions"
5221 cat > conftest.
$ac_ext << EOF
5222 #line 5222 "configure"
5225 @implementation Frob
5238 old_CFLAGS
="$CFLAGS"
5239 CFLAGS
="-x objective-c -fgnu-runtime -fobjc-exceptions -S"
5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 (eval $ac_compile) 2>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; then
5245 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5246 enable_sjlj_exceptions
=yes
5247 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5248 enable_sjlj_exceptions
=no
5251 CFLAGS
="$old_CFLAGS"
5254 if test x
$enable_sjlj_exceptions = xyes
; then
5256 cat >>confdefs.h
<<\_ACEOF
5257 #define SJLJ_EXCEPTIONS 1
5260 ac_exception_model_name
=sjlj
5261 elif test x
$enable_sjlj_exceptions = xno
; then
5262 ac_exception_model_name
="call frame"
5264 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5265 echo "$as_me: error: unable to detect exception model" >&2;}
5266 { (exit 1); exit 1; }; }
5269 ac_cpp
='$CPP $CPPFLAGS'
5270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5274 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5275 echo "${ECHO_T}$ac_exception_model_name" >&6
5281 ac_config_files
="$ac_config_files Makefile"
5284 ac_config_commands
="$ac_config_commands default"
5287 cat >confcache
<<\_ACEOF
5288 # This file is a shell script that caches the results of configure
5289 # tests run on this system so they can be shared between configure
5290 # scripts and configure runs, see configure's option --config-cache.
5291 # It is not useful on other systems. If it contains results you don't
5292 # want to keep, you may remove or edit it.
5294 # config.status only pays attention to the cache file if you give it
5295 # the --recheck option to rerun configure.
5297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5303 # The following way of writing the cache mishandles newlines in values,
5304 # but we know of no workaround that is simple, portable, and efficient.
5305 # So, don't put newlines in cache variables' values.
5306 # Ultrix sh set writes to stderr and can't be redirected directly,
5307 # and sets the high bit in the cache file unless we assign to the vars.
5310 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5312 # `set' does not quote correctly, so add quotes (double-quote
5313 # substitution turns \\\\ into \\, and sed turns \\ into \).
5316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5319 # `set' quotes correctly as required by POSIX, so do not add quotes.
5321 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5328 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5330 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5332 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5333 if test -w $cache_file; then
5334 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5335 cat confcache
>$cache_file
5337 echo "not updating unwritable cache $cache_file"
5342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5343 # Let make expand exec_prefix.
5344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5346 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5347 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5348 # trailing colons and then remove the whole line if VPATH becomes empty
5349 # (actually we leave an empty line to preserve line numbers).
5350 if test "x$srcdir" = x.
; then
5351 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5352 s/:*\$(srcdir):*/:/;
5353 s/:*\${srcdir}:*/:/;
5355 s/^\([^=]*=[ ]*\):*/\1/;
5361 DEFS
=-DHAVE_CONFIG_H
5365 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5366 # 1. Remove the extension, and $U if already installed.
5367 ac_i
=`echo "$ac_i" |
5368 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5370 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5371 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5375 LTLIBOBJS
=$ac_ltlibobjs
5378 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5379 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5380 Usually this means the macro was only invoked conditionally." >&5
5381 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5382 Usually this means the macro was only invoked conditionally." >&2;}
5383 { (exit 1); exit 1; }; }
5386 : ${CONFIG_STATUS=./config.status}
5387 ac_clean_files_save
=$ac_clean_files
5388 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5389 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5390 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5391 cat >$CONFIG_STATUS <<_ACEOF
5393 # Generated by $as_me.
5394 # Run this file to recreate the current configuration.
5395 # Compiler output produced by configure, useful for debugging
5396 # configure, is in config.log if it exists.
5401 SHELL=\${CONFIG_SHELL-$SHELL}
5404 cat >>$CONFIG_STATUS <<\_ACEOF
5405 ## --------------------- ##
5406 ## M4sh Initialization. ##
5407 ## --------------------- ##
5409 # Be Bourne compatible
5410 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5413 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5414 # is contrary to our usage. Disable this feature.
5415 alias -g '${1+"$@"}'='"$@"'
5416 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5419 DUALCASE
=1; export DUALCASE
# for MKS sh
5421 # Support unset when possible.
5422 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5429 # Work around bugs in pre-3.0 UWIN ksh.
5430 $as_unset ENV MAIL MAILPATH
5437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5439 LC_TELEPHONE LC_TIME
5441 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5442 eval $as_var=C
; export $as_var
5448 # Required to use basename.
5449 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5455 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5456 as_basename
=basename
5462 # Name of the executable.
5463 as_me
=`$as_basename "$0" ||
5464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5465 X"$0" : 'X\(//\)$' \| \
5466 X"$0" : 'X\(/\)$' \| \
5467 . : '\(.\)' 2>/dev/null ||
5469 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5470 /^X\/\(\/\/\)$/{ s//\1/; q; }
5471 /^X\/\(\/\).*/{ s//\1/; q; }
5475 # PATH needs CR, and LINENO needs CR and PATH.
5476 # Avoid depending upon Character Ranges.
5477 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5478 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5479 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5480 as_cr_digits
='0123456789'
5481 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5483 # The user is always right.
5484 if test "${PATH_SEPARATOR+set}" != set; then
5485 echo "#! /bin/sh" >conf$$.sh
5486 echo "exit 0" >>conf$$.sh
5488 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5499 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5500 test "x$as_lineno_1" != "x$as_lineno_2" &&
5501 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5502 # Find who we are. Look in the path if we contain no path at all
5505 *[\\/]* ) as_myself
=$0 ;;
5506 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5516 # We did not find ourselves, most probably we were run as `sh COMMAND'
5517 # in which case we are not to be found in the path.
5518 if test "x$as_myself" = x
; then
5521 if test ! -f "$as_myself"; then
5522 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5523 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5524 { (exit 1); exit 1; }; }
5526 case $CONFIG_SHELL in
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5532 test -z "$as_dir" && as_dir
=.
5533 for as_base
in sh bash ksh sh5
; do
5536 if ("$as_dir/$as_base" -c '
5539 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5540 test "x$as_lineno_1" != "x$as_lineno_2" &&
5541 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5542 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5543 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5544 CONFIG_SHELL
=$as_dir/$as_base
5546 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5554 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5555 # uniformly replaced by the line number. The first 'sed' inserts a
5556 # line-number line before each line; the second 'sed' does the real
5557 # work. The second script uses 'N' to pair each line-number line
5558 # with the numbered line, and appends trailing '-' during
5559 # substitution so that $LINENO is not a special case at line end.
5560 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5561 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5562 sed '=' <$as_myself |
5567 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5570 s,^['$as_cr_digits']*\n,,
5572 chmod +x
$as_me.lineno ||
5573 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5574 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5575 { (exit 1); exit 1; }; }
5577 # Don't try to exec as it changes $[0], causing all sort of problems
5578 # (the dirname of $[0] is not the place where we might find the
5579 # original and so on. Autoconf is especially sensible to this).
5581 # Exit status is that of the last command.
5586 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5587 *c
*,-n*) ECHO_N
= ECHO_C
='
5589 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5590 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5593 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5599 rm -f conf$$ conf$$.exe conf$$.
file
5601 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5602 # We could just check for DJGPP; but this test a) works b) is more generic
5603 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5604 if test -f conf$$.exe
; then
5605 # Don't use ln at all; we don't have any links
5610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5615 rm -f conf$$ conf$$.exe conf$$.
file
5617 if mkdir
-p .
2>/dev
/null
; then
5620 test -d .
/-p && rmdir .
/-p
5624 as_executable_p
="test -f"
5626 # Sed expression to map a string onto a valid CPP name.
5627 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5629 # Sed expression to map a string onto a valid variable name.
5630 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5634 # We need space, tab and new line, in precisely that order.
5644 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5645 # report actual input values of CONFIG_FILES etc. instead of their
5646 # values after options handling. Logging --version etc. is OK.
5650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5651 ## Running $as_me. ##
5656 This file was extended by package-unused $as_me version-unused, which was
5657 generated by GNU Autoconf 2.59. Invocation command line was
5659 CONFIG_FILES = $CONFIG_FILES
5660 CONFIG_HEADERS = $CONFIG_HEADERS
5661 CONFIG_LINKS = $CONFIG_LINKS
5662 CONFIG_COMMANDS = $CONFIG_COMMANDS
5666 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5670 # Files that config.status was made for.
5671 if test -n "$ac_config_files"; then
5672 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5675 if test -n "$ac_config_headers"; then
5676 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5679 if test -n "$ac_config_links"; then
5680 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5683 if test -n "$ac_config_commands"; then
5684 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5687 cat >>$CONFIG_STATUS <<\_ACEOF
5690 \`$as_me' instantiates files from templates according to the
5691 current configuration.
5693 Usage: $0 [OPTIONS] [FILE]...
5695 -h, --help print this help, then exit
5696 -V, --version print version number, then exit
5697 -q, --quiet do not print progress messages
5698 -d, --debug don't remove temporary files
5699 --recheck update $as_me by reconfiguring in the same conditions
5700 --file=FILE[:TEMPLATE]
5701 instantiate the configuration file FILE
5702 --header=FILE[:TEMPLATE]
5703 instantiate the configuration header FILE
5705 Configuration files:
5708 Configuration headers:
5711 Configuration commands:
5714 Report bugs to <bug-autoconf@gnu.org>."
5717 cat >>$CONFIG_STATUS <<_ACEOF
5719 package-unused config.status version-unused
5720 configured by $0, generated by GNU Autoconf 2.59,
5721 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5723 Copyright (C) 2003 Free Software Foundation, Inc.
5724 This config.status script is free software; the Free Software Foundation
5725 gives unlimited permission to copy, distribute and modify it."
5730 cat >>$CONFIG_STATUS <<\_ACEOF
5731 # If no file are specified by the user, then we need to provide default
5732 # value. By we need to know if files were specified by the user.
5738 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5739 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5747 *) # This is not an option, so the user has probably given explicit
5750 ac_need_defaults
=false
;;
5754 # Handling of the options.
5756 cat >>$CONFIG_STATUS <<\_ACEOF
5757 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5759 --version |
--vers* |
-V )
5760 echo "$ac_cs_version"; exit 0 ;;
5762 # Conflict between --help and --header
5763 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5764 Try \`$0 --help' for more information." >&5
5765 echo "$as_me: error: ambiguous option: $1
5766 Try \`$0 --help' for more information." >&2;}
5767 { (exit 1); exit 1; }; };;
5768 --help |
--hel |
-h )
5769 echo "$ac_cs_usage"; exit 0 ;;
5770 --debug |
--d* |
-d )
5772 --file |
--fil |
--fi |
--f )
5774 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5775 ac_need_defaults
=false
;;
5776 --header |
--heade |
--head |
--hea )
5778 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5779 ac_need_defaults
=false
;;
5780 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5781 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5785 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5786 Try \`$0 --help' for more information." >&5
5787 echo "$as_me: error: unrecognized option: $1
5788 Try \`$0 --help' for more information." >&2;}
5789 { (exit 1); exit 1; }; } ;;
5791 *) ac_config_targets
="$ac_config_targets $1" ;;
5797 ac_configure_extra_args
=
5799 if $ac_cs_silent; then
5801 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5805 cat >>$CONFIG_STATUS <<_ACEOF
5806 if \$ac_cs_recheck; then
5807 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5808 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5813 cat >>$CONFIG_STATUS <<_ACEOF
5815 # INIT-COMMANDS section.
5821 with_target_subdir=${with_target_subdir}
5822 with_multisubdir=${with_multisubdir}
5823 ac_configure_args="--enable-multilib ${ac_configure_args}"
5824 toplevel_srcdir=${toplevel_srcdir}
5825 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5826 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
5833 cat >>$CONFIG_STATUS <<\_ACEOF
5834 for ac_config_target
in $ac_config_targets
5836 case "$ac_config_target" in
5837 # Handling of arguments.
5838 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5839 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5840 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5841 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5842 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5843 { (exit 1); exit 1; }; };;
5847 # If the user did not use the arguments to specify the items to instantiate,
5848 # then the envvar interface is used. Set only those that are not.
5849 # We use the long form for the default assignment because of an extremely
5850 # bizarre bug on SunOS 4.1.3.
5851 if $ac_need_defaults; then
5852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5853 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5857 # Have a temporary directory for convenience. Make it in the build tree
5858 # simply because there is no reason to put it here, and in addition,
5859 # creating and moving files from /tmp can sometimes cause problems.
5860 # Create a temporary directory, and hook for its removal unless debugging.
5863 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5864 trap '{ (exit 1); exit 1; }' 1 2 13 15
5867 # Create a (secure) tmp directory for tmp files.
5870 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5871 test -n "$tmp" && test -d "$tmp"
5874 tmp
=.
/confstat$$
-$RANDOM
5875 (umask 077 && mkdir
$tmp)
5878 echo "$me: cannot create a temporary directory in ." >&2
5879 { (exit 1); exit 1; }
5884 cat >>$CONFIG_STATUS <<_ACEOF
5887 # CONFIG_FILES section.
5890 # No need to generate the scripts if there are no CONFIG_FILES.
5891 # This happens for instance when ./config.status config.h
5892 if test -n "\$CONFIG_FILES"; then
5893 # Protect against being on the right side of a sed subst in config.status.
5894 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5895 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5896 s,@SHELL@,$SHELL,;t t
5897 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5898 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5899 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5900 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5901 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5902 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5903 s,@exec_prefix@,$exec_prefix,;t t
5904 s,@prefix@,$prefix,;t t
5905 s,@program_transform_name@,$program_transform_name,;t t
5906 s,@bindir@,$bindir,;t t
5907 s,@sbindir@,$sbindir,;t t
5908 s,@libexecdir@,$libexecdir,;t t
5909 s,@datadir@,$datadir,;t t
5910 s,@sysconfdir@,$sysconfdir,;t t
5911 s,@sharedstatedir@,$sharedstatedir,;t t
5912 s,@localstatedir@,$localstatedir,;t t
5913 s,@libdir@,$libdir,;t t
5914 s,@includedir@,$includedir,;t t
5915 s,@oldincludedir@,$oldincludedir,;t t
5916 s,@infodir@,$infodir,;t t
5917 s,@mandir@,$mandir,;t t
5918 s,@build_alias@,$build_alias,;t t
5919 s,@host_alias@,$host_alias,;t t
5920 s,@target_alias@,$target_alias,;t t
5922 s,@ECHO_C@,$ECHO_C,;t t
5923 s,@ECHO_N@,$ECHO_N,;t t
5924 s,@ECHO_T@,$ECHO_T,;t t
5926 s,@build@,$build,;t t
5927 s,@build_cpu@,$build_cpu,;t t
5928 s,@build_vendor@,$build_vendor,;t t
5929 s,@build_os@,$build_os,;t t
5930 s,@build_libsubdir@,$build_libsubdir,;t t
5931 s,@build_subdir@,$build_subdir,;t t
5932 s,@host_subdir@,$host_subdir,;t t
5933 s,@target_subdir@,$target_subdir,;t t
5934 s,@VERSION@,$VERSION,;t t
5935 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
5936 s,@OBJC_BOEHM_GC_INCLUDES@,$OBJC_BOEHM_GC_INCLUDES,;t t
5937 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
5939 s,@host_cpu@,$host_cpu,;t t
5940 s,@host_vendor@,$host_vendor,;t t
5941 s,@host_os@,$host_os,;t t
5942 s,@target@,$target,;t t
5943 s,@target_cpu@,$target_cpu,;t t
5944 s,@target_vendor@,$target_vendor,;t t
5945 s,@target_os@,$target_os,;t t
5946 s,@target_noncanonical@,$target_noncanonical,;t t
5947 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
5948 s,@toolexecdir@,$toolexecdir,;t t
5949 s,@toolexeclibdir@,$toolexeclibdir,;t t
5950 s,@includedirname@,$includedirname,;t t
5951 s,@libext@,$libext,;t t
5953 s,@ac_ct_CC@,$ac_ct_CC,;t t
5954 s,@EXEEXT@,$EXEEXT,;t t
5955 s,@OBJEXT@,$OBJEXT,;t t
5956 s,@extra_ldflags_libobjc@,$extra_ldflags_libobjc,;t t
5957 s,@CFLAGS@,$CFLAGS,;t t
5959 s,@ac_ct_AS@,$ac_ct_AS,;t t
5961 s,@ac_ct_AR@,$ac_ct_AR,;t t
5962 s,@RANLIB@,$RANLIB,;t t
5963 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5964 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5965 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5966 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5967 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5968 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5969 s,@MAINT@,$MAINT,;t t
5971 s,@STRIP@,$STRIP,;t t
5972 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5973 s,@LIBTOOL@,$LIBTOOL,;t t
5974 s,@SET_MAKE@,$SET_MAKE,;t t
5976 s,@CPPFLAGS@,$CPPFLAGS,;t t
5977 s,@EGREP@,$EGREP,;t t
5978 s,@LIBOBJS@,$LIBOBJS,;t t
5979 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5984 cat >>$CONFIG_STATUS <<\_ACEOF
5985 # Split the substitutions into bite-sized pieces for seds with
5986 # small command number limits, like on Digital OSF/1 and HP-UX.
5988 ac_sed_frag
=1 # Number of current file.
5989 ac_beg
=1 # First line for current file.
5990 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5993 while $ac_more_lines; do
5994 if test $ac_beg -gt 1; then
5995 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5997 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5999 if test ! -s $tmp/subs.frag
; then
6002 # The purpose of the label and of the branching condition is to
6003 # speed up the sed processing (if there are no `@' at all, there
6004 # is no need to browse any of the substitutions).
6005 # These are the two extra sed commands mentioned above.
6007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6008 if test -z "$ac_sed_cmds"; then
6009 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6011 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6013 ac_sed_frag
=`expr $ac_sed_frag + 1`
6015 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6018 if test -z "$ac_sed_cmds"; then
6021 fi # test -n "$CONFIG_FILES"
6024 cat >>$CONFIG_STATUS <<\_ACEOF
6025 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6026 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6028 - |
*:- |
*:-:* ) # input from stdin
6030 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6031 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6032 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6034 * ) ac_file_in
=$ac_file.
in ;;
6037 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6038 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6040 X"$ac_file" : 'X\(//\)[^/]' \| \
6041 X"$ac_file" : 'X\(//\)$' \| \
6042 X"$ac_file" : 'X\(/\)' \| \
6043 . : '\(.\)' 2>/dev/null ||
6045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6047 /^X\(\/\/\)$/{ s//\1/; q; }
6048 /^X\(\/\).*/{ s//\1/; q; }
6050 { if $as_mkdir_p; then
6055 while test ! -d "$as_dir"; do
6056 as_dirs
="$as_dir $as_dirs"
6057 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6059 X"$as_dir" : 'X\(//\)[^/]' \| \
6060 X"$as_dir" : 'X\(//\)$' \| \
6061 X"$as_dir" : 'X\(/\)' \| \
6062 . : '\(.\)' 2>/dev/null ||
6064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6066 /^X\(\/\/\)$/{ s//\1/; q; }
6067 /^X\(\/\).*/{ s//\1/; q; }
6070 test ! -n "$as_dirs" || mkdir
$as_dirs
6071 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6072 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6073 { (exit 1); exit 1; }; }; }
6077 if test "$ac_dir" != .
; then
6078 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6079 # A "../" for each directory in $ac_dir_suffix.
6080 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6082 ac_dir_suffix
= ac_top_builddir
=
6086 .
) # No --srcdir option. We are building in place.
6088 if test -z "$ac_top_builddir"; then
6091 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6093 [\\/]* | ?
:[\\/]* ) # Absolute path.
6094 ac_srcdir
=$srcdir$ac_dir_suffix;
6095 ac_top_srcdir
=$srcdir ;;
6097 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6098 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6101 # Do not use `cd foo && pwd` to compute absolute paths, because
6102 # the directories may not exist.
6104 .
) ac_abs_builddir
="$ac_dir";;
6107 .
) ac_abs_builddir
=`pwd`;;
6108 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6109 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6112 case $ac_abs_builddir in
6113 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6115 case ${ac_top_builddir}.
in
6116 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6117 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6118 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6121 case $ac_abs_builddir in
6122 .
) ac_abs_srcdir
=$ac_srcdir;;
6125 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6126 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6127 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6130 case $ac_abs_builddir in
6131 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6133 case $ac_top_srcdir in
6134 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6135 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6136 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6142 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6143 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6146 if test x
"$ac_file" != x-
; then
6147 { echo "$as_me:$LINENO: creating $ac_file" >&5
6148 echo "$as_me: creating $ac_file" >&6;}
6151 # Let's still pretend it is `configure' which instantiates (i.e., don't
6152 # use $as_me), people would be surprised to read:
6153 # /* config.h. Generated by config.status. */
6154 if test x
"$ac_file" = x-
; then
6157 configure_input
="$ac_file. "
6159 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6160 sed 's,.*/,,'` by configure."
6162 # First look for the input files in the build tree, otherwise in the
6164 ac_file_inputs
=`IFS=:
6165 for f in $ac_file_in; do
6167 -) echo $tmp/stdin ;;
6169 # Absolute (can't be DOS-style, as IFS=:)
6170 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6171 echo "$as_me: error: cannot find input file: $f" >&2;}
6172 { (exit 1); exit 1; }; }
6175 if test -f "$f"; then
6178 elif test -f "$srcdir/$f"; then
6183 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6184 echo "$as_me: error: cannot find input file: $f" >&2;}
6185 { (exit 1); exit 1; }; }
6188 done` ||
{ (exit 1); exit 1; }
6190 cat >>$CONFIG_STATUS <<_ACEOF
6194 cat >>$CONFIG_STATUS <<\_ACEOF
6196 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6197 s
,@configure_input@
,$configure_input,;t t
6198 s
,@srcdir@
,$ac_srcdir,;t t
6199 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6200 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6201 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6202 s
,@builddir@
,$ac_builddir,;t t
6203 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6204 s
,@top_builddir@
,$ac_top_builddir,;t t
6205 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6206 s
,@INSTALL@
,$ac_INSTALL,;t t
6207 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6209 if test x"$ac_file" != x-; then
6210 mv $tmp/out $ac_file
6218 cat >>$CONFIG_STATUS <<\_ACEOF
6221 # CONFIG_HEADER section.
6224 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6225 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6227 # ac_d sets the value in "#define NAME VALUE" lines.
6228 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6229 ac_dB
='[ ].*$,\1#\2'
6232 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6233 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6234 ac_uB
='$,\1#\2define\3'
6238 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6239 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6241 - |
*:- |
*:-:* ) # input from stdin
6243 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6244 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6245 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6246 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6247 * ) ac_file_in
=$ac_file.
in ;;
6250 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6251 echo "$as_me: creating $ac_file" >&6;}
6253 # First look for the input files in the build tree, otherwise in the
6255 ac_file_inputs
=`IFS=:
6256 for f in $ac_file_in; do
6258 -) echo $tmp/stdin ;;
6260 # Absolute (can't be DOS-style, as IFS=:)
6261 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6262 echo "$as_me: error: cannot find input file: $f" >&2;}
6263 { (exit 1); exit 1; }; }
6264 # Do quote $f, to prevent DOS paths from being IFS'd.
6267 if test -f "$f"; then
6270 elif test -f "$srcdir/$f"; then
6275 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6276 echo "$as_me: error: cannot find input file: $f" >&2;}
6277 { (exit 1); exit 1; }; }
6280 done` ||
{ (exit 1); exit 1; }
6281 # Remove the trailing spaces.
6282 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6286 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6287 # `conftest.undefs', that substitutes the proper values into
6288 # config.h.in to produce config.h. The first handles `#define'
6289 # templates, and the second `#undef' templates.
6290 # And first: Protect against being on the right side of a sed subst in
6291 # config.status. Protect against being in an unquoted here document
6293 rm -f conftest.defines conftest.undefs
6294 # Using a here document instead of a string reduces the quoting nightmare.
6295 # Putting comments in sed scripts is not portable.
6297 # `end' is used to avoid that the second main sed command (meant for
6298 # 0-ary CPP macros) applies to n-ary macro definitions.
6299 # See the Autoconf documentation for `clear'.
6300 cat >confdef2sed.
sed <<\_ACEOF
6305 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6307 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6310 # If some macros were called several times there might be several times
6311 # the same #defines, which is useless. Nevertheless, we may not want to
6312 # sort them, since we want the *last* AC-DEFINE to be honored.
6313 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6314 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6315 rm -f confdef2sed.sed
6317 # This sed command replaces #undef with comments. This is necessary, for
6318 # example, in the case of _POSIX_SOURCE, which is predefined and required
6319 # on some systems where configure will not decide to define it.
6320 cat >>conftest.undefs <<\_ACEOF
6321 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6324 # Break up conftest.defines because some shells have a limit on the size
6325 # of here documents, and old seds have small limits too (100 cmds).
6326 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6327 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6328 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6329 echo ' :' >>$CONFIG_STATUS
6331 while grep . conftest.defines >/dev/null
6333 # Write a limited-size here document to $tmp/defines.sed.
6334 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6335 # Speed up: don't consider the non `#define' lines.
6336 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6337 # Work around the forget-to-reset-the-flag bug.
6338 echo 't clr' >>$CONFIG_STATUS
6339 echo ': clr' >>$CONFIG_STATUS
6340 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6342 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6346 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6347 rm -f conftest.defines
6348 mv conftest.
tail conftest.defines
6350 rm -f conftest.defines
6351 echo ' fi # grep' >>$CONFIG_STATUS
6352 echo >>$CONFIG_STATUS
6354 # Break up conftest.undefs because some shells have a limit on the size
6355 # of here documents, and old seds have small limits too (100 cmds).
6356 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6358 while grep . conftest.undefs
>/dev
/null
6360 # Write a limited-size here document to $tmp/undefs.sed.
6361 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6362 # Speed up: don't consider the non
`#undef'
6363 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6364 # Work around the forget-to-reset-the-flag bug.
6365 echo 't clr' >>$CONFIG_STATUS
6366 echo ': clr' >>$CONFIG_STATUS
6367 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6369 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6373 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6374 rm -f conftest.undefs
6375 mv conftest.tail conftest.undefs
6377 rm -f conftest.undefs
6379 cat >>$CONFIG_STATUS <<\_ACEOF
6380 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6381 # use $as_me), people would be surprised to read:
6382 # /* config.h. Generated by config.status. */
6383 if test x
"$ac_file" = x-
; then
6384 echo "/* Generated by configure. */" >$tmp/config.h
6386 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6388 cat $tmp/in >>$tmp/config.h
6390 if test x
"$ac_file" != x-
; then
6391 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6392 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6393 echo "$as_me: $ac_file is unchanged" >&6;}
6395 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6397 X"$ac_file" : 'X\(//\)[^/]' \| \
6398 X"$ac_file" : 'X\(//\)$' \| \
6399 X"$ac_file" : 'X\(/\)' \| \
6400 . : '\(.\)' 2>/dev/null ||
6402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6404 /^X\(\/\/\)$/{ s//\1/; q; }
6405 /^X\(\/\).*/{ s//\1/; q; }
6407 { if $as_mkdir_p; then
6412 while test ! -d "$as_dir"; do
6413 as_dirs
="$as_dir $as_dirs"
6414 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6416 X"$as_dir" : 'X\(//\)[^/]' \| \
6417 X"$as_dir" : 'X\(//\)$' \| \
6418 X"$as_dir" : 'X\(/\)' \| \
6419 . : '\(.\)' 2>/dev/null ||
6421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6423 /^X\(\/\/\)$/{ s//\1/; q; }
6424 /^X\(\/\).*/{ s//\1/; q; }
6427 test ! -n "$as_dirs" || mkdir
$as_dirs
6428 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6429 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6430 { (exit 1); exit 1; }; }; }
6433 mv $tmp/config.h
$ac_file
6441 cat >>$CONFIG_STATUS <<\_ACEOF
6444 # CONFIG_COMMANDS section.
6446 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6447 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6448 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6449 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6450 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451 X"$ac_dest" : 'X\(//\)[^/]' \| \
6452 X"$ac_dest" : 'X\(//\)$' \| \
6453 X"$ac_dest" : 'X\(/\)' \| \
6454 . : '\(.\)' 2>/dev/null ||
6456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6458 /^X\(\/\/\)$/{ s//\1/; q; }
6459 /^X\(\/\).*/{ s//\1/; q; }
6461 { if $as_mkdir_p; then
6466 while test ! -d "$as_dir"; do
6467 as_dirs
="$as_dir $as_dirs"
6468 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6470 X"$as_dir" : 'X\(//\)[^/]' \| \
6471 X"$as_dir" : 'X\(//\)$' \| \
6472 X"$as_dir" : 'X\(/\)' \| \
6473 . : '\(.\)' 2>/dev/null ||
6475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6477 /^X\(\/\/\)$/{ s//\1/; q; }
6478 /^X\(\/\).*/{ s//\1/; q; }
6481 test ! -n "$as_dirs" || mkdir
$as_dirs
6482 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6484 { (exit 1); exit 1; }; }; }
6488 if test "$ac_dir" != .
; then
6489 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6490 # A "../" for each directory in $ac_dir_suffix.
6491 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6493 ac_dir_suffix
= ac_top_builddir
=
6497 .
) # No --srcdir option. We are building in place.
6499 if test -z "$ac_top_builddir"; then
6502 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6504 [\\/]* | ?
:[\\/]* ) # Absolute path.
6505 ac_srcdir
=$srcdir$ac_dir_suffix;
6506 ac_top_srcdir
=$srcdir ;;
6508 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6509 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6512 # Do not use `cd foo && pwd` to compute absolute paths, because
6513 # the directories may not exist.
6515 .
) ac_abs_builddir
="$ac_dir";;
6518 .
) ac_abs_builddir
=`pwd`;;
6519 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6520 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6523 case $ac_abs_builddir in
6524 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6526 case ${ac_top_builddir}.
in
6527 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6528 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6529 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6532 case $ac_abs_builddir in
6533 .
) ac_abs_srcdir
=$ac_srcdir;;
6536 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6537 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6538 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6541 case $ac_abs_builddir in
6542 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6544 case $ac_top_srcdir in
6545 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6546 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6547 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6552 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6553 echo "$as_me: executing $ac_dest commands" >&6;}
6555 default
) if test -n "$CONFIG_FILES"; then
6556 if test -n "${with_target_subdir}"; then
6557 # FIXME: We shouldn't need to set ac_file
6559 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
6560 .
${toplevel_srcdir}/config-ml.
in
6567 cat >>$CONFIG_STATUS <<\_ACEOF
6569 { (exit 0); exit 0; }
6571 chmod +x
$CONFIG_STATUS
6572 ac_clean_files
=$ac_clean_files_save
6575 # configure is writing to config.log, and then calls config.status.
6576 # config.status does its own redirection, appending to config.log.
6577 # Unfortunately, on DOS this fails, as config.log is still kept open
6578 # by configure, so config.status won't be able to write to it; its
6579 # output is simply discarded. So we exec the FD to /dev/null,
6580 # effectively closing config.log, so it can be properly (re)opened and
6581 # appended to by config.status. When coming back to configure, we
6582 # need to make the FD available again.
6583 if test "$no_create" != yes; then
6585 ac_config_status_args
=
6586 test "$silent" = yes &&
6587 ac_config_status_args
="$ac_config_status_args --quiet"
6589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6592 # would make configure fail if this is the last instruction.
6593 $ac_cs_success ||
{ (exit 1); exit 1; }