2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="gcj_mlc.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 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 multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS LDFLAGS CXXCPP THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE extra_ldflags_libgc EXTRA_TEST_LIBS target_all CPLUSPLUS_TRUE CPLUSPLUS_FALSE AM_CPPFLAGS addobjs addincludes addlibs addtests MY_CFLAGS toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CPP_set
=${CPP+set}
904 ac_env_CPP_value
=$CPP
905 ac_cv_env_CPP_set
=${CPP+set}
906 ac_cv_env_CPP_value
=$CPP
907 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
911 ac_env_CXX_set
=${CXX+set}
912 ac_env_CXX_value
=$CXX
913 ac_cv_env_CXX_set
=${CXX+set}
914 ac_cv_env_CXX_value
=$CXX
915 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value
=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
919 ac_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_env_LDFLAGS_value
=$LDFLAGS
921 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value
=$LDFLAGS
923 ac_env_CXXCPP_set
=${CXXCPP+set}
924 ac_env_CXXCPP_value
=$CXXCPP
925 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value
=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
935 \`configure' configures this package to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
994 --build=BUILD configure
for building on BUILD
[guessed
]
995 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
996 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1000 if test -n "$ac_init_help"; then
1005 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1006 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1007 --enable-multilib build many library versions
(default
)
1008 --disable-dependency-tracking speeds up one-time build
1009 --enable-dependency-tracking do not reject slow dependency extractors
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing
) to the casual installer
1012 --enable-shared[=PKGS
]
1013 build shared libraries
[default
=yes]
1014 --enable-static[=PKGS
]
1015 build static libraries
[default
=yes]
1016 --enable-fast-install[=PKGS
]
1017 optimize
for fast installation
[default
=yes]
1018 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1019 --enable-parallel-mark parallelize marking and free list construction
1020 --enable-gc-debug include full support
for pointer backtracing etc.
1023 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1024 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1025 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1027 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1028 --with-target-subdir=SUBDIR
1029 configuring with a cross compiler
1030 --with-cross-host=HOST configuring with a cross compiler
1031 --with-ecos enable runtime eCos target support
1033 Some influential environment variables
:
1034 CC C compiler
command
1035 CFLAGS C compiler flags
1036 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1037 nonstandard directory
<lib dir
>
1038 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1039 headers
in a nonstandard directory
<include dir
>
1040 CXX C
++ compiler
command
1041 CXXFLAGS C
++ compiler flags
1043 CXXCPP C
++ preprocessor
1045 Use these variables to override the choices made by
`configure' or to help
1046 it to find libraries and programs with nonstandard names/locations.
1051 if test "$ac_init_help" = "recursive"; then
1052 # If there are subdirs, report their specific --help.
1054 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1055 test -d $ac_dir || continue
1058 if test "$ac_dir" != .; then
1059 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1060 # A "../" for each directory in $ac_dir_suffix.
1061 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1063 ac_dir_suffix= ac_top_builddir=
1067 .) # No --srcdir option. We are building in place.
1069 if test -z "$ac_top_builddir"; then
1072 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1074 [\\/]* | ?:[\\/]* ) # Absolute path.
1075 ac_srcdir=$srcdir$ac_dir_suffix;
1076 ac_top_srcdir=$srcdir ;;
1078 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1079 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1082 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1083 # the directories may not exist.
1085 .) ac_abs_builddir="$ac_dir";;
1088 .) ac_abs_builddir=`pwd`;;
1089 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1090 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1093 case $ac_abs_builddir in
1094 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1096 case ${ac_top_builddir}. in
1097 .) ac_abs_top_builddir=$ac_abs_builddir;;
1098 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1099 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1102 case $ac_abs_builddir in
1103 .) ac_abs_srcdir=$ac_srcdir;;
1106 .) ac_abs_srcdir=$ac_abs_builddir;;
1107 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1108 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1111 case $ac_abs_builddir in
1112 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1114 case $ac_top_srcdir in
1115 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1116 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1117 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1122 # Check for guested configure; otherwise get Cygnus style configure.
1123 if test -f $ac_srcdir/configure.gnu; then
1125 $SHELL $ac_srcdir/configure.gnu --help=recursive
1126 elif test -f $ac_srcdir/configure; then
1128 $SHELL $ac_srcdir/configure --help=recursive
1129 elif test -f $ac_srcdir/configure.ac ||
1130 test -f $ac_srcdir/configure.in; then
1132 $ac_configure --help
1134 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1140 test -n "$ac_init_help" && exit 0
1141 if $ac_init_version; then
1144 Copyright (C) 2003 Free Software Foundation, Inc.
1145 This configure script is free software; the Free Software Foundation
1146 gives unlimited permission to copy, distribute and modify it.
1152 This file contains any messages produced by compilers while
1153 running configure, to aid debugging if configure makes a mistake.
1155 It was created by $as_me, which was
1156 generated by GNU Autoconf 2.59. Invocation command line was
1167 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1168 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1169 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1170 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1171 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1173 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1174 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1176 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1177 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1178 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1179 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1180 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1181 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1182 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1206 # Keep a trace of the command line.
1207 # Strip out --no-create and --no-recursion so they do not pile up.
1208 # Strip out --silent because we don't want to record it for future runs.
1209 # Also quote any args containing shell meta-characters.
1210 # Make two passes to allow for proper duplicate-argument suppression.
1215 ac_must_keep_next=false
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 -* ) ac_must_keep_next=true ;;
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1254 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1257 # When interrupted or exit'd, cleanup temporary files, and complete
1258 # config.log. We remove comments because anyway the quotes in there
1259 # would cause problems or look ugly.
1260 # WARNING: Be sure not to use single quotes in there, as some shells,
1261 # such as our DU 5.0 friend, will then `close
' the trap.
1262 trap 'exit_status
=$?
1263 # Save into config.log some information that might help in debugging.
1268 ## ---------------- ##
1269 ## Cache variables. ##
1270 ## ---------------- ##
1273 # The following way of writing the cache mishandles newlines in values,
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1291 ## ----------------- ##
1292 ## Output variables. ##
1293 ## ----------------- ##
1296 for ac_var
in $ac_subst_vars
1298 eval ac_val
=$
`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1303 if test -n "$ac_subst_files"; then
1310 for ac_var
in $ac_subst_files
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1318 if test -s confdefs.h
; then
1325 sed "/^$/d" confdefs.h |
sort
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1332 rm -f core
*.core
&&
1333 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1336 for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1342 rm -rf conftest* confdefs.h
1343 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346 # Predefined preprocessor variables.
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_NAME "$PACKAGE_NAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_STRING "$PACKAGE_STRING"
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1373 # Let the site file select an alternate cache file if it wants to.
1374 # Prefer explicitly selected file to automatically selected ones.
1375 if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385 echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's
/^
/|
/' "$ac_site_file" >&5
1391 if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396 echo "$as_me: loading cache $cache_file" >&6;}
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404 echo "$as_me: creating cache $cache_file" >&6;}
1408 # Check that the precious variables saved in the cache have kept the same
1410 ac_cache_corrupted=false
1411 for ac_var in `(set) 2>&1 |
1412 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1421 ac_cache_corrupted=: ;;
1423 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 # differences in whitespace do not lead to failure.
1430 ac_old_val_w=`echo x $ac_old_val`
1431 ac_new_val_w=`echo x $ac_new_val`
1432 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1433 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1434 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1435 ac_cache_corrupted=:
1437 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1438 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1439 eval $ac_var=\$ac_old_val
1441 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1442 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1443 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1444 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1447 # Pass precious variables to config.status.
1448 if test "$ac_new_set" = set; then
1450 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1451 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1452 *) ac_arg=$ac_var=$ac_new_val ;;
1454 case " $ac_configure_args " in
1455 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1456 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1460 if $ac_cache_corrupted; then
1461 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1462 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1463 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1464 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1465 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1466 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1467 { (exit 1); exit 1; }; }
1471 ac_cpp='$CPP $CPPFLAGS'
1472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1498 # This works around the fact that libtool configuration may change LD
1499 # for this particular configuration, but some shells, instead of
1500 # keeping the changes in LD private, export them just because LD is
1502 ORIGINAL_LD_FOR_MULTILIBS=$LD
1504 # Default to --enable-multilib
1505 # Check whether --enable-multilib or --disable-multilib was given.
1506 if test "${enable_multilib+set}" = set; then
1507 enableval="$enable_multilib"
1508 case "$enableval" in
1509 yes) multilib=yes ;;
1511 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1512 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1513 { (exit 1); exit 1; }; } ;;
1519 # We may get other options which we leave undocumented:
1520 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1521 # See config-ml.in if you want the gory details.
1523 if test "$srcdir" = "."; then
1524 if test "$with_target_subdir" != "."; then
1525 multi_basedir="$srcdir/$with_multisrctop../.."
1527 multi_basedir="$srcdir/$with_multisrctop.."
1530 multi_basedir="$srcdir/.."
1534 # Even if the default multilib is not a cross compilation,
1535 # it may be that some of the other multilibs are.
1536 if test $cross_compiling = no && test $multilib = yes \
1537 && test "x${with_multisubdir}" != x ; then
1538 cross_compiling=maybe
1541 ac_config_commands="$ac_config_commands default-1"
1545 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1546 if test -f $ac_dir/install-sh; then
1548 ac_install_sh="$ac_aux_dir/install-sh -c"
1550 elif test -f $ac_dir/install.sh; then
1552 ac_install_sh="$ac_aux_dir/install.sh -c"
1554 elif test -f $ac_dir/shtool; then
1556 ac_install_sh="$ac_aux_dir/shtool install -c"
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1565 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4 >/dev/null 2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_build_alias=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1596 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 ac_cv_host_alias=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias=$ac_cv_build_alias
1609 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1618 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_target_alias=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias=$ac_cv_host_alias
1631 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target=$ac_cv_target
1640 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1650 program_prefix=${target_alias}-
1652 # Get the 'noncanonical' system names.
1653 case ${build_alias} in
1654 "") build_noncanonical=${build} ;;
1655 *) build_noncanonical=${build_alias} ;;
1658 case ${host_alias} in
1659 "") host_noncanonical=${build_noncanonical} ;;
1660 *) host_noncanonical=${host_alias} ;;
1663 case ${target_alias} in
1664 "") target_noncanonical=${host_noncanonical} ;;
1665 *) target_noncanonical=${target_alias} ;;
1671 # This works around an automake problem.
1672 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1675 am__api_version="1.9"
1676 # Find a good install program. We prefer a C program (faster),
1677 # so one script is as good as another. But avoid the broken or
1678 # incompatible versions:
1679 # SysV /etc/install, /usr/sbin/install
1680 # SunOS /usr/etc/install
1681 # IRIX /sbin/install
1683 # AmigaOS /C/install, which installs bootblocks on floppy discs
1684 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1685 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1686 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1687 # OS/2's system install, which has a completely different semantic
1688 # ./install, which can be erroneously created by make from ./install.sh.
1689 # Reject install programs that cannot install multiple files.
1690 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1691 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1692 if test -z "$INSTALL"; then
1693 if test "${ac_cv_path_install+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 # Account for people who put trailing slashes in PATH elements.
1703 ./ | .// | /cC/* | \
1704 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1705 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1708 # OSF1 and SCO ODT 3.0 have their own names for install.
1709 # Don't use installbsd from OSF since it installs stuff as root
1711 for ac_prog in ginstall scoinst install; do
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1714 if test $ac_prog = install &&
1715 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1716 # AIX install. It has an incompatible calling convention.
1718 elif test $ac_prog = install &&
1719 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1720 # program-specific install script used by HP pwplus--don't use.
1723 rm -rf conftest.one conftest.two conftest.dir
1724 echo one > conftest.one
1725 echo two > conftest.two
1727 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1728 test -s conftest.one && test -s conftest.two &&
1729 test -s conftest.dir/conftest.one &&
1730 test -s conftest.dir/conftest.two
1732 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1743 rm -rf conftest.one conftest.two conftest.dir
1746 if test "${ac_cv_path_install+set}" = set; then
1747 INSTALL=$ac_cv_path_install
1749 # As a last resort, use the slow shell script. Don't cache a
1750 # value for INSTALL within a source directory, because that will
1751 # break other packages using the cache if that directory is
1752 # removed, or if the value is a relative name.
1753 INSTALL=$ac_install_sh
1756 echo "$as_me:$LINENO: result: $INSTALL" >&5
1757 echo "${ECHO_T}$INSTALL" >&6
1759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1760 # It thinks the first close brace ends the variable substitution.
1761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1765 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1767 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1768 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1771 echo timestamp > conftest.file
1772 # Do `set' in a subshell so we don't clobber the current shell
's
1773 # arguments. Must try -L first in case configure is actually a
1774 # symlink; some systems play weird games with the mod time of symlinks
1775 # (eg FreeBSD returns the mod time of the symlink's containing
1778 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1779 if test "$*" = "X"; then
1781 set X
`ls -t $srcdir/configure conftest.file`
1784 if test "$*" != "X $srcdir/configure conftest.file" \
1785 && test "$*" != "X conftest.file $srcdir/configure"; then
1787 # If neither matched, then we have a broken ls. This can happen
1788 # if, for instance, CONFIG_SHELL is bash and it inherits a
1789 # broken ls alias from the environment. This has actually
1790 # happened. Such a system could not be considered "sane".
1791 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1792 alias in your environment" >&5
1793 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1794 alias in your environment" >&2;}
1795 { (exit 1); exit 1; }; }
1798 test "$2" = conftest.
file
1804 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1805 Check your system clock" >&5
1806 echo "$as_me: error: newly created file is older than distributed files!
1807 Check your system clock" >&2;}
1808 { (exit 1); exit 1; }; }
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1812 test "$program_prefix" != NONE
&&
1813 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1814 # Use a double $ so make ignores it.
1815 test "$program_suffix" != NONE
&&
1816 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1817 # Double any \ or $. echo might interpret backslashes.
1818 # By default was `s,x,x', remove it if useless.
1819 cat <<\_ACEOF
>conftest.
sed
1820 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1822 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1825 # expand $ac_aux_dir to an absolute path
1826 am_aux_dir
=`cd $ac_aux_dir && pwd`
1828 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1829 # Use eval to expand $SHELL
1830 if eval "$MISSING --run true"; then
1831 am_missing_run
="$MISSING --run "
1834 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1835 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1838 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1839 # We used to keeping the `.' as first argument, in order to
1840 # allow $(mkdir_p) to be used without argument. As in
1841 # $(mkdir_p) $(somedir)
1842 # where $(somedir) is conditionally defined. However this is wrong
1844 # 1. if the package is installed by a user who cannot write `.'
1845 # make install will fail,
1846 # 2. the above comment should most certainly read
1847 # $(mkdir_p) $(DESTDIR)$(somedir)
1848 # so it does not work when $(somedir) is undefined and
1849 # $(DESTDIR) is not.
1850 # To support the latter case, we have to write
1851 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1852 # so the `.' trick is pointless.
1853 mkdir_p
='mkdir -p --'
1855 # On NextStep and OpenStep, the `mkdir' command does not
1856 # recognize any option. It will interpret all options as
1857 # directories to create, and then abort because `.' already
1859 for d
in .
/-p .
/--version;
1861 test -d $d && rmdir $d
1863 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1864 if test -f "$ac_aux_dir/mkinstalldirs"; then
1865 mkdir_p
='$(mkinstalldirs)'
1867 mkdir_p
='$(install_sh) -d'
1871 for ac_prog
in gawk mawk nawk
awk
1873 # Extract the first word of "$ac_prog", so it can be a program name with args.
1874 set dummy
$ac_prog; ac_word
=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_AWK+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$AWK"; then
1881 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir
=.
1888 for ac_exec_ext
in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_AWK
="$ac_prog"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 if test -n "$AWK"; then
1901 echo "$as_me:$LINENO: result: $AWK" >&5
1902 echo "${ECHO_T}$AWK" >&6
1904 echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6
1908 test -n "$AWK" && break
1911 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1912 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1913 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1914 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.
make <<\_ACEOF
1919 @
echo 'ac_maketemp="$(MAKE)"'
1921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1922 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1923 if test -n "$ac_maketemp"; then
1924 eval ac_cv_prog_make_
${ac_make}_set
=yes
1926 eval ac_cv_prog_make_
${ac_make}_set
=no
1930 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1931 echo "$as_me:$LINENO: result: yes" >&5
1932 echo "${ECHO_T}yes" >&6
1935 echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1937 SET_MAKE
="MAKE=${MAKE-make}"
1940 rm -rf .tst
2>/dev
/null
1941 mkdir .tst
2>/dev
/null
1942 if test -d .tst
; then
1947 rmdir .tst
2>/dev
/null
1949 # test to see if srcdir already configured
1950 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1951 test -f $srcdir/config.status
; then
1952 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1953 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1954 { (exit 1); exit 1; }; }
1957 # test whether we have cygpath
1958 if test -z "$CYGPATH_W"; then
1959 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1960 CYGPATH_W
='cygpath -w'
1967 # Define the identity of the package.
1972 # Some tools Automake needs.
1974 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1977 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1980 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1983 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1986 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1988 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1990 # Installed binaries are usually stripped using `strip' when the user
1991 # run `make install-strip'. However `strip' might not be the right
1992 # tool to use in cross-compilation environments, therefore Automake
1993 # will honor the `STRIP' environment variable to overrule this program.
1994 if test "$cross_compiling" != no
; then
1995 if test -n "$ac_tool_prefix"; then
1996 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1997 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1998 echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_STRIP+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$STRIP"; then
2004 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir
=.
2011 for ac_exec_ext
in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 STRIP
=$ac_cv_prog_STRIP
2023 if test -n "$STRIP"; then
2024 echo "$as_me:$LINENO: result: $STRIP" >&5
2025 echo "${ECHO_T}$STRIP" >&6
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2032 if test -z "$ac_cv_prog_STRIP"; then
2034 # Extract the first word of "strip", so it can be a program name with args.
2035 set dummy strip
; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$ac_ct_STRIP"; then
2042 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir
=.
2049 for ac_exec_ext
in '' $ac_executable_extensions; do
2050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_ac_ct_STRIP
="strip"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2061 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2062 if test -n "$ac_ct_STRIP"; then
2063 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2064 echo "${ECHO_T}$ac_ct_STRIP" >&6
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2072 STRIP
="$ac_cv_prog_STRIP"
2076 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2078 # We need awk for the "check" target. The system "awk" is bad on
2080 # Always define AMTAR for backward compatibility.
2082 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2084 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2091 # The autoconf 2.5x version of the no-executables hack.
2094 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
2095 # the wrong, non-multilib-adjusted value will be used in multilibs.
2096 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
2101 ac_cpp
='$CPP $CPPFLAGS'
2102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2107 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2142 if test -z "$ac_cv_prog_CC"; then
2144 # Extract the first word of "gcc", so it can be a program name with args.
2145 set dummy gcc
; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC
="gcc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2171 if test -n "$ac_ct_CC"; then
2172 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2173 echo "${ECHO_T}$ac_ct_CC" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2184 if test -z "$CC"; then
2185 if test -n "$ac_tool_prefix"; then
2186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2187 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$CC"; then
2194 ac_cv_prog_CC
="$CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$ac_cv_prog_CC"; then
2224 # Extract the first word of "cc", so it can be a program name with args.
2225 set dummy cc
; ac_word
=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$ac_ct_CC"; then
2232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir
=.
2239 for ac_exec_ext
in '' $ac_executable_extensions; do
2240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_ac_ct_CC
="cc"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2251 if test -n "$ac_ct_CC"; then
2252 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2253 echo "${ECHO_T}$ac_ct_CC" >&6
2255 echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2265 if test -z "$CC"; then
2266 # Extract the first word of "cc", so it can be a program name with args.
2267 set dummy cc
; ac_word
=$2
2268 echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2270 if test "${ac_cv_prog_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 if test -n "$CC"; then
2274 ac_cv_prog_CC
="$CC" # Let the user override the test.
2277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir
=.
2282 for ac_exec_ext
in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2285 ac_prog_rejected
=yes
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 if test $ac_prog_rejected = yes; then
2296 # We found a bogon in the path, so make sure we never use it.
2297 set dummy
$ac_cv_prog_CC
2299 if test $# != 0; then
2300 # We chose a different compiler from the bogus one.
2301 # However, it has the same basename, so the bogon will be chosen
2302 # first if we set CC to just the basename; use the full file name.
2304 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2310 if test -n "$CC"; then
2311 echo "$as_me:$LINENO: result: $CC" >&5
2312 echo "${ECHO_T}$CC" >&6
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2319 if test -z "$CC"; then
2320 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2324 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2325 echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2327 if test "${ac_cv_prog_CC+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$CC"; then
2331 ac_cv_prog_CC
="$CC" # Let the user override the test.
2333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir
=.
2338 for ac_exec_ext
in '' $ac_executable_extensions; do
2339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$CC"; then
2351 echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6
2354 echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6
2358 test -n "$CC" && break
2361 if test -z "$CC"; then
2365 # Extract the first word of "$ac_prog", so it can be a program name with args.
2366 set dummy
$ac_prog; ac_word
=$2
2367 echo "$as_me:$LINENO: checking for $ac_word" >&5
2368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2369 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 if test -n "$ac_ct_CC"; then
2373 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir
=.
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2382 ac_cv_prog_ac_ct_CC
="$ac_prog"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2392 if test -n "$ac_ct_CC"; then
2393 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2394 echo "${ECHO_T}$ac_ct_CC" >&6
2396 echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6
2400 test -n "$ac_ct_CC" && break
2409 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2410 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2411 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: no acceptable C compiler found in \$PATH
2414 See \`config.log' for more details." >&2;}
2415 { (exit 1); exit 1; }; }; }
2417 # Provide some information about the compiler.
2418 echo "$as_me:$LINENO:" \
2419 "checking for C compiler version" >&5
2420 ac_compiler
=`set X $ac_compile; echo $2`
2421 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2422 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }
2426 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2427 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }
2431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2432 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }
2437 cat >conftest.
$ac_ext <<_ACEOF
2440 cat confdefs.h
>>conftest.
$ac_ext
2441 cat >>conftest.
$ac_ext <<_ACEOF
2442 /* end confdefs.h. */
2453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2454 (eval $ac_link) 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2463 if test x
$gcc_no_link = xyes
; then
2464 # Setting cross_compile will disable run tests; it will
2465 # also disable AC_CHECK_FILE but that's generally
2466 # correct if we can't link.
2470 cat >conftest.
$ac_ext <<_ACEOF
2473 cat confdefs.h
>>conftest.
$ac_ext
2474 cat >>conftest.
$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2485 ac_clean_files_save
=$ac_clean_files
2486 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2487 # Try to create an executable without -o first, disregard a.out.
2488 # It will help us diagnose broken compilers, and finding out an intuition
2490 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2491 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2492 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2493 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2494 (eval $ac_link_default) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; then
2498 # Find the output, starting from the most likely. This scheme is
2499 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2502 # Be careful to initialize this variable, since it used to be cached.
2503 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2505 # b.out is created by i960 compilers.
2506 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2508 test -f "$ac_file" ||
continue
2510 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2513 # This is the source file.
2516 # We found the default executable, but exeext='' is most
2520 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2521 # FIXME: I believe we export ac_cv_exeext for Libtool,
2522 # but it would be cool to find out if it's true. Does anybody
2523 # maintain Libtool? --akim.
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2534 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2535 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2536 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2537 See \`config.log' for more details." >&5
2538 echo "$as_me: error: C compiler cannot create executables
2539 See \`config.log' for more details." >&2;}
2540 { (exit 77); exit 77; }; }; }
2543 ac_exeext
=$ac_cv_exeext
2544 echo "$as_me:$LINENO: result: $ac_file" >&5
2545 echo "${ECHO_T}$ac_file" >&6
2547 # Check the compiler produces executables we can run. If not, either
2548 # the compiler is broken, or we cross compile.
2549 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2550 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2551 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2552 # If not cross compiling, check that we can run a simple program.
2553 if test "$cross_compiling" != yes; then
2554 if { ac_try
='./$ac_file'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2562 if test "$cross_compiling" = maybe
; then
2565 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2566 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2567 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2568 If you meant to cross compile, use \`--host'.
2569 See \`config.log' for more details." >&5
2570 echo "$as_me: error: cannot run C compiled programs.
2571 If you meant to cross compile, use \`--host'.
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }; }
2577 echo "$as_me:$LINENO: result: yes" >&5
2578 echo "${ECHO_T}yes" >&6
2580 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2581 ac_clean_files
=$ac_clean_files_save
2582 # Check the compiler produces executables we can run. If not, either
2583 # the compiler is broken, or we cross compile.
2584 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2585 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2586 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2587 echo "${ECHO_T}$cross_compiling" >&6
2589 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2590 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2592 (eval $ac_link) 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; then
2596 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2597 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2598 # work properly (i.e., refer to `conftest.exe'), while it won't with
2600 for ac_file
in conftest.exe conftest conftest.
*; do
2601 test -f "$ac_file" ||
continue
2603 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2604 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2611 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2612 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }; }
2620 rm -f conftest
$ac_cv_exeext
2621 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2622 echo "${ECHO_T}$ac_cv_exeext" >&6
2624 rm -f conftest.
$ac_ext
2625 EXEEXT
=$ac_cv_exeext
2628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2630 if test "${ac_cv_objext+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 cat >conftest.
$ac_ext <<_ACEOF
2636 cat confdefs.h
>>conftest.
$ac_ext
2637 cat >>conftest.
$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2648 rm -f conftest.o conftest.obj
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; then
2654 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2656 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2657 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.
$ac_ext >&5
2665 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2666 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2668 See \`config.log' for more details." >&5
2669 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2670 See \`config.log' for more details." >&2;}
2671 { (exit 1); exit 1; }; }; }
2674 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2676 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2677 echo "${ECHO_T}$ac_cv_objext" >&6
2678 OBJEXT
=$ac_cv_objext
2680 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2681 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2682 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 cat >conftest.
$ac_ext <<_ACEOF
2688 cat confdefs.h
>>conftest.
$ac_ext
2689 cat >>conftest.
$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2703 rm -f conftest.
$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } &&
2712 { ac_try
='test -z "$ac_c_werror_flag"
2713 || test ! -s conftest.err'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; } &&
2719 { ac_try
='test -s conftest.$ac_objext'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; }; then
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.
$ac_ext >&5
2732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2733 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2736 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2737 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2738 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2739 ac_test_CFLAGS
=${CFLAGS+set}
2740 ac_save_CFLAGS
=$CFLAGS
2742 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2743 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2744 if test "${ac_cv_prog_cc_g+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 cat >conftest.
$ac_ext <<_ACEOF
2750 cat confdefs.h
>>conftest.
$ac_ext
2751 cat >>conftest.
$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2762 rm -f conftest.
$ac_objext
2763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764 (eval $ac_compile) 2>conftest.er1
2766 grep -v '^ *+' conftest.er1
>conftest.err
2768 cat conftest.err
>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try
='test -z "$ac_c_werror_flag"
2772 || test ! -s conftest.err'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; } &&
2778 { ac_try
='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2793 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2794 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2795 if test "$ac_test_CFLAGS" = set; then
2796 CFLAGS
=$ac_save_CFLAGS
2797 elif test $ac_cv_prog_cc_g = yes; then
2798 if test "$GCC" = yes; then
2804 if test "$GCC" = yes; then
2810 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2811 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2812 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 ac_cv_prog_cc_stdc
=no
2817 cat >conftest.
$ac_ext <<_ACEOF
2820 cat confdefs.h
>>conftest.
$ac_ext
2821 cat >>conftest.
$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 #include <sys/types.h>
2826 #include <sys/stat.h>
2827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2828 struct buf { int x; };
2829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2830 static char *e (p, i)
2836 static char *f (char * (*g) (char **, int), char **p, ...)
2841 s = g (p, va_arg (v,int));
2846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2847 function prototypes and stuff, but not '\xHH' hex character constants.
2848 These don't provoke an error unfortunately, instead are silently treated
2849 as 'x'. The following induces an error, until -std1 is added to get
2850 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2851 array size at least. It's necessary to write '\x00'==0 to get something
2852 that's true only with -std1. */
2853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2855 int test (int i, double x);
2856 struct s1 {int (*f) (int a);};
2857 struct s2 {int (*f) (double a);};
2858 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2864 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2869 # Don't try gcc -ansi; that turns off useful extensions and
2870 # breaks some systems' header files.
2871 # AIX -qlanglvl=ansi
2872 # Ultrix and OSF/1 -std1
2873 # HP-UX 10.20 and later -Ae
2874 # HP-UX older versions -Aa -D_HPUX_SOURCE
2875 # SVR4 -Xc -D__EXTENSIONS__
2876 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2878 CC
="$ac_save_CC $ac_arg"
2879 rm -f conftest.
$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2883 grep -v '^ *+' conftest.er1
>conftest.err
2885 cat conftest.err
>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try
='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try
='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 ac_cv_prog_cc_stdc
=$ac_arg
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2908 rm -f conftest.err conftest.
$ac_objext
2910 rm -f conftest.
$ac_ext conftest.
$ac_objext
2915 case "x$ac_cv_prog_cc_stdc" in
2917 echo "$as_me:$LINENO: result: none needed" >&5
2918 echo "${ECHO_T}none needed" >&6 ;;
2920 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2921 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2922 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2925 # Some people use a C++ compiler to compile C. Since we use `exit',
2926 # in C++ we need to declare it. In case someone uses the same compiler
2927 # for both compiling C and C++ we need to have the C++ compiler decide
2928 # the declaration of exit, since it's the most demanding environment.
2929 cat >conftest.
$ac_ext <<_ACEOF
2934 rm -f conftest.
$ac_objext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936 (eval $ac_compile) 2>conftest.er1
2938 grep -v '^ *+' conftest.er1
>conftest.err
2940 cat conftest.err
>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); } &&
2943 { ac_try
='test -z "$ac_c_werror_flag"
2944 || test ! -s conftest.err'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; } &&
2950 { ac_try
='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 for ac_declaration
in \
2958 'extern "C" void std::exit (int) throw (); using std::exit;' \
2959 'extern "C" void std::exit (int); using std::exit;' \
2960 'extern "C" void exit (int) throw ();' \
2961 'extern "C" void exit (int);' \
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2980 rm -f conftest.
$ac_objext
2981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2982 (eval $ac_compile) 2>conftest.er1
2984 grep -v '^ *+' conftest.er1
>conftest.err
2986 cat conftest.err
>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } &&
2989 { ac_try
='test -z "$ac_c_werror_flag"
2990 || test ! -s conftest.err'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; } &&
2996 { ac_try
='test -s conftest.$ac_objext'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; }; then
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.
$ac_ext >&5
3009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3010 cat >conftest.
$ac_ext <<_ACEOF
3013 cat confdefs.h
>>conftest.
$ac_ext
3014 cat >>conftest.
$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3025 rm -f conftest.
$ac_objext
3026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3027 (eval $ac_compile) 2>conftest.er1
3029 grep -v '^ *+' conftest.er1
>conftest.err
3031 cat conftest.err
>&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } &&
3034 { ac_try
='test -z "$ac_c_werror_flag"
3035 || test ! -s conftest.err'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; } &&
3041 { ac_try
='test -s conftest.$ac_objext'
3042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; }; then
3049 echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.
$ac_ext >&5
3053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3056 if test -n "$ac_declaration"; then
3057 echo '#ifdef __cplusplus' >>confdefs.h
3058 echo $ac_declaration >>confdefs.h
3059 echo '#endif' >>confdefs.h
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.
$ac_ext >&5
3067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3069 ac_cpp
='$CPP $CPPFLAGS'
3070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3073 DEPDIR
="${am__leading_dot}deps"
3075 ac_config_commands
="$ac_config_commands depfiles"
3078 am_make
=${MAKE-make}
3079 cat > confinc
<< 'END'
3084 # If we don't find an include directive, just comment out the code.
3085 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3086 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3090 # First try GNU make style include.
3091 echo "include confinc" > confmf
3092 # We grep out `Entering directory' and `Leaving directory'
3093 # messages which can occur if `w' ends up in MAKEFLAGS.
3094 # In particular we don't look at `^make:' because GNU make might
3095 # be invoked under some other name (usually "gmake"), in which
3096 # case it prints its new name instead of `make'.
3097 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3102 # Now try BSD make style include.
3103 if test "$am__include" = "#"; then
3104 echo '.include "confinc"' > confmf
3105 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3106 am__include
=.include
3113 echo "$as_me:$LINENO: result: $_am_result" >&5
3114 echo "${ECHO_T}$_am_result" >&6
3115 rm -f confinc confmf
3117 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3118 if test "${enable_dependency_tracking+set}" = set; then
3119 enableval
="$enable_dependency_tracking"
3122 if test "x$enable_dependency_tracking" != xno
; then
3123 am_depcomp
="$ac_aux_dir/depcomp"
3128 if test "x$enable_dependency_tracking" != xno; then
3139 depcc
="$CC" am_compiler_list
=
3141 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3142 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3143 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3147 # We make a subdir and do the tests there. Otherwise we can end up
3148 # making bogus files that we don't know about and never remove. For
3149 # instance it was reported that on HP-UX the gcc test will end up
3150 # making a dummy file named `D' -- because `-MD' means `put the output
3153 # Copy depcomp to subdir because otherwise we won't find it if we're
3154 # using a relative directory.
3155 cp "$am_depcomp" conftest.dir
3157 # We will build objects and dependencies in a subdirectory because
3158 # it helps to detect inapplicable dependency modes. For instance
3159 # both Tru64's cc and ICC support -MD to output dependencies as a
3160 # side effect of compilation, but ICC will put the dependencies in
3161 # the current directory while Tru64 will put them in the object
3165 am_cv_CC_dependencies_compiler_type
=none
3166 if test "$am_compiler_list" = ""; then
3167 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3169 for depmode
in $am_compiler_list; do
3170 # Setup a source with many dependencies, because some compilers
3171 # like to wrap large dependency lists on column 80 (with \), and
3172 # we should not choose a depcomp mode which is confused by this.
3174 # We need to recreate these files for each test, as the compiler may
3175 # overwrite some of them when testing with obscure command lines.
3176 # This happens at least with the AIX C compiler.
3178 for i
in 1 2 3 4 5 6; do
3179 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3180 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3181 # Solaris 8's {/usr,}/bin/sh.
3182 touch sub
/conftst
$i.h
3184 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3188 # after this tag, mechanisms are not by side-effect, so they'll
3189 # only be used when explicitly requested
3190 if test "x$enable_dependency_tracking" = xyes
; then
3198 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3199 # mode. It turns out that the SunPro C++ compiler does not properly
3200 # handle `-M -o', and we need to detect this.
3201 if depmode
=$depmode \
3202 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3203 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3204 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3205 >/dev
/null
2>conftest.err
&&
3206 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3207 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3208 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3209 # icc doesn't choke on unknown options, it will just issue warnings
3210 # or remarks (even with -Werror). So we grep stderr for any message
3211 # that says an option was ignored or not supported.
3212 # When given -MP, icc 7.0 and 7.1 complain thusly:
3213 # icc: Command line warning: ignoring option '-M'; no argument required
3214 # The diagnosis changed in icc 8.0:
3215 # icc: Command line remark: option '-MP' not supported
3216 if (grep 'ignoring option' conftest.err ||
3217 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3218 am_cv_CC_dependencies_compiler_type
=$depmode
3227 am_cv_CC_dependencies_compiler_type
=none
3231 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3232 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3233 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3238 test "x$enable_dependency_tracking" != xno \
3239 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3241 am__fastdepCC_FALSE
='#'
3243 am__fastdepCC_TRUE
='#'
3244 am__fastdepCC_FALSE
=
3249 ac_cpp
='$CXXCPP $CPPFLAGS'
3250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3253 if test -n "$ac_tool_prefix"; then
3254 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3257 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3258 echo "$as_me:$LINENO: checking for $ac_word" >&5
3259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3260 if test "${ac_cv_prog_CXX+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 if test -n "$CXX"; then
3264 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir
=.
3271 for ac_exec_ext
in '' $ac_executable_extensions; do
3272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 if test -n "$CXX"; then
3284 echo "$as_me:$LINENO: result: $CXX" >&5
3285 echo "${ECHO_T}$CXX" >&6
3287 echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6
3291 test -n "$CXX" && break
3294 if test -z "$CXX"; then
3296 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3298 # Extract the first word of "$ac_prog", so it can be a program name with args.
3299 set dummy
$ac_prog; ac_word
=$2
3300 echo "$as_me:$LINENO: checking for $ac_word" >&5
3301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3302 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 if test -n "$ac_ct_CXX"; then
3306 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir
=.
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3325 if test -n "$ac_ct_CXX"; then
3326 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3327 echo "${ECHO_T}$ac_ct_CXX" >&6
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3333 test -n "$ac_ct_CXX" && break
3335 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3341 # Provide some information about the compiler.
3342 echo "$as_me:$LINENO:" \
3343 "checking for C++ compiler version" >&5
3344 ac_compiler
=`set X $ac_compile; echo $2`
3345 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3346 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }
3350 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3351 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }
3355 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3356 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }
3361 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3362 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3363 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 cat >conftest.
$ac_ext <<_ACEOF
3369 cat confdefs.h
>>conftest.
$ac_ext
3370 cat >>conftest.
$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3384 rm -f conftest.
$ac_objext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3386 (eval $ac_compile) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1
>conftest.err
3390 cat conftest.err
>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try
='test -z "$ac_cxx_werror_flag"
3394 || test ! -s conftest.err'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try
='test -s conftest.$ac_objext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3414 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3417 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3418 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3419 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3420 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3421 ac_save_CXXFLAGS
=$CXXFLAGS
3423 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3424 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3425 if test "${ac_cv_prog_cxx_g+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 cat >conftest.
$ac_ext <<_ACEOF
3431 cat confdefs.h
>>conftest.
$ac_ext
3432 cat >>conftest.
$ac_ext <<_ACEOF
3433 /* end confdefs.h. */
3443 rm -f conftest.
$ac_objext
3444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3445 (eval $ac_compile) 2>conftest.er1
3447 grep -v '^ *+' conftest.er1
>conftest.err
3449 cat conftest.err
>&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } &&
3452 { ac_try
='test -z "$ac_cxx_werror_flag"
3453 || test ! -s conftest.err'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; } &&
3459 { ac_try
='test -s conftest.$ac_objext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3465 ac_cv_prog_cxx_g
=yes
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.
$ac_ext >&5
3472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3474 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3476 if test "$ac_test_CXXFLAGS" = set; then
3477 CXXFLAGS
=$ac_save_CXXFLAGS
3478 elif test $ac_cv_prog_cxx_g = yes; then
3479 if test "$GXX" = yes; then
3485 if test "$GXX" = yes; then
3491 for ac_declaration
in \
3493 'extern "C" void std::exit (int) throw (); using std::exit;' \
3494 'extern "C" void std::exit (int); using std::exit;' \
3495 'extern "C" void exit (int) throw ();' \
3496 'extern "C" void exit (int);' \
3499 cat >conftest.
$ac_ext <<_ACEOF
3502 cat confdefs.h
>>conftest.
$ac_ext
3503 cat >>conftest.
$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1
>conftest.err
3521 cat conftest.err
>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -z "$ac_cxx_werror_flag"
3525 || test ! -s conftest.err'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; } &&
3531 { ac_try
='test -s conftest.$ac_objext'
3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }; }; then
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.
$ac_ext >&5
3544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3545 cat >conftest.
$ac_ext <<_ACEOF
3548 cat confdefs.h
>>conftest.
$ac_ext
3549 cat >>conftest.
$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3560 rm -f conftest.
$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>conftest.er1
3564 grep -v '^ *+' conftest.er1
>conftest.err
3566 cat conftest.err
>&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try
='test -z "$ac_cxx_werror_flag"
3570 || test ! -s conftest.err'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; } &&
3576 { ac_try
='test -s conftest.$ac_objext'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; }; then
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.
$ac_ext >&5
3588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3591 if test -n "$ac_declaration"; then
3592 echo '#ifdef __cplusplus' >>confdefs.h
3593 echo $ac_declaration >>confdefs.h
3594 echo '#endif' >>confdefs.h
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3603 depcc
="$CXX" am_compiler_list
=
3605 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3606 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3607 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3611 # We make a subdir and do the tests there. Otherwise we can end up
3612 # making bogus files that we don't know about and never remove. For
3613 # instance it was reported that on HP-UX the gcc test will end up
3614 # making a dummy file named `D' -- because `-MD' means `put the output
3617 # Copy depcomp to subdir because otherwise we won't find it if we're
3618 # using a relative directory.
3619 cp "$am_depcomp" conftest.dir
3621 # We will build objects and dependencies in a subdirectory because
3622 # it helps to detect inapplicable dependency modes. For instance
3623 # both Tru64's cc and ICC support -MD to output dependencies as a
3624 # side effect of compilation, but ICC will put the dependencies in
3625 # the current directory while Tru64 will put them in the object
3629 am_cv_CXX_dependencies_compiler_type
=none
3630 if test "$am_compiler_list" = ""; then
3631 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3633 for depmode
in $am_compiler_list; do
3634 # Setup a source with many dependencies, because some compilers
3635 # like to wrap large dependency lists on column 80 (with \), and
3636 # we should not choose a depcomp mode which is confused by this.
3638 # We need to recreate these files for each test, as the compiler may
3639 # overwrite some of them when testing with obscure command lines.
3640 # This happens at least with the AIX C compiler.
3642 for i
in 1 2 3 4 5 6; do
3643 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3644 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3645 # Solaris 8's {/usr,}/bin/sh.
3646 touch sub
/conftst
$i.h
3648 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3652 # after this tag, mechanisms are not by side-effect, so they'll
3653 # only be used when explicitly requested
3654 if test "x$enable_dependency_tracking" = xyes
; then
3662 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3663 # mode. It turns out that the SunPro C++ compiler does not properly
3664 # handle `-M -o', and we need to detect this.
3665 if depmode
=$depmode \
3666 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3667 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3668 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3669 >/dev
/null
2>conftest.err
&&
3670 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3671 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3672 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3673 # icc doesn't choke on unknown options, it will just issue warnings
3674 # or remarks (even with -Werror). So we grep stderr for any message
3675 # that says an option was ignored or not supported.
3676 # When given -MP, icc 7.0 and 7.1 complain thusly:
3677 # icc: Command line warning: ignoring option '-M'; no argument required
3678 # The diagnosis changed in icc 8.0:
3679 # icc: Command line remark: option '-MP' not supported
3680 if (grep 'ignoring option' conftest.err ||
3681 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3682 am_cv_CXX_dependencies_compiler_type
=$depmode
3691 am_cv_CXX_dependencies_compiler_type
=none
3695 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3696 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3697 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3702 test "x$enable_dependency_tracking" != xno \
3703 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3704 am__fastdepCXX_TRUE
=
3705 am__fastdepCXX_FALSE
='#'
3707 am__fastdepCXX_TRUE
='#'
3708 am__fastdepCXX_FALSE
=
3714 if test "x$CC" != xcc
; then
3715 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3716 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3718 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3719 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3721 set dummy
$CC; ac_cc
=`echo $2 |
3722 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3723 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 cat >conftest.
$ac_ext <<_ACEOF
3729 cat confdefs.h
>>conftest.
$ac_ext
3730 cat >>conftest.
$ac_ext <<_ACEOF
3731 /* end confdefs.h. */
3741 # Make sure it works both with $CC and with simple cc.
3742 # We do the test twice because some compilers refuse to overwrite an
3743 # existing .o file with -o, though they will create one.
3744 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3745 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); };
3756 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3757 if test "x$CC" != xcc
; then
3758 # Test first that cc exists at all.
3759 if { ac_try
='cc -c conftest.$ac_ext >&5'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3765 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3766 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } &&
3771 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); };
3780 # cc exists but doesn't like -o.
3781 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3786 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3791 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3798 cat >>confdefs.h
<<\_ACEOF
3799 #define NO_MINUS_C_MINUS_O 1
3804 # FIXME: we rely on the cache variable name because
3805 # there is no other way.
3807 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3808 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3809 # Losing compiler, so override with the script.
3810 # FIXME: It is wrong to rewrite CC.
3811 # But if we don't then we get into trouble of one sort or another.
3812 # A longer-term fix would be to have automake use am__CC in this case,
3813 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3814 CC
="$am_aux_dir/compile $CC"
3821 # Newer automakes demand CCAS and CCASFLAGS.
3823 : ${CCASFLAGS='$(CFLAGS)'}
3827 if test -n "$ac_tool_prefix"; then
3828 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3829 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3830 echo "$as_me:$LINENO: checking for $ac_word" >&5
3831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3832 if test "${ac_cv_prog_AS+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 if test -n "$AS"; then
3836 ac_cv_prog_AS
="$AS" # Let the user override the test.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_AS
="${ac_tool_prefix}as"
3846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 if test -n "$AS"; then
3856 echo "$as_me:$LINENO: result: $AS" >&5
3857 echo "${ECHO_T}$AS" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3864 if test -z "$ac_cv_prog_AS"; then
3866 # Extract the first word of "as", so it can be a program name with args.
3867 set dummy as
; ac_word
=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 if test -n "$ac_ct_AS"; then
3874 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir
=.
3881 for ac_exec_ext
in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_AS
="as"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3893 if test -n "$ac_ct_AS"; then
3894 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3895 echo "${ECHO_T}$ac_ct_AS" >&6
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3906 if test -n "$ac_tool_prefix"; then
3907 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3908 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3909 echo "$as_me:$LINENO: checking for $ac_word" >&5
3910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3911 if test "${ac_cv_prog_AR+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 if test -n "$AR"; then
3915 ac_cv_prog_AR
="$AR" # Let the user override the test.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 if test -n "$AR"; then
3935 echo "$as_me:$LINENO: result: $AR" >&5
3936 echo "${ECHO_T}$AR" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3943 if test -z "$ac_cv_prog_AR"; then
3945 # Extract the first word of "ar", so it can be a program name with args.
3946 set dummy
ar; ac_word
=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 if test -n "$ac_ct_AR"; then
3953 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_AR
="ar"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3972 if test -n "$ac_ct_AR"; then
3973 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3974 echo "${ECHO_T}$ac_ct_AR" >&6
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3985 if test -n "$ac_tool_prefix"; then
3986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3987 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3988 echo "$as_me:$LINENO: checking for $ac_word" >&5
3989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3990 if test "${ac_cv_prog_RANLIB+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 if test -n "$RANLIB"; then
3994 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 RANLIB
=$ac_cv_prog_RANLIB
4013 if test -n "$RANLIB"; then
4014 echo "$as_me:$LINENO: result: $RANLIB" >&5
4015 echo "${ECHO_T}$RANLIB" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4022 if test -z "$ac_cv_prog_RANLIB"; then
4023 ac_ct_RANLIB
=$RANLIB
4024 # Extract the first word of "ranlib", so it can be a program name with args.
4025 set dummy ranlib
; ac_word
=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -n "$ac_ct_RANLIB"; then
4032 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir
=.
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4051 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4052 if test -n "$ac_ct_RANLIB"; then
4053 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4054 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4060 RANLIB
=$ac_ct_RANLIB
4062 RANLIB
="$ac_cv_prog_RANLIB"
4066 # Find a good install program. We prefer a C program (faster),
4067 # so one script is as good as another. But avoid the broken or
4068 # incompatible versions:
4069 # SysV /etc/install, /usr/sbin/install
4070 # SunOS /usr/etc/install
4071 # IRIX /sbin/install
4073 # AmigaOS /C/install, which installs bootblocks on floppy discs
4074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4077 # OS/2's system install, which has a completely different semantic
4078 # ./install, which can be erroneously created by make from ./install.sh.
4079 # Reject install programs that cannot install multiple files.
4080 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4082 if test -z "$INSTALL"; then
4083 if test "${ac_cv_path_install+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 # Account for people who put trailing slashes in PATH elements.
4093 .
/ | .
// |
/cC
/* | \
4094 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4095 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4098 # OSF1 and SCO ODT 3.0 have their own names for install.
4099 # Don't use installbsd from OSF since it installs stuff as root
4101 for ac_prog
in ginstall scoinst
install; do
4102 for ac_exec_ext
in '' $ac_executable_extensions; do
4103 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4104 if test $ac_prog = install &&
4105 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4106 # AIX install. It has an incompatible calling convention.
4108 elif test $ac_prog = install &&
4109 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4110 # program-specific install script used by HP pwplus--don't use.
4113 rm -rf conftest.one conftest.two conftest.dir
4114 echo one
> conftest.one
4115 echo two
> conftest.two
4117 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4118 test -s conftest.one
&& test -s conftest.two
&&
4119 test -s conftest.dir
/conftest.one
&&
4120 test -s conftest.dir
/conftest.two
4122 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4133 rm -rf conftest.one conftest.two conftest.dir
4136 if test "${ac_cv_path_install+set}" = set; then
4137 INSTALL
=$ac_cv_path_install
4139 # As a last resort, use the slow shell script. Don't cache a
4140 # value for INSTALL within a source directory, because that will
4141 # break other packages using the cache if that directory is
4142 # removed, or if the value is a relative name.
4143 INSTALL
=$ac_install_sh
4146 echo "$as_me:$LINENO: result: $INSTALL" >&5
4147 echo "${ECHO_T}$INSTALL" >&6
4149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4150 # It thinks the first close brace ends the variable substitution.
4151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4155 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4158 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4159 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4160 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4161 if test "${enable_maintainer_mode+set}" = set; then
4162 enableval
="$enable_maintainer_mode"
4163 USE_MAINTAINER_MODE
=$enableval
4165 USE_MAINTAINER_MODE
=no
4167 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4168 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4171 if test $USE_MAINTAINER_MODE = yes; then
4172 MAINTAINER_MODE_TRUE
=
4173 MAINTAINER_MODE_FALSE
='#'
4175 MAINTAINER_MODE_TRUE
='#'
4176 MAINTAINER_MODE_FALSE
=
4179 MAINT
=$MAINTAINER_MODE_TRUE
4183 .
${srcdir}/configure.
host
4185 case ${gc_basedir} in
4186 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
4187 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
4190 gc_cflags
="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
4193 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
4198 GC_CFLAGS
=${gc_cflags}
4203 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4204 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4209 macro_version
='2.2.6'
4210 macro_revision
='1.3012'
4224 ltmain
="$ac_aux_dir/ltmain.sh"
4226 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4227 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4228 if test "${lt_cv_path_SED+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 # Loop through the user's path and test for sed and gsed.
4232 # Then use that list of sed's as ones to test for truncation.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for lt_ac_prog
in sed gsed
; do
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4241 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4249 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4250 # along with /bin/sed that truncates output.
4251 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4252 test ! -f $lt_ac_sed && continue
4253 cat /dev
/null
> conftest.
in
4255 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4256 # Check for GNU sed and select it if it is found.
4257 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4258 lt_cv_path_SED
=$lt_ac_sed
4262 cat conftest.
in conftest.
in >conftest.tmp
4263 mv conftest.tmp conftest.
in
4264 cp conftest.
in conftest.
nl
4266 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4267 cmp -s conftest.out conftest.
nl ||
break
4268 # 10000 chars as input seems more than enough
4269 test $lt_ac_count -gt 10 && break
4270 lt_ac_count
=`expr $lt_ac_count + 1`
4271 if test $lt_ac_count -gt $lt_ac_max; then
4272 lt_ac_max
=$lt_ac_count
4273 lt_cv_path_SED
=$lt_ac_sed
4282 echo "$as_me:$LINENO: result: $SED" >&5
4283 echo "${ECHO_T}$SED" >&6
4285 test -z "$SED" && SED
=sed
4286 Xsed
="$SED -e 1s/^X//"
4298 echo "$as_me:$LINENO: checking for egrep" >&5
4299 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4300 if test "${ac_cv_prog_egrep+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4304 then ac_cv_prog_egrep
='grep -E'
4305 else ac_cv_prog_egrep
='egrep'
4308 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4309 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4310 EGREP
=$ac_cv_prog_egrep
4313 echo "$as_me:$LINENO: checking for fgrep" >&5
4314 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4315 if test "${ac_cv_prog_fgrep+set}" = set; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4319 then ac_cv_prog_fgrep
='grep -F'
4320 else ac_cv_prog_fgrep
='fgrep'
4323 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4324 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4325 FGREP
=$ac_cv_prog_fgrep
4328 test -z "$GREP" && GREP
=grep
4348 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4349 if test "${with_gnu_ld+set}" = set; then
4350 withval
="$with_gnu_ld"
4351 test "$withval" = no || with_gnu_ld
=yes
4356 if test "$GCC" = yes; then
4357 # Check if gcc -print-prog-name=ld gives a path.
4358 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4362 # gcc leaves a trailing carriage return which upsets mingw
4363 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4365 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4368 # Accept absolute paths.
4370 re_direlt
='/[^/][^/]*/\.\./'
4371 # Canonicalize the pathname of ld
4372 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4373 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4374 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4376 test -z "$LD" && LD
="$ac_prog"
4379 # If it fails, then pretend we aren't using GCC.
4383 # If it is relative, then search for the first ld in PATH.
4387 elif test "$with_gnu_ld" = yes; then
4388 echo "$as_me:$LINENO: checking for GNU ld" >&5
4389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4391 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4394 if test "${lt_cv_path_LD+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if test -z "$LD"; then
4398 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4399 for ac_dir
in $PATH; do
4401 test -z "$ac_dir" && ac_dir
=.
4402 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4403 lt_cv_path_LD
="$ac_dir/$ac_prog"
4404 # Check to see if the program is GNU ld. I'd rather use --version,
4405 # but apparently some variants of GNU ld only accept -v.
4406 # Break only if it was the GNU/non-GNU ld that we prefer.
4407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4408 *GNU
* |
*'with BFD'*)
4409 test "$with_gnu_ld" != no
&& break
4412 test "$with_gnu_ld" != yes && break
4419 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4424 if test -n "$LD"; then
4425 echo "$as_me:$LINENO: result: $LD" >&5
4426 echo "${ECHO_T}$LD" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4433 { (exit 1); exit 1; }; }
4434 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4440 case `$LD -v 2>&1 </dev/null` in
4441 *GNU
* |
*'with BFD'*)
4442 lt_cv_prog_gnu_ld
=yes
4445 lt_cv_prog_gnu_ld
=no
4449 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4451 with_gnu_ld
=$lt_cv_prog_gnu_ld
4461 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4462 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4463 if test "${lt_cv_path_NM+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 if test -n "$NM"; then
4467 # Let the user override the test.
4470 lt_nm_to_check
="${ac_tool_prefix}nm"
4471 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4472 lt_nm_to_check
="$lt_nm_to_check nm"
4474 for lt_tmp_nm
in $lt_nm_to_check; do
4475 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4476 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4478 test -z "$ac_dir" && ac_dir
=.
4479 tmp_nm
="$ac_dir/$lt_tmp_nm"
4480 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4481 # Check to see if the nm accepts a BSD-compat flag.
4482 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4483 # nm: unknown option "B" ignored
4484 # Tru64's nm complains that /dev/null is an invalid object file
4485 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4486 */dev
/null
* |
*'Invalid file or object type'*)
4487 lt_cv_path_NM
="$tmp_nm -B"
4491 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4493 lt_cv_path_NM
="$tmp_nm -p"
4497 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4498 continue # so that we can try to find one that supports BSD flags
4507 : ${lt_cv_path_NM=no}
4510 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4511 echo "${ECHO_T}$lt_cv_path_NM" >&6
4512 if test "$lt_cv_path_NM" != "no"; then
4515 # Didn't find any BSD compatible name lister, look for dumpbin.
4516 if test -n "$ac_tool_prefix"; then
4517 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4520 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4521 echo "$as_me:$LINENO: checking for $ac_word" >&5
4522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4523 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 if test -n "$DUMPBIN"; then
4527 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir
=.
4534 for ac_exec_ext
in '' $ac_executable_extensions; do
4535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 DUMPBIN
=$ac_cv_prog_DUMPBIN
4546 if test -n "$DUMPBIN"; then
4547 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4548 echo "${ECHO_T}$DUMPBIN" >&6
4550 echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6
4554 test -n "$DUMPBIN" && break
4557 if test -z "$DUMPBIN"; then
4558 ac_ct_DUMPBIN
=$DUMPBIN
4559 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy
$ac_prog; ac_word
=$2
4563 echo "$as_me:$LINENO: checking for $ac_word" >&5
4564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4565 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 if test -n "$ac_ct_DUMPBIN"; then
4569 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4588 if test -n "$ac_ct_DUMPBIN"; then
4589 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4590 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4596 test -n "$ac_ct_DUMPBIN" && break
4598 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4600 DUMPBIN
=$ac_ct_DUMPBIN
4604 if test "$DUMPBIN" != ":"; then
4608 test -z "$NM" && NM
=nm
4615 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4616 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4617 if test "${lt_cv_nm_interface+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 lt_cv_nm_interface
="BSD nm"
4621 echo "int some_variable = 0;" > conftest.
$ac_ext
4622 (eval echo "\"\$as_me:4622: $ac_compile\"" >&5)
4623 (eval "$ac_compile" 2>conftest.err
)
4624 cat conftest.err
>&5
4625 (eval echo "\"\$as_me:4625: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4626 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4627 cat conftest.err
>&5
4628 (eval echo "\"\$as_me:4628: output\"" >&5)
4629 cat conftest.out
>&5
4630 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4631 lt_cv_nm_interface
="MS dumpbin"
4635 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4636 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4638 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4639 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4641 if test "$LN_S" = "ln -s"; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4645 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4646 echo "${ECHO_T}no, using $LN_S" >&6
4649 # find the maximum length of command line arguments
4650 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4651 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4652 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 # On DJGPP, this test can blow up pretty badly due to problems in libc
4661 # (any single argument exceeding 2000 bytes causes a buffer overrun
4662 # during glob expansion). Even if it were fixed, the result of this
4663 # check would be larger than it should be.
4664 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4668 # Under GNU Hurd, this test is not required because there is
4669 # no limit to the length of command line arguments.
4670 # Libtool will interpret -1 as no limit whatsoever
4671 lt_cv_sys_max_cmd_len
=-1;
4674 cygwin
* | mingw
* | cegcc
*)
4675 # On Win9x/ME, this test blows up -- it succeeds, but takes
4676 # about 5 minutes as the teststring grows exponentially.
4677 # Worse, since 9x/ME are not pre-emptively multitasking,
4678 # you end up with a "frozen" computer, even though with patience
4679 # the test eventually succeeds (with a max line length of 256k).
4680 # Instead, let's just punt: use the minimum linelength reported by
4681 # all of the supported platforms: 8192 (on NT/2K/XP).
4682 lt_cv_sys_max_cmd_len
=8192;
4686 # On AmigaOS with pdksh, this test takes hours, literally.
4687 # So we just punt and use a minimum line length of 8192.
4688 lt_cv_sys_max_cmd_len
=8192;
4691 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4692 # This has been around since 386BSD, at least. Likely further.
4693 if test -x /sbin
/sysctl
; then
4694 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4695 elif test -x /usr
/sbin
/sysctl
; then
4696 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4698 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4700 # And add a safety zone
4701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4702 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4706 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4707 lt_cv_sys_max_cmd_len
=196608
4711 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4712 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4713 # nice to cause kernel panics so lets avoid the loop below.
4714 # First set a reasonable default.
4715 lt_cv_sys_max_cmd_len
=16384
4717 if test -x /sbin
/sysconfig
; then
4718 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4719 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4724 lt_cv_sys_max_cmd_len
=102400
4726 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4727 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4728 if test -n "$kargmax"; then
4729 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4731 lt_cv_sys_max_cmd_len
=32768
4735 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4736 if test -n "$lt_cv_sys_max_cmd_len"; then
4737 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4738 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4740 # Make teststring a little bigger before we do anything with it.
4741 # a 1K string should be a reasonable start.
4742 for i
in 1 2 3 4 5 6 7 8 ; do
4743 teststring
=$teststring$teststring
4745 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4746 # If test is not a shell built-in, we'll probably end up computing a
4747 # maximum length that is only half of the actual maximum length, but
4749 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4750 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4751 test $i != 17 # 1/2 MB should be enough
4754 teststring
=$teststring$teststring
4756 # Only check the string length outside the loop.
4757 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4759 # Add a significant safety factor because C++ compilers can tack on
4760 # massive amounts of additional arguments before passing them to the
4761 # linker. It appears as though 1/2 is a usable value.
4762 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4769 if test -n $lt_cv_sys_max_cmd_len ; then
4770 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4771 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4773 echo "$as_me:$LINENO: result: none" >&5
4774 echo "${ECHO_T}none" >&6
4776 max_cmd_len
=$lt_cv_sys_max_cmd_len
4787 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4788 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4789 # Try some XSI features
4792 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4794 && eval 'test $(( 1 + 1 )) -eq 2 \
4795 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4797 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4798 echo "${ECHO_T}$xsi_shell" >&6
4801 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4802 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4804 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4806 && lt_shell_append=yes
4807 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4808 echo "${ECHO_T}$lt_shell_append" >&6
4811 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4821 # test EBCDIC or ASCII
4822 case `echo X|tr X '\101'` in
4823 A) # ASCII based system
4824 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4825 lt_SP2NL='tr \040 \012'
4826 lt_NL2SP='tr \015\012 \040\040'
4828 *) # EBCDIC based system
4829 lt_SP2NL='tr \100 \n'
4830 lt_NL2SP='tr \r\n \100\100'
4842 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4843 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4844 if test "${lt_cv_ld_reload_flag+set}" = set; then
4845 echo $ECHO_N "(cached
) $ECHO_C" >&6
4847 lt_cv_ld_reload_flag='-r'
4849 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4851 reload_flag=$lt_cv_ld_reload_flag
4852 case $reload_flag in
4854 *) reload_flag=" $reload_flag" ;;
4856 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4859 if test "$GCC" = yes; then
4860 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4862 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4875 if test -n "$ac_tool_prefix"; then
4876 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4877 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4878 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4879 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4880 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4881 echo $ECHO_N "(cached
) $ECHO_C" >&6
4883 if test -n "$OBJDUMP"; then
4884 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4894 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4902 OBJDUMP=$ac_cv_prog_OBJDUMP
4903 if test -n "$OBJDUMP"; then
4904 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4905 echo "${ECHO_T}$OBJDUMP" >&6
4907 echo "$as_me:$LINENO: result
: no
" >&5
4908 echo "${ECHO_T}no
" >&6
4912 if test -z "$ac_cv_prog_OBJDUMP"; then
4913 ac_ct_OBJDUMP=$OBJDUMP
4914 # Extract the first word of "objdump
", so it can be a program name with args.
4915 set dummy objdump; ac_word=$2
4916 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4917 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4918 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4919 echo $ECHO_N "(cached
) $ECHO_C" >&6
4921 if test -n "$ac_ct_OBJDUMP"; then
4922 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4932 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4938 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
4941 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4942 if test -n "$ac_ct_OBJDUMP"; then
4943 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4944 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4946 echo "$as_me:$LINENO: result
: no
" >&5
4947 echo "${ECHO_T}no
" >&6
4950 OBJDUMP=$ac_ct_OBJDUMP
4952 OBJDUMP="$ac_cv_prog_OBJDUMP"
4955 test -z "$OBJDUMP" && OBJDUMP=objdump
4965 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4966 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4967 if test "${lt_cv_deplibs_check_method+set}" = set; then
4968 echo $ECHO_N "(cached
) $ECHO_C" >&6
4970 lt_cv_file_magic_cmd='$MAGIC_CMD'
4971 lt_cv_file_magic_test_file=
4972 lt_cv_deplibs_check_method='unknown'
4973 # Need to set the preceding variable on all platforms that support
4974 # interlibrary dependencies.
4975 # 'none' -- dependencies not supported.
4976 # `unknown' -- same as none, but documents that we really don't know.
4977 # 'pass_all' -- all dependencies passed with no checks.
4978 # 'test_compile' -- check by making test program.
4979 # 'file_magic [[regex]]' -- check by looking for files in library path
4980 # which responds to the $file_magic_cmd with a given extended regex.
4981 # If you have `file' or equivalent on your system and you're not sure
4982 # whether `pass_all' will *always* work, you probably want this one.
4986 lt_cv_deplibs_check_method=pass_all
4990 lt_cv_deplibs_check_method=pass_all
4994 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4995 lt_cv_file_magic_cmd='/usr/bin/file -L'
4996 lt_cv_file_magic_test_file=/shlib/libc.so
5000 # func_win32_libid is a shell function defined in ltmain.sh
5001 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5002 lt_cv_file_magic_cmd='func_win32_libid'
5006 # Base MSYS/MinGW do not provide the 'file' command needed by
5007 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5008 # unless we find 'file', for example because we are cross-compiling.
5009 if ( file / ) >/dev/null 2>&1; then
5010 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5011 lt_cv_file_magic_cmd='func_win32_libid'
5013 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5014 lt_cv_file_magic_cmd='$OBJDUMP -f'
5019 # use the weaker test based on 'objdump'. See mingw*.
5020 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5021 lt_cv_file_magic_cmd='$OBJDUMP -f'
5024 darwin* | rhapsody*)
5025 lt_cv_deplibs_check_method=pass_all
5028 freebsd* | dragonfly*)
5029 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5032 # Not sure whether the presence of OpenBSD here was a mistake.
5033 # Let's accept both of them until this is cleared up.
5034 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5035 lt_cv_file_magic_cmd=/usr/bin/file
5036 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5040 lt_cv_deplibs_check_method=pass_all
5045 lt_cv_deplibs_check_method=pass_all
5048 hpux10.20* | hpux11*)
5049 lt_cv_file_magic_cmd=/usr/bin/file
5052 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5053 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5056 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5057 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5060 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5061 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5067 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5071 irix5* | irix6* | nonstopux*)
5073 *-32|*"-32 ") libmagic=32-bit;;
5074 *-n32|*"-n32 ") libmagic=N32;;
5075 *-64|*"-64 ") libmagic=64-bit;;
5076 *) libmagic=never-match;;
5078 lt_cv_deplibs_check_method=pass_all
5081 # This must be Linux ELF.
5082 linux* | k*bsd*-gnu)
5083 lt_cv_deplibs_check_method=pass_all
5087 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5096 lt_cv_file_magic_cmd=/usr/bin/file
5097 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5101 lt_cv_deplibs_check_method=pass_all
5105 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5112 osf3* | osf4* | osf5*)
5113 lt_cv_deplibs_check_method=pass_all
5117 lt_cv_deplibs_check_method=pass_all
5121 lt_cv_deplibs_check_method=pass_all
5124 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5125 lt_cv_deplibs_check_method=pass_all
5129 case $host_vendor in
5131 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]'
5132 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5135 lt_cv_deplibs_check_method=pass_all
5138 lt_cv_file_magic_cmd='/bin/file'
5139 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5142 lt_cv_file_magic_cmd='/bin/file'
5143 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5144 lt_cv_file_magic_test_file=/lib/libc.so
5147 lt_cv_deplibs_check_method=pass_all
5150 lt_cv_deplibs_check_method=pass_all
5156 lt_cv_deplibs_check_method=pass_all
5161 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5162 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5163 file_magic_cmd=$lt_cv_file_magic_cmd
5164 deplibs_check_method=$lt_cv_deplibs_check_method
5165 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5178 if test -n "$ac_tool_prefix"; then
5179 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5180 set dummy ${ac_tool_prefix}ar; ac_word=$2
5181 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5182 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5183 if test "${ac_cv_prog_AR+set}" = set; then
5184 echo $ECHO_N "(cached
) $ECHO_C" >&6
5186 if test -n "$AR"; then
5187 ac_cv_prog_AR="$AR" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_AR="${ac_tool_prefix}ar"
5197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$AR"; then
5207 echo "$as_me:$LINENO: result
: $AR" >&5
5208 echo "${ECHO_T}$AR" >&6
5210 echo "$as_me:$LINENO: result
: no
" >&5
5211 echo "${ECHO_T}no
" >&6
5215 if test -z "$ac_cv_prog_AR"; then
5217 # Extract the first word of "ar", so it can be a program name with args.
5218 set dummy ar; ac_word=$2
5219 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5221 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5222 echo $ECHO_N "(cached
) $ECHO_C" >&6
5224 if test -n "$ac_ct_AR"; then
5225 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_AR="ar"
5235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5241 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5244 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5245 if test -n "$ac_ct_AR"; then
5246 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5247 echo "${ECHO_T}$ac_ct_AR" >&6
5249 echo "$as_me:$LINENO: result
: no
" >&5
5250 echo "${ECHO_T}no
" >&6
5258 test -z "$AR" && AR=ar
5259 test -z "$AR_FLAGS" && AR_FLAGS=cru
5271 if test -n "$ac_tool_prefix"; then
5272 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5273 set dummy ${ac_tool_prefix}strip; ac_word=$2
5274 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5275 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5276 if test "${ac_cv_prog_STRIP+set}" = set; then
5277 echo $ECHO_N "(cached
) $ECHO_C" >&6
5279 if test -n "$STRIP"; then
5280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5290 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5298 STRIP=$ac_cv_prog_STRIP
5299 if test -n "$STRIP"; then
5300 echo "$as_me:$LINENO: result
: $STRIP" >&5
5301 echo "${ECHO_T}$STRIP" >&6
5303 echo "$as_me:$LINENO: result
: no
" >&5
5304 echo "${ECHO_T}no
" >&6
5308 if test -z "$ac_cv_prog_STRIP"; then
5310 # Extract the first word of "strip
", so it can be a program name with args.
5311 set dummy strip; ac_word=$2
5312 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5315 echo $ECHO_N "(cached
) $ECHO_C" >&6
5317 if test -n "$ac_ct_STRIP"; then
5318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_ac_ct_STRIP="strip
"
5328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5334 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5338 if test -n "$ac_ct_STRIP"; then
5339 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5340 echo "${ECHO_T}$ac_ct_STRIP" >&6
5342 echo "$as_me:$LINENO: result
: no
" >&5
5343 echo "${ECHO_T}no
" >&6
5348 STRIP="$ac_cv_prog_STRIP"
5351 test -z "$STRIP" && STRIP=:
5358 if test -n "$ac_tool_prefix"; then
5359 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5361 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5362 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5363 if test "${ac_cv_prog_RANLIB+set}" = set; then
5364 echo $ECHO_N "(cached
) $ECHO_C" >&6
5366 if test -n "$RANLIB"; then
5367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5377 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5385 RANLIB=$ac_cv_prog_RANLIB
5386 if test -n "$RANLIB"; then
5387 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5388 echo "${ECHO_T}$RANLIB" >&6
5390 echo "$as_me:$LINENO: result
: no
" >&5
5391 echo "${ECHO_T}no
" >&6
5395 if test -z "$ac_cv_prog_RANLIB"; then
5396 ac_ct_RANLIB=$RANLIB
5397 # Extract the first word of "ranlib
", so it can be a program name with args.
5398 set dummy ranlib; ac_word=$2
5399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5402 echo $ECHO_N "(cached
) $ECHO_C" >&6
5404 if test -n "$ac_ct_RANLIB"; then
5405 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5421 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5424 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5425 if test -n "$ac_ct_RANLIB"; then
5426 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5427 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5429 echo "$as_me:$LINENO: result
: no
" >&5
5430 echo "${ECHO_T}no
" >&6
5433 RANLIB=$ac_ct_RANLIB
5435 RANLIB="$ac_cv_prog_RANLIB"
5438 test -z "$RANLIB" && RANLIB=:
5445 # Determine commands to create old-style static archives.
5446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5447 old_postinstall_cmds='chmod 644 $oldlib'
5448 old_postuninstall_cmds=
5450 if test -n "$RANLIB"; then
5453 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5456 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5459 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5495 # If no C compiler was specified, use CC.
5498 # If no C compiler flags were specified, use CFLAGS.
5499 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5501 # Allow CC to be a program name with arguments.
5505 # Check for command to grab the raw symbol name followed by C symbol from nm.
5506 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5507 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5508 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5509 echo $ECHO_N "(cached
) $ECHO_C" >&6
5512 # These are sane defaults that work on at least a few old systems.
5513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5515 # Character class describing NM global symbol codes.
5516 symcode='[BCDEGRST]'
5518 # Regexp to match symbols that can be accessed directly from C.
5519 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5521 # Define system-specific variables.
5526 cygwin* | mingw* | pw32* | cegcc*)
5527 symcode='[ABCDGISTW]'
5530 if test "$host_cpu" = ia64; then
5531 symcode='[ABCDEGRST]'
5535 symcode='[BCDEGRST]'
5538 symcode='[BCDEGQRST]'
5549 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5557 # If we're using GNU nm, then use its standard symbol codes.
5558 case `$NM -V 2>&1` in
5559 *GNU* | *'with BFD'*)
5560 symcode='[ABCDGIRSTW]' ;;
5563 # Transform an extracted symbol line into a proper C declaration.
5564 # Some systems (esp. on ia64) link data and code symbols differently,
5565 # so use this general approach.
5566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5568 # Transform an extracted symbol line into symbol name and symbol address
5569 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5570 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5572 # Handle CRLF in mingw tool chain
5576 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5580 # Try without a prefix underscore, then with it.
5581 for ac_symprfx in "" "_
"; do
5583 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5584 symxfrm="\\1 $ac_symprfx\\2 \\2"
5586 # Write the raw and C identifiers.
5587 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5588 # Fake it for dumpbin and say T for any non-static function
5589 # and D for any global variable.
5590 # Also find C++ and __fastcall symbols from MSVC++,
5591 # which start with @ or ?.
5592 lt_cv_sys_global_symbol_pipe="$AWK '"\
5593 " {last_section=section; section=\$ 3};"\
5594 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5595 " \$ 0!~/External *\|/{next};"\
5596 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5597 " {if(hide[section]) next};"\
5598 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5599 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5600 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5601 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5602 " ' prfx
=^
$ac_symprfx"
5604 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5607 # Check to see that the pipe works correctly.
5611 cat > conftest.$ac_ext <<_LT_EOF
5616 void nm_test_func(void);
5617 void nm_test_func(void){}
5621 int main(){nm_test_var='a';nm_test_func();return(0);}
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>&5
5627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5628 (exit $ac_status); }; then
5629 # Now try to grab the symbols.
5631 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5632 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5635 (exit $ac_status); } && test -s "$nlist"; then
5636 # Try sorting and uniquifying the output.
5637 if sort "$nlist" | uniq > "$nlist"T; then
5638 mv -f "$nlist"T "$nlist"
5643 # Make sure that we snagged all the symbols we need.
5644 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5645 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5646 cat <<_LT_EOF > conftest.$ac_ext
5652 # Now generate the symbol file.
5653 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5655 cat <<_LT_EOF >> conftest.$ac_ext
5657 /* The mapping between symbol names and symbols. */
5662 lt__PROGRAM__LTX_preloaded_symbols[] =
5664 { "@PROGRAM@
", (void *) 0 },
5666 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5667 cat <<\_LT_EOF >> conftest.$ac_ext
5671 /* This works around a problem in FreeBSD linker */
5672 #ifdef FREEBSD_WORKAROUND
5673 static const void *lt_preloaded_setup() {
5674 return lt__PROGRAM__LTX_preloaded_symbols;
5682 # Now try linking the two files.
5683 mv conftest.$ac_objext conftstm.$ac_objext
5684 lt_save_LIBS="$LIBS"
5685 lt_save_CFLAGS="$CFLAGS"
5686 LIBS="conftstm.
$ac_objext"
5687 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5689 (eval $ac_link) 2>&5
5691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5692 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5695 LIBS="$lt_save_LIBS"
5696 CFLAGS="$lt_save_CFLAGS"
5698 echo "cannot
find nm_test_func
in $nlist" >&5
5701 echo "cannot
find nm_test_var
in $nlist" >&5
5704 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5707 echo "$progname: failed program was
:" >&5
5708 cat conftest.$ac_ext >&5
5710 rm -rf conftest* conftst*
5712 # Do not use the global_symbol_pipe unless it works.
5713 if test "$pipe_works" = yes; then
5716 lt_cv_sys_global_symbol_pipe=
5722 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5723 lt_cv_sys_global_symbol_to_cdecl=
5725 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5726 echo "$as_me:$LINENO: result
: failed
" >&5
5727 echo "${ECHO_T}failed
" >&6
5729 echo "$as_me:$LINENO: result
: ok
" >&5
5730 echo "${ECHO_T}ok
" >&6
5755 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5756 if test "${enable_libtool_lock+set}" = set; then
5757 enableval="$enable_libtool_lock"
5760 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5762 # Some flags need to be propagated to the compiler or linker for good
5766 # Find out which ABI we are using.
5767 echo 'int i;' > conftest.$ac_ext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>&5
5771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5772 (exit $ac_status); }; then
5773 case `/usr/bin/file conftest.$ac_objext` in
5785 # Find out which ABI we are using.
5786 echo '#line 5786 "configure
"' > conftest.$ac_ext
5787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5788 (eval $ac_compile) 2>&5
5790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5791 (exit $ac_status); }; then
5792 if test "$lt_cv_prog_gnu_ld" = yes; then
5793 case `/usr/bin/file conftest.$ac_objext` in
5795 LD="${LD-ld} -melf32bsmip"
5798 LD="${LD-ld} -melf32bmipn32"
5801 LD="${LD-ld} -melf64bmip"
5805 case `/usr/bin/file conftest.$ac_objext` in
5821 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5822 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5823 # Find out which ABI we are using.
5824 echo 'int i;' > conftest.$ac_ext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5826 (eval $ac_compile) 2>&5
5828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5829 (exit $ac_status); }; then
5830 case `/usr/bin/file conftest.o` in
5833 x86_64-*kfreebsd*-gnu)
5834 LD="${LD-ld} -m elf_i386_fbsd
"
5837 LD="${LD-ld} -m elf_i386
"
5839 ppc64-*linux*|powerpc64-*linux*)
5840 LD="${LD-ld} -m elf32ppclinux
"
5843 LD="${LD-ld} -m elf_s390
"
5846 LD="${LD-ld} -m elf32_sparc
"
5852 x86_64-*kfreebsd*-gnu)
5853 LD="${LD-ld} -m elf_x86_64_fbsd
"
5856 LD="${LD-ld} -m elf_x86_64
"
5858 ppc*-*linux*|powerpc*-*linux*)
5859 LD="${LD-ld} -m elf64ppc
"
5861 s390*-*linux*|s390*-*tpf*)
5862 LD="${LD-ld} -m elf64_s390
"
5865 LD="${LD-ld} -m elf64_sparc
"
5875 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5876 SAVE_CFLAGS="$CFLAGS"
5877 CFLAGS="$CFLAGS -belf"
5878 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5879 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5880 if test "${lt_cv_cc_needs_belf+set}" = set; then
5881 echo $ECHO_N "(cached
) $ECHO_C" >&6
5884 ac_cpp='$CPP $CPPFLAGS'
5885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5889 if test x$gcc_no_link = xyes; then
5890 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5891 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5892 { (exit 1); exit 1; }; }
5894 cat >conftest.$ac_ext <<_ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5909 rm -f conftest.$ac_objext conftest$ac_exeext
5910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5911 (eval $ac_link) 2>conftest.er1
5913 grep -v '^ *+' conftest.er1 >conftest.err
5915 cat conftest.err >&5
5916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5917 (exit $ac_status); } &&
5918 { ac_try='test -z "$ac_c_werror_flag"
5919 || test ! -s conftest.err'
5920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5924 (exit $ac_status); }; } &&
5925 { ac_try='test -s conftest$ac_exeext'
5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5930 (exit $ac_status); }; }; then
5931 lt_cv_cc_needs_belf=yes
5933 echo "$as_me: failed program was
:" >&5
5934 sed 's/^/| /' conftest.$ac_ext >&5
5936 lt_cv_cc_needs_belf=no
5938 rm -f conftest.err conftest.$ac_objext \
5939 conftest$ac_exeext conftest.$ac_ext
5941 ac_cpp='$CPP $CPPFLAGS'
5942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5947 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5948 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5949 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5950 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5951 CFLAGS="$SAVE_CFLAGS"
5955 # Find out which ABI we are using.
5956 echo 'int i;' > conftest.$ac_ext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>&5
5960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5961 (exit $ac_status); }; then
5962 case `/usr/bin/file conftest.o` in
5964 case $lt_cv_prog_gnu_ld in
5965 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5967 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5979 need_locks="$enable_libtool_lock"
5983 rhapsody* | darwin*)
5984 if test -n "$ac_tool_prefix"; then
5985 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5986 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5987 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5988 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5989 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5990 echo $ECHO_N "(cached
) $ECHO_C" >&6
5992 if test -n "$DSYMUTIL"; then
5993 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6002 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6011 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6012 if test -n "$DSYMUTIL"; then
6013 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6014 echo "${ECHO_T}$DSYMUTIL" >&6
6016 echo "$as_me:$LINENO: result
: no
" >&5
6017 echo "${ECHO_T}no
" >&6
6021 if test -z "$ac_cv_prog_DSYMUTIL"; then
6022 ac_ct_DSYMUTIL=$DSYMUTIL
6023 # Extract the first word of "dsymutil
", so it can be a program name with args.
6024 set dummy dsymutil; ac_word=$2
6025 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6026 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6027 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6028 echo $ECHO_N "(cached
) $ECHO_C" >&6
6030 if test -n "$ac_ct_DSYMUTIL"; then
6031 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6041 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6047 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6050 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6051 if test -n "$ac_ct_DSYMUTIL"; then
6052 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6053 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6055 echo "$as_me:$LINENO: result
: no
" >&5
6056 echo "${ECHO_T}no
" >&6
6059 DSYMUTIL=$ac_ct_DSYMUTIL
6061 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6066 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6069 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6070 echo $ECHO_N "(cached
) $ECHO_C" >&6
6072 if test -n "$NMEDIT"; then
6073 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6091 NMEDIT=$ac_cv_prog_NMEDIT
6092 if test -n "$NMEDIT"; then
6093 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6094 echo "${ECHO_T}$NMEDIT" >&6
6096 echo "$as_me:$LINENO: result
: no
" >&5
6097 echo "${ECHO_T}no
" >&6
6101 if test -z "$ac_cv_prog_NMEDIT"; then
6102 ac_ct_NMEDIT=$NMEDIT
6103 # Extract the first word of "nmedit
", so it can be a program name with args.
6104 set dummy nmedit; ac_word=$2
6105 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6106 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6107 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6108 echo $ECHO_N "(cached
) $ECHO_C" >&6
6110 if test -n "$ac_ct_NMEDIT"; then
6111 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6121 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6127 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6130 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6131 if test -n "$ac_ct_NMEDIT"; then
6132 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6133 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6135 echo "$as_me:$LINENO: result
: no
" >&5
6136 echo "${ECHO_T}no
" >&6
6139 NMEDIT=$ac_ct_NMEDIT
6141 NMEDIT="$ac_cv_prog_NMEDIT"
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6149 if test "${ac_cv_prog_LIPO+set}" = set; then
6150 echo $ECHO_N "(cached
) $ECHO_C" >&6
6152 if test -n "$LIPO"; then
6153 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6171 LIPO=$ac_cv_prog_LIPO
6172 if test -n "$LIPO"; then
6173 echo "$as_me:$LINENO: result
: $LIPO" >&5
6174 echo "${ECHO_T}$LIPO" >&6
6176 echo "$as_me:$LINENO: result
: no
" >&5
6177 echo "${ECHO_T}no
" >&6
6181 if test -z "$ac_cv_prog_LIPO"; then
6183 # Extract the first word of "lipo
", so it can be a program name with args.
6184 set dummy lipo; ac_word=$2
6185 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6186 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6187 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6188 echo $ECHO_N "(cached
) $ECHO_C" >&6
6190 if test -n "$ac_ct_LIPO"; then
6191 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_ac_ct_LIPO="lipo
"
6201 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6207 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6210 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6211 if test -n "$ac_ct_LIPO"; then
6212 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6213 echo "${ECHO_T}$ac_ct_LIPO" >&6
6215 echo "$as_me:$LINENO: result
: no
" >&5
6216 echo "${ECHO_T}no
" >&6
6221 LIPO="$ac_cv_prog_LIPO"
6224 if test -n "$ac_tool_prefix"; then
6225 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6226 set dummy ${ac_tool_prefix}otool; ac_word=$2
6227 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6228 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6229 if test "${ac_cv_prog_OTOOL+set}" = set; then
6230 echo $ECHO_N "(cached
) $ECHO_C" >&6
6232 if test -n "$OTOOL"; then
6233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6243 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6251 OTOOL=$ac_cv_prog_OTOOL
6252 if test -n "$OTOOL"; then
6253 echo "$as_me:$LINENO: result
: $OTOOL" >&5
6254 echo "${ECHO_T}$OTOOL" >&6
6256 echo "$as_me:$LINENO: result
: no
" >&5
6257 echo "${ECHO_T}no
" >&6
6261 if test -z "$ac_cv_prog_OTOOL"; then
6263 # Extract the first word of "otool
", so it can be a program name with args.
6264 set dummy otool; ac_word=$2
6265 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6266 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6267 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6268 echo $ECHO_N "(cached
) $ECHO_C" >&6
6270 if test -n "$ac_ct_OTOOL"; then
6271 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_OTOOL="otool
"
6281 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6287 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6291 if test -n "$ac_ct_OTOOL"; then
6292 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6293 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6295 echo "$as_me:$LINENO: result
: no
" >&5
6296 echo "${ECHO_T}no
" >&6
6301 OTOOL="$ac_cv_prog_OTOOL"
6304 if test -n "$ac_tool_prefix"; then
6305 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6307 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6309 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6310 echo $ECHO_N "(cached
) $ECHO_C" >&6
6312 if test -n "$OTOOL64"; then
6313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir=.
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6323 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6331 OTOOL64=$ac_cv_prog_OTOOL64
6332 if test -n "$OTOOL64"; then
6333 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6334 echo "${ECHO_T}$OTOOL64" >&6
6336 echo "$as_me:$LINENO: result
: no
" >&5
6337 echo "${ECHO_T}no
" >&6
6341 if test -z "$ac_cv_prog_OTOOL64"; then
6342 ac_ct_OTOOL64=$OTOOL64
6343 # Extract the first word of "otool64
", so it can be a program name with args.
6344 set dummy otool64; ac_word=$2
6345 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6347 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6348 echo $ECHO_N "(cached
) $ECHO_C" >&6
6350 if test -n "$ac_ct_OTOOL64"; then
6351 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6367 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6370 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6371 if test -n "$ac_ct_OTOOL64"; then
6372 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6373 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6375 echo "$as_me:$LINENO: result
: no
" >&5
6376 echo "${ECHO_T}no
" >&6
6379 OTOOL64=$ac_ct_OTOOL64
6381 OTOOL64="$ac_cv_prog_OTOOL64"
6410 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6411 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
6412 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6413 echo $ECHO_N "(cached
) $ECHO_C" >&6
6415 lt_cv_apple_cc_single_mod=no
6416 if test -z "${LT_MULTI_MODULE}"; then
6417 # By default we will add the -single_module flag. You can override
6418 # by either setting the environment variable LT_MULTI_MODULE
6419 # non-empty at configure time, or by adding -multi_module to the
6421 rm -rf libconftest.dylib*
6422 echo "int foo
(void
){return 1;}" > conftest.c
6423 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6424 -dynamiclib -Wl,-single_module conftest.c
" >&5
6425 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6426 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6428 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6429 lt_cv_apple_cc_single_mod=yes
6431 cat conftest.err >&5
6433 rm -rf libconftest.dylib*
6437 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6438 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6439 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6440 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
6441 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6442 echo $ECHO_N "(cached
) $ECHO_C" >&6
6444 lt_cv_ld_exported_symbols_list=no
6445 save_LDFLAGS=$LDFLAGS
6446 echo "_main
" > conftest.sym
6447 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6448 if test x$gcc_no_link = xyes; then
6449 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6450 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6451 { (exit 1); exit 1; }; }
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6468 rm -f conftest.$ac_objext conftest$ac_exeext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6470 (eval $ac_link) 2>conftest.er1
6472 grep -v '^ *+' conftest.er1 >conftest.err
6474 cat conftest.err >&5
6475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6476 (exit $ac_status); } &&
6477 { ac_try='test -z "$ac_c_werror_flag"
6478 || test ! -s conftest.err'
6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6483 (exit $ac_status); }; } &&
6484 { ac_try='test -s conftest$ac_exeext'
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6489 (exit $ac_status); }; }; then
6490 lt_cv_ld_exported_symbols_list=yes
6492 echo "$as_me: failed program was
:" >&5
6493 sed 's/^/| /' conftest.$ac_ext >&5
6495 lt_cv_ld_exported_symbols_list=no
6497 rm -f conftest.err conftest.$ac_objext \
6498 conftest$ac_exeext conftest.$ac_ext
6499 LDFLAGS="$save_LDFLAGS"
6502 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6503 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6505 rhapsody* | darwin1.[012])
6506 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6508 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6509 darwin*) # darwin 5.x on
6510 # if running on 10.5 or later, the deployment target defaults
6511 # to the OS version, if on x86, and 10.4, the deployment
6512 # target defaults to 10.4. Don't you love it?
6513 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6514 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6515 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6517 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6519 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6523 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6524 _lt_dar_single_mod='$single_module'
6526 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6527 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6529 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6531 if test "$DSYMUTIL" != ":"; then
6532 _lt_dsymutil='~$DSYMUTIL $lib || :'
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6545 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
6546 # On Suns, sometimes $CPP names a directory.
6547 if test -n "$CPP" && test -d "$CPP"; then
6550 if test -z "$CPP"; then
6551 if test "${ac_cv_prog_CPP+set}" = set; then
6552 echo $ECHO_N "(cached
) $ECHO_C" >&6
6554 # Double quotes because CPP needs to be expanded
6555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6558 for ac_c_preproc_warn_flag in '' yes
6560 # Use a header file that comes with gcc, so configuring glibc
6561 # with a fresh cross-compiler works.
6562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6563 # <limits.h> exists even on freestanding compilers.
6564 # On the NeXT, cc -E runs the code through the compiler's parser,
6565 # not just through cpp. "Syntax error
" is here to catch this case.
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6573 # include <limits.h>
6575 # include <assert.h>
6579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6586 (exit $ac_status); } >/dev/null; then
6587 if test -s conftest.err; then
6588 ac_cpp_err=$ac_c_preproc_warn_flag
6589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6596 if test -z "$ac_cpp_err"; then
6599 echo "$as_me: failed program was
:" >&5
6600 sed 's/^/| /' conftest.$ac_ext >&5
6602 # Broken: fails on valid input.
6605 rm -f conftest.err conftest.$ac_ext
6607 # OK, works on sane cases. Now check whether non-existent headers
6608 # can be detected and how.
6609 cat >conftest.$ac_ext <<_ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
6614 /* end confdefs.h. */
6615 #include <ac_nonexistent.h>
6617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6620 grep -v '^ *+' conftest.er1 >conftest.err
6622 cat conftest.err >&5
6623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6624 (exit $ac_status); } >/dev/null; then
6625 if test -s conftest.err; then
6626 ac_cpp_err=$ac_c_preproc_warn_flag
6627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6634 if test -z "$ac_cpp_err"; then
6635 # Broken: success on invalid input.
6638 echo "$as_me: failed program was
:" >&5
6639 sed 's/^/| /' conftest.$ac_ext >&5
6641 # Passes both tests.
6645 rm -f conftest.err conftest.$ac_ext
6648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6649 rm -f conftest.err conftest.$ac_ext
6650 if $ac_preproc_ok; then
6662 echo "$as_me:$LINENO: result
: $CPP" >&5
6663 echo "${ECHO_T}$CPP" >&6
6665 for ac_c_preproc_warn_flag in '' yes
6667 # Use a header file that comes with gcc, so configuring glibc
6668 # with a fresh cross-compiler works.
6669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6670 # <limits.h> exists even on freestanding compilers.
6671 # On the NeXT, cc -E runs the code through the compiler's parser,
6672 # not just through cpp. "Syntax error
" is here to catch this case.
6673 cat >conftest.$ac_ext <<_ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6680 # include <limits.h>
6682 # include <assert.h>
6686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6689 grep -v '^ *+' conftest.er1 >conftest.err
6691 cat conftest.err >&5
6692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6693 (exit $ac_status); } >/dev/null; then
6694 if test -s conftest.err; then
6695 ac_cpp_err=$ac_c_preproc_warn_flag
6696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6703 if test -z "$ac_cpp_err"; then
6706 echo "$as_me: failed program was
:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6709 # Broken: fails on valid input.
6712 rm -f conftest.err conftest.$ac_ext
6714 # OK, works on sane cases. Now check whether non-existent headers
6715 # can be detected and how.
6716 cat >conftest.$ac_ext <<_ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6722 #include <ac_nonexistent.h>
6724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6727 grep -v '^ *+' conftest.er1 >conftest.err
6729 cat conftest.err >&5
6730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6731 (exit $ac_status); } >/dev/null; then
6732 if test -s conftest.err; then
6733 ac_cpp_err=$ac_c_preproc_warn_flag
6734 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6741 if test -z "$ac_cpp_err"; then
6742 # Broken: success on invalid input.
6745 echo "$as_me: failed program was
:" >&5
6746 sed 's/^/| /' conftest.$ac_ext >&5
6748 # Passes both tests.
6752 rm -f conftest.err conftest.$ac_ext
6755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6756 rm -f conftest.err conftest.$ac_ext
6757 if $ac_preproc_ok; then
6760 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6761 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6762 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6763 See \`config.log' for more details.
" >&5
6764 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6765 See \
`config.log' for more details." >&2;}
6766 { (exit 1); exit 1; }; }; }
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6776 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6777 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6778 if test "${ac_cv_header_stdc+set}" = set; then
6779 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 cat >conftest.$ac_ext <<_ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6800 rm -f conftest.$ac_objext
6801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6802 (eval $ac_compile) 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } &&
6809 { ac_try='test -z "$ac_c_werror_flag"
6810 || test ! -s conftest.err'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; } &&
6816 { ac_try='test -s conftest.$ac_objext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6822 ac_cv_header_stdc=yes
6824 echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6827 ac_cv_header_stdc=no
6829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6831 if test $ac_cv_header_stdc = yes; then
6832 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6833 cat >conftest.$ac_ext <<_ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6843 $EGREP "memchr" >/dev/null 2>&1; then
6846 ac_cv_header_stdc=no
6852 if test $ac_cv_header_stdc = yes; then
6853 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6854 cat >conftest.$ac_ext <<_ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6864 $EGREP "free" >/dev/null 2>&1; then
6867 ac_cv_header_stdc=no
6873 if test $ac_cv_header_stdc = yes; then
6874 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6875 if test "$cross_compiling" = yes; then
6878 cat >conftest.$ac_ext <<_ACEOF
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6885 #if ((' ' & 0x0FF) == 0x020)
6886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6889 # define ISLOWER(c) \
6890 (('a' <= (c) && (c) <= 'i') \
6891 || ('j' <= (c) && (c) <= 'r') \
6892 || ('s' <= (c) && (c) <= 'z'))
6893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6901 for (i = 0; i < 256; i++)
6902 if (XOR (islower (i), ISLOWER (i))
6903 || toupper (i) != TOUPPER (i))
6908 rm -f conftest$ac_exeext
6909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6910 (eval $ac_link) 2>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6921 echo "$as_me: program exited with status $ac_status" >&5
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6926 ac_cv_header_stdc=no
6928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6932 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6933 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6934 if test $ac_cv_header_stdc = yes; then
6936 cat >>confdefs.h <<\_ACEOF
6937 #define STDC_HEADERS 1
6942 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6953 inttypes.h stdint.h unistd.h
6955 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6956 echo "$as_me:$LINENO: checking for $ac_header" >&5
6957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 cat >conftest.$ac_ext <<_ACEOF
6964 cat confdefs.h >>conftest.$ac_ext
6965 cat >>conftest.$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 $ac_includes_default
6969 #include <$ac_header>
6971 rm -f conftest.$ac_objext
6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 (eval $ac_compile) 2>conftest.er1
6975 grep -v '^ *+' conftest.er1 >conftest.err
6977 cat conftest.err >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } &&
6980 { ac_try='test -z "$ac_c_werror_flag"
6981 || test ! -s conftest.err'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; } &&
6987 { ac_try='test -s conftest.$ac_objext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 eval "$as_ac_Header=yes"
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6998 eval "$as_ac_Header=no"
7000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7005 cat >>confdefs.h <<_ACEOF
7006 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7015 for ac_header in dlfcn.h
7017 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7018 echo "$as_me:$LINENO: checking for $ac_header" >&5
7019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7023 cat >conftest.$ac_ext <<_ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7029 $ac_includes_default
7031 #include <$ac_header>
7033 rm -f conftest.$ac_objext
7034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7035 (eval $ac_compile) 2>conftest.er1
7037 grep -v '^ *+' conftest.er1 >conftest.err
7039 cat conftest.err >&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } &&
7042 { ac_try='test -z "$ac_c_werror_flag"
7043 || test ! -s conftest.err'
7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); }; } &&
7049 { ac_try='test -s conftest.$ac_objext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7055 eval "$as_ac_Header=yes"
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7060 eval "$as_ac_Header=no"
7062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7067 cat >>confdefs.h <<_ACEOF
7068 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7078 ac_cpp='$CXXCPP $CPPFLAGS'
7079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7082 if test -n "$ac_tool_prefix"; then
7083 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7087 echo "$as_me:$LINENO: checking for $ac_word" >&5
7088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7089 if test "${ac_cv_prog_CXX+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 if test -n "$CXX"; then
7093 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 if test -n "$CXX"; then
7113 echo "$as_me:$LINENO: result: $CXX" >&5
7114 echo "${ECHO_T}$CXX" >&6
7116 echo "$as_me:$LINENO: result: no" >&5
7117 echo "${ECHO_T}no" >&6
7120 test -n "$CXX" && break
7123 if test -z "$CXX"; then
7125 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7127 # Extract the first word of "$ac_prog", so it can be a program name with args.
7128 set dummy $ac_prog; ac_word=$2
7129 echo "$as_me:$LINENO: checking for $ac_word" >&5
7130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7131 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 if test -n "$ac_ct_CXX"; then
7135 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_ac_ct_CXX="$ac_prog"
7145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7154 if test -n "$ac_ct_CXX"; then
7155 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7156 echo "${ECHO_T}$ac_ct_CXX" >&6
7158 echo "$as_me:$LINENO: result: no" >&5
7159 echo "${ECHO_T}no" >&6
7162 test -n "$ac_ct_CXX" && break
7164 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7170 # Provide some information about the compiler.
7171 echo "$as_me:$LINENO:" \
7172 "checking for C++ compiler version" >&5
7173 ac_compiler=`set X
$ac_compile; echo $2`
7174 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7175 (eval $ac_compiler --version </dev/null >&5) 2>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }
7179 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7180 (eval $ac_compiler -v </dev/null >&5) 2>&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }
7184 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7185 (eval $ac_compiler -V </dev/null >&5) 2>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }
7190 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7191 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7192 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 cat >conftest.$ac_ext <<_ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7213 rm -f conftest.$ac_objext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7215 (eval $ac_compile) 2>conftest.er1
7217 grep -v '^ *+' conftest.er1 >conftest.err
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try='test -z "$ac_cxx_werror_flag"
7223 || test ! -s conftest.err'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; } &&
7229 { ac_try='test -s conftest.$ac_objext'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7246 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7247 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7248 GXX=`test $ac_compiler_gnu = yes && echo yes`
7249 ac_test_CXXFLAGS=${CXXFLAGS+set}
7250 ac_save_CXXFLAGS=$CXXFLAGS
7252 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7254 if test "${ac_cv_prog_cxx_g+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 cat >conftest.$ac_ext <<_ACEOF
7260 cat confdefs.h >>conftest.$ac_ext
7261 cat >>conftest.$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7272 rm -f conftest.$ac_objext
7273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7274 (eval $ac_compile) 2>conftest.er1
7276 grep -v '^ *+' conftest.er1 >conftest.err
7278 cat conftest.err >&5
7279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 (exit $ac_status); } &&
7281 { ac_try='test -z "$ac_cxx_werror_flag"
7282 || test ! -s conftest.err'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; } &&
7288 { ac_try='test -s conftest.$ac_objext'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; }; then
7294 ac_cv_prog_cxx_g=yes
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7303 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7304 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7305 if test "$ac_test_CXXFLAGS" = set; then
7306 CXXFLAGS=$ac_save_CXXFLAGS
7307 elif test $ac_cv_prog_cxx_g = yes; then
7308 if test "$GXX" = yes; then
7314 if test "$GXX" = yes; then
7320 for ac_declaration in \
7322 'extern "C" void std::exit (int) throw (); using std::exit;' \
7323 'extern "C" void std::exit (int); using std::exit;' \
7324 'extern "C" void exit (int) throw ();' \
7325 'extern "C" void exit (int);' \
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7344 rm -f conftest.$ac_objext
7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7346 (eval $ac_compile) 2>conftest.er1
7348 grep -v '^ *+' conftest.er1 >conftest.err
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } &&
7353 { ac_try='test -z "$ac_cxx_werror_flag"
7354 || test ! -s conftest.err'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; } &&
7360 { ac_try='test -s conftest.$ac_objext'
7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); }; }; then
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7389 rm -f conftest.$ac_objext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7391 (eval $ac_compile) 2>conftest.er1
7393 grep -v '^ *+' conftest.er1 >conftest.err
7395 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } &&
7398 { ac_try='test -z "$ac_cxx_werror_flag"
7399 || test ! -s conftest.err'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; } &&
7405 { ac_try='test -s conftest.$ac_objext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7420 if test -n "$ac_declaration"; then
7421 echo '#ifdef __cplusplus' >>confdefs.h
7422 echo $ac_declaration >>confdefs.h
7423 echo '#endif' >>confdefs.h
7427 ac_cpp='$CPP $CPPFLAGS'
7428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7432 depcc="$CXX" am_compiler_list=
7434 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7435 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7436 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7440 # We make a subdir and do the tests there. Otherwise we can end up
7441 # making bogus files that we don't know about and never remove. For
7442 # instance it was reported that on HP-UX the gcc test will end up
7443 # making a dummy file named `D
' -- because `-MD' means
`put the output
7446 # Copy depcomp to subdir because otherwise we won't find it if we're
7447 # using a relative directory.
7448 cp "$am_depcomp" conftest.dir
7450 # We will build objects and dependencies in a subdirectory because
7451 # it helps to detect inapplicable dependency modes. For instance
7452 # both Tru64's cc and ICC support -MD to output dependencies as a
7453 # side effect of compilation, but ICC will put the dependencies in
7454 # the current directory while Tru64 will put them in the object
7458 am_cv_CXX_dependencies_compiler_type=none
7459 if test "$am_compiler_list" = ""; then
7460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
7462 for depmode in $am_compiler_list; do
7463 # Setup a source with many dependencies, because some compilers
7464 # like to wrap large dependency lists on column 80 (with \), and
7465 # we should not choose a depcomp mode which is confused by this.
7467 # We need to recreate these files for each test, as the compiler may
7468 # overwrite some of them when testing with obscure command lines.
7469 # This happens at least with the AIX C compiler.
7471 for i in 1 2 3 4 5 6; do
7472 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7473 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
7474 # Solaris 8's
{/usr
,}/bin
/sh.
7475 touch sub
/conftst
$i.h
7477 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7481 # after this tag, mechanisms are not by side-effect, so they'll
7482 # only be used when explicitly requested
7483 if test "x$enable_dependency_tracking" = xyes
; then
7491 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7492 # mode. It turns out that the SunPro C++ compiler does not properly
7493 # handle `-M -o', and we need to detect this.
7494 if depmode
=$depmode \
7495 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7496 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7497 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7498 >/dev
/null
2>conftest.err
&&
7499 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7500 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7501 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7502 # icc doesn't choke on unknown options, it will just issue warnings
7503 # or remarks (even with -Werror). So we grep stderr for any message
7504 # that says an option was ignored or not supported.
7505 # When given -MP, icc 7.0 and 7.1 complain thusly:
7506 # icc: Command line warning: ignoring option '-M'; no argument required
7507 # The diagnosis changed in icc 8.0:
7508 # icc: Command line remark: option '-MP' not supported
7509 if (grep 'ignoring option' conftest.err ||
7510 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7511 am_cv_CXX_dependencies_compiler_type
=$depmode
7520 am_cv_CXX_dependencies_compiler_type
=none
7524 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7525 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7526 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7531 test "x$enable_dependency_tracking" != xno \
7532 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7533 am__fastdepCXX_TRUE
=
7534 am__fastdepCXX_FALSE
='#'
7536 am__fastdepCXX_TRUE
='#'
7537 am__fastdepCXX_FALSE
=
7541 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7542 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7543 (test "X$CXX" != "Xg++"))) ; then
7545 ac_cpp
='$CXXCPP $CPPFLAGS'
7546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7549 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7550 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7551 if test -z "$CXXCPP"; then
7552 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 # Double quotes because CXXCPP needs to be expanded
7556 for CXXCPP
in "$CXX -E" "/lib/cpp"
7559 for ac_cxx_preproc_warn_flag
in '' yes
7561 # Use a header file that comes with gcc, so configuring glibc
7562 # with a fresh cross-compiler works.
7563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7564 # <limits.h> exists even on freestanding compilers.
7565 # On the NeXT, cc -E runs the code through the compiler's parser,
7566 # not just through cpp. "Syntax error" is here to catch this case.
7567 cat >conftest.
$ac_ext <<_ACEOF
7570 cat confdefs.h
>>conftest.
$ac_ext
7571 cat >>conftest.
$ac_ext <<_ACEOF
7572 /* end confdefs.h. */
7574 # include <limits.h>
7576 # include <assert.h>
7580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7583 grep -v '^ *+' conftest.er1
>conftest.err
7585 cat conftest.err
>&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); } >/dev
/null
; then
7588 if test -s conftest.err
; then
7589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7597 if test -z "$ac_cpp_err"; then
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7603 # Broken: fails on valid input.
7606 rm -f conftest.err conftest.
$ac_ext
7608 # OK, works on sane cases. Now check whether non-existent headers
7609 # can be detected and how.
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #include <ac_nonexistent.h>
7618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7621 grep -v '^ *+' conftest.er1
>conftest.err
7623 cat conftest.err
>&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } >/dev
/null
; then
7626 if test -s conftest.err
; then
7627 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7628 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7635 if test -z "$ac_cpp_err"; then
7636 # Broken: success on invalid input.
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.
$ac_ext >&5
7642 # Passes both tests.
7646 rm -f conftest.err conftest.
$ac_ext
7649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7650 rm -f conftest.err conftest.
$ac_ext
7651 if $ac_preproc_ok; then
7656 ac_cv_prog_CXXCPP
=$CXXCPP
7659 CXXCPP
=$ac_cv_prog_CXXCPP
7661 ac_cv_prog_CXXCPP
=$CXXCPP
7663 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7664 echo "${ECHO_T}$CXXCPP" >&6
7666 for ac_cxx_preproc_warn_flag
in '' yes
7668 # Use a header file that comes with gcc, so configuring glibc
7669 # with a fresh cross-compiler works.
7670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7671 # <limits.h> exists even on freestanding compilers.
7672 # On the NeXT, cc -E runs the code through the compiler's parser,
7673 # not just through cpp. "Syntax error" is here to catch this case.
7674 cat >conftest.
$ac_ext <<_ACEOF
7677 cat confdefs.h
>>conftest.
$ac_ext
7678 cat >>conftest.
$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7681 # include <limits.h>
7683 # include <assert.h>
7687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7690 grep -v '^ *+' conftest.er1
>conftest.err
7692 cat conftest.err
>&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } >/dev
/null
; then
7695 if test -s conftest.err
; then
7696 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7697 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7704 if test -z "$ac_cpp_err"; then
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 # Broken: fails on valid input.
7713 rm -f conftest.err conftest.
$ac_ext
7715 # OK, works on sane cases. Now check whether non-existent headers
7716 # can be detected and how.
7717 cat >conftest.
$ac_ext <<_ACEOF
7720 cat confdefs.h
>>conftest.
$ac_ext
7721 cat >>conftest.
$ac_ext <<_ACEOF
7722 /* end confdefs.h. */
7723 #include <ac_nonexistent.h>
7725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7728 grep -v '^ *+' conftest.er1
>conftest.err
7730 cat conftest.err
>&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } >/dev
/null
; then
7733 if test -s conftest.err
; then
7734 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7735 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7742 if test -z "$ac_cpp_err"; then
7743 # Broken: success on invalid input.
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.
$ac_ext >&5
7749 # Passes both tests.
7753 rm -f conftest.err conftest.
$ac_ext
7756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7757 rm -f conftest.err conftest.
$ac_ext
7758 if $ac_preproc_ok; then
7761 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7762 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7763 _lt_caught_CXX_error
=yes; }
7767 ac_cpp
='$CPP $CPPFLAGS'
7768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7773 _lt_caught_CXX_error
=yes
7790 # Check whether --enable-shared or --disable-shared was given.
7791 if test "${enable_shared+set}" = set; then
7792 enableval
="$enable_shared"
7793 p
=${PACKAGE-default}
7795 yes) enable_shared
=yes ;;
7796 no
) enable_shared
=no
;;
7799 # Look at the argument we got. We use all the common list separators.
7800 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7801 for pkg
in $enableval; do
7803 if test "X$pkg" = "X$p"; then
7821 # Check whether --enable-static or --disable-static was given.
7822 if test "${enable_static+set}" = set; then
7823 enableval
="$enable_static"
7824 p
=${PACKAGE-default}
7826 yes) enable_static
=yes ;;
7827 no
) enable_static
=no
;;
7830 # Look at the argument we got. We use all the common list separators.
7831 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7832 for pkg
in $enableval; do
7834 if test "X$pkg" = "X$p"; then
7853 # Check whether --with-pic or --without-pic was given.
7854 if test "${with_pic+set}" = set; then
7861 test -z "$pic_mode" && pic_mode
=default
7869 # Check whether --enable-fast-install or --disable-fast-install was given.
7870 if test "${enable_fast_install+set}" = set; then
7871 enableval
="$enable_fast_install"
7872 p
=${PACKAGE-default}
7874 yes) enable_fast_install
=yes ;;
7875 no
) enable_fast_install
=no
;;
7877 enable_fast_install
=no
7878 # Look at the argument we got. We use all the common list separators.
7879 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7880 for pkg
in $enableval; do
7882 if test "X$pkg" = "X$p"; then
7883 enable_fast_install
=yes
7890 enable_fast_install
=yes
7902 # This can be used to rebuild libtool when needed
7903 LIBTOOL_DEPS
="$ltmain"
7905 # Always use our own libtool.
7906 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7932 test -z "$LN_S" && LN_S
="ln -s"
7947 if test -n "${ZSH_VERSION+set}" ; then
7948 setopt NO_GLOB_SUBST
7951 echo "$as_me:$LINENO: checking for objdir" >&5
7952 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7953 if test "${lt_cv_objdir+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 rm -f .libs
2>/dev
/null
7957 mkdir .libs
2>/dev
/null
7958 if test -d .libs
; then
7961 # MS-DOS does not allow filenames that begin with a dot.
7964 rmdir .libs
2>/dev
/null
7966 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7967 echo "${ECHO_T}$lt_cv_objdir" >&6
7968 objdir
=$lt_cv_objdir
7974 cat >>confdefs.h
<<_ACEOF
7975 #define LT_OBJDIR "$lt_cv_objdir/"
7996 # AIX sometimes has problems with the GCC collect2 program. For some
7997 # reason, if we set the COLLECT_NAMES environment variable, the problems
7998 # vanish in a puff of smoke.
7999 if test "X${COLLECT_NAMES+set}" != Xset
; then
8001 export COLLECT_NAMES
8006 # Sed substitution that helps us do robust quoting. It backslashifies
8007 # metacharacters that are still active within double-quoted strings.
8008 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8010 # Same as above, but do not quote variable references.
8011 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8013 # Sed substitution to delay expansion of an escaped shell variable in a
8014 # double_quote_subst'ed string.
8015 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8017 # Sed substitution to delay expansion of an escaped single quote.
8018 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8020 # Sed substitution to avoid accidental globbing in evaled expressions
8021 no_glob_subst
='s/\*/\\\*/g'
8025 can_build_shared
=yes
8027 # All known linkers require a `.a' archive for static linking (except MSVC,
8028 # which needs '.lib').
8031 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8034 old_CFLAGS
="$CFLAGS"
8036 # Set sane defaults for various variables
8037 test -z "$CC" && CC
=cc
8038 test -z "$LTCC" && LTCC
=$CC
8039 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8040 test -z "$LD" && LD
=ld
8041 test -z "$ac_objext" && ac_objext
=o
8043 for cc_temp
in $compiler""; do
8045 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8046 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8051 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8054 # Only perform the check for file, if the check method requires it
8055 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8056 case $deplibs_check_method in
8058 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8059 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8060 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8061 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8069 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8070 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8071 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8072 for ac_dir
in $ac_dummy; do
8074 test -z "$ac_dir" && ac_dir
=.
8075 if test -f $ac_dir/${ac_tool_prefix}file; then
8076 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8077 if test -n "$file_magic_test_file"; then
8078 case $deplibs_check_method in
8080 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8081 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8082 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8083 $EGREP "$file_magic_regex" > /dev
/null
; then
8088 *** Warning: the command libtool uses to detect shared libraries,
8089 *** $file_magic_cmd, produces output that libtool cannot recognize.
8090 *** The result is that libtool may fail to recognize shared libraries
8091 *** as such. This will affect the creation of libtool libraries that
8092 *** depend on shared libraries, but programs linked with such libtool
8093 *** libraries will work regardless of this problem. Nevertheless, you
8094 *** may want to report the problem to your system manager and/or to
8095 *** bug-libtool@gnu.org
8105 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8110 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8111 if test -n "$MAGIC_CMD"; then
8112 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8113 echo "${ECHO_T}$MAGIC_CMD" >&6
8115 echo "$as_me:$LINENO: result: no" >&5
8116 echo "${ECHO_T}no" >&6
8123 if test -z "$lt_cv_path_MAGIC_CMD"; then
8124 if test -n "$ac_tool_prefix"; then
8125 echo "$as_me:$LINENO: checking for file" >&5
8126 echo $ECHO_N "checking for file... $ECHO_C" >&6
8127 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8135 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8136 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8137 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8138 for ac_dir
in $ac_dummy; do
8140 test -z "$ac_dir" && ac_dir
=.
8141 if test -f $ac_dir/file; then
8142 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8143 if test -n "$file_magic_test_file"; then
8144 case $deplibs_check_method in
8146 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8147 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8148 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8149 $EGREP "$file_magic_regex" > /dev
/null
; then
8154 *** Warning: the command libtool uses to detect shared libraries,
8155 *** $file_magic_cmd, produces output that libtool cannot recognize.
8156 *** The result is that libtool may fail to recognize shared libraries
8157 *** as such. This will affect the creation of libtool libraries that
8158 *** depend on shared libraries, but programs linked with such libtool
8159 *** libraries will work regardless of this problem. Nevertheless, you
8160 *** may want to report the problem to your system manager and/or to
8161 *** bug-libtool@gnu.org
8171 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8176 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8177 if test -n "$MAGIC_CMD"; then
8178 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8179 echo "${ECHO_T}$MAGIC_CMD" >&6
8181 echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6
8195 # Use C for the default configuration in the libtool script
8199 ac_cpp
='$CPP $CPPFLAGS'
8200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8205 # Source file extension for C test sources.
8208 # Object file extension for compiled C test sources.
8212 # Code to be used in simple compile tests
8213 lt_simple_compile_test_code
="int some_variable = 0;"
8215 # Code to be used in simple link tests
8216 lt_simple_link_test_code
='int main(){return(0);}'
8224 # If no C compiler was specified, use CC.
8227 # If no C compiler flags were specified, use CFLAGS.
8228 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8230 # Allow CC to be a program name with arguments.
8233 # Save the default compiler, since it gets overwritten when the other
8234 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8235 compiler_DEFAULT
=$CC
8237 # save warnings/boilerplate of simple test code
8238 ac_outfile
=conftest.
$ac_objext
8239 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8240 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8241 _lt_compiler_boilerplate
=`cat conftest.err`
8244 ac_outfile
=conftest.
$ac_objext
8245 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8246 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8247 _lt_linker_boilerplate
=`cat conftest.err`
8252 ## There is no encapsulation within the following macros, do not change
8253 ## the running order or otherwise move them around unless you know exactly
8254 ## what you are doing...
8255 if test -n "$compiler"; then
8257 lt_prog_compiler_no_builtin_flag
=
8259 if test "$GCC" = yes; then
8260 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8262 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8263 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8264 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8265 echo $ECHO_N "(cached) $ECHO_C" >&6
8267 lt_cv_prog_compiler_rtti_exceptions
=no
8268 ac_outfile
=conftest.
$ac_objext
8269 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8270 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8271 # Insert the option either (1) after the last *FLAGS variable, or
8272 # (2) before a word containing "conftest.", or (3) at the end.
8273 # Note that $ac_compile itself does not contain backslashes and begins
8274 # with a dollar sign (not a hyphen), so the echo should work correctly.
8275 # The option is referenced via a variable to avoid confusing sed.
8276 lt_compile
=`echo "$ac_compile" | $SED \
8277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8279 -e 's:$: $lt_compiler_flag:'`
8280 (eval echo "\"\$as_me:8280: $lt_compile\"" >&5)
8281 (eval "$lt_compile" 2>conftest.err
)
8283 cat conftest.err
>&5
8284 echo "$as_me:8284: \$? = $ac_status" >&5
8285 if (exit $ac_status) && test -s "$ac_outfile"; then
8286 # The compiler can only warn and ignore the option if not recognized
8287 # So say no if there are warnings other than the usual output.
8288 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8289 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8290 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8291 lt_cv_prog_compiler_rtti_exceptions
=yes
8297 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8298 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8300 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8301 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8313 lt_prog_compiler_wl
=
8314 lt_prog_compiler_pic
=
8315 lt_prog_compiler_static
=
8317 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8318 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8320 if test "$GCC" = yes; then
8321 lt_prog_compiler_wl
='-Wl,'
8322 lt_prog_compiler_static
='-static'
8326 # All AIX code is PIC.
8327 if test "$host_cpu" = ia64
; then
8328 # AIX 5 now supports IA64 processor
8329 lt_prog_compiler_static
='-Bstatic'
8336 # see comment about AmigaOS4 .so support
8337 lt_prog_compiler_pic
='-fPIC'
8340 # FIXME: we need at least 68020 code to build shared libraries, but
8341 # adding the `-m68020' flag to GCC prevents building anything better,
8343 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8348 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8349 # PIC is the default for these OSes.
8352 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8353 # This hack is so that the source file can tell whether it is being
8354 # built for inclusion in a dll (and should export symbols for example).
8355 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8356 # (--disable-auto-import) libraries
8357 lt_prog_compiler_pic
='-DDLL_EXPORT'
8360 darwin
* | rhapsody
*)
8361 # PIC is the default on this platform
8362 # Common symbols not allowed in MH_DYLIB files
8363 lt_prog_compiler_pic
='-fno-common'
8367 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8368 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8369 # sets the default TLS model and affects inlining.
8375 lt_prog_compiler_pic
='-fPIC'
8381 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8382 # Instead, we relocate shared libraries at runtime.
8386 # Just because we use GCC doesn't mean we suddenly get shared libraries
8387 # on systems that don't support them.
8388 lt_prog_compiler_can_build_shared
=no
8393 # QNX uses GNU C++, but need to define -shared option too, otherwise
8395 lt_prog_compiler_pic
='-fPIC -shared'
8399 if test -d /usr
/nec
; then
8400 lt_prog_compiler_pic
=-Kconform_pic
8405 lt_prog_compiler_pic
='-fPIC'
8409 # PORTME Check for flag to pass linker flags through the system compiler.
8412 lt_prog_compiler_wl
='-Wl,'
8413 if test "$host_cpu" = ia64
; then
8414 # AIX 5 now supports IA64 processor
8415 lt_prog_compiler_static
='-Bstatic'
8417 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8421 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8422 # This hack is so that the source file can tell whether it is being
8423 # built for inclusion in a dll (and should export symbols for example).
8424 lt_prog_compiler_pic
='-DDLL_EXPORT'
8427 hpux9
* | hpux10
* | hpux11
*)
8428 lt_prog_compiler_wl
='-Wl,'
8429 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8436 lt_prog_compiler_pic
='+Z'
8439 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8440 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8443 irix5
* | irix6
* | nonstopux
*)
8444 lt_prog_compiler_wl
='-Wl,'
8445 # PIC (with -KPIC) is the default.
8446 lt_prog_compiler_static
='-non_shared'
8449 linux
* | k
*bsd
*-gnu)
8450 case $cc_basename in
8451 # old Intel for x86_64 which still supported -KPIC.
8453 lt_prog_compiler_wl
='-Wl,'
8454 lt_prog_compiler_pic
='-KPIC'
8455 lt_prog_compiler_static
='-static'
8457 # icc used to be incompatible with GCC.
8458 # ICC 10 doesn't accept -KPIC any more.
8460 lt_prog_compiler_wl
='-Wl,'
8461 lt_prog_compiler_pic
='-fPIC'
8462 lt_prog_compiler_static
='-static'
8464 # Lahey Fortran 8.1.
8466 lt_prog_compiler_wl
='-Wl,'
8467 lt_prog_compiler_pic
='--shared'
8468 lt_prog_compiler_static
='--static'
8470 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8471 # Portland Group compilers (*not* the Pentium gcc compiler,
8472 # which looks to be a dead project)
8473 lt_prog_compiler_wl
='-Wl,'
8474 lt_prog_compiler_pic
='-fpic'
8475 lt_prog_compiler_static
='-Bstatic'
8478 lt_prog_compiler_wl
='-Wl,'
8479 # All Alpha code is PIC.
8480 lt_prog_compiler_static
='-non_shared'
8483 # IBM XL C 8.0/Fortran 10.1 on PPC
8484 lt_prog_compiler_wl
='-Wl,'
8485 lt_prog_compiler_pic
='-qpic'
8486 lt_prog_compiler_static
='-qstaticlink'
8489 case `$CC -V 2>&1 | sed 5q` in
8492 lt_prog_compiler_pic
='-KPIC'
8493 lt_prog_compiler_static
='-Bstatic'
8494 lt_prog_compiler_wl
='-Wl,'
8497 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8498 lt_prog_compiler_pic
='-KPIC'
8499 lt_prog_compiler_static
='-Bstatic'
8500 lt_prog_compiler_wl
=''
8508 lt_prog_compiler_pic
='-KPIC'
8509 lt_prog_compiler_static
='-Bstatic'
8513 # QNX uses GNU C++, but need to define -shared option too, otherwise
8515 lt_prog_compiler_pic
='-fPIC -shared'
8518 osf3
* | osf4
* | osf5
*)
8519 lt_prog_compiler_wl
='-Wl,'
8520 # All OSF/1 code is PIC.
8521 lt_prog_compiler_static
='-non_shared'
8525 lt_prog_compiler_static
='-non_shared'
8529 lt_prog_compiler_pic
='-KPIC'
8530 lt_prog_compiler_static
='-Bstatic'
8531 case $cc_basename in
8533 lt_prog_compiler_wl
='-Qoption ld ';;
8535 lt_prog_compiler_wl
='-Wl,';;
8540 lt_prog_compiler_wl
='-Qoption ld '
8541 lt_prog_compiler_pic
='-PIC'
8542 lt_prog_compiler_static
='-Bstatic'
8545 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8546 lt_prog_compiler_wl
='-Wl,'
8547 lt_prog_compiler_pic
='-KPIC'
8548 lt_prog_compiler_static
='-Bstatic'
8552 if test -d /usr
/nec
;then
8553 lt_prog_compiler_pic
='-Kconform_pic'
8554 lt_prog_compiler_static
='-Bstatic'
8558 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8559 lt_prog_compiler_wl
='-Wl,'
8560 lt_prog_compiler_pic
='-KPIC'
8561 lt_prog_compiler_static
='-Bstatic'
8565 lt_prog_compiler_wl
='-Wl,'
8566 lt_prog_compiler_can_build_shared
=no
8570 lt_prog_compiler_pic
='-pic'
8571 lt_prog_compiler_static
='-Bstatic'
8575 lt_prog_compiler_can_build_shared
=no
8581 # For platforms which do not support PIC, -DPIC is meaningless:
8583 lt_prog_compiler_pic
=
8586 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8589 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8590 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8598 # Check to make sure the PIC flag actually works.
8600 if test -n "$lt_prog_compiler_pic"; then
8601 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8602 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8603 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8604 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 lt_cv_prog_compiler_pic_works
=no
8607 ac_outfile
=conftest.
$ac_objext
8608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8609 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8610 # Insert the option either (1) after the last *FLAGS variable, or
8611 # (2) before a word containing "conftest.", or (3) at the end.
8612 # Note that $ac_compile itself does not contain backslashes and begins
8613 # with a dollar sign (not a hyphen), so the echo should work correctly.
8614 # The option is referenced via a variable to avoid confusing sed.
8615 lt_compile
=`echo "$ac_compile" | $SED \
8616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8618 -e 's:$: $lt_compiler_flag:'`
8619 (eval echo "\"\$as_me:8619: $lt_compile\"" >&5)
8620 (eval "$lt_compile" 2>conftest.err
)
8622 cat conftest.err
>&5
8623 echo "$as_me:8623: \$? = $ac_status" >&5
8624 if (exit $ac_status) && test -s "$ac_outfile"; then
8625 # The compiler can only warn and ignore the option if not recognized
8626 # So say no if there are warnings other than the usual output.
8627 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8628 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8629 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8630 lt_cv_prog_compiler_pic_works
=yes
8636 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8637 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8639 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8640 case $lt_prog_compiler_pic in
8642 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8645 lt_prog_compiler_pic
=
8646 lt_prog_compiler_can_build_shared
=no
8657 # Check to make sure the static flag actually works.
8659 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8660 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8661 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8662 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8663 echo $ECHO_N "(cached) $ECHO_C" >&6
8665 lt_cv_prog_compiler_static_works
=no
8666 save_LDFLAGS
="$LDFLAGS"
8667 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8668 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8669 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8670 # The linker can only warn and ignore the option if not recognized
8671 # So say no if there are warnings
8672 if test -s conftest.err
; then
8673 # Append any errors to the config.log.
8674 cat conftest.err
1>&5
8675 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8676 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8677 if diff conftest.exp conftest.er2
>/dev
/null
; then
8678 lt_cv_prog_compiler_static_works
=yes
8681 lt_cv_prog_compiler_static_works
=yes
8685 LDFLAGS
="$save_LDFLAGS"
8688 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8689 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8691 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8694 lt_prog_compiler_static
=
8703 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8704 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8705 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 lt_cv_prog_compiler_c_o
=no
8709 $RM -r conftest
2>/dev
/null
8713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8715 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8716 # Insert the option either (1) after the last *FLAGS variable, or
8717 # (2) before a word containing "conftest.", or (3) at the end.
8718 # Note that $ac_compile itself does not contain backslashes and begins
8719 # with a dollar sign (not a hyphen), so the echo should work correctly.
8720 lt_compile
=`echo "$ac_compile" | $SED \
8721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723 -e 's:$: $lt_compiler_flag:'`
8724 (eval echo "\"\$as_me:8724: $lt_compile\"" >&5)
8725 (eval "$lt_compile" 2>out
/conftest.err
)
8727 cat out
/conftest.err
>&5
8728 echo "$as_me:8728: \$? = $ac_status" >&5
8729 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8731 # The compiler can only warn and ignore the option if not recognized
8732 # So say no if there are warnings
8733 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8734 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8735 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8736 lt_cv_prog_compiler_c_o
=yes
8741 # SGI C++ compiler will create directory out/ii_files/ for
8742 # template instantiation
8743 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8744 $RM out
/* && rmdir out
8750 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8751 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8758 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8759 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8760 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 lt_cv_prog_compiler_c_o
=no
8764 $RM -r conftest
2>/dev
/null
8768 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8770 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8771 # Insert the option either (1) after the last *FLAGS variable, or
8772 # (2) before a word containing "conftest.", or (3) at the end.
8773 # Note that $ac_compile itself does not contain backslashes and begins
8774 # with a dollar sign (not a hyphen), so the echo should work correctly.
8775 lt_compile
=`echo "$ac_compile" | $SED \
8776 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8778 -e 's:$: $lt_compiler_flag:'`
8779 (eval echo "\"\$as_me:8779: $lt_compile\"" >&5)
8780 (eval "$lt_compile" 2>out
/conftest.err
)
8782 cat out
/conftest.err
>&5
8783 echo "$as_me:8783: \$? = $ac_status" >&5
8784 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8786 # The compiler can only warn and ignore the option if not recognized
8787 # So say no if there are warnings
8788 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8789 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8790 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8791 lt_cv_prog_compiler_c_o
=yes
8796 # SGI C++ compiler will create directory out/ii_files/ for
8797 # template instantiation
8798 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8799 $RM out
/* && rmdir out
8805 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8806 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8811 hard_links
="nottested"
8812 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8813 # do not overwrite the value of need_locks provided by the user
8814 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8815 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8818 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8820 ln conftest.a conftest.b
2>&5 || hard_links
=no
8821 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8822 echo "$as_me:$LINENO: result: $hard_links" >&5
8823 echo "${ECHO_T}$hard_links" >&6
8824 if test "$hard_links" = no
; then
8825 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8826 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8838 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8839 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8842 allow_undefined_flag
=
8843 always_export_symbols
=no
8845 archive_expsym_cmds
=
8846 compiler_needs_object
=no
8847 enable_shared_with_static_runtimes
=no
8848 export_dynamic_flag_spec
=
8849 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8850 hardcode_automatic
=no
8852 hardcode_direct_absolute
=no
8853 hardcode_libdir_flag_spec
=
8854 hardcode_libdir_flag_spec_ld
=
8855 hardcode_libdir_separator
=
8857 hardcode_shlibpath_var
=unsupported
8859 link_all_deplibs
=unknown
8862 old_archive_from_new_cmds
=
8863 old_archive_from_expsyms_cmds
=
8864 thread_safe_flag_spec
=
8865 whole_archive_flag_spec
=
8866 # include_expsyms should be a list of space-separated symbols to be *always*
8867 # included in the symbol list
8869 # exclude_expsyms can be an extended regexp of symbols to exclude
8870 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8871 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8872 # as well as any symbol that contains `d'.
8873 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8874 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8875 # platforms (ab)use it in PIC code, but their linkers get confused if
8876 # the symbol is explicitly referenced. Since portable code cannot
8877 # rely on this symbol name, it's probably fine to never include it in
8878 # preloaded symbol tables.
8879 # Exclude shared library initialization/finalization symbols.
8880 extract_expsyms_cmds
=
8883 cygwin
* | mingw
* | pw32
* | cegcc
*)
8884 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8885 # When not using gcc, we currently assume that we are using
8886 # Microsoft Visual C++.
8887 if test "$GCC" != yes; then
8892 # we just hope/assume this is gcc and not c89 (= MSVC++)
8901 if test "$with_gnu_ld" = yes; then
8902 # If archive_cmds runs LD, not CC, wlarc should be empty
8905 # Set some defaults for GNU ld with shared library support. These
8906 # are reset later if shared libraries are not supported. Putting them
8907 # here allows them to be overridden if necessary.
8908 runpath_var
=LD_RUN_PATH
8909 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8910 export_dynamic_flag_spec
='${wl}--export-dynamic'
8911 # ancient GNU ld didn't support --whole-archive et. al.
8912 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8913 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8915 whole_archive_flag_spec
=
8917 supports_anon_versioning
=no
8918 case `$LD -v 2>&1` in
8919 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8920 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8921 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8922 *\
2.11.
*) ;; # other 2.11 versions
8923 *) supports_anon_versioning
=yes ;;
8926 # See if GNU ld supports shared libraries.
8929 # On AIX/PPC, the GNU linker is very broken
8930 if test "$host_cpu" != ia64
; then
8934 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8935 *** to be unable to reliably create shared libraries on AIX.
8936 *** Therefore, libtool is disabling shared libraries support. If you
8937 *** really care for shared libraries, you may want to modify your PATH
8938 *** so that a non-GNU linker is found, and then restart.
8947 # see comment about AmigaOS4 .so support
8948 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949 archive_expsym_cmds
=''
8952 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8953 hardcode_libdir_flag_spec
='-L$libdir'
8954 hardcode_minus_L
=yes
8960 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8961 allow_undefined_flag
=unsupported
8962 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8963 # support --undefined. This deserves some investigation. FIXME
8964 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 cygwin
* | mingw
* | pw32
* | cegcc
*)
8971 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8972 # as there is no search path for DLLs.
8973 hardcode_libdir_flag_spec
='-L$libdir'
8974 allow_undefined_flag
=unsupported
8975 always_export_symbols
=no
8976 enable_shared_with_static_runtimes
=yes
8977 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8979 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8981 # If the export-symbols file already is a .def file (1st line
8982 # is EXPORTS), use it as is; otherwise, prepend...
8983 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8984 cp $export_symbols $output_objdir/$soname.def;
8986 echo EXPORTS > $output_objdir/$soname.def;
8987 cat $export_symbols >> $output_objdir/$soname.def;
8989 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8997 hardcode_shlibpath_var
=no
8998 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8999 export_dynamic_flag_spec
='${wl}-E'
9000 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9001 # Instead, shared libraries are loaded at an image base (0x10000000 by
9002 # default) and relocated if they conflict, which is a slow very memory
9003 # consuming and fragmenting process. To avoid this, we pick a random,
9004 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9005 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9006 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9007 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9010 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9012 if test "$host_os" = linux-dietlibc
; then
9013 case $cc_basename in
9014 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9017 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9018 && test "$tmp_diet" = no
9021 tmp_sharedflag
='-shared'
9022 case $cc_basename,$host_cpu in
9023 pgcc
*) # Portland Group C compiler
9024 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9025 tmp_addflag
=' $pic_flag'
9027 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9028 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9029 tmp_addflag
=' $pic_flag -Mnomain' ;;
9030 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9031 tmp_addflag
=' -i_dynamic' ;;
9032 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9033 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9034 ifc
* | ifort
*) # Intel Fortran compiler
9035 tmp_addflag
=' -nofor_main' ;;
9036 lf95
*) # Lahey Fortran 8.1
9037 whole_archive_flag_spec
=
9038 tmp_sharedflag
='--shared' ;;
9039 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9040 tmp_sharedflag
='-qmkshrobj'
9043 case `$CC -V 2>&1 | sed 5q` in
9044 *Sun\ C
*) # Sun C 5.9
9045 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9046 compiler_needs_object
=yes
9047 tmp_sharedflag
='-G' ;;
9048 *Sun\ F
*) # Sun Fortran 8.3
9049 tmp_sharedflag
='-G' ;;
9051 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 if test "x$supports_anon_versioning" = xyes
; then
9054 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9055 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9056 echo "local: *; };" >> $output_objdir/$libname.ver~
9057 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9060 case $cc_basename in
9062 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9063 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9064 hardcode_libdir_flag_spec
=
9065 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9066 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9067 if test "x$supports_anon_versioning" = xyes
; then
9068 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9069 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9070 echo "local: *; };" >> $output_objdir/$libname.ver~
9071 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9081 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9082 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9085 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9086 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9091 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9095 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9096 *** create shared libraries on Solaris systems. Therefore, libtool
9097 *** is disabling shared libraries support. We urge you to upgrade GNU
9098 *** binutils to release 2.9.1 or newer. Another option is to modify
9099 *** your PATH or compiler configuration so that the native linker is
9100 *** used, and then restart.
9103 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9104 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9111 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9112 case `$LD -v 2>&1` in
9113 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9117 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9118 *** reliably create shared libraries on SCO systems. Therefore, libtool
9119 *** is disabling shared libraries support. We urge you to upgrade GNU
9120 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9121 *** your PATH or compiler configuration so that the native linker is
9122 *** used, and then restart.
9127 # For security reasons, it is highly recommended that you always
9128 # use absolute paths for naming shared libraries, and exclude the
9129 # DT_RUNPATH tag from executables and libraries. But doing so
9130 # requires that you compile everything twice, which is a pain.
9131 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9132 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9133 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9143 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9146 hardcode_shlibpath_var
=no
9150 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9151 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9152 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9159 if test "$ld_shlibs" = no
; then
9161 hardcode_libdir_flag_spec
=
9162 export_dynamic_flag_spec
=
9163 whole_archive_flag_spec
=
9166 # PORTME fill in a description of your system's linker (not GNU ld)
9169 allow_undefined_flag
=unsupported
9170 always_export_symbols
=yes
9171 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9172 # Note: this linker hardcodes the directories in LIBPATH if there
9173 # are no directories specified by -L.
9174 hardcode_minus_L
=yes
9175 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9176 # Neither direct hardcoding nor static linking is supported with a
9178 hardcode_direct
=unsupported
9183 if test "$host_cpu" = ia64
; then
9184 # On IA64, the linker does run time linking by default, so we don't
9185 # have to do anything special.
9186 aix_use_runtimelinking
=no
9187 exp_sym_flag
='-Bexport'
9190 # If we're using GNU nm, then we don't want the "-C" option.
9191 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9192 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9193 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9195 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9197 aix_use_runtimelinking
=no
9199 # Test if we are trying to use run time linking or normal
9200 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9201 # need to do runtime linking.
9202 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9203 for ld_flag
in $LDFLAGS; do
9204 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9205 aix_use_runtimelinking
=yes
9212 exp_sym_flag
='-bexport'
9213 no_entry_flag
='-bnoentry'
9216 # When large executables or shared objects are built, AIX ld can
9217 # have problems creating the table of contents. If linking a library
9218 # or program results in "error TOC overflow" add -mminimal-toc to
9219 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9220 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9224 hardcode_direct_absolute
=yes
9225 hardcode_libdir_separator
=':'
9226 link_all_deplibs
=yes
9227 file_list_spec
='${wl}-f,'
9229 if test "$GCC" = yes; then
9230 case $host_os in aix4.
[012]|aix4.
[012].
*)
9231 # We only want to do this on AIX 4.2 and lower, the check
9232 # below for broken collect2 doesn't work under 4.3+
9233 collect2name
=`${CC} -print-prog-name=collect2`
9234 if test -f "$collect2name" &&
9235 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9237 # We have reworked collect2
9240 # We have old collect2
9241 hardcode_direct
=unsupported
9242 # It fails to find uninstalled libraries when the uninstalled
9243 # path is not listed in the libpath. Setting hardcode_minus_L
9244 # to unsupported forces relinking
9245 hardcode_minus_L
=yes
9246 hardcode_libdir_flag_spec
='-L$libdir'
9247 hardcode_libdir_separator
=
9251 shared_flag
='-shared'
9252 if test "$aix_use_runtimelinking" = yes; then
9253 shared_flag
="$shared_flag "'${wl}-G'
9257 if test "$host_cpu" = ia64
; then
9258 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9259 # chokes on -Wl,-G. The following line is correct:
9262 if test "$aix_use_runtimelinking" = yes; then
9263 shared_flag
='${wl}-G'
9265 shared_flag
='${wl}-bM:SRE'
9270 export_dynamic_flag_spec
='${wl}-bexpall'
9271 # It seems that -bexpall does not export symbols beginning with
9272 # underscore (_), so it is better to generate a list of symbols to export.
9273 always_export_symbols
=yes
9274 if test "$aix_use_runtimelinking" = yes; then
9275 # Warning - without using the other runtime loading flags (-brtl),
9276 # -berok will link without error, but may produce a broken library.
9277 allow_undefined_flag
='-berok'
9278 # Determine the default libpath from the value encoded in an
9280 if test x
$gcc_no_link = xyes
; then
9281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9283 { (exit 1); exit 1; }; }
9285 cat >conftest.
$ac_ext <<_ACEOF
9288 cat confdefs.h
>>conftest.
$ac_ext
9289 cat >>conftest.
$ac_ext <<_ACEOF
9290 /* end confdefs.h. */
9300 rm -f conftest.
$ac_objext conftest
$ac_exeext
9301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9302 (eval $ac_link) 2>conftest.er1
9304 grep -v '^ *+' conftest.er1
>conftest.err
9306 cat conftest.err
>&5
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); } &&
9309 { ac_try
='test -z "$ac_c_werror_flag"
9310 || test ! -s conftest.err'
9311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); }; } &&
9316 { ac_try
='test -s conftest$ac_exeext'
9317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; }; then
9323 lt_aix_libpath_sed
='
9324 /Import File Strings/,/^$/ {
9330 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9331 # Check for a 64-bit object if we didn't find anything.
9332 if test -z "$aix_libpath"; then
9333 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9336 echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.
$ac_ext >&5
9340 rm -f conftest.err conftest.
$ac_objext \
9341 conftest
$ac_exeext conftest.
$ac_ext
9342 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9344 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9345 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9347 if test "$host_cpu" = ia64
; then
9348 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9349 allow_undefined_flag
="-z nodefs"
9350 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9352 # Determine the default libpath from the value encoded in an
9354 if test x
$gcc_no_link = xyes
; then
9355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9357 { (exit 1); exit 1; }; }
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9374 rm -f conftest.
$ac_objext conftest
$ac_exeext
9375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9376 (eval $ac_link) 2>conftest.er1
9378 grep -v '^ *+' conftest.er1
>conftest.err
9380 cat conftest.err
>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } &&
9383 { ac_try
='test -z "$ac_c_werror_flag"
9384 || test ! -s conftest.err'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; } &&
9390 { ac_try
='test -s conftest$ac_exeext'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; }; then
9397 lt_aix_libpath_sed
='
9398 /Import File Strings/,/^$/ {
9404 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9405 # Check for a 64-bit object if we didn't find anything.
9406 if test -z "$aix_libpath"; then
9407 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.
$ac_ext >&5
9414 rm -f conftest.err conftest.
$ac_objext \
9415 conftest
$ac_exeext conftest.
$ac_ext
9416 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9418 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9419 # Warning - without using the other run time loading flags,
9420 # -berok will link without error, but may produce a broken library.
9421 no_undefined_flag
=' ${wl}-bernotok'
9422 allow_undefined_flag
=' ${wl}-berok'
9423 # Exported symbols can be pulled into shared objects from archives
9424 whole_archive_flag_spec
='$convenience'
9425 archive_cmds_need_lc
=yes
9426 # This is similar to how AIX traditionally builds its shared libraries.
9427 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9435 # see comment about AmigaOS4 .so support
9436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437 archive_expsym_cmds
=''
9440 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9441 hardcode_libdir_flag_spec
='-L$libdir'
9442 hardcode_minus_L
=yes
9448 export_dynamic_flag_spec
=-rdynamic
9451 cygwin
* | mingw
* | pw32
* | cegcc
*)
9452 # When not using gcc, we currently assume that we are using
9453 # Microsoft Visual C++.
9454 # hardcode_libdir_flag_spec is actually meaningless, as there is
9455 # no search path for DLLs.
9456 hardcode_libdir_flag_spec
=' '
9457 allow_undefined_flag
=unsupported
9458 # Tell ltmain to make .lib files, not .a files.
9460 # Tell ltmain to make .dll files, not .so files.
9462 # FIXME: Setting linknames here is a bad hack.
9463 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9464 # The linker will automatically build a .lib file if we build a DLL.
9465 old_archive_from_new_cmds
='true'
9466 # FIXME: Should let the user specify the lib program.
9467 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9468 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9469 enable_shared_with_static_runtimes
=yes
9472 darwin
* | rhapsody
*)
9475 archive_cmds_need_lc
=no
9477 hardcode_automatic
=yes
9478 hardcode_shlibpath_var
=unsupported
9479 whole_archive_flag_spec
=''
9480 link_all_deplibs
=yes
9481 allow_undefined_flag
="$_lt_dar_allow_undefined"
9482 case $cc_basename in
9483 ifort
*) _lt_dar_can_shared
=yes ;;
9484 *) _lt_dar_can_shared
=$GCC ;;
9486 if test "$_lt_dar_can_shared" = "yes"; then
9487 output_verbose_link_cmd
=echo
9488 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9489 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9490 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9491 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9500 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501 hardcode_libdir_flag_spec
='-L$libdir'
9502 hardcode_shlibpath_var
=no
9509 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9510 # support. Future versions do this automatically, but an explicit c++rt0.o
9511 # does not break anything, and helps significantly (at the cost of a little
9514 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9515 hardcode_libdir_flag_spec
='-R$libdir'
9517 hardcode_shlibpath_var
=no
9520 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9522 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9524 hardcode_minus_L
=yes
9525 hardcode_shlibpath_var
=no
9528 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9529 freebsd
* | dragonfly
*)
9530 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9531 hardcode_libdir_flag_spec
='-R$libdir'
9533 hardcode_shlibpath_var
=no
9537 if test "$GCC" = yes; then
9538 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9540 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9542 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9543 hardcode_libdir_separator
=:
9546 # hardcode_minus_L: Not really in the search PATH,
9547 # but as the default location of the library.
9548 hardcode_minus_L
=yes
9549 export_dynamic_flag_spec
='${wl}-E'
9553 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9554 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9558 if test "$with_gnu_ld" = no
; then
9559 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9560 hardcode_libdir_flag_spec_ld
='+b $libdir'
9561 hardcode_libdir_separator
=:
9563 hardcode_direct_absolute
=yes
9564 export_dynamic_flag_spec
='${wl}-E'
9565 # hardcode_minus_L: Not really in the search PATH,
9566 # but as the default location of the library.
9567 hardcode_minus_L
=yes
9572 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9575 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9578 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9587 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597 if test "$with_gnu_ld" = no
; then
9598 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9599 hardcode_libdir_separator
=:
9604 hardcode_shlibpath_var
=no
9608 hardcode_direct_absolute
=yes
9609 export_dynamic_flag_spec
='${wl}-E'
9611 # hardcode_minus_L: Not really in the search PATH,
9612 # but as the default location of the library.
9613 hardcode_minus_L
=yes
9619 irix5
* | irix6
* | nonstopux
*)
9620 if test "$GCC" = yes; then
9621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9622 # Try to use the -exported_symbol ld option, if it does not
9623 # work, assume that -exports_file does not work either and
9624 # implicitly export all symbols.
9625 save_LDFLAGS
="$LDFLAGS"
9626 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9627 if test x
$gcc_no_link = xyes
; then
9628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9630 { (exit 1); exit 1; }; }
9632 cat >conftest.
$ac_ext <<_ACEOF
9635 rm -f conftest.
$ac_objext conftest
$ac_exeext
9636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9637 (eval $ac_link) 2>conftest.er1
9639 grep -v '^ *+' conftest.er1
>conftest.err
9641 cat conftest.err
>&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); } &&
9644 { ac_try
='test -z "$ac_c_werror_flag"
9645 || test ! -s conftest.err'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try
='test -s conftest$ac_exeext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.
$ac_ext >&5
9664 rm -f conftest.err conftest.
$ac_objext \
9665 conftest
$ac_exeext conftest.
$ac_ext
9666 LDFLAGS
="$save_LDFLAGS"
9668 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9669 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9671 archive_cmds_need_lc
='no'
9672 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9673 hardcode_libdir_separator
=:
9675 link_all_deplibs
=yes
9679 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9680 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9682 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9684 hardcode_libdir_flag_spec
='-R$libdir'
9686 hardcode_shlibpath_var
=no
9690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9693 hardcode_libdir_separator
=:
9694 hardcode_shlibpath_var
=no
9701 if test -f /usr
/libexec
/ld.so
; then
9703 hardcode_shlibpath_var
=no
9704 hardcode_direct_absolute
=yes
9705 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9706 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9707 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9708 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9709 export_dynamic_flag_spec
='${wl}-E'
9712 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9713 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec
='-R$libdir'
9717 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9728 hardcode_libdir_flag_spec
='-L$libdir'
9729 hardcode_minus_L
=yes
9730 allow_undefined_flag
=unsupported
9731 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9732 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9736 if test "$GCC" = yes; then
9737 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9738 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9740 allow_undefined_flag
=' -expect_unresolved \*'
9741 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9743 archive_cmds_need_lc
='no'
9744 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9745 hardcode_libdir_separator
=:
9748 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9749 if test "$GCC" = yes; then
9750 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9751 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9752 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9754 allow_undefined_flag
=' -expect_unresolved \*'
9755 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9756 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9757 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9759 # Both c and cxx compiler support -rpath directly
9760 hardcode_libdir_flag_spec
='-rpath $libdir'
9762 archive_cmds_need_lc
='no'
9763 hardcode_libdir_separator
=:
9767 no_undefined_flag
=' -z defs'
9768 if test "$GCC" = yes; then
9770 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9772 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9774 case `$CC -V 2>&1` in
9777 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9778 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9779 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9783 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9785 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9789 hardcode_libdir_flag_spec
='-R$libdir'
9790 hardcode_shlibpath_var
=no
9792 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9794 # The compiler driver will combine and reorder linker options,
9795 # but understands `-z linker_flag'. GCC discards it without `$wl',
9796 # but is careful enough not to reorder.
9797 # Supported since Solaris 2.6 (maybe 2.5.1?)
9798 if test "$GCC" = yes; then
9799 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9801 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9805 link_all_deplibs
=yes
9809 if test "x$host_vendor" = xsequent
; then
9810 # Use $CC to link under sequent, because it throws in some extra .o
9811 # files that make .init and .fini sections work.
9812 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_libdir_flag_spec
='-L$libdir'
9818 hardcode_minus_L
=yes
9819 hardcode_shlibpath_var
=no
9823 case $host_vendor in
9825 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct
=yes # is this really true???
9829 ## LD is ld it makes a PLAMLIB
9830 ## CC just makes a GrossModule.
9831 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9832 reload_cmds
='$CC -r -o $output$reload_objs'
9836 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9840 runpath_var
='LD_RUN_PATH'
9841 hardcode_shlibpath_var
=no
9845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9846 hardcode_shlibpath_var
=no
9847 export_dynamic_flag_spec
='-Bexport'
9851 if test -d /usr
/nec
; then
9852 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9853 hardcode_shlibpath_var
=no
9854 runpath_var
=LD_RUN_PATH
9855 hardcode_runpath_var
=yes
9860 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9861 no_undefined_flag
='${wl}-z,text'
9862 archive_cmds_need_lc
=no
9863 hardcode_shlibpath_var
=no
9864 runpath_var
='LD_RUN_PATH'
9866 if test "$GCC" = yes; then
9867 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 sysv5
* | sco3.2v5
* | sco5v6
*)
9876 # Note: We can NOT use -z defs as we might desire, because we do not
9877 # link with -lc, and that would cause any symbols used from libc to
9878 # always be unresolved, which means just about no library would
9879 # ever link correctly. If we're not using GNU ld we use -z text
9880 # though, which does catch some bad symbols but isn't as heavy-handed
9882 no_undefined_flag
='${wl}-z,text'
9883 allow_undefined_flag
='${wl}-z,nodefs'
9884 archive_cmds_need_lc
=no
9885 hardcode_shlibpath_var
=no
9886 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9887 hardcode_libdir_separator
=':'
9888 link_all_deplibs
=yes
9889 export_dynamic_flag_spec
='${wl}-Bexport'
9890 runpath_var
='LD_RUN_PATH'
9892 if test "$GCC" = yes; then
9893 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_libdir_flag_spec
='-L$libdir'
9904 hardcode_shlibpath_var
=no
9912 if test x
$host_vendor = xsni
; then
9914 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9915 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9921 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9922 echo "${ECHO_T}$ld_shlibs" >&6
9923 test "$ld_shlibs" = no
&& can_build_shared
=no
9925 with_gnu_ld
=$with_gnu_ld
9942 # Do we need to explicitly link libc?
9944 case "x$archive_cmds_need_lc" in
9946 # Assume -lc should be added
9947 archive_cmds_need_lc
=yes
9949 if test "$enable_shared" = yes && test "$GCC" = yes; then
9950 case $archive_cmds in
9952 # FIXME: we may have to deal with multi-command sequences.
9955 # Test whether the compiler implicitly links with -lc since on some
9956 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9957 # to ld, don't add -lc before -lgcc.
9958 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9959 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9960 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9964 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9967 (eval $ac_compile) 2>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } 2>conftest.err
; then
9973 libobjs
=conftest.
$ac_objext
9975 wl
=$lt_prog_compiler_wl
9976 pic_flag
=$lt_prog_compiler_pic
9982 lt_save_allow_undefined_flag
=$allow_undefined_flag
9983 allow_undefined_flag
=
9984 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9985 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }
9990 lt_cv_archive_cmds_need_lc
=no
9992 lt_cv_archive_cmds_need_lc
=yes
9994 allow_undefined_flag
=$lt_save_allow_undefined_flag
9996 cat conftest.err
1>&5
10001 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10002 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
10003 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10166 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10167 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10169 if test "$GCC" = yes; then
10171 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10172 *) lt_awk_arg
="/^libraries:/" ;;
10174 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10175 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10176 # if the path contains ";" then we assume it to be the separator
10177 # otherwise default to the standard path separator (i.e. ":") - it is
10178 # assumed that no part of a normal pathname contains ";" but that should
10179 # okay in the real world where ";" in dirpaths is itself problematic.
10180 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10182 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10184 # Ok, now we have the path, separated by spaces, we can step through it
10185 # and add multilib dir if necessary.
10186 lt_tmp_lt_search_path_spec
=
10187 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10188 for lt_sys_path
in $lt_search_path_spec; do
10189 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10190 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10192 test -d "$lt_sys_path" && \
10193 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10196 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10197 BEGIN {RS=" "; FS="/|\n";} {
10200 for (lt_i = NF; lt_i > 0; lt_i--) {
10201 if ($lt_i != "" && $lt_i != ".") {
10202 if ($lt_i == "..") {
10205 if (lt_count == 0) {
10206 lt_foo="/" $lt_i lt_foo;
10213 if (lt_foo != "") { lt_freq[lt_foo]++; }
10214 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10216 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10218 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10220 library_names_spec
=
10221 libname_spec
='lib$name'
10225 postuninstall_cmds
=
10229 shlibpath_overrides_runpath
=unknown
10231 dynamic_linker
="$host_os ld.so"
10232 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10233 need_lib_prefix
=unknown
10234 hardcode_into_libs
=no
10236 # when you set need_version to no, make sure it does not cause -set_version
10237 # flags to be left without arguments
10238 need_version
=unknown
10243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10244 shlibpath_var
=LIBPATH
10246 # AIX 3 has no versioning support, so we append a major version to the name.
10247 soname_spec
='${libname}${release}${shared_ext}$major'
10254 hardcode_into_libs
=yes
10255 if test "$host_cpu" = ia64
; then
10256 # AIX 5 supports IA64
10257 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10258 shlibpath_var
=LD_LIBRARY_PATH
10260 # With GCC up to 2.95.x, collect2 would create an import file
10261 # for dependence libraries. The import file would start with
10262 # the line `#! .'. This would cause the generated library to
10263 # depend on `.', always an invalid library. This was fixed in
10264 # development snapshots of GCC prior to 3.0.
10266 aix4 | aix4.
[01] | aix4.
[01].
*)
10267 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10269 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10272 can_build_shared
=no
10276 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10277 # soname into executable. Probably we can add versioning support to
10278 # collect2, so additional links can be useful in future.
10279 if test "$aix_use_runtimelinking" = yes; then
10280 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10281 # instead of lib<name>.a to let people know that these are not
10282 # typical AIX shared libraries.
10283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285 # We preserve .a as extension for shared libraries through AIX4.2
10286 # and later when we are not doing run time linking.
10287 library_names_spec
='${libname}${release}.a $libname.a'
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10290 shlibpath_var
=LIBPATH
10297 # Since July 2007 AmigaOS4 officially supports .so libraries.
10298 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 library_names_spec
='$libname.ixlibrary $libname.a'
10303 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10304 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10310 library_names_spec
='${libname}${shared_ext}'
10311 dynamic_linker
="$host_os ld.so"
10312 shlibpath_var
=LIBRARY_PATH
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319 soname_spec
='${libname}${release}${shared_ext}$major'
10320 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10321 shlibpath_var
=LD_LIBRARY_PATH
10322 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10323 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10324 # the default ld.so.conf also contains /usr/contrib/lib and
10325 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10326 # libtool to hard-code these into programs
10329 cygwin
* | mingw
* | pw32
* | cegcc
*)
10330 version_type
=windows
10335 case $GCC,$host_os in
10336 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10337 library_names_spec
='$libname.dll.a'
10338 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10339 postinstall_cmds
='base_file=`basename \${file}`~
10340 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10341 dldir=$destdir/`dirname \$dlpath`~
10342 test -d \$dldir || mkdir -p \$dldir~
10343 $install_prog $dir/$dlname \$dldir/$dlname~
10344 chmod a+x \$dldir/$dlname~
10345 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10346 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10348 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10349 dlpath=$dir/\$dldll~
10351 shlibpath_overrides_runpath
=yes
10355 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10356 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10357 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10360 # MinGW DLLs use traditional 'lib' prefix
10361 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10362 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10363 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10364 # It is most probably a Windows format PATH printed by
10365 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10366 # path with ; separators, and with drive letters. We can handle the
10367 # drive letters (cygwin fileutils understands them), so leave them,
10368 # especially as we might pass files found there to a mingw objdump,
10369 # which wouldn't understand a cygwinified path. Ahh.
10370 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10372 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10376 # pw32 DLLs use 'pw' prefix rather than 'lib'
10377 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10386 dynamic_linker
='Win32 ld.exe'
10387 # FIXME: first we should search . and the directory the executable is in
10391 darwin
* | rhapsody
*)
10392 dynamic_linker
="$host_os dyld"
10393 version_type
=darwin
10396 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10397 soname_spec
='${libname}${release}${major}$shared_ext'
10398 shlibpath_overrides_runpath
=yes
10399 shlibpath_var
=DYLD_LIBRARY_PATH
10400 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10402 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10403 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10411 soname_spec
='${libname}${release}${shared_ext}$major'
10412 shlibpath_var
=LD_LIBRARY_PATH
10419 freebsd
* | dragonfly
*)
10420 # DragonFly does not have aout. When/if they implement a new
10421 # versioning mechanism, adjust this.
10422 if test -x /usr
/bin
/objformat
; then
10423 objformat
=`/usr/bin/objformat`
10426 freebsd
[123]*) objformat
=aout
;;
10427 *) objformat
=elf
;;
10430 version_type
=freebsd-
$objformat
10431 case $version_type in
10433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10438 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10442 shlibpath_var
=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath
=yes
10447 freebsd3.
[01]* | freebsdelf3.
[01]*)
10448 shlibpath_overrides_runpath
=yes
10449 hardcode_into_libs
=yes
10451 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10452 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10453 shlibpath_overrides_runpath
=no
10454 hardcode_into_libs
=yes
10456 *) # from 4.6 on, and DragonFly
10457 shlibpath_overrides_runpath
=yes
10458 hardcode_into_libs
=yes
10467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10468 soname_spec
='${libname}${release}${shared_ext}$major'
10469 shlibpath_var
=LD_LIBRARY_PATH
10470 hardcode_into_libs
=yes
10473 hpux9
* | hpux10
* | hpux11
*)
10474 # Give a soname corresponding to the major version so that dld.sl refuses to
10475 # link against other versions.
10482 hardcode_into_libs
=yes
10483 dynamic_linker
="$host_os dld.so"
10484 shlibpath_var
=LD_LIBRARY_PATH
10485 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487 soname_spec
='${libname}${release}${shared_ext}$major'
10488 if test "X$HPUX_IA64_MODE" = X32
; then
10489 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10491 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10493 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10497 hardcode_into_libs
=yes
10498 dynamic_linker
="$host_os dld.sl"
10499 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10500 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 soname_spec
='${libname}${release}${shared_ext}$major'
10503 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10504 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10508 dynamic_linker
="$host_os dld.sl"
10509 shlibpath_var
=SHLIB_PATH
10510 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10515 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10516 postinstall_cmds
='chmod 555 $lib'
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10524 soname_spec
='${libname}${release}${shared_ext}$major'
10525 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10526 shlibpath_var
=LD_LIBRARY_PATH
10527 shlibpath_overrides_runpath
=no
10528 hardcode_into_libs
=yes
10531 irix5
* | irix6
* | nonstopux
*)
10533 nonstopux
*) version_type
=nonstopux
;;
10535 if test "$lt_cv_prog_gnu_ld" = yes; then
10543 soname_spec
='${libname}${release}${shared_ext}$major'
10544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10546 irix5
* | nonstopux
*)
10547 libsuff
= shlibsuff
=
10550 case $LD in # libtool.m4 will add one of these switches to LD
10551 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10552 libsuff
= shlibsuff
= libmagic
=32-bit;;
10553 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10554 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10555 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10556 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10557 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10561 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10562 shlibpath_overrides_runpath
=no
10563 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10564 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10565 hardcode_into_libs
=yes
10568 # No shared lib support for Linux oldld, aout, or coff.
10569 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10573 # This must be Linux ELF.
10574 linux
* | k
*bsd
*-gnu)
10578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 soname_spec
='${libname}${release}${shared_ext}$major'
10580 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10581 shlibpath_var
=LD_LIBRARY_PATH
10582 shlibpath_overrides_runpath
=no
10584 # Some binutils ld are patched to set DT_RUNPATH
10585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10586 echo $ECHO_N "(cached) $ECHO_C" >&6
10588 lt_cv_shlibpath_overrides_runpath
=no
10589 save_LDFLAGS
=$LDFLAGS
10590 save_libdir
=$libdir
10591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10593 if test x
$gcc_no_link = xyes
; then
10594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10596 { (exit 1); exit 1; }; }
10598 cat >conftest.
$ac_ext <<_ACEOF
10601 cat confdefs.h
>>conftest.
$ac_ext
10602 cat >>conftest.
$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10613 rm -f conftest.
$ac_objext conftest
$ac_exeext
10614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10615 (eval $ac_link) 2>conftest.er1
10617 grep -v '^ *+' conftest.er1
>conftest.err
10619 cat conftest.err
>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } &&
10622 { ac_try
='test -z "$ac_c_werror_flag"
10623 || test ! -s conftest.err'
10624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; } &&
10629 { ac_try
='test -s conftest$ac_exeext'
10630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; }; then
10635 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10636 lt_cv_shlibpath_overrides_runpath
=yes
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.
$ac_ext >&5
10644 rm -f conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10646 LDFLAGS
=$save_LDFLAGS
10647 libdir
=$save_libdir
10651 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10653 # This implies no fast_install, which is unacceptable.
10654 # Some rework will be needed to allow for fast_install
10655 # before this can be enabled.
10656 hardcode_into_libs
=yes
10658 # Append ld.so.conf contents to the search path
10659 if test -f /etc
/ld.so.conf
; then
10660 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10661 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10664 # We used to test for /lib/ld.so.1 and disable shared libraries on
10665 # powerpc, because MkLinux only supported shared libraries with the
10666 # GNU dynamic linker. Since this was broken with cross compilers,
10667 # most powerpc-linux boxes support dynamic linking these days and
10668 # people can always --disable-shared, the test was removed, and we
10669 # assume the GNU/Linux dynamic linker is in use.
10670 dynamic_linker
='GNU/Linux ld.so'
10677 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10680 dynamic_linker
='NetBSD (a.out) ld.so'
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10683 soname_spec
='${libname}${release}${shared_ext}$major'
10684 dynamic_linker
='NetBSD ld.elf_so'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath
=yes
10688 hardcode_into_libs
=yes
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 shlibpath_var
=LD_LIBRARY_PATH
10695 shlibpath_overrides_runpath
=yes
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec
='${libname}${release}${shared_ext}$major'
10704 shlibpath_var
=LD_LIBRARY_PATH
10705 shlibpath_overrides_runpath
=no
10706 hardcode_into_libs
=yes
10707 dynamic_linker
='ldqnx.so'
10712 sys_lib_dlsearch_path_spec
="/usr/lib"
10714 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10716 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10717 *) need_version
=no
;;
10719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10720 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10721 shlibpath_var
=LD_LIBRARY_PATH
10722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10724 openbsd2.
[89] | openbsd2.
[89].
*)
10725 shlibpath_overrides_runpath
=no
10728 shlibpath_overrides_runpath
=yes
10732 shlibpath_overrides_runpath
=yes
10737 libname_spec
='$name'
10740 library_names_spec
='$libname${shared_ext} $libname.a'
10741 dynamic_linker
='OS/2 ld.exe'
10742 shlibpath_var
=LIBPATH
10745 osf3
* | osf4
* | osf5
*)
10749 soname_spec
='${libname}${release}${shared_ext}$major'
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751 shlibpath_var
=LD_LIBRARY_PATH
10752 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10753 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765 soname_spec
='${libname}${release}${shared_ext}$major'
10766 shlibpath_var
=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath
=yes
10768 hardcode_into_libs
=yes
10769 # ldd complains unless libraries are executable
10770 postinstall_cmds
='chmod +x $lib'
10775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10776 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10777 shlibpath_var
=LD_LIBRARY_PATH
10778 shlibpath_overrides_runpath
=yes
10779 if test "$with_gnu_ld" = yes; then
10787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec
='${libname}${release}${shared_ext}$major'
10789 shlibpath_var
=LD_LIBRARY_PATH
10790 case $host_vendor in
10792 shlibpath_overrides_runpath
=no
10794 runpath_var
=LD_RUN_PATH
10802 shlibpath_overrides_runpath
=no
10803 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10809 if test -d /usr
/nec
;then
10811 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10812 soname_spec
='$libname${shared_ext}.$major'
10813 shlibpath_var
=LD_LIBRARY_PATH
10817 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10818 version_type
=freebsd-elf
10821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10822 soname_spec
='${libname}${release}${shared_ext}$major'
10823 shlibpath_var
=LD_LIBRARY_PATH
10824 shlibpath_overrides_runpath
=yes
10825 hardcode_into_libs
=yes
10826 if test "$with_gnu_ld" = yes; then
10827 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10829 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10832 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10836 sys_lib_dlsearch_path_spec
='/usr/lib'
10840 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=no
10847 hardcode_into_libs
=yes
10852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec
='${libname}${release}${shared_ext}$major'
10854 shlibpath_var
=LD_LIBRARY_PATH
10861 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10862 echo "${ECHO_T}$dynamic_linker" >&6
10863 test "$dynamic_linker" = no
&& can_build_shared
=no
10865 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10866 if test "$GCC" = yes; then
10867 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10870 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10871 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10873 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10874 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10963 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10964 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10966 if test -n "$hardcode_libdir_flag_spec" ||
10967 test -n "$runpath_var" ||
10968 test "X$hardcode_automatic" = "Xyes" ; then
10970 # We can hardcode non-existent directories.
10971 if test "$hardcode_direct" != no
&&
10972 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10973 # have to relink, otherwise we might link with an installed library
10974 # when we should be linking with a yet-to-be-installed one
10975 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10976 test "$hardcode_minus_L" != no
; then
10977 # Linking always hardcodes the temporary library directory.
10978 hardcode_action
=relink
10980 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10981 hardcode_action
=immediate
10984 # We cannot hardcode anything, or else we can only hardcode existing
10986 hardcode_action
=unsupported
10988 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10989 echo "${ECHO_T}$hardcode_action" >&6
10991 if test "$hardcode_action" = relink ||
10992 test "$inherit_rpath" = yes; then
10993 # Fast installation is not supported
10994 enable_fast_install
=no
10995 elif test "$shlibpath_overrides_runpath" = yes ||
10996 test "$enable_shared" = no
; then
10997 # Fast installation is not necessary
10998 enable_fast_install
=needless
11006 if test "x$enable_dlopen" != xyes
; then
11007 enable_dlopen
=unknown
11008 enable_dlopen_self
=unknown
11009 enable_dlopen_self_static
=unknown
11016 lt_cv_dlopen
="load_add_on"
11018 lt_cv_dlopen_self
=yes
11021 mingw
* | pw32
* | cegcc
*)
11022 lt_cv_dlopen
="LoadLibrary"
11027 lt_cv_dlopen
="dlopen"
11032 # if libdl is installed we need to link against it
11033 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11034 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 ac_check_lib_save_LIBS
=$LIBS
11040 if test x
$gcc_no_link = xyes
; then
11041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11043 { (exit 1); exit 1; }; }
11045 cat >conftest.
$ac_ext <<_ACEOF
11048 cat confdefs.h
>>conftest.
$ac_ext
11049 cat >>conftest.
$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11052 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11067 rm -f conftest.
$ac_objext conftest
$ac_exeext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11069 (eval $ac_link) 2>conftest.er1
11071 grep -v '^ *+' conftest.er1
>conftest.err
11073 cat conftest.err
>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try
='test -z "$ac_c_werror_flag"
11077 || test ! -s conftest.err'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; } &&
11083 { ac_try
='test -s conftest$ac_exeext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_cv_lib_dl_dlopen
=yes
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11094 ac_cv_lib_dl_dlopen
=no
11096 rm -f conftest.err conftest.
$ac_objext \
11097 conftest
$ac_exeext conftest.
$ac_ext
11098 LIBS
=$ac_check_lib_save_LIBS
11100 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11101 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11102 if test $ac_cv_lib_dl_dlopen = yes; then
11103 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11106 lt_cv_dlopen
="dyld"
11108 lt_cv_dlopen_self
=yes
11115 echo "$as_me:$LINENO: checking for shl_load" >&5
11116 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11117 if test "${ac_cv_func_shl_load+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 if test x
$gcc_no_link = xyes
; then
11121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11123 { (exit 1); exit 1; }; }
11125 cat >conftest.
$ac_ext <<_ACEOF
11128 cat confdefs.h
>>conftest.
$ac_ext
11129 cat >>conftest.
$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11133 #define shl_load innocuous_shl_load
11135 /* System header to define __stub macros and hopefully few prototypes,
11136 which can conflict with char shl_load (); below.
11137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11138 <limits.h> exists even on freestanding compilers. */
11141 # include <limits.h>
11143 # include <assert.h>
11148 /* Override any gcc2 internal prototype to avoid an error. */
11153 /* We use char because int might match the return type of a gcc2
11154 builtin and then its argument prototype would still apply. */
11156 /* The GNU C library defines this for functions which it implements
11157 to always fail with ENOSYS. Some functions are actually named
11158 something starting with __ and the normal name is an alias. */
11159 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11162 char (*f) () = shl_load;
11171 return f != shl_load;
11176 rm -f conftest.
$ac_objext conftest
$ac_exeext
11177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11178 (eval $ac_link) 2>conftest.er1
11180 grep -v '^ *+' conftest.er1
>conftest.err
11182 cat conftest.err
>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } &&
11185 { ac_try
='test -z "$ac_c_werror_flag"
11186 || test ! -s conftest.err'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; } &&
11192 { ac_try
='test -s conftest$ac_exeext'
11193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194 (eval $ac_try) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }; }; then
11198 ac_cv_func_shl_load
=yes
11200 echo "$as_me: failed program was:" >&5
11201 sed 's/^/| /' conftest.
$ac_ext >&5
11203 ac_cv_func_shl_load
=no
11205 rm -f conftest.err conftest.
$ac_objext \
11206 conftest
$ac_exeext conftest.
$ac_ext
11208 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11209 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11210 if test $ac_cv_func_shl_load = yes; then
11211 lt_cv_dlopen
="shl_load"
11213 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11214 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11215 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11216 echo $ECHO_N "(cached) $ECHO_C" >&6
11218 ac_check_lib_save_LIBS
=$LIBS
11220 if test x
$gcc_no_link = xyes
; then
11221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11223 { (exit 1); exit 1; }; }
11225 cat >conftest.
$ac_ext <<_ACEOF
11228 cat confdefs.h
>>conftest.
$ac_ext
11229 cat >>conftest.
$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11232 /* Override any gcc2 internal prototype to avoid an error. */
11236 /* We use char because int might match the return type of a gcc2
11237 builtin and then its argument prototype would still apply. */
11247 rm -f conftest.
$ac_objext conftest
$ac_exeext
11248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11249 (eval $ac_link) 2>conftest.er1
11251 grep -v '^ *+' conftest.er1
>conftest.err
11253 cat conftest.err
>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } &&
11256 { ac_try
='test -z "$ac_c_werror_flag"
11257 || test ! -s conftest.err'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; } &&
11263 { ac_try
='test -s conftest$ac_exeext'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; }; then
11269 ac_cv_lib_dld_shl_load
=yes
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.
$ac_ext >&5
11274 ac_cv_lib_dld_shl_load
=no
11276 rm -f conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 LIBS
=$ac_check_lib_save_LIBS
11280 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11281 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11282 if test $ac_cv_lib_dld_shl_load = yes; then
11283 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11285 echo "$as_me:$LINENO: checking for dlopen" >&5
11286 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11287 if test "${ac_cv_func_dlopen+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 if test x
$gcc_no_link = xyes
; then
11291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11293 { (exit 1); exit 1; }; }
11295 cat >conftest.
$ac_ext <<_ACEOF
11298 cat confdefs.h
>>conftest.
$ac_ext
11299 cat >>conftest.
$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11301 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11303 #define dlopen innocuous_dlopen
11305 /* System header to define __stub macros and hopefully few prototypes,
11306 which can conflict with char dlopen (); below.
11307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11308 <limits.h> exists even on freestanding compilers. */
11311 # include <limits.h>
11313 # include <assert.h>
11318 /* Override any gcc2 internal prototype to avoid an error. */
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11326 /* The GNU C library defines this for functions which it implements
11327 to always fail with ENOSYS. Some functions are actually named
11328 something starting with __ and the normal name is an alias. */
11329 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11332 char (*f) () = dlopen;
11341 return f != dlopen;
11346 rm -f conftest.
$ac_objext conftest
$ac_exeext
11347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11348 (eval $ac_link) 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try
='test -z "$ac_c_werror_flag"
11356 || test ! -s conftest.err'
11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358 (eval $ac_try) 2>&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); }; } &&
11362 { ac_try
='test -s conftest$ac_exeext'
11363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11364 (eval $ac_try) 2>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); }; }; then
11368 ac_cv_func_dlopen
=yes
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.
$ac_ext >&5
11373 ac_cv_func_dlopen
=no
11375 rm -f conftest.err conftest.
$ac_objext \
11376 conftest
$ac_exeext conftest.
$ac_ext
11378 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11379 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11380 if test $ac_cv_func_dlopen = yes; then
11381 lt_cv_dlopen
="dlopen"
11383 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11384 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11385 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11390 if test x
$gcc_no_link = xyes
; then
11391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11393 { (exit 1); exit 1; }; }
11395 cat >conftest.
$ac_ext <<_ACEOF
11398 cat confdefs.h
>>conftest.
$ac_ext
11399 cat >>conftest.
$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11402 /* Override any gcc2 internal prototype to avoid an error. */
11406 /* We use char because int might match the return type of a gcc2
11407 builtin and then its argument prototype would still apply. */
11417 rm -f conftest.
$ac_objext conftest
$ac_exeext
11418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11419 (eval $ac_link) 2>conftest.er1
11421 grep -v '^ *+' conftest.er1
>conftest.err
11423 cat conftest.err
>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } &&
11426 { ac_try
='test -z "$ac_c_werror_flag"
11427 || test ! -s conftest.err'
11428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11429 (eval $ac_try) 2>&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); }; } &&
11433 { ac_try
='test -s conftest$ac_exeext'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; }; then
11439 ac_cv_lib_dl_dlopen
=yes
11441 echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.
$ac_ext >&5
11444 ac_cv_lib_dl_dlopen
=no
11446 rm -f conftest.err conftest.
$ac_objext \
11447 conftest
$ac_exeext conftest.
$ac_ext
11448 LIBS
=$ac_check_lib_save_LIBS
11450 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11451 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11452 if test $ac_cv_lib_dl_dlopen = yes; then
11453 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11455 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11456 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11457 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11460 ac_check_lib_save_LIBS
=$LIBS
11461 LIBS
="-lsvld $LIBS"
11462 if test x
$gcc_no_link = xyes
; then
11463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11465 { (exit 1); exit 1; }; }
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11474 /* Override any gcc2 internal prototype to avoid an error. */
11478 /* We use char because int might match the return type of a gcc2
11479 builtin and then its argument prototype would still apply. */
11489 rm -f conftest.
$ac_objext conftest
$ac_exeext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11491 (eval $ac_link) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try
='test -z "$ac_c_werror_flag"
11499 || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest$ac_exeext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11511 ac_cv_lib_svld_dlopen
=yes
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.
$ac_ext >&5
11516 ac_cv_lib_svld_dlopen
=no
11518 rm -f conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_lib_save_LIBS
11522 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11523 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11524 if test $ac_cv_lib_svld_dlopen = yes; then
11525 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11527 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11528 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11529 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 ac_check_lib_save_LIBS
=$LIBS
11534 if test x
$gcc_no_link = xyes
; then
11535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11537 { (exit 1); exit 1; }; }
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11546 /* Override any gcc2 internal prototype to avoid an error. */
11550 /* We use char because int might match the return type of a gcc2
11551 builtin and then its argument prototype would still apply. */
11561 rm -f conftest.
$ac_objext conftest
$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>conftest.er1
11565 grep -v '^ *+' conftest.er1
>conftest.err
11567 cat conftest.err
>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try
='test -z "$ac_c_werror_flag"
11571 || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest$ac_exeext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 ac_cv_lib_dld_dld_link
=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11588 ac_cv_lib_dld_dld_link
=no
11590 rm -f conftest.err conftest.
$ac_objext \
11591 conftest
$ac_exeext conftest.
$ac_ext
11592 LIBS
=$ac_check_lib_save_LIBS
11594 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11595 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11596 if test $ac_cv_lib_dld_dld_link = yes; then
11597 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11618 if test "x$lt_cv_dlopen" != xno
; then
11624 case $lt_cv_dlopen in
11626 save_CPPFLAGS
="$CPPFLAGS"
11627 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11629 save_LDFLAGS
="$LDFLAGS"
11630 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11633 LIBS
="$lt_cv_dlopen_libs $LIBS"
11635 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11636 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11637 if test "${lt_cv_dlopen_self+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 if test "$cross_compiling" = yes; then :
11641 lt_cv_dlopen_self
=cross
11643 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11644 lt_status
=$lt_dlunknown
11645 cat > conftest.
$ac_ext <<_LT_EOF
11646 #line 11646 "configure"
11647 #include "confdefs.h"
11656 # define LT_DLGLOBAL RTLD_GLOBAL
11659 # define LT_DLGLOBAL DL_GLOBAL
11661 # define LT_DLGLOBAL 0
11665 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11666 find out it does not work in some platform. */
11667 #ifndef LT_DLLAZY_OR_NOW
11669 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11672 # define LT_DLLAZY_OR_NOW DL_LAZY
11675 # define LT_DLLAZY_OR_NOW RTLD_NOW
11678 # define LT_DLLAZY_OR_NOW DL_NOW
11680 # define LT_DLLAZY_OR_NOW 0
11687 void fnord() { int i=42;}
11690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11691 int status = $lt_dlunknown;
11695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11696 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11697 /* dlclose (self); */
11705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11706 (eval $ac_link) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11710 (.
/conftest
; exit; ) >&5 2>/dev
/null
11712 case x
$lt_status in
11713 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11714 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11715 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11718 # compilation failed
11719 lt_cv_dlopen_self
=no
11726 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11727 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11729 if test "x$lt_cv_dlopen_self" = xyes
; then
11730 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11731 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11732 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11733 if test "${lt_cv_dlopen_self_static+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 if test "$cross_compiling" = yes; then :
11737 lt_cv_dlopen_self_static
=cross
11739 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11740 lt_status
=$lt_dlunknown
11741 cat > conftest.
$ac_ext <<_LT_EOF
11742 #line 11742 "configure"
11743 #include "confdefs.h"
11752 # define LT_DLGLOBAL RTLD_GLOBAL
11755 # define LT_DLGLOBAL DL_GLOBAL
11757 # define LT_DLGLOBAL 0
11761 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11762 find out it does not work in some platform. */
11763 #ifndef LT_DLLAZY_OR_NOW
11765 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11768 # define LT_DLLAZY_OR_NOW DL_LAZY
11771 # define LT_DLLAZY_OR_NOW RTLD_NOW
11774 # define LT_DLLAZY_OR_NOW DL_NOW
11776 # define LT_DLLAZY_OR_NOW 0
11783 void fnord() { int i=42;}
11786 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11787 int status = $lt_dlunknown;
11791 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11792 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11793 /* dlclose (self); */
11801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11802 (eval $ac_link) 2>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11806 (.
/conftest
; exit; ) >&5 2>/dev
/null
11808 case x
$lt_status in
11809 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11810 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11811 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11814 # compilation failed
11815 lt_cv_dlopen_self_static
=no
11822 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11823 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11826 CPPFLAGS
="$save_CPPFLAGS"
11827 LDFLAGS
="$save_LDFLAGS"
11832 case $lt_cv_dlopen_self in
11833 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11834 *) enable_dlopen_self
=unknown
;;
11837 case $lt_cv_dlopen_self_static in
11838 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11839 *) enable_dlopen_self_static
=unknown
;;
11861 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11862 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11863 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11864 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11865 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11866 echo "$as_me:$LINENO: result: yes" >&5
11867 echo "${ECHO_T}yes" >&6
11869 # FIXME - insert some real tests, host_os isn't really good enough
11872 if test -n "$STRIP" ; then
11873 striplib
="$STRIP -x"
11874 old_striplib
="$STRIP -S"
11875 echo "$as_me:$LINENO: result: yes" >&5
11876 echo "${ECHO_T}yes" >&6
11878 echo "$as_me:$LINENO: result: no" >&5
11879 echo "${ECHO_T}no" >&6
11883 echo "$as_me:$LINENO: result: no" >&5
11884 echo "${ECHO_T}no" >&6
11900 # Report which library types will actually be built
11901 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11902 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11903 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11904 echo "${ECHO_T}$can_build_shared" >&6
11906 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11907 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11908 test "$can_build_shared" = "no" && enable_shared
=no
11910 # On AIX, shared libraries and static libraries use the same namespace, and
11911 # are all built from PIC.
11914 test "$enable_shared" = yes && enable_static
=no
11915 if test -n "$RANLIB"; then
11916 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11917 postinstall_cmds
='$RANLIB $lib'
11922 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11923 test "$enable_shared" = yes && enable_static
=no
11927 echo "$as_me:$LINENO: result: $enable_shared" >&5
11928 echo "${ECHO_T}$enable_shared" >&6
11930 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11931 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11932 # Make sure either enable_shared or enable_static is yes.
11933 test "$enable_shared" = yes || enable_static
=yes
11934 echo "$as_me:$LINENO: result: $enable_static" >&5
11935 echo "${ECHO_T}$enable_static" >&6
11942 ac_cpp
='$CPP $CPPFLAGS'
11943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11951 ac_cpp
='$CXXCPP $CPPFLAGS'
11952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11956 archive_cmds_need_lc_CXX
=no
11957 allow_undefined_flag_CXX
=
11958 always_export_symbols_CXX
=no
11959 archive_expsym_cmds_CXX
=
11960 compiler_needs_object_CXX
=no
11961 export_dynamic_flag_spec_CXX
=
11962 hardcode_direct_CXX
=no
11963 hardcode_direct_absolute_CXX
=no
11964 hardcode_libdir_flag_spec_CXX
=
11965 hardcode_libdir_flag_spec_ld_CXX
=
11966 hardcode_libdir_separator_CXX
=
11967 hardcode_minus_L_CXX
=no
11968 hardcode_shlibpath_var_CXX
=unsupported
11969 hardcode_automatic_CXX
=no
11970 inherit_rpath_CXX
=no
11972 module_expsym_cmds_CXX
=
11973 link_all_deplibs_CXX
=unknown
11974 old_archive_cmds_CXX
=$old_archive_cmds
11975 no_undefined_flag_CXX
=
11976 whole_archive_flag_spec_CXX
=
11977 enable_shared_with_static_runtimes_CXX
=no
11979 # Source file extension for C++ test sources.
11982 # Object file extension for compiled C++ test sources.
11986 # No sense in running all these tests if we already determined that
11987 # the CXX compiler isn't working. Some variables (like enable_shared)
11988 # are currently assumed to apply to all compilers on this platform,
11989 # and will be corrupted by setting them based on a non-working compiler.
11990 if test "$_lt_caught_CXX_error" != yes; then
11991 # Code to be used in simple compile tests
11992 lt_simple_compile_test_code
="int some_variable = 0;"
11994 # Code to be used in simple link tests
11995 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11997 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12004 # If no C compiler was specified, use CC.
12007 # If no C compiler flags were specified, use CFLAGS.
12008 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12010 # Allow CC to be a program name with arguments.
12014 # save warnings/boilerplate of simple test code
12015 ac_outfile
=conftest.
$ac_objext
12016 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12017 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12018 _lt_compiler_boilerplate
=`cat conftest.err`
12021 ac_outfile
=conftest.
$ac_objext
12022 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12023 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_linker_boilerplate
=`cat conftest.err`
12028 # Allow CC to be a program name with arguments.
12033 lt_save_with_gnu_ld
=$with_gnu_ld
12034 lt_save_path_LD
=$lt_cv_path_LD
12035 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12036 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12038 $as_unset lt_cv_prog_gnu_ld
12040 if test -n "${lt_cv_path_LDCXX+set}"; then
12041 lt_cv_path_LD
=$lt_cv_path_LDCXX
12043 $as_unset lt_cv_path_LD
12045 test -z "${LDCXX+set}" || LD
=$LDCXX
12049 for cc_temp
in $compiler""; do
12051 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12052 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12057 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12060 if test -n "$compiler"; then
12061 # We don't want -fno-exception when compiling C++ code, so set the
12062 # no_builtin_flag separately
12063 if test "$GXX" = yes; then
12064 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12066 lt_prog_compiler_no_builtin_flag_CXX
=
12069 if test "$GXX" = yes; then
12070 # Set up default GNU C++ configuration
12074 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12075 if test "${with_gnu_ld+set}" = set; then
12076 withval
="$with_gnu_ld"
12077 test "$withval" = no || with_gnu_ld
=yes
12082 if test "$GCC" = yes; then
12083 # Check if gcc -print-prog-name=ld gives a path.
12084 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12085 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12088 # gcc leaves a trailing carriage return which upsets mingw
12089 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12091 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12094 # Accept absolute paths.
12096 re_direlt
='/[^/][^/]*/\.\./'
12097 # Canonicalize the pathname of ld
12098 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12099 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12100 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12102 test -z "$LD" && LD
="$ac_prog"
12105 # If it fails, then pretend we aren't using GCC.
12109 # If it is relative, then search for the first ld in PATH.
12110 with_gnu_ld
=unknown
12113 elif test "$with_gnu_ld" = yes; then
12114 echo "$as_me:$LINENO: checking for GNU ld" >&5
12115 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12117 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12118 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12120 if test "${lt_cv_path_LD+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 if test -z "$LD"; then
12124 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12125 for ac_dir
in $PATH; do
12127 test -z "$ac_dir" && ac_dir
=.
12128 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12129 lt_cv_path_LD
="$ac_dir/$ac_prog"
12130 # Check to see if the program is GNU ld. I'd rather use --version,
12131 # but apparently some variants of GNU ld only accept -v.
12132 # Break only if it was the GNU/non-GNU ld that we prefer.
12133 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12134 *GNU
* |
*'with BFD'*)
12135 test "$with_gnu_ld" != no
&& break
12138 test "$with_gnu_ld" != yes && break
12145 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12149 LD
="$lt_cv_path_LD"
12150 if test -n "$LD"; then
12151 echo "$as_me:$LINENO: result: $LD" >&5
12152 echo "${ECHO_T}$LD" >&6
12154 echo "$as_me:$LINENO: result: no" >&5
12155 echo "${ECHO_T}no" >&6
12157 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12158 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12159 { (exit 1); exit 1; }; }
12160 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12161 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12162 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12166 case `$LD -v 2>&1 </dev/null` in
12167 *GNU
* |
*'with BFD'*)
12168 lt_cv_prog_gnu_ld
=yes
12171 lt_cv_prog_gnu_ld
=no
12175 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12176 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12177 with_gnu_ld
=$lt_cv_prog_gnu_ld
12185 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12186 # archiving commands below assume that GNU ld is being used.
12187 if test "$with_gnu_ld" = yes; then
12188 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12189 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12191 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12192 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12194 # If archive_cmds runs LD, not CC, wlarc should be empty
12195 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12196 # investigate it a little bit more. (MM)
12199 # ancient GNU ld didn't support --whole-archive et. al.
12200 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12201 $GREP 'no-whole-archive' > /dev
/null
; then
12202 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12204 whole_archive_flag_spec_CXX
=
12210 # A generic and very simple default shared library creation
12211 # command for GNU C++ for the case where it uses the native
12212 # linker, instead of GNU ld. If possible, this setting should
12213 # overridden to take advantage of the native linker features on
12214 # the platform it is being used on.
12215 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12218 # Commands to make compiler produce verbose output that lists
12219 # what "hidden" libraries, object files and flags are used when
12220 # linking a shared library.
12221 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12229 # PORTME: fill in a description of your system's C++ link characteristics
12230 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12231 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12235 # FIXME: insert proper C++ library support
12239 if test "$host_cpu" = ia64
; then
12240 # On IA64, the linker does run time linking by default, so we don't
12241 # have to do anything special.
12242 aix_use_runtimelinking
=no
12243 exp_sym_flag
='-Bexport'
12246 aix_use_runtimelinking
=no
12248 # Test if we are trying to use run time linking or normal
12249 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12250 # need to do runtime linking.
12251 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12252 for ld_flag
in $LDFLAGS; do
12255 aix_use_runtimelinking
=yes
12263 exp_sym_flag
='-bexport'
12264 no_entry_flag
='-bnoentry'
12267 # When large executables or shared objects are built, AIX ld can
12268 # have problems creating the table of contents. If linking a library
12269 # or program results in "error TOC overflow" add -mminimal-toc to
12270 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12271 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12273 archive_cmds_CXX
=''
12274 hardcode_direct_CXX
=yes
12275 hardcode_direct_absolute_CXX
=yes
12276 hardcode_libdir_separator_CXX
=':'
12277 link_all_deplibs_CXX
=yes
12278 file_list_spec_CXX
='${wl}-f,'
12280 if test "$GXX" = yes; then
12281 case $host_os in aix4.
[012]|aix4.
[012].
*)
12282 # We only want to do this on AIX 4.2 and lower, the check
12283 # below for broken collect2 doesn't work under 4.3+
12284 collect2name
=`${CC} -print-prog-name=collect2`
12285 if test -f "$collect2name" &&
12286 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12288 # We have reworked collect2
12291 # We have old collect2
12292 hardcode_direct_CXX
=unsupported
12293 # It fails to find uninstalled libraries when the uninstalled
12294 # path is not listed in the libpath. Setting hardcode_minus_L
12295 # to unsupported forces relinking
12296 hardcode_minus_L_CXX
=yes
12297 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12298 hardcode_libdir_separator_CXX
=
12301 shared_flag
='-shared'
12302 if test "$aix_use_runtimelinking" = yes; then
12303 shared_flag
="$shared_flag "'${wl}-G'
12307 if test "$host_cpu" = ia64
; then
12308 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12309 # chokes on -Wl,-G. The following line is correct:
12312 if test "$aix_use_runtimelinking" = yes; then
12313 shared_flag
='${wl}-G'
12315 shared_flag
='${wl}-bM:SRE'
12320 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12321 # It seems that -bexpall does not export symbols beginning with
12322 # underscore (_), so it is better to generate a list of symbols to
12324 always_export_symbols_CXX
=yes
12325 if test "$aix_use_runtimelinking" = yes; then
12326 # Warning - without using the other runtime loading flags (-brtl),
12327 # -berok will link without error, but may produce a broken library.
12328 allow_undefined_flag_CXX
='-berok'
12329 # Determine the default libpath from the value encoded in an empty
12331 if test x
$gcc_no_link = xyes
; then
12332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12334 { (exit 1); exit 1; }; }
12336 cat >conftest.
$ac_ext <<_ACEOF
12339 cat confdefs.h
>>conftest.
$ac_ext
12340 cat >>conftest.
$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12351 rm -f conftest.
$ac_objext conftest
$ac_exeext
12352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12353 (eval $ac_link) 2>conftest.er1
12355 grep -v '^ *+' conftest.er1
>conftest.err
12357 cat conftest.err
>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try
='test -z "$ac_cxx_werror_flag"
12361 || test ! -s conftest.err'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; } &&
12367 { ac_try
='test -s conftest$ac_exeext'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; }; then
12374 lt_aix_libpath_sed
='
12375 /Import File Strings/,/^$/ {
12381 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12382 # Check for a 64-bit object if we didn't find anything.
12383 if test -z "$aix_libpath"; then
12384 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12391 rm -f conftest.err conftest.
$ac_objext \
12392 conftest
$ac_exeext conftest.
$ac_ext
12393 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12395 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12397 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12399 if test "$host_cpu" = ia64
; then
12400 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12401 allow_undefined_flag_CXX
="-z nodefs"
12402 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12404 # Determine the default libpath from the value encoded in an
12405 # empty executable.
12406 if test x
$gcc_no_link = xyes
; then
12407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12409 { (exit 1); exit 1; }; }
12411 cat >conftest.
$ac_ext <<_ACEOF
12414 cat confdefs.h
>>conftest.
$ac_ext
12415 cat >>conftest.
$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12426 rm -f conftest.
$ac_objext conftest
$ac_exeext
12427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12428 (eval $ac_link) 2>conftest.er1
12430 grep -v '^ *+' conftest.er1
>conftest.err
12432 cat conftest.err
>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } &&
12435 { ac_try
='test -z "$ac_cxx_werror_flag"
12436 || test ! -s conftest.err'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; } &&
12442 { ac_try
='test -s conftest$ac_exeext'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12449 lt_aix_libpath_sed
='
12450 /Import File Strings/,/^$/ {
12456 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457 # Check for a 64-bit object if we didn't find anything.
12458 if test -z "$aix_libpath"; then
12459 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12466 rm -f conftest.err conftest.
$ac_objext \
12467 conftest
$ac_exeext conftest.
$ac_ext
12468 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12470 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12471 # Warning - without using the other run time loading flags,
12472 # -berok will link without error, but may produce a broken library.
12473 no_undefined_flag_CXX
=' ${wl}-bernotok'
12474 allow_undefined_flag_CXX
=' ${wl}-berok'
12475 # Exported symbols can be pulled into shared objects from archives
12476 whole_archive_flag_spec_CXX
='$convenience'
12477 archive_cmds_need_lc_CXX
=yes
12478 # This is similar to how AIX traditionally builds its shared
12480 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12486 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12487 allow_undefined_flag_CXX
=unsupported
12488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12489 # support --undefined. This deserves some investigation. FIXME
12490 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12497 case $cc_basename in
12499 # FIXME: insert proper C++ library support
12505 cygwin
* | mingw
* | pw32
* | cegcc
*)
12506 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12507 # as there is no search path for DLLs.
12508 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12509 allow_undefined_flag_CXX
=unsupported
12510 always_export_symbols_CXX
=no
12511 enable_shared_with_static_runtimes_CXX
=yes
12513 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12514 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12515 # If the export-symbols file already is a .def file (1st line
12516 # is EXPORTS), use it as is; otherwise, prepend...
12517 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12518 cp $export_symbols $output_objdir/$soname.def;
12520 echo EXPORTS > $output_objdir/$soname.def;
12521 cat $export_symbols >> $output_objdir/$soname.def;
12523 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12528 darwin
* | rhapsody
*)
12531 archive_cmds_need_lc_CXX
=no
12532 hardcode_direct_CXX
=no
12533 hardcode_automatic_CXX
=yes
12534 hardcode_shlibpath_var_CXX
=unsupported
12535 whole_archive_flag_spec_CXX
=''
12536 link_all_deplibs_CXX
=yes
12537 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12538 case $cc_basename in
12539 ifort
*) _lt_dar_can_shared
=yes ;;
12540 *) _lt_dar_can_shared
=$GCC ;;
12542 if test "$_lt_dar_can_shared" = "yes"; then
12543 output_verbose_link_cmd
=echo
12544 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12545 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12546 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12547 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12548 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12549 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12550 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12560 case $cc_basename in
12562 # FIXME: insert proper C++ library support
12566 # Green Hills C++ Compiler
12567 # FIXME: insert proper C++ library support
12571 # FIXME: insert proper C++ library support
12578 # C++ shared libraries reported to be fairly broken before
12584 archive_cmds_need_lc_CXX
=no
12587 freebsd
* | dragonfly
*)
12588 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12597 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12598 hardcode_libdir_separator_CXX
=:
12599 export_dynamic_flag_spec_CXX
='${wl}-E'
12600 hardcode_direct_CXX
=yes
12601 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12602 # but as the default
12603 # location of the library.
12605 case $cc_basename in
12607 # FIXME: insert proper C++ library support
12611 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12616 # There doesn't appear to be a way to prevent this compiler from
12617 # explicitly linking system object files so we need to strip them
12618 # from the output so that they don't get included in the library
12620 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12623 if test "$GXX" = yes; then
12624 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12626 # FIXME: insert proper C++ library support
12634 if test $with_gnu_ld = no
; then
12635 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12636 hardcode_libdir_separator_CXX
=:
12642 export_dynamic_flag_spec_CXX
='${wl}-E'
12648 hardcode_direct_CXX
=no
12649 hardcode_shlibpath_var_CXX
=no
12652 hardcode_direct_CXX
=yes
12653 hardcode_direct_absolute_CXX
=yes
12654 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12655 # but as the default
12656 # location of the library.
12660 case $cc_basename in
12662 # FIXME: insert proper C++ library support
12668 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12674 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12685 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12688 if test "$GXX" = yes; then
12689 if test $with_gnu_ld = no
; then
12692 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12695 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12698 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12703 # FIXME: insert proper C++ library support
12711 hardcode_direct_CXX
=no
12712 hardcode_shlibpath_var_CXX
=no
12713 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX
='${wl}-E'
12715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12716 # Instead, shared libraries are loaded at an image base (0x10000000 by
12717 # default) and relocated if they conflict, which is a slow very memory
12718 # consuming and fragmenting process. To avoid this, we pick a random,
12719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12721 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12722 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12725 case $cc_basename in
12728 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12730 # Archives containing C++ object files must be created using
12731 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12732 # necessary to make sure instantiated templates are included
12734 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12737 if test "$GXX" = yes; then
12738 if test "$with_gnu_ld" = no
; then
12739 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12741 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12744 link_all_deplibs_CXX
=yes
12747 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12748 hardcode_libdir_separator_CXX
=:
12749 inherit_rpath_CXX
=yes
12752 linux
* | k
*bsd
*-gnu)
12753 case $cc_basename in
12755 # Kuck and Associates, Inc. (KAI) C++ Compiler
12757 # KCC will only create a shared library if the output file
12758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12759 # to its proper name (with version) after linking.
12760 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12761 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12770 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12775 # Archives containing C++ object files must be created using
12776 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12777 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12782 # version 8.0 and above of icpc choke on multiply defined symbols
12783 # if we add $predep_objects and $postdep_objects, however 7.1 and
12784 # earlier do not add the objects themselves.
12785 case `$CC -V 2>&1` in
12787 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12790 *) # Version 8.0 or newer
12793 ia64
*) tmp_idyn
=' -i_dynamic';;
12795 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12799 archive_cmds_need_lc_CXX
=no
12800 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12801 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12802 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12805 # Portland Group C++ compiler
12807 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
12808 prelink_cmds_CXX
='tpldir=Template.dir~
12810 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12811 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12812 old_archive_cmds_CXX
='tpldir=Template.dir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12815 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12817 archive_cmds_CXX
='tpldir=Template.dir~
12819 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12820 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12823 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12824 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12826 *) # Version 6 will use weak symbols
12827 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12828 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12832 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12834 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12838 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12841 runpath_var
=LD_RUN_PATH
12842 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12843 hardcode_libdir_separator_CXX
=:
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12853 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12856 # IBM XL 8.0 on PPC, with GNU ld
12857 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12858 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12859 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 if test "x$supports_anon_versioning" = xyes
; then
12861 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12863 echo "local: *; };" >> $output_objdir/$libname.ver~
12864 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12868 case `$CC -V 2>&1 | sed 5q` in
12871 no_undefined_flag_CXX
=' -zdefs'
12872 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12874 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12875 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12876 compiler_needs_object_CXX
=yes
12878 # Not sure whether something based on
12879 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12881 output_verbose_link_cmd
='echo'
12883 # Archives containing C++ object files must be created using
12884 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12887 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12895 # FIXME: insert proper C++ library support
12900 # FIXME: insert proper C++ library support
12905 case $cc_basename in
12907 # FIXME: insert proper C++ library support
12911 # FIXME: insert proper C++ library support
12918 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12919 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12921 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12922 hardcode_direct_CXX
=yes
12923 hardcode_shlibpath_var_CXX
=no
12925 # Workaround some broken pre-1.5 toolchains
12926 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12934 # C++ shared libraries are fairly broken
12939 if test -f /usr
/libexec
/ld.so
; then
12940 hardcode_direct_CXX
=yes
12941 hardcode_shlibpath_var_CXX
=no
12942 hardcode_direct_absolute_CXX
=yes
12943 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12944 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12946 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12947 export_dynamic_flag_spec_CXX
='${wl}-E'
12948 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12950 output_verbose_link_cmd
=echo
12956 osf3
* | osf4
* | osf5
*)
12957 case $cc_basename in
12959 # Kuck and Associates, Inc. (KAI) C++ Compiler
12961 # KCC will only create a shared library if the output file
12962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12963 # to its proper name (with version) after linking.
12964 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12966 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12967 hardcode_libdir_separator_CXX
=:
12969 # Archives containing C++ object files must be created using
12970 # the KAI C++ compiler.
12972 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12973 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12977 # Rational C++ 2.4.1
12978 # FIXME: insert proper C++ library support
12984 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12985 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12986 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12989 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12990 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12991 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12992 echo "-hidden">> $lib.exp~
12993 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12995 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12999 hardcode_libdir_separator_CXX
=:
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13009 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13012 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13013 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13016 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13019 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13023 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13024 hardcode_libdir_separator_CXX
=:
13026 # Commands to make compiler produce verbose output that lists
13027 # what "hidden" libraries, object files and flags are used when
13028 # linking a shared library.
13029 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13032 # FIXME: insert proper C++ library support
13040 # FIXME: insert proper C++ library support
13045 case $cc_basename in
13048 # FIXME: insert proper C++ library support
13053 # FIXME: insert proper C++ library support
13057 # FIXME: insert proper C++ library support
13064 case $cc_basename in
13066 # Sun C++ 4.2, 5.x and Centerline C++
13067 archive_cmds_need_lc_CXX
=yes
13068 no_undefined_flag_CXX
=' -zdefs'
13069 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13071 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13073 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13074 hardcode_shlibpath_var_CXX
=no
13076 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13078 # The compiler driver will combine and reorder linker options,
13079 # but understands `-z linker_flag'.
13080 # Supported since Solaris 2.6 (maybe 2.5.1?)
13081 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13084 link_all_deplibs_CXX
=yes
13086 output_verbose_link_cmd
='echo'
13088 # Archives containing C++ object files must be created using
13089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13090 # necessary to make sure instantiated templates are included
13092 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13095 # Green Hills C++ Compiler
13096 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13098 # The C++ compiler must be used to create the archive.
13099 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13102 # GNU C++ compiler with Solaris linker
13103 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13104 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13105 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13106 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13117 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13127 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13129 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13131 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13139 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13140 no_undefined_flag_CXX
='${wl}-z,text'
13141 archive_cmds_need_lc_CXX
=no
13142 hardcode_shlibpath_var_CXX
=no
13143 runpath_var
='LD_RUN_PATH'
13145 case $cc_basename in
13147 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13157 sysv5
* | sco3.2v5
* | sco5v6
*)
13158 # Note: We can NOT use -z defs as we might desire, because we do not
13159 # link with -lc, and that would cause any symbols used from libc to
13160 # always be unresolved, which means just about no library would
13161 # ever link correctly. If we're not using GNU ld we use -z text
13162 # though, which does catch some bad symbols but isn't as heavy-handed
13164 no_undefined_flag_CXX
='${wl}-z,text'
13165 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13166 archive_cmds_need_lc_CXX
=no
13167 hardcode_shlibpath_var_CXX
=no
13168 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13169 hardcode_libdir_separator_CXX
=':'
13170 link_all_deplibs_CXX
=yes
13171 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13172 runpath_var
='LD_RUN_PATH'
13174 case $cc_basename in
13176 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13181 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187 case $cc_basename in
13189 # NonStop-UX NCC 3.20
13190 # FIXME: insert proper C++ library support
13194 # FIXME: insert proper C++ library support
13201 # FIXME: insert proper C++ library support
13206 # FIXME: insert proper C++ library support
13211 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13212 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13213 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13219 ## There is no encapsulation within the following macros, do not change
13220 ## the running order or otherwise move them around unless you know exactly
13221 ## what you are doing...
13222 # Dependencies to place before and after the object being linked:
13223 predep_objects_CXX
=
13224 postdep_objects_CXX
=
13227 compiler_lib_search_path_CXX
=
13229 cat > conftest.
$ac_ext <<_LT_EOF
13233 Foo (void) { a = 0; }
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; then
13244 # Parse the compiler output and extract the necessary
13245 # objects, libraries and library flags.
13247 # Sentinel used to keep track of whether or not we are before
13248 # the conftest object file.
13249 pre_test_object_deps_done
=no
13251 for p
in `eval "$output_verbose_link_cmd"`; do
13255 # Some compilers place space between "-{L,R}" and the path.
13256 # Remove the space.
13257 if test $p = "-L" ||
13258 test $p = "-R"; then
13265 if test "$pre_test_object_deps_done" = no
; then
13268 # Internal compiler library paths should come after those
13269 # provided the user. The postdeps already come after the
13270 # user supplied libs so there is no need to process them.
13271 if test -z "$compiler_lib_search_path_CXX"; then
13272 compiler_lib_search_path_CXX
="${prev}${p}"
13274 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13277 # The "-l" case would never come before the object being
13278 # linked, so don't bother handling this case.
13281 if test -z "$postdeps_CXX"; then
13282 postdeps_CXX
="${prev}${p}"
13284 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13290 # This assumes that the test object file only shows up
13291 # once in the compiler output.
13292 if test "$p" = "conftest.$objext"; then
13293 pre_test_object_deps_done
=yes
13297 if test "$pre_test_object_deps_done" = no
; then
13298 if test -z "$predep_objects_CXX"; then
13299 predep_objects_CXX
="$p"
13301 predep_objects_CXX
="$predep_objects_CXX $p"
13304 if test -z "$postdep_objects_CXX"; then
13305 postdep_objects_CXX
="$p"
13307 postdep_objects_CXX
="$postdep_objects_CXX $p"
13312 *) ;; # Ignore the rest.
13320 echo "libtool.m4: error: problem compiling CXX test program"
13323 $RM -f confest.
$objext
13325 # PORTME: override above test on systems where it is broken
13328 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13329 # hack all around it, let's just trust "g++" to DTRT.
13330 predep_objects_CXX
=
13331 postdep_objects_CXX
=
13336 case `$CC -V 2>&1 | sed 5q` in
13340 # The more standards-conforming stlport4 library is
13341 # incompatible with the Cstd library. Avoid specifying
13342 # it if it's in CXXFLAGS. Ignore libCrun as
13343 # -library=stlport4 depends on it.
13344 case " $CXX $CXXFLAGS " in
13345 *" -library=stlport4 "*)
13346 solaris_use_stlport4
=yes
13350 if test "$solaris_use_stlport4" != yes; then
13351 postdeps_CXX
='-library=Cstd -library=Crun'
13358 case $cc_basename in
13360 # The more standards-conforming stlport4 library is
13361 # incompatible with the Cstd library. Avoid specifying
13362 # it if it's in CXXFLAGS. Ignore libCrun as
13363 # -library=stlport4 depends on it.
13364 case " $CXX $CXXFLAGS " in
13365 *" -library=stlport4 "*)
13366 solaris_use_stlport4
=yes
13370 # Adding this requires a known-good setup of shared libraries for
13371 # Sun compiler versions before 5.6, else PIC objects from an old
13372 # archive will be linked into the output, leading to subtle bugs.
13373 if test "$solaris_use_stlport4" != yes; then
13374 postdeps_CXX
='-library=Cstd -library=Crun'
13382 case " $postdeps_CXX " in
13383 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13385 compiler_lib_search_dirs_CXX
=
13386 if test -n "${compiler_lib_search_path_CXX}"; then
13387 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13420 lt_prog_compiler_wl_CXX
=
13421 lt_prog_compiler_pic_CXX
=
13422 lt_prog_compiler_static_CXX
=
13424 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13425 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13427 # C++ specific cases for pic, static, wl, etc.
13428 if test "$GXX" = yes; then
13429 lt_prog_compiler_wl_CXX
='-Wl,'
13430 lt_prog_compiler_static_CXX
='-static'
13434 # All AIX code is PIC.
13435 if test "$host_cpu" = ia64
; then
13436 # AIX 5 now supports IA64 processor
13437 lt_prog_compiler_static_CXX
='-Bstatic'
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX
='-fPIC'
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13451 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13456 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13457 # PIC is the default for these OSes.
13459 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13466 darwin
* | rhapsody
*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX
='-fno-common'
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX
=
13476 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13477 # Instead, we relocate shared libraries at runtime.
13480 if test -d /usr
/nec
; then
13481 lt_prog_compiler_pic_CXX
=-Kconform_pic
13485 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13486 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13487 # sets the default TLS model and affects inlining.
13492 lt_prog_compiler_pic_CXX
='-fPIC'
13497 # QNX uses GNU C++, but need to define -shared option too, otherwise
13498 # it will coredump.
13499 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13502 lt_prog_compiler_pic_CXX
='-fPIC'
13508 # All AIX code is PIC.
13509 if test "$host_cpu" = ia64
; then
13510 # AIX 5 now supports IA64 processor
13511 lt_prog_compiler_static_CXX
='-Bstatic'
13513 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13517 case $cc_basename in
13519 # Green Hills C++ Compiler
13520 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13525 case $cc_basename in
13527 lt_prog_compiler_pic_CXX
='-KPIC'
13530 # Green Hills C++ Compiler
13531 lt_prog_compiler_pic_CXX
='-pic'
13537 freebsd
* | dragonfly
*)
13538 # FreeBSD uses GNU C++
13540 hpux9
* | hpux10
* | hpux11
*)
13541 case $cc_basename in
13543 lt_prog_compiler_wl_CXX
='-Wl,'
13544 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13545 if test "$host_cpu" != ia64
; then
13546 lt_prog_compiler_pic_CXX
='+Z'
13550 lt_prog_compiler_wl_CXX
='-Wl,'
13551 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13557 lt_prog_compiler_pic_CXX
='+Z'
13566 # This is c89, which is MS Visual C++ (no shared libs)
13567 # Anyone wants to do a port?
13569 irix5
* | irix6
* | nonstopux
*)
13570 case $cc_basename in
13572 lt_prog_compiler_wl_CXX
='-Wl,'
13573 lt_prog_compiler_static_CXX
='-non_shared'
13574 # CC pic flag -KPIC is the default.
13580 linux
* | k
*bsd
*-gnu)
13581 case $cc_basename in
13584 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13585 lt_prog_compiler_pic_CXX
='-fPIC'
13588 # old Intel C++ for x86_64 which still supported -KPIC.
13589 lt_prog_compiler_wl_CXX
='-Wl,'
13590 lt_prog_compiler_pic_CXX
='-KPIC'
13591 lt_prog_compiler_static_CXX
='-static'
13594 # Intel C++, used to be incompatible with GCC.
13595 # ICC 10 doesn't accept -KPIC any more.
13596 lt_prog_compiler_wl_CXX
='-Wl,'
13597 lt_prog_compiler_pic_CXX
='-fPIC'
13598 lt_prog_compiler_static_CXX
='-static'
13601 # Portland Group C++ compiler
13602 lt_prog_compiler_wl_CXX
='-Wl,'
13603 lt_prog_compiler_pic_CXX
='-fpic'
13604 lt_prog_compiler_static_CXX
='-Bstatic'
13608 # Make sure the PIC flag is empty. It appears that all Alpha
13609 # Linux and Compaq Tru64 Unix objects are PIC.
13610 lt_prog_compiler_pic_CXX
=
13611 lt_prog_compiler_static_CXX
='-non_shared'
13614 # IBM XL 8.0 on PPC
13615 lt_prog_compiler_wl_CXX
='-Wl,'
13616 lt_prog_compiler_pic_CXX
='-qpic'
13617 lt_prog_compiler_static_CXX
='-qstaticlink'
13620 case `$CC -V 2>&1 | sed 5q` in
13623 lt_prog_compiler_pic_CXX
='-KPIC'
13624 lt_prog_compiler_static_CXX
='-Bstatic'
13625 lt_prog_compiler_wl_CXX
='-Qoption ld '
13636 case $cc_basename in
13638 lt_prog_compiler_pic_CXX
='-W c,exportall'
13647 # QNX uses GNU C++, but need to define -shared option too, otherwise
13648 # it will coredump.
13649 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13651 osf3
* | osf4
* | osf5
*)
13652 case $cc_basename in
13654 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13657 # Rational C++ 2.4.1
13658 lt_prog_compiler_pic_CXX
='-pic'
13661 # Digital/Compaq C++
13662 lt_prog_compiler_wl_CXX
='-Wl,'
13663 # Make sure the PIC flag is empty. It appears that all Alpha
13664 # Linux and Compaq Tru64 Unix objects are PIC.
13665 lt_prog_compiler_pic_CXX
=
13666 lt_prog_compiler_static_CXX
='-non_shared'
13675 case $cc_basename in
13677 # Sun C++ 4.2, 5.x and Centerline C++
13678 lt_prog_compiler_pic_CXX
='-KPIC'
13679 lt_prog_compiler_static_CXX
='-Bstatic'
13680 lt_prog_compiler_wl_CXX
='-Qoption ld '
13683 # Green Hills C++ Compiler
13684 lt_prog_compiler_pic_CXX
='-PIC'
13691 case $cc_basename in
13694 lt_prog_compiler_pic_CXX
='-pic'
13695 lt_prog_compiler_static_CXX
='-Bstatic'
13699 lt_prog_compiler_pic_CXX
='-pic'
13705 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13706 case $cc_basename in
13708 lt_prog_compiler_wl_CXX
='-Wl,'
13709 lt_prog_compiler_pic_CXX
='-KPIC'
13710 lt_prog_compiler_static_CXX
='-Bstatic'
13715 case $cc_basename in
13717 # NonStop-UX NCC 3.20
13718 lt_prog_compiler_pic_CXX
='-KPIC'
13727 lt_prog_compiler_can_build_shared_CXX
=no
13733 # For platforms which do not support PIC, -DPIC is meaningless:
13735 lt_prog_compiler_pic_CXX
=
13738 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13741 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13742 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13747 # Check to make sure the PIC flag actually works.
13749 if test -n "$lt_prog_compiler_pic_CXX"; then
13750 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13751 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13752 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13755 lt_cv_prog_compiler_pic_works_CXX
=no
13756 ac_outfile
=conftest.
$ac_objext
13757 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13758 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13759 # Insert the option either (1) after the last *FLAGS variable, or
13760 # (2) before a word containing "conftest.", or (3) at the end.
13761 # Note that $ac_compile itself does not contain backslashes and begins
13762 # with a dollar sign (not a hyphen), so the echo should work correctly.
13763 # The option is referenced via a variable to avoid confusing sed.
13764 lt_compile
=`echo "$ac_compile" | $SED \
13765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13767 -e 's:$: $lt_compiler_flag:'`
13768 (eval echo "\"\$as_me:13768: $lt_compile\"" >&5)
13769 (eval "$lt_compile" 2>conftest.err
)
13771 cat conftest.err
>&5
13772 echo "$as_me:13772: \$? = $ac_status" >&5
13773 if (exit $ac_status) && test -s "$ac_outfile"; then
13774 # The compiler can only warn and ignore the option if not recognized
13775 # So say no if there are warnings other than the usual output.
13776 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13777 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13778 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13779 lt_cv_prog_compiler_pic_works_CXX
=yes
13785 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13786 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13788 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13789 case $lt_prog_compiler_pic_CXX in
13791 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13794 lt_prog_compiler_pic_CXX
=
13795 lt_prog_compiler_can_build_shared_CXX
=no
13803 # Check to make sure the static flag actually works.
13805 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13806 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13807 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13808 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 lt_cv_prog_compiler_static_works_CXX
=no
13812 save_LDFLAGS
="$LDFLAGS"
13813 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13814 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13815 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13816 # The linker can only warn and ignore the option if not recognized
13817 # So say no if there are warnings
13818 if test -s conftest.err
; then
13819 # Append any errors to the config.log.
13820 cat conftest.err
1>&5
13821 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13822 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13823 if diff conftest.exp conftest.er2
>/dev
/null
; then
13824 lt_cv_prog_compiler_static_works_CXX
=yes
13827 lt_cv_prog_compiler_static_works_CXX
=yes
13831 LDFLAGS
="$save_LDFLAGS"
13834 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13835 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13837 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13840 lt_prog_compiler_static_CXX
=
13846 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13847 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13848 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 lt_cv_prog_compiler_c_o_CXX
=no
13852 $RM -r conftest
2>/dev
/null
13856 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13858 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13859 # Insert the option either (1) after the last *FLAGS variable, or
13860 # (2) before a word containing "conftest.", or (3) at the end.
13861 # Note that $ac_compile itself does not contain backslashes and begins
13862 # with a dollar sign (not a hyphen), so the echo should work correctly.
13863 lt_compile
=`echo "$ac_compile" | $SED \
13864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13866 -e 's:$: $lt_compiler_flag:'`
13867 (eval echo "\"\$as_me:13867: $lt_compile\"" >&5)
13868 (eval "$lt_compile" 2>out
/conftest.err
)
13870 cat out
/conftest.err
>&5
13871 echo "$as_me:13871: \$? = $ac_status" >&5
13872 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13874 # The compiler can only warn and ignore the option if not recognized
13875 # So say no if there are warnings
13876 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13877 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13878 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13879 lt_cv_prog_compiler_c_o_CXX
=yes
13884 # SGI C++ compiler will create directory out/ii_files/ for
13885 # template instantiation
13886 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13887 $RM out
/* && rmdir out
13893 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13894 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13898 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13899 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13900 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 lt_cv_prog_compiler_c_o_CXX
=no
13904 $RM -r conftest
2>/dev
/null
13908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13910 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13911 # Insert the option either (1) after the last *FLAGS variable, or
13912 # (2) before a word containing "conftest.", or (3) at the end.
13913 # Note that $ac_compile itself does not contain backslashes and begins
13914 # with a dollar sign (not a hyphen), so the echo should work correctly.
13915 lt_compile
=`echo "$ac_compile" | $SED \
13916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13918 -e 's:$: $lt_compiler_flag:'`
13919 (eval echo "\"\$as_me:13919: $lt_compile\"" >&5)
13920 (eval "$lt_compile" 2>out
/conftest.err
)
13922 cat out
/conftest.err
>&5
13923 echo "$as_me:13923: \$? = $ac_status" >&5
13924 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13926 # The compiler can only warn and ignore the option if not recognized
13927 # So say no if there are warnings
13928 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13929 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13930 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13931 lt_cv_prog_compiler_c_o_CXX
=yes
13936 # SGI C++ compiler will create directory out/ii_files/ for
13937 # template instantiation
13938 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13939 $RM out
/* && rmdir out
13945 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13946 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13951 hard_links
="nottested"
13952 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13953 # do not overwrite the value of need_locks provided by the user
13954 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13955 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13958 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13960 ln conftest.a conftest.b
2>&5 || hard_links
=no
13961 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13962 echo "$as_me:$LINENO: result: $hard_links" >&5
13963 echo "${ECHO_T}$hard_links" >&6
13964 if test "$hard_links" = no
; then
13965 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13966 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13975 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13976 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13978 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13981 # If we're using GNU nm, then we don't want the "-C" option.
13982 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13983 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13984 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13986 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13990 export_symbols_cmds_CXX
="$ltdll_cmds"
13992 cygwin
* | mingw
* | cegcc
*)
13993 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13996 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13999 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14001 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14002 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14003 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14005 with_gnu_ld_CXX
=$with_gnu_ld
14013 # Do we need to explicitly link libc?
14015 case "x$archive_cmds_need_lc_CXX" in
14017 # Assume -lc should be added
14018 archive_cmds_need_lc_CXX
=yes
14020 if test "$enable_shared" = yes && test "$GCC" = yes; then
14021 case $archive_cmds_CXX in
14023 # FIXME: we may have to deal with multi-command sequences.
14026 # Test whether the compiler implicitly links with -lc since on some
14027 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14028 # to ld, don't add -lc before -lgcc.
14029 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14030 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14031 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038 (eval $ac_compile) 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } 2>conftest.err
; then
14044 libobjs
=conftest.
$ac_objext
14046 wl
=$lt_prog_compiler_wl_CXX
14047 pic_flag
=$lt_prog_compiler_pic_CXX
14053 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14054 allow_undefined_flag_CXX
=
14055 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14056 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }
14061 lt_cv_archive_cmds_need_lc_CXX
=no
14063 lt_cv_archive_cmds_need_lc_CXX
=yes
14065 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14067 cat conftest.err
1>&5
14072 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14073 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
14074 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14144 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14145 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14147 library_names_spec
=
14148 libname_spec
='lib$name'
14152 postuninstall_cmds
=
14156 shlibpath_overrides_runpath
=unknown
14158 dynamic_linker
="$host_os ld.so"
14159 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14160 need_lib_prefix
=unknown
14161 hardcode_into_libs
=no
14163 # when you set need_version to no, make sure it does not cause -set_version
14164 # flags to be left without arguments
14165 need_version
=unknown
14170 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14171 shlibpath_var
=LIBPATH
14173 # AIX 3 has no versioning support, so we append a major version to the name.
14174 soname_spec
='${libname}${release}${shared_ext}$major'
14181 hardcode_into_libs
=yes
14182 if test "$host_cpu" = ia64
; then
14183 # AIX 5 supports IA64
14184 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14185 shlibpath_var
=LD_LIBRARY_PATH
14187 # With GCC up to 2.95.x, collect2 would create an import file
14188 # for dependence libraries. The import file would start with
14189 # the line `#! .'. This would cause the generated library to
14190 # depend on `.', always an invalid library. This was fixed in
14191 # development snapshots of GCC prior to 3.0.
14193 aix4 | aix4.
[01] | aix4.
[01].
*)
14194 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14196 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14199 can_build_shared
=no
14203 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14204 # soname into executable. Probably we can add versioning support to
14205 # collect2, so additional links can be useful in future.
14206 if test "$aix_use_runtimelinking" = yes; then
14207 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14208 # instead of lib<name>.a to let people know that these are not
14209 # typical AIX shared libraries.
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 # We preserve .a as extension for shared libraries through AIX4.2
14213 # and later when we are not doing run time linking.
14214 library_names_spec
='${libname}${release}.a $libname.a'
14215 soname_spec
='${libname}${release}${shared_ext}$major'
14217 shlibpath_var
=LIBPATH
14224 # Since July 2007 AmigaOS4 officially supports .so libraries.
14225 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 library_names_spec
='$libname.ixlibrary $libname.a'
14230 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14231 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14237 library_names_spec
='${libname}${shared_ext}'
14238 dynamic_linker
="$host_os ld.so"
14239 shlibpath_var
=LIBRARY_PATH
14245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 soname_spec
='${libname}${release}${shared_ext}$major'
14247 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14248 shlibpath_var
=LD_LIBRARY_PATH
14249 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14250 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14251 # the default ld.so.conf also contains /usr/contrib/lib and
14252 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14253 # libtool to hard-code these into programs
14256 cygwin
* | mingw
* | pw32
* | cegcc
*)
14257 version_type
=windows
14262 case $GCC,$host_os in
14263 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14264 library_names_spec
='$libname.dll.a'
14265 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14266 postinstall_cmds
='base_file=`basename \${file}`~
14267 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14268 dldir=$destdir/`dirname \$dlpath`~
14269 test -d \$dldir || mkdir -p \$dldir~
14270 $install_prog $dir/$dlname \$dldir/$dlname~
14271 chmod a+x \$dldir/$dlname~
14272 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14273 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14275 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14276 dlpath=$dir/\$dldll~
14278 shlibpath_overrides_runpath
=yes
14282 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14283 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14287 # MinGW DLLs use traditional 'lib' prefix
14288 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14289 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14290 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14291 # It is most probably a Windows format PATH printed by
14292 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14293 # path with ; separators, and with drive letters. We can handle the
14294 # drive letters (cygwin fileutils understands them), so leave them,
14295 # especially as we might pass files found there to a mingw objdump,
14296 # which wouldn't understand a cygwinified path. Ahh.
14297 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14299 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14303 # pw32 DLLs use 'pw' prefix rather than 'lib'
14304 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14310 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14313 dynamic_linker
='Win32 ld.exe'
14314 # FIXME: first we should search . and the directory the executable is in
14318 darwin
* | rhapsody
*)
14319 dynamic_linker
="$host_os dyld"
14320 version_type
=darwin
14323 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14324 soname_spec
='${libname}${release}${major}$shared_ext'
14325 shlibpath_overrides_runpath
=yes
14326 shlibpath_var
=DYLD_LIBRARY_PATH
14327 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14329 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14337 soname_spec
='${libname}${release}${shared_ext}$major'
14338 shlibpath_var
=LD_LIBRARY_PATH
14345 freebsd
* | dragonfly
*)
14346 # DragonFly does not have aout. When/if they implement a new
14347 # versioning mechanism, adjust this.
14348 if test -x /usr
/bin
/objformat
; then
14349 objformat
=`/usr/bin/objformat`
14352 freebsd
[123]*) objformat
=aout
;;
14353 *) objformat
=elf
;;
14356 version_type
=freebsd-
$objformat
14357 case $version_type in
14359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14364 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14368 shlibpath_var
=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath
=yes
14373 freebsd3.
[01]* | freebsdelf3.
[01]*)
14374 shlibpath_overrides_runpath
=yes
14375 hardcode_into_libs
=yes
14377 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14378 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14379 shlibpath_overrides_runpath
=no
14380 hardcode_into_libs
=yes
14382 *) # from 4.6 on, and DragonFly
14383 shlibpath_overrides_runpath
=yes
14384 hardcode_into_libs
=yes
14393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14394 soname_spec
='${libname}${release}${shared_ext}$major'
14395 shlibpath_var
=LD_LIBRARY_PATH
14396 hardcode_into_libs
=yes
14399 hpux9
* | hpux10
* | hpux11
*)
14400 # Give a soname corresponding to the major version so that dld.sl refuses to
14401 # link against other versions.
14408 hardcode_into_libs
=yes
14409 dynamic_linker
="$host_os dld.so"
14410 shlibpath_var
=LD_LIBRARY_PATH
14411 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14413 soname_spec
='${libname}${release}${shared_ext}$major'
14414 if test "X$HPUX_IA64_MODE" = X32
; then
14415 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14417 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14419 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14423 hardcode_into_libs
=yes
14424 dynamic_linker
="$host_os dld.sl"
14425 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14426 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 soname_spec
='${libname}${release}${shared_ext}$major'
14429 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14430 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14434 dynamic_linker
="$host_os dld.sl"
14435 shlibpath_var
=SHLIB_PATH
14436 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14438 soname_spec
='${libname}${release}${shared_ext}$major'
14441 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14442 postinstall_cmds
='chmod 555 $lib'
14449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14450 soname_spec
='${libname}${release}${shared_ext}$major'
14451 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14452 shlibpath_var
=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath
=no
14454 hardcode_into_libs
=yes
14457 irix5
* | irix6
* | nonstopux
*)
14459 nonstopux
*) version_type
=nonstopux
;;
14461 if test "$lt_cv_prog_gnu_ld" = yes; then
14469 soname_spec
='${libname}${release}${shared_ext}$major'
14470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14472 irix5
* | nonstopux
*)
14473 libsuff
= shlibsuff
=
14476 case $LD in # libtool.m4 will add one of these switches to LD
14477 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14478 libsuff
= shlibsuff
= libmagic
=32-bit;;
14479 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14480 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14481 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14482 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14483 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14487 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14488 shlibpath_overrides_runpath
=no
14489 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14490 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14491 hardcode_into_libs
=yes
14494 # No shared lib support for Linux oldld, aout, or coff.
14495 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14499 # This must be Linux ELF.
14500 linux
* | k
*bsd
*-gnu)
14504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505 soname_spec
='${libname}${release}${shared_ext}$major'
14506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14507 shlibpath_var
=LD_LIBRARY_PATH
14508 shlibpath_overrides_runpath
=no
14510 # Some binutils ld are patched to set DT_RUNPATH
14511 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14512 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 lt_cv_shlibpath_overrides_runpath
=no
14515 save_LDFLAGS
=$LDFLAGS
14516 save_libdir
=$libdir
14517 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14518 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14519 if test x
$gcc_no_link = xyes
; then
14520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14522 { (exit 1); exit 1; }; }
14524 cat >conftest.
$ac_ext <<_ACEOF
14527 cat confdefs.h
>>conftest.
$ac_ext
14528 cat >>conftest.
$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14539 rm -f conftest.
$ac_objext conftest
$ac_exeext
14540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14541 (eval $ac_link) 2>conftest.er1
14543 grep -v '^ *+' conftest.er1
>conftest.err
14545 cat conftest.err
>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } &&
14548 { ac_try
='test -z "$ac_cxx_werror_flag"
14549 || test ! -s conftest.err'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; } &&
14555 { ac_try
='test -s conftest$ac_exeext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
14562 lt_cv_shlibpath_overrides_runpath
=yes
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.
$ac_ext >&5
14570 rm -f conftest.err conftest.
$ac_objext \
14571 conftest
$ac_exeext conftest.
$ac_ext
14572 LDFLAGS
=$save_LDFLAGS
14573 libdir
=$save_libdir
14577 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14579 # This implies no fast_install, which is unacceptable.
14580 # Some rework will be needed to allow for fast_install
14581 # before this can be enabled.
14582 hardcode_into_libs
=yes
14584 # Append ld.so.conf contents to the search path
14585 if test -f /etc
/ld.so.conf
; then
14586 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14587 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14590 # We used to test for /lib/ld.so.1 and disable shared libraries on
14591 # powerpc, because MkLinux only supported shared libraries with the
14592 # GNU dynamic linker. Since this was broken with cross compilers,
14593 # most powerpc-linux boxes support dynamic linking these days and
14594 # people can always --disable-shared, the test was removed, and we
14595 # assume the GNU/Linux dynamic linker is in use.
14596 dynamic_linker
='GNU/Linux ld.so'
14603 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14605 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14606 dynamic_linker
='NetBSD (a.out) ld.so'
14608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14609 soname_spec
='${libname}${release}${shared_ext}$major'
14610 dynamic_linker
='NetBSD ld.elf_so'
14612 shlibpath_var
=LD_LIBRARY_PATH
14613 shlibpath_overrides_runpath
=yes
14614 hardcode_into_libs
=yes
14619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14620 shlibpath_var
=LD_LIBRARY_PATH
14621 shlibpath_overrides_runpath
=yes
14628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14629 soname_spec
='${libname}${release}${shared_ext}$major'
14630 shlibpath_var
=LD_LIBRARY_PATH
14631 shlibpath_overrides_runpath
=no
14632 hardcode_into_libs
=yes
14633 dynamic_linker
='ldqnx.so'
14638 sys_lib_dlsearch_path_spec
="/usr/lib"
14640 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14642 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14643 *) need_version
=no
;;
14645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14647 shlibpath_var
=LD_LIBRARY_PATH
14648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14650 openbsd2.
[89] | openbsd2.
[89].
*)
14651 shlibpath_overrides_runpath
=no
14654 shlibpath_overrides_runpath
=yes
14658 shlibpath_overrides_runpath
=yes
14663 libname_spec
='$name'
14666 library_names_spec
='$libname${shared_ext} $libname.a'
14667 dynamic_linker
='OS/2 ld.exe'
14668 shlibpath_var
=LIBPATH
14671 osf3
* | osf4
* | osf5
*)
14675 soname_spec
='${libname}${release}${shared_ext}$major'
14676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14677 shlibpath_var
=LD_LIBRARY_PATH
14678 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14679 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14691 soname_spec
='${libname}${release}${shared_ext}$major'
14692 shlibpath_var
=LD_LIBRARY_PATH
14693 shlibpath_overrides_runpath
=yes
14694 hardcode_into_libs
=yes
14695 # ldd complains unless libraries are executable
14696 postinstall_cmds
='chmod +x $lib'
14701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14702 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14703 shlibpath_var
=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath
=yes
14705 if test "$with_gnu_ld" = yes; then
14713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec
='${libname}${release}${shared_ext}$major'
14715 shlibpath_var
=LD_LIBRARY_PATH
14716 case $host_vendor in
14718 shlibpath_overrides_runpath
=no
14720 runpath_var
=LD_RUN_PATH
14728 shlibpath_overrides_runpath
=no
14729 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14735 if test -d /usr
/nec
;then
14737 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14738 soname_spec
='$libname${shared_ext}.$major'
14739 shlibpath_var
=LD_LIBRARY_PATH
14743 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14744 version_type
=freebsd-elf
14747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14748 soname_spec
='${libname}${release}${shared_ext}$major'
14749 shlibpath_var
=LD_LIBRARY_PATH
14750 shlibpath_overrides_runpath
=yes
14751 hardcode_into_libs
=yes
14752 if test "$with_gnu_ld" = yes; then
14753 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14755 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14758 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14762 sys_lib_dlsearch_path_spec
='/usr/lib'
14766 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14771 shlibpath_var
=LD_LIBRARY_PATH
14772 shlibpath_overrides_runpath
=no
14773 hardcode_into_libs
=yes
14778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779 soname_spec
='${libname}${release}${shared_ext}$major'
14780 shlibpath_var
=LD_LIBRARY_PATH
14787 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14788 echo "${ECHO_T}$dynamic_linker" >&6
14789 test "$dynamic_linker" = no
&& can_build_shared
=no
14791 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14792 if test "$GCC" = yes; then
14793 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14796 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14797 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14799 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14800 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14838 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14839 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14840 hardcode_action_CXX
=
14841 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14842 test -n "$runpath_var_CXX" ||
14843 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14845 # We can hardcode non-existent directories.
14846 if test "$hardcode_direct_CXX" != no
&&
14847 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14848 # have to relink, otherwise we might link with an installed library
14849 # when we should be linking with a yet-to-be-installed one
14850 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14851 test "$hardcode_minus_L_CXX" != no
; then
14852 # Linking always hardcodes the temporary library directory.
14853 hardcode_action_CXX
=relink
14855 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14856 hardcode_action_CXX
=immediate
14859 # We cannot hardcode anything, or else we can only hardcode existing
14861 hardcode_action_CXX
=unsupported
14863 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14864 echo "${ECHO_T}$hardcode_action_CXX" >&6
14866 if test "$hardcode_action_CXX" = relink ||
14867 test "$inherit_rpath_CXX" = yes; then
14868 # Fast installation is not supported
14869 enable_fast_install
=no
14870 elif test "$shlibpath_overrides_runpath" = yes ||
14871 test "$enable_shared" = no
; then
14872 # Fast installation is not necessary
14873 enable_fast_install
=needless
14882 fi # test -n "$compiler"
14888 with_gnu_ld
=$lt_save_with_gnu_ld
14889 lt_cv_path_LDCXX
=$lt_cv_path_LD
14890 lt_cv_path_LD
=$lt_save_path_LD
14891 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14892 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14893 fi # test "$_lt_caught_CXX_error" != yes
14896 ac_cpp
='$CPP $CPPFLAGS'
14897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14913 ac_config_commands
="$ac_config_commands libtool"
14918 # Only expand once:
14923 # Check whether --with-target-subdir or --without-target-subdir was given.
14924 if test "${with_target_subdir+set}" = set; then
14925 withval
="$with_target_subdir"
14929 # Check whether --with-cross-host or --without-cross-host was given.
14930 if test "${with_cross_host+set}" = set; then
14931 withval
="$with_cross_host"
14935 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14936 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14937 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14938 if test -z "$THREADS"; then
14941 echo "$as_me:$LINENO: result: $THREADS" >&5
14942 echo "${ECHO_T}$THREADS" >&6
14944 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
14945 if test "${enable_parallel_mark+set}" = set; then
14946 enableval
="$enable_parallel_mark"
14948 no | none | single
)
14949 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
14950 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
14951 { (exit 1); exit 1; }; }
14957 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
14960 no | none | single
)
14963 posix | posix95 | pthreads
)
14965 THREADLIBS
=-lpthread
14967 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
14969 cat >>confdefs.h
<<\_ACEOF
14970 #define GC_LINUX_THREADS 1
14974 cat >>confdefs.h
<<\_ACEOF
14975 #define _REENTRANT 1
14978 if test "${enable_parallel_mark}" = yes; then
14980 cat >>confdefs.h
<<\_ACEOF
14981 #define PARALLEL_MARK 1
14986 cat >>confdefs.h
<<\_ACEOF
14987 #define THREAD_LOCAL_ALLOC 1
14992 cat >>confdefs.h
<<\_ACEOF
14993 #define GC_LINUX_THREADS 1
14996 cat >>confdefs.h
<<\_ACEOF
14997 #define _REENTRANT 1
15003 cat >>confdefs.h
<<\_ACEOF
15004 #define GC_AIX_THREADS 1
15007 cat >>confdefs.h
<<\_ACEOF
15008 #define _REENTRANT 1
15013 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
15014 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
15016 cat >>confdefs.h
<<\_ACEOF
15017 #define GC_HPUX_THREADS 1
15021 cat >>confdefs.h
<<\_ACEOF
15022 #define _POSIX_C_SOURCE 199506L
15025 if test "${enable_parallel_mark}" = yes; then
15026 cat >>confdefs.h
<<\_ACEOF
15027 #define PARALLEL_MARK 1
15031 cat >>confdefs.h
<<\_ACEOF
15032 #define THREAD_LOCAL_ALLOC 1
15035 THREADLIBS
="-lpthread -lrt"
15036 # HPUX needs REENTRANT for the _r calls.
15038 cat >>confdefs.h
<<\_ACEOF
15039 #define _REENTRANT 1
15044 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
15045 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
15048 cat >>confdefs.h
<<\_ACEOF
15049 #define GC_FREEBSD_THREADS 1
15052 INCLUDES
="$INCLUDES -pthread"
15053 THREADDLLIBS
=-pthread
15054 cat >>confdefs.h
<<\_ACEOF
15055 #define _REENTRANT 1
15058 if test "${enable_parallel_mark}" = yes; then
15059 cat >>confdefs.h
<<\_ACEOF
15060 #define PARALLEL_MARK 1
15064 cat >>confdefs.h
<<\_ACEOF
15065 #define THREAD_LOCAL_ALLOC 1
15069 cat >>confdefs.h
<<\_ACEOF
15070 #define USE_COMPILER_TLS 1
15075 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
15076 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
15078 cat >>confdefs.h
<<\_ACEOF
15079 #define GC_FREEBSD_THREADS 1
15082 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
15083 THREADLIBS
=-pthread
15087 cat >>confdefs.h
<<\_ACEOF
15088 #define GC_SOLARIS_PTHREADS 1
15091 # Need to use alternate thread library, otherwise gctest hangs
15093 multi_os_directory
=`$CC -print-multi-os-directory`
15094 THREADLIBS
="-L/usr/lib/lwp/$multi_os_directory \
15095 -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt"
15099 cat >>confdefs.h
<<\_ACEOF
15100 #define GC_IRIX_THREADS 1
15106 cat >>confdefs.h
<<\_ACEOF
15107 #define GC_WIN32_THREADS 1
15113 cat >>confdefs.h
<<\_ACEOF
15114 #define GC_DARWIN_THREADS 1
15117 cat >>confdefs.h
<<\_ACEOF
15118 #define THREAD_LOCAL_ALLOC 1
15121 if test "${enable_parallel_mark}" = yes; then
15122 cat >>confdefs.h
<<\_ACEOF
15123 #define PARALLEL_MARK 1
15130 cat >>confdefs.h
<<\_ACEOF
15131 #define GC_OSF1_THREADS 1
15134 if test "${enable_parallel_mark}" = yes; then
15135 cat >>confdefs.h
<<\_ACEOF
15136 #define PARALLEL_MARK 1
15139 cat >>confdefs.h
<<\_ACEOF
15140 #define THREAD_LOCAL_ALLOC 1
15143 # May want to enable it in other cases, too.
15144 # Measurements havent yet been done.
15146 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
15147 THREADLIBS
="-lpthread -lrt"
15152 cat >>confdefs.h
<<\_ACEOF
15153 #define GC_WIN32_THREADS 1
15159 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
15160 echo "${ECHO_T}$THREADLIBS" >&6
15161 # Use pthread GCC switch
15162 THREADLIBS
=-pthread
15163 if test "${enable_parallel_mark}" = yes; then
15164 cat >>confdefs.h
<<\_ACEOF
15165 #define PARALLEL_MARK 1
15169 cat >>confdefs.h
<<\_ACEOF
15170 #define THREAD_LOCAL_ALLOC 1
15174 cat >>confdefs.h
<<\_ACEOF
15175 #define GC_DGUX386_THREADS 1
15179 cat >>confdefs.h
<<\_ACEOF
15180 #define DGUX_THREADS 1
15183 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
15184 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
15188 THREADLIBS
=-lpthread
15189 cat >>confdefs.h
<<\_ACEOF
15190 #define GC_AIX_THREADS 1
15193 cat >>confdefs.h
<<\_ACEOF
15194 #define _REENTRANT 1
15198 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
15199 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
15200 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
15201 { (exit 1); exit 1; }; }
15204 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
15205 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
15206 { (exit 1); exit 1; }; }
15213 powerpc_darwin
=true
15218 if test x
$powerpc_darwin = xtrue
; then
15219 POWERPC_DARWIN_TRUE
=
15220 POWERPC_DARWIN_FALSE
='#'
15222 POWERPC_DARWIN_TRUE
='#'
15223 POWERPC_DARWIN_FALSE
=
15227 # Darwin needs a few extra special tests to deal with variation in the
15230 powerpc
*-*-darwin*)
15231 echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
15232 echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6
15233 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 cat >conftest.
$ac_ext <<_ACEOF
15239 cat confdefs.h
>>conftest.
$ac_ext
15240 cat >>conftest.
$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242 #include <mach/thread_status.h>
15247 static ppc_thread_state_t ac_aggr;
15254 rm -f conftest.
$ac_objext
15255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15256 (eval $ac_compile) 2>conftest.er1
15258 grep -v '^ *+' conftest.er1
>conftest.err
15260 cat conftest.err
>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } &&
15263 { ac_try
='test -z "$ac_c_werror_flag"
15264 || test ! -s conftest.err'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; } &&
15270 { ac_try
='test -s conftest.$ac_objext'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; }; then
15276 ac_cv_member_ppc_thread_state_t_r0
=yes
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.
$ac_ext >&5
15281 cat >conftest.
$ac_ext <<_ACEOF
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 #include <mach/thread_status.h>
15292 static ppc_thread_state_t ac_aggr;
15293 if (sizeof ac_aggr.r0)
15299 rm -f conftest.
$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15303 grep -v '^ *+' conftest.er1
>conftest.err
15305 cat conftest.err
>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try
='test -z "$ac_c_werror_flag"
15309 || test ! -s conftest.err'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; } &&
15315 { ac_try
='test -s conftest.$ac_objext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_member_ppc_thread_state_t_r0
=yes
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.
$ac_ext >&5
15326 ac_cv_member_ppc_thread_state_t_r0
=no
15328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15332 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
15333 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6
15334 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
15336 cat >>confdefs.h
<<\_ACEOF
15337 #define HAS_PPC_THREAD_STATE_R0 1
15342 echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
15343 echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6
15344 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 cat >conftest.
$ac_ext <<_ACEOF
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 #include <mach/thread_status.h>
15358 static ppc_thread_state_t ac_aggr;
15365 rm -f conftest.
$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag"
15375 || test ! -s conftest.err'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; } &&
15381 { ac_try
='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 ac_cv_member_ppc_thread_state_t___r0
=yes
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 cat >conftest.
$ac_ext <<_ACEOF
15395 cat confdefs.h
>>conftest.
$ac_ext
15396 cat >>conftest.
$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 #include <mach/thread_status.h>
15403 static ppc_thread_state_t ac_aggr;
15404 if (sizeof ac_aggr.__r0)
15410 rm -f conftest.
$ac_objext
15411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15412 (eval $ac_compile) 2>conftest.er1
15414 grep -v '^ *+' conftest.er1
>conftest.err
15416 cat conftest.err
>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } &&
15419 { ac_try
='test -z "$ac_c_werror_flag"
15420 || test ! -s conftest.err'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; } &&
15426 { ac_try
='test -s conftest.$ac_objext'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; }; then
15432 ac_cv_member_ppc_thread_state_t___r0
=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.
$ac_ext >&5
15437 ac_cv_member_ppc_thread_state_t___r0
=no
15439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15443 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
15444 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6
15445 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
15447 cat >>confdefs.h
<<\_ACEOF
15448 #define HAS_PPC_THREAD_STATE___R0 1
15453 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
15454 echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6
15455 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 cat >conftest.
$ac_ext <<_ACEOF
15461 cat confdefs.h
>>conftest.
$ac_ext
15462 cat >>conftest.
$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15464 #include <mach/thread_status.h>
15469 static ppc_thread_state64_t ac_aggr;
15476 rm -f conftest.
$ac_objext
15477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15478 (eval $ac_compile) 2>conftest.er1
15480 grep -v '^ *+' conftest.er1
>conftest.err
15482 cat conftest.err
>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } &&
15485 { ac_try
='test -z "$ac_c_werror_flag"
15486 || test ! -s conftest.err'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try
='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_member_ppc_thread_state64_t_r0
=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 cat >conftest.
$ac_ext <<_ACEOF
15506 cat confdefs.h
>>conftest.
$ac_ext
15507 cat >>conftest.
$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 #include <mach/thread_status.h>
15514 static ppc_thread_state64_t ac_aggr;
15515 if (sizeof ac_aggr.r0)
15521 rm -f conftest.
$ac_objext
15522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15523 (eval $ac_compile) 2>conftest.er1
15525 grep -v '^ *+' conftest.er1
>conftest.err
15527 cat conftest.err
>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try
='test -z "$ac_c_werror_flag"
15531 || test ! -s conftest.err'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try
='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_member_ppc_thread_state64_t_r0
=yes
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.
$ac_ext >&5
15548 ac_cv_member_ppc_thread_state64_t_r0
=no
15550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15554 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
15555 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6
15556 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
15558 cat >>confdefs.h
<<\_ACEOF
15559 #define HAS_PPC_THREAD_STATE64_R0 1
15564 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
15565 echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6
15566 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 #include <mach/thread_status.h>
15580 static ppc_thread_state64_t ac_aggr;
15587 rm -f conftest.
$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try
='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_cv_member_ppc_thread_state64_t___r0
=yes
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 #include <mach/thread_status.h>
15625 static ppc_thread_state64_t ac_aggr;
15626 if (sizeof ac_aggr.__r0)
15632 rm -f conftest.
$ac_objext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest.$ac_objext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_member_ppc_thread_state64_t___r0
=yes
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.
$ac_ext >&5
15659 ac_cv_member_ppc_thread_state64_t___r0
=no
15661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
15666 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6
15667 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
15669 cat >>confdefs.h
<<\_ACEOF
15670 #define HAS_PPC_THREAD_STATE64___R0 1
15677 echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
15678 echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6
15679 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
15680 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 cat >conftest.
$ac_ext <<_ACEOF
15685 cat confdefs.h
>>conftest.
$ac_ext
15686 cat >>conftest.
$ac_ext <<_ACEOF
15687 /* end confdefs.h. */
15688 #include <sys/cdefs.h>
15689 #include <mach/thread_status.h>
15694 static x86_thread_state32_t ac_aggr;
15701 rm -f conftest.
$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>conftest.er1
15705 grep -v '^ *+' conftest.er1
>conftest.err
15707 cat conftest.err
>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } &&
15710 { ac_try
='test -z "$ac_c_werror_flag"
15711 || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try
='test -s conftest.$ac_objext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 ac_cv_member_x86_thread_state32_t_eax
=yes
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.
$ac_ext >&5
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 #include <sys/cdefs.h>
15735 #include <mach/thread_status.h>
15740 static x86_thread_state32_t ac_aggr;
15741 if (sizeof ac_aggr.eax)
15747 rm -f conftest.
$ac_objext
15748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15749 (eval $ac_compile) 2>conftest.er1
15751 grep -v '^ *+' conftest.er1
>conftest.err
15753 cat conftest.err
>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try
='test -z "$ac_c_werror_flag"
15757 || test ! -s conftest.err'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; } &&
15763 { ac_try
='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_cv_member_x86_thread_state32_t_eax
=yes
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.
$ac_ext >&5
15774 ac_cv_member_x86_thread_state32_t_eax
=no
15776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15780 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
15781 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6
15782 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
15784 cat >>confdefs.h
<<\_ACEOF
15785 #define HAS_X86_THREAD_STATE32_EAX 1
15790 echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
15791 echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6
15792 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 cat >conftest.
$ac_ext <<_ACEOF
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 #include <sys/cdefs.h>
15802 #include <mach/thread_status.h>
15807 static x86_thread_state32_t ac_aggr;
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try
='test -z "$ac_c_werror_flag"
15824 || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try
='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_cv_member_x86_thread_state32_t___eax
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 #include <sys/cdefs.h>
15848 #include <mach/thread_status.h>
15853 static x86_thread_state32_t ac_aggr;
15854 if (sizeof ac_aggr.__eax)
15860 rm -f conftest.
$ac_objext
15861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15862 (eval $ac_compile) 2>conftest.er1
15864 grep -v '^ *+' conftest.er1
>conftest.err
15866 cat conftest.err
>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } &&
15869 { ac_try
='test -z "$ac_c_werror_flag"
15870 || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try
='test -s conftest.$ac_objext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 ac_cv_member_x86_thread_state32_t___eax
=yes
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.
$ac_ext >&5
15887 ac_cv_member_x86_thread_state32_t___eax
=no
15889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15893 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
15894 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6
15895 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
15897 cat >>confdefs.h
<<\_ACEOF
15898 #define HAS_X86_THREAD_STATE32___EAX 1
15905 echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
15906 echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6
15907 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
15908 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 cat >conftest.
$ac_ext <<_ACEOF
15913 cat confdefs.h
>>conftest.
$ac_ext
15914 cat >>conftest.
$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 #include <sys/cdefs.h>
15917 #include <mach/thread_status.h>
15922 static x86_thread_state64_t ac_aggr;
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag"
15939 || test ! -s conftest.err'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; } &&
15945 { ac_try
='test -s conftest.$ac_objext'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; }; then
15951 ac_cv_member_x86_thread_state64_t_rax
=yes
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.
$ac_ext >&5
15956 cat >conftest.
$ac_ext <<_ACEOF
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 #include <sys/cdefs.h>
15963 #include <mach/thread_status.h>
15968 static x86_thread_state64_t ac_aggr;
15969 if (sizeof ac_aggr.rax)
15975 rm -f conftest.
$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -z "$ac_c_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try
='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_cv_member_x86_thread_state64_t_rax
=yes
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.
$ac_ext >&5
16002 ac_cv_member_x86_thread_state64_t_rax
=no
16004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16008 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
16009 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6
16010 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
16012 cat >>confdefs.h
<<\_ACEOF
16013 #define HAS_X86_THREAD_STATE64_RAX 1
16018 echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
16019 echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6
16020 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 cat >conftest.
$ac_ext <<_ACEOF
16026 cat confdefs.h
>>conftest.
$ac_ext
16027 cat >>conftest.
$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 #include <sys/cdefs.h>
16030 #include <mach/thread_status.h>
16035 static x86_thread_state64_t ac_aggr;
16042 rm -f conftest.
$ac_objext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044 (eval $ac_compile) 2>conftest.er1
16046 grep -v '^ *+' conftest.er1
>conftest.err
16048 cat conftest.err
>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } &&
16051 { ac_try
='test -z "$ac_c_werror_flag"
16052 || test ! -s conftest.err'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; } &&
16058 { ac_try
='test -s conftest.$ac_objext'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; }; then
16064 ac_cv_member_x86_thread_state64_t___rax
=yes
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.
$ac_ext >&5
16069 cat >conftest.
$ac_ext <<_ACEOF
16072 cat confdefs.h
>>conftest.
$ac_ext
16073 cat >>conftest.
$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 #include <sys/cdefs.h>
16076 #include <mach/thread_status.h>
16081 static x86_thread_state64_t ac_aggr;
16082 if (sizeof ac_aggr.__rax)
16088 rm -f conftest.
$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try
='test -z "$ac_c_werror_flag"
16098 || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try
='test -s conftest.$ac_objext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_member_x86_thread_state64_t___rax
=yes
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 ac_cv_member_x86_thread_state64_t___rax
=no
16117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16121 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
16122 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6
16123 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
16125 cat >>confdefs.h
<<\_ACEOF
16126 #define HAS_X86_THREAD_STATE64___RAX 1
16135 # We never want libdl on darwin. It is a fake libdl that just ends up making
16136 # dyld calls anyway
16140 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16141 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16142 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 ac_check_lib_save_LIBS
=$LIBS
16147 if test x
$gcc_no_link = xyes
; then
16148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16150 { (exit 1); exit 1; }; }
16152 cat >conftest.
$ac_ext <<_ACEOF
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16159 /* Override any gcc2 internal prototype to avoid an error. */
16163 /* We use char because int might match the return type of a gcc2
16164 builtin and then its argument prototype would still apply. */
16174 rm -f conftest.
$ac_objext conftest
$ac_exeext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16176 (eval $ac_link) 2>conftest.er1
16178 grep -v '^ *+' conftest.er1
>conftest.err
16180 cat conftest.err
>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try
='test -z "$ac_c_werror_flag"
16184 || test ! -s conftest.err'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; } &&
16190 { ac_try
='test -s conftest$ac_exeext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16196 ac_cv_lib_dl_dlopen
=yes
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.
$ac_ext >&5
16201 ac_cv_lib_dl_dlopen
=no
16203 rm -f conftest.err conftest.
$ac_objext \
16204 conftest
$ac_exeext conftest.
$ac_ext
16205 LIBS
=$ac_check_lib_save_LIBS
16207 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16208 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16209 if test $ac_cv_lib_dl_dlopen = yes; then
16210 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
16216 # extra LD Flags which are required for targets
16219 extra_ldflags_libgc
=-Wl,-single_module
16226 target_all
=libgcjgc.la
16231 # Check whether --with-ecos or --without-ecos was given.
16232 if test "${with_ecos+set}" = set; then
16233 withval
="$with_ecos"
16234 TARGET_ECOS
="$with_ecos"
16242 case "$TARGET_ECOS" in
16247 cat >>confdefs.h
<<\_ACEOF
16251 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
16252 addobjs
="$addobjs ecos.lo"
16256 if test "${enable_cplusplus}" = yes; then
16257 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
16258 addtests
="$addtests test_cpp"
16263 if test "${enable_cplusplus}" = yes; then
16265 CPLUSPLUS_FALSE
='#'
16276 # Configuration of shared libraries
16278 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16279 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16280 # Check whether --enable-shared or --disable-shared was given.
16281 if test "${enable_shared+set}" = set; then
16282 enableval
="$enable_shared"
16283 p
=${PACKAGE-default}
16285 yes) enable_shared
=yes ;;
16286 no
) enable_shared
=no
;;
16289 # Look at the argument we got. We use all the common list separators.
16290 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
16291 for pkg
in $enableval; do
16293 if test "X$pkg" = "X$p"; then
16312 echo "$as_me:$LINENO: result: no" >&5
16313 echo "${ECHO_T}no" >&6
16316 echo "$as_me:$LINENO: result: yes" >&5
16317 echo "${ECHO_T}yes" >&6
16321 # Checks for pthreads functions
16324 LIBS
="$LIBS $THREADLIBS"
16326 for ac_func
in pthread_getattr_np
16328 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16329 echo "$as_me:$LINENO: checking for $ac_func" >&5
16330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16331 if eval "test \"\${$as_ac_var+set}\" = set"; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 if test x
$gcc_no_link = xyes
; then
16335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16337 { (exit 1); exit 1; }; }
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16347 #define $ac_func innocuous_$ac_func
16349 /* System header to define __stub macros and hopefully few prototypes,
16350 which can conflict with char $ac_func (); below.
16351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16352 <limits.h> exists even on freestanding compilers. */
16355 # include <limits.h>
16357 # include <assert.h>
16362 /* Override any gcc2 internal prototype to avoid an error. */
16367 /* We use char because int might match the return type of a gcc2
16368 builtin and then its argument prototype would still apply. */
16370 /* The GNU C library defines this for functions which it implements
16371 to always fail with ENOSYS. Some functions are actually named
16372 something starting with __ and the normal name is an alias. */
16373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16376 char (*f) () = $ac_func;
16385 return f != $ac_func;
16390 rm -f conftest.
$ac_objext conftest
$ac_exeext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16392 (eval $ac_link) 2>conftest.er1
16394 grep -v '^ *+' conftest.er1
>conftest.err
16396 cat conftest.err
>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } &&
16399 { ac_try
='test -z "$ac_c_werror_flag"
16400 || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try
='test -s conftest$ac_exeext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 eval "$as_ac_var=yes"
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.
$ac_ext >&5
16417 eval "$as_ac_var=no"
16419 rm -f conftest.err conftest.
$ac_objext \
16420 conftest
$ac_exeext conftest.
$ac_ext
16422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16424 if test `eval echo '${'$as_ac_var'}'` = yes; then
16425 cat >>confdefs.h
<<_ACEOF
16426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16434 # Configuration of machine-dependent code
16436 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
16437 # ffi_closure_{alloc,free} which takes care of allocating trampolines
16438 # in executable memory.
16440 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
16441 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
16445 machdep
="alpha_mach_dep.lo"
16446 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
16447 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
16448 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
16452 machdep
="alpha_mach_dep.lo"
16454 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
16456 cat >>confdefs.h
<<\_ACEOF
16457 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
16462 machdep
="mips_ultrix_mach_dep.lo"
16464 cat >>confdefs.h
<<\_ACEOF
16465 #define STACKBASE __stackbase
16469 cat >>confdefs.h
<<\_ACEOF
16470 #define DATASTART_IS_ETEXT 1
16475 machdep
="mips_ultrix_mach-dep.lo"
16477 mips-nec-sysv
*|mips-unknown-sysv
*)
16482 machdep
="mips_sgi_mach_dep.lo"
16485 machdep
="sparc_netbsd_mach_dep.lo"
16487 sparc-sun-solaris2.3
)
16488 machdep
="sparc_mach_dep.lo"
16490 cat >>confdefs.h
<<\_ACEOF
16491 #define SUNOS53_SHARED_LIB 1
16495 sparc
*-sun-solaris2.
*)
16496 machdep
="sparc_mach_dep.lo"
16499 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
16503 cat >>confdefs.h
<<\_ACEOF
16504 #define NO_EXECUTE_PERMISSION 1
16507 if test x
"$machdep" = x
; then
16508 echo "$as_me:$LINENO: result: $machdep" >&5
16509 echo "${ECHO_T}$machdep" >&6
16510 machdep
="mach_dep.lo"
16512 addobjs
="$addobjs $machdep"
16519 # Check for AViiON Machines running DGUX
16521 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
16522 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
16524 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16525 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
16526 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
16527 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
16531 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
16533 # Is the header compilable?
16534 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
16535 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
16536 cat >conftest.
$ac_ext <<_ACEOF
16539 cat confdefs.h
>>conftest.
$ac_ext
16540 cat >>conftest.
$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 $ac_includes_default
16543 #include <sys/dg_sys_info.h>
16545 rm -f conftest.
$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16549 grep -v '^ *+' conftest.er1
>conftest.err
16551 cat conftest.err
>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try
='test -z "$ac_c_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try
='test -s conftest.$ac_objext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_header_compiler
=yes
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16572 ac_header_compiler
=no
16574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16576 echo "${ECHO_T}$ac_header_compiler" >&6
16578 # Is the header present?
16579 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
16580 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <sys/dg_sys_info.h>
16589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16590 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16592 grep -v '^ *+' conftest.er1
>conftest.err
16594 cat conftest.err
>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } >/dev
/null
; then
16597 if test -s conftest.err
; then
16598 ac_cpp_err
=$ac_c_preproc_warn_flag
16599 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16606 if test -z "$ac_cpp_err"; then
16607 ac_header_preproc
=yes
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.
$ac_ext >&5
16612 ac_header_preproc
=no
16614 rm -f conftest.err conftest.
$ac_ext
16615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16616 echo "${ECHO_T}$ac_header_preproc" >&6
16618 # So? What about this header?
16619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16621 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
16622 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16623 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
16624 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
16625 ac_header_preproc
=yes
16628 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
16629 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
16630 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
16631 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
16632 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
16633 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
16634 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
16635 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
16636 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
16637 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
16638 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
16639 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
16642 ## ------------------------------------------ ##
16643 ## Report this to the AC_PACKAGE_NAME lists. ##
16644 ## ------------------------------------------ ##
16647 sed "s/^/$as_me: WARNING: /" >&2
16650 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
16651 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
16652 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16653 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
16657 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
16658 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
16661 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
16667 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
16668 echo "${ECHO_T}$ac_is_dgux" >&6
16669 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
16670 if test $ac_is_dgux = yes; then
16671 if test "$enable_full_debug" = "yes"; then
16672 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
16673 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
16675 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
16676 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
16682 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
16683 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
16686 if test "$GCC" = yes; then
16687 echo "$as_me:$LINENO: result: yes" >&5
16688 echo "${ECHO_T}yes" >&6
16690 for i
in $CFLAGS; do
16695 new_CFLAGS
="$new_CFLAGS $i"
16699 CFLAGS
="$new_CFLAGS"
16701 echo "$as_me:$LINENO: result: no" >&5
16702 echo "${ECHO_T}no" >&6
16705 *) echo "$as_me:$LINENO: result: no" >&5
16706 echo "${ECHO_T}no" >&6 ;;
16709 MY_CFLAGS
="$CFLAGS"
16713 cat >>confdefs.h
<<\_ACEOF
16718 cat >>confdefs.h
<<\_ACEOF
16719 #define NO_SIGNALS 1
16723 cat >>confdefs.h
<<\_ACEOF
16724 #define ALL_INTERIOR_POINTERS 1
16729 cat >>confdefs.h
<<\_ACEOF
16730 #define JAVA_FINALIZATION 1
16734 cat >>confdefs.h
<<\_ACEOF
16735 #define GC_GCJ_SUPPORT 1
16739 cat >>confdefs.h
<<\_ACEOF
16740 #define ATOMIC_UNCOLLECTABLE 1
16744 # Check whether --enable-gc-debug or --disable-gc-debug was given.
16745 if test "${enable_gc_debug+set}" = set; then
16746 enableval
="$enable_gc_debug"
16747 if test "$enable_gc_debug" = "yes"; then
16748 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
16749 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
16751 cat >>confdefs.h
<<\_ACEOF
16752 #define KEEP_BACK_PTRS 1
16756 cat >>confdefs.h
<<\_ACEOF
16757 #define DBG_HDRS_ALL 1
16763 cat >>confdefs.h
<<\_ACEOF
16764 #define MAKE_BACK_GRAPH 1
16768 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
16769 cat >>confdefs.h
<<\_ACEOF
16770 #define MAKE_BACK_GRAPH 1
16773 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
16774 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
16776 cat >>confdefs.h
<<\_ACEOF
16777 #define SAVE_CALL_COUNT 8
16782 cat >>confdefs.h
<<\_ACEOF
16783 #define MAKE_BACK_GRAPH 1
16791 if test "${gc_use_mmap}" = "yes"; then
16793 cat >>confdefs.h
<<\_ACEOF
16799 if test -n "$with_cross_host" &&
16800 test x
"$with_cross_host" != x
"no"; then
16801 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16802 toolexeclibdir
='$(toolexecdir)/lib'
16804 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16805 toolexeclibdir
='$(libdir)'
16807 multi_os_directory
=`$CC -print-multi-os-directory`
16808 case $multi_os_directory in
16809 .
) ;; # Avoid trailing /.
16810 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16815 if test "${multilib}" = "yes"; then
16816 multilib_arg
="--enable-multilib"
16821 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
16824 ac_config_files
="$ac_config_files Makefile include/Makefile threads.mk"
16826 cat >confcache
<<\_ACEOF
16827 # This file is a shell script that caches the results of configure
16828 # tests run on this system so they can be shared between configure
16829 # scripts and configure runs, see configure's option --config-cache.
16830 # It is not useful on other systems. If it contains results you don't
16831 # want to keep, you may remove or edit it.
16833 # config.status only pays attention to the cache file if you give it
16834 # the --recheck option to rerun configure.
16836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16838 # following values.
16842 # The following way of writing the cache mishandles newlines in values,
16843 # but we know of no workaround that is simple, portable, and efficient.
16844 # So, don't put newlines in cache variables' values.
16845 # Ultrix sh set writes to stderr and can't be redirected directly,
16846 # and sets the high bit in the cache file unless we assign to the vars.
16849 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16851 # `set' does not quote correctly, so add quotes (double-quote
16852 # substitution turns \\\\ into \\, and sed turns \\ into \).
16855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16858 # `set' quotes correctly as required by POSIX, so do not add quotes.
16860 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16867 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16869 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16871 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16872 if test -w $cache_file; then
16873 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16874 cat confcache
>$cache_file
16876 echo "not updating unwritable cache $cache_file"
16881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16882 # Let make expand exec_prefix.
16883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16885 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16886 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16887 # trailing colons and then remove the whole line if VPATH becomes empty
16888 # (actually we leave an empty line to preserve line numbers).
16889 if test "x$srcdir" = x.
; then
16890 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16891 s/:*\$(srcdir):*/:/;
16892 s/:*\${srcdir}:*/:/;
16894 s/^\([^=]*=[ ]*\):*/\1/;
16900 DEFS
=-DHAVE_CONFIG_H
16904 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16905 # 1. Remove the extension, and $U if already installed.
16906 ac_i
=`echo "$ac_i" |
16907 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16909 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16910 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16912 LIBOBJS
=$ac_libobjs
16914 LTLIBOBJS
=$ac_ltlibobjs
16917 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16918 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16919 Usually this means the macro was only invoked conditionally." >&5
16920 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16921 Usually this means the macro was only invoked conditionally." >&2;}
16922 { (exit 1); exit 1; }; }
16924 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16925 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16926 Usually this means the macro was only invoked conditionally." >&5
16927 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16928 Usually this means the macro was only invoked conditionally." >&2;}
16929 { (exit 1); exit 1; }; }
16931 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16932 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16933 Usually this means the macro was only invoked conditionally." >&5
16934 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16935 Usually this means the macro was only invoked conditionally." >&2;}
16936 { (exit 1); exit 1; }; }
16938 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16939 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16940 Usually this means the macro was only invoked conditionally." >&5
16941 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16942 Usually this means the macro was only invoked conditionally." >&2;}
16943 { (exit 1); exit 1; }; }
16945 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16946 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16947 Usually this means the macro was only invoked conditionally." >&5
16948 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16949 Usually this means the macro was only invoked conditionally." >&2;}
16950 { (exit 1); exit 1; }; }
16952 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
16953 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
16954 Usually this means the macro was only invoked conditionally." >&5
16955 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
16956 Usually this means the macro was only invoked conditionally." >&2;}
16957 { (exit 1); exit 1; }; }
16959 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16960 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
16961 Usually this means the macro was only invoked conditionally." >&5
16962 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
16963 Usually this means the macro was only invoked conditionally." >&2;}
16964 { (exit 1); exit 1; }; }
16967 : ${CONFIG_STATUS=./config.status}
16968 ac_clean_files_save
=$ac_clean_files
16969 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16972 cat >$CONFIG_STATUS <<_ACEOF
16974 # Generated by $as_me.
16975 # Run this file to recreate the current configuration.
16976 # Compiler output produced by configure, useful for debugging
16977 # configure, is in config.log if it exists.
16980 ac_cs_recheck=false
16982 SHELL=\${CONFIG_SHELL-$SHELL}
16985 cat >>$CONFIG_STATUS <<\_ACEOF
16986 ## --------------------- ##
16987 ## M4sh Initialization. ##
16988 ## --------------------- ##
16990 # Be Bourne compatible
16991 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16994 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16995 # is contrary to our usage. Disable this feature.
16996 alias -g '${1+"$@"}'='"$@"'
16997 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17000 DUALCASE
=1; export DUALCASE
# for MKS sh
17002 # Support unset when possible.
17003 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17010 # Work around bugs in pre-3.0 UWIN ksh.
17011 $as_unset ENV MAIL MAILPATH
17018 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17019 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17020 LC_TELEPHONE LC_TIME
17022 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17023 eval $as_var=C
; export $as_var
17029 # Required to use basename.
17030 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17036 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17037 as_basename
=basename
17043 # Name of the executable.
17044 as_me
=`$as_basename "$0" ||
17045 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17046 X"$0" : 'X\(//\)$' \| \
17047 X"$0" : 'X\(/\)$' \| \
17048 . : '\(.\)' 2>/dev/null ||
17050 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17051 /^X\/\(\/\/\)$/{ s//\1/; q; }
17052 /^X\/\(\/\).*/{ s//\1/; q; }
17056 # PATH needs CR, and LINENO needs CR and PATH.
17057 # Avoid depending upon Character Ranges.
17058 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17059 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17060 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17061 as_cr_digits
='0123456789'
17062 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17064 # The user is always right.
17065 if test "${PATH_SEPARATOR+set}" != set; then
17066 echo "#! /bin/sh" >conf$$.sh
17067 echo "exit 0" >>conf$$.sh
17069 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17078 as_lineno_1
=$LINENO
17079 as_lineno_2
=$LINENO
17080 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17081 test "x$as_lineno_1" != "x$as_lineno_2" &&
17082 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17083 # Find who we are. Look in the path if we contain no path at all
17086 *[\\/]* ) as_myself
=$0 ;;
17087 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17088 for as_dir
in $PATH
17091 test -z "$as_dir" && as_dir
=.
17092 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17097 # We did not find ourselves, most probably we were run as `sh COMMAND'
17098 # in which case we are not to be found in the path.
17099 if test "x$as_myself" = x
; then
17102 if test ! -f "$as_myself"; then
17103 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17104 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17105 { (exit 1); exit 1; }; }
17107 case $CONFIG_SHELL in
17109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17110 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17113 test -z "$as_dir" && as_dir
=.
17114 for as_base
in sh bash ksh sh5
; do
17117 if ("$as_dir/$as_base" -c '
17118 as_lineno_1=$LINENO
17119 as_lineno_2=$LINENO
17120 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17121 test "x$as_lineno_1" != "x$as_lineno_2" &&
17122 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17123 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17124 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17125 CONFIG_SHELL
=$as_dir/$as_base
17126 export CONFIG_SHELL
17127 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17135 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17136 # uniformly replaced by the line number. The first 'sed' inserts a
17137 # line-number line before each line; the second 'sed' does the real
17138 # work. The second script uses 'N' to pair each line-number line
17139 # with the numbered line, and appends trailing '-' during
17140 # substitution so that $LINENO is not a special case at line end.
17141 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17142 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17143 sed '=' <$as_myself |
17148 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17151 s,^['$as_cr_digits']*\n,,
17152 ' >$as_me.lineno
&&
17153 chmod +x
$as_me.lineno ||
17154 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17155 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17156 { (exit 1); exit 1; }; }
17158 # Don't try to exec as it changes $[0], causing all sort of problems
17159 # (the dirname of $[0] is not the place where we might find the
17160 # original and so on. Autoconf is especially sensible to this).
17162 # Exit status is that of the last command.
17167 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17168 *c
*,-n*) ECHO_N
= ECHO_C
='
17170 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17171 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17174 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17180 rm -f conf$$ conf$$.exe conf$$.
file
17182 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17183 # We could just check for DJGPP; but this test a) works b) is more generic
17184 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17185 if test -f conf$$.exe
; then
17186 # Don't use ln at all; we don't have any links
17191 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17196 rm -f conf$$ conf$$.exe conf$$.
file
17198 if mkdir
-p .
2>/dev
/null
; then
17201 test -d .
/-p && rmdir .
/-p
17205 as_executable_p
="test -f"
17207 # Sed expression to map a string onto a valid CPP name.
17208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17210 # Sed expression to map a string onto a valid variable name.
17211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17215 # We need space, tab and new line, in precisely that order.
17225 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17226 # report actual input values of CONFIG_FILES etc. instead of their
17227 # values after options handling. Logging --version etc. is OK.
17231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17232 ## Running $as_me. ##
17237 This file was extended by $as_me, which was
17238 generated by GNU Autoconf 2.59. Invocation command line was
17240 CONFIG_FILES = $CONFIG_FILES
17241 CONFIG_HEADERS = $CONFIG_HEADERS
17242 CONFIG_LINKS = $CONFIG_LINKS
17243 CONFIG_COMMANDS = $CONFIG_COMMANDS
17247 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17251 # Files that config.status was made for.
17252 if test -n "$ac_config_files"; then
17253 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17256 if test -n "$ac_config_headers"; then
17257 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17260 if test -n "$ac_config_links"; then
17261 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17264 if test -n "$ac_config_commands"; then
17265 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17268 cat >>$CONFIG_STATUS <<\_ACEOF
17271 \`$as_me' instantiates files from templates according to the
17272 current configuration.
17274 Usage: $0 [OPTIONS] [FILE]...
17276 -h, --help print this help, then exit
17277 -V, --version print version number, then exit
17278 -q, --quiet do not print progress messages
17279 -d, --debug don't remove temporary files
17280 --recheck update $as_me by reconfiguring in the same conditions
17281 --file=FILE[:TEMPLATE]
17282 instantiate the configuration file FILE
17283 --header=FILE[:TEMPLATE]
17284 instantiate the configuration header FILE
17286 Configuration files:
17289 Configuration headers:
17292 Configuration commands:
17295 Report bugs to <bug-autoconf@gnu.org>."
17298 cat >>$CONFIG_STATUS <<_ACEOF
17301 configured by $0, generated by GNU Autoconf 2.59,
17302 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17304 Copyright (C) 2003 Free Software Foundation, Inc.
17305 This config.status script is free software; the Free Software Foundation
17306 gives unlimited permission to copy, distribute and modify it."
17311 cat >>$CONFIG_STATUS <<\_ACEOF
17312 # If no file are specified by the user, then we need to provide default
17313 # value. By we need to know if files were specified by the user.
17319 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17320 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17328 *) # This is not an option, so the user has probably given explicit
17331 ac_need_defaults
=false
;;
17335 # Handling of the options.
17337 cat >>$CONFIG_STATUS <<\_ACEOF
17338 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17340 --version |
--vers* |
-V )
17341 echo "$ac_cs_version"; exit 0 ;;
17343 # Conflict between --help and --header
17344 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17345 Try \`$0 --help' for more information." >&5
17346 echo "$as_me: error: ambiguous option: $1
17347 Try \`$0 --help' for more information." >&2;}
17348 { (exit 1); exit 1; }; };;
17349 --help |
--hel |
-h )
17350 echo "$ac_cs_usage"; exit 0 ;;
17351 --debug |
--d* |
-d )
17353 --file |
--fil |
--fi |
--f )
17355 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17356 ac_need_defaults
=false
;;
17357 --header |
--heade |
--head |
--hea )
17359 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17360 ac_need_defaults
=false
;;
17361 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17362 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17365 # This is an error.
17366 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17367 Try \`$0 --help' for more information." >&5
17368 echo "$as_me: error: unrecognized option: $1
17369 Try \`$0 --help' for more information." >&2;}
17370 { (exit 1); exit 1; }; } ;;
17372 *) ac_config_targets
="$ac_config_targets $1" ;;
17378 ac_configure_extra_args
=
17380 if $ac_cs_silent; then
17382 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17386 cat >>$CONFIG_STATUS <<_ACEOF
17387 if \$ac_cs_recheck; then
17388 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17389 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17394 cat >>$CONFIG_STATUS <<_ACEOF
17396 # INIT-COMMANDS section.
17403 with_multisubdir="$with_multisubdir"
17404 with_multisrctop="$with_multisrctop"
17405 with_target_subdir="$with_target_subdir"
17406 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17407 multi_basedir="$multi_basedir"
17408 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17410 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17413 # The HP-UX ksh and POSIX shell print the target directory to stdout
17414 # if CDPATH is set.
17415 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17417 sed_quote_subst='$sed_quote_subst'
17418 double_quote_subst='$double_quote_subst'
17419 delay_variable_subst='$delay_variable_subst'
17420 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17421 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17422 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17423 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17424 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17425 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17426 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17427 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17428 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17429 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17430 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17431 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17432 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17433 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17434 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17435 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17436 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17437 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17438 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17439 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17440 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17441 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17442 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17443 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17444 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17445 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17446 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17447 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17448 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17449 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17450 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17451 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17452 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17453 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17454 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17455 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17456 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17457 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17458 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17459 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17460 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17461 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17462 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17463 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17464 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17465 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17466 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17467 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17468 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17469 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17470 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17471 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17472 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17473 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17474 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17475 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17476 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17477 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17478 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17479 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17480 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17481 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17482 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17483 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17484 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17485 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17486 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17487 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17488 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17489 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17490 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17491 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17492 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17493 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17494 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17495 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17496 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17497 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17498 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17499 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17500 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17501 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17502 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17503 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17504 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17505 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17506 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17507 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17508 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17509 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17510 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17511 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17512 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17513 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17514 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17515 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17516 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17517 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17518 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17519 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17520 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17521 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17522 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17523 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17524 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17525 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17526 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17527 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17528 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17529 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17530 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17531 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17532 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17533 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17534 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17535 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17536 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17537 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17538 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17539 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17540 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17541 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17542 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17543 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17544 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17545 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17546 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17547 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17548 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17549 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17550 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17551 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17552 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17553 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17554 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17555 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17556 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17557 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17558 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17559 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17560 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17561 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17562 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17563 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17564 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17565 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17566 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17567 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17568 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17569 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17570 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17571 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17572 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17573 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17574 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17575 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17576 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17577 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17578 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17579 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17580 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17581 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17582 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17583 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17584 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17585 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17586 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17587 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17588 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17589 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17590 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17593 LTCFLAGS='$LTCFLAGS'
17594 compiler='$compiler_DEFAULT'
17596 # Quote evaled strings.
17608 deplibs_check_method \
17617 lt_cv_sys_global_symbol_pipe \
17618 lt_cv_sys_global_symbol_to_cdecl \
17619 lt_cv_sys_global_symbol_to_c_name_address \
17620 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17623 lt_prog_compiler_no_builtin_flag \
17624 lt_prog_compiler_wl \
17625 lt_prog_compiler_pic \
17626 lt_prog_compiler_static \
17627 lt_cv_prog_compiler_c_o \
17635 export_dynamic_flag_spec \
17636 whole_archive_flag_spec \
17637 compiler_needs_object \
17639 allow_undefined_flag \
17640 no_undefined_flag \
17641 hardcode_libdir_flag_spec \
17642 hardcode_libdir_flag_spec_ld \
17643 hardcode_libdir_separator \
17648 variables_saved_for_relink \
17650 library_names_spec \
17655 compiler_lib_search_dirs \
17660 compiler_lib_search_path \
17663 lt_prog_compiler_no_builtin_flag_CXX \
17664 lt_prog_compiler_wl_CXX \
17665 lt_prog_compiler_pic_CXX \
17666 lt_prog_compiler_static_CXX \
17667 lt_cv_prog_compiler_c_o_CXX \
17668 export_dynamic_flag_spec_CXX \
17669 whole_archive_flag_spec_CXX \
17670 compiler_needs_object_CXX \
17672 allow_undefined_flag_CXX \
17673 no_undefined_flag_CXX \
17674 hardcode_libdir_flag_spec_CXX \
17675 hardcode_libdir_flag_spec_ld_CXX \
17676 hardcode_libdir_separator_CXX \
17677 fix_srcfile_path_CXX \
17678 exclude_expsyms_CXX \
17679 include_expsyms_CXX \
17680 file_list_spec_CXX \
17681 compiler_lib_search_dirs_CXX \
17682 predep_objects_CXX \
17683 postdep_objects_CXX \
17686 compiler_lib_search_path_CXX; do
17687 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17688 *[\\\\\\\`\\"\\\$]*)
17689 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17692 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17697 # Double-quote double-evaled strings.
17698 for var in reload_cmds \
17699 old_postinstall_cmds \
17700 old_postuninstall_cmds \
17702 extract_expsyms_cmds \
17703 old_archive_from_new_cmds \
17704 old_archive_from_expsyms_cmds \
17706 archive_expsym_cmds \
17708 module_expsym_cmds \
17709 export_symbols_cmds \
17712 postuninstall_cmds \
17714 sys_lib_search_path_spec \
17715 sys_lib_dlsearch_path_spec \
17716 old_archive_cmds_CXX \
17717 old_archive_from_new_cmds_CXX \
17718 old_archive_from_expsyms_cmds_CXX \
17720 archive_expsym_cmds_CXX \
17722 module_expsym_cmds_CXX \
17723 export_symbols_cmds_CXX \
17724 prelink_cmds_CXX; do
17725 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17726 *[\\\\\\\`\\"\\\$]*)
17727 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17730 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17735 # Fix-up fallback echo if it was mangled by the above quoting rules.
17737 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17741 ac_aux_dir='$ac_aux_dir'
17742 xsi_shell='$xsi_shell'
17743 lt_shell_append='$lt_shell_append'
17745 # See if we are running on zsh, and set the options which allow our
17746 # commands through without removal of \ escapes INIT.
17747 if test -n "\${ZSH_VERSION+set}" ; then
17748 setopt NO_GLOB_SUBST
17754 TIMESTAMP='$TIMESTAMP'
17767 cat >>$CONFIG_STATUS <<\_ACEOF
17768 for ac_config_target
in $ac_config_targets
17770 case "$ac_config_target" in
17771 # Handling of arguments.
17772 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17773 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17774 "threads.mk" ) CONFIG_FILES
="$CONFIG_FILES threads.mk" ;;
17775 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17776 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17777 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17778 "include/gc_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
17779 "include/gc_ext_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
17780 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17781 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17782 { (exit 1); exit 1; }; };;
17786 # If the user did not use the arguments to specify the items to instantiate,
17787 # then the envvar interface is used. Set only those that are not.
17788 # We use the long form for the default assignment because of an extremely
17789 # bizarre bug on SunOS 4.1.3.
17790 if $ac_need_defaults; then
17791 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17792 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17793 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17796 # Have a temporary directory for convenience. Make it in the build tree
17797 # simply because there is no reason to put it here, and in addition,
17798 # creating and moving files from /tmp can sometimes cause problems.
17799 # Create a temporary directory, and hook for its removal unless debugging.
17802 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17803 trap '{ (exit 1); exit 1; }' 1 2 13 15
17806 # Create a (secure) tmp directory for tmp files.
17809 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17810 test -n "$tmp" && test -d "$tmp"
17813 tmp
=.
/confstat$$
-$RANDOM
17814 (umask 077 && mkdir
$tmp)
17817 echo "$me: cannot create a temporary directory in ." >&2
17818 { (exit 1); exit 1; }
17823 cat >>$CONFIG_STATUS <<_ACEOF
17826 # CONFIG_FILES section.
17829 # No need to generate the scripts if there are no CONFIG_FILES.
17830 # This happens for instance when ./config.status config.h
17831 if test -n "\$CONFIG_FILES"; then
17832 # Protect against being on the right side of a sed subst in config.status.
17833 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17834 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17835 s,@SHELL@,$SHELL,;t t
17836 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17837 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17838 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17839 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17840 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17841 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17842 s,@exec_prefix@,$exec_prefix,;t t
17843 s,@prefix@,$prefix,;t t
17844 s,@program_transform_name@,$program_transform_name,;t t
17845 s,@bindir@,$bindir,;t t
17846 s,@sbindir@,$sbindir,;t t
17847 s,@libexecdir@,$libexecdir,;t t
17848 s,@datadir@,$datadir,;t t
17849 s,@sysconfdir@,$sysconfdir,;t t
17850 s,@sharedstatedir@,$sharedstatedir,;t t
17851 s,@localstatedir@,$localstatedir,;t t
17852 s,@libdir@,$libdir,;t t
17853 s,@includedir@,$includedir,;t t
17854 s,@oldincludedir@,$oldincludedir,;t t
17855 s,@infodir@,$infodir,;t t
17856 s,@mandir@,$mandir,;t t
17857 s,@build_alias@,$build_alias,;t t
17858 s,@host_alias@,$host_alias,;t t
17859 s,@target_alias@,$target_alias,;t t
17860 s,@DEFS@,$DEFS,;t t
17861 s,@ECHO_C@,$ECHO_C,;t t
17862 s,@ECHO_N@,$ECHO_N,;t t
17863 s,@ECHO_T@,$ECHO_T,;t t
17864 s,@LIBS@,$LIBS,;t t
17865 s,@multi_basedir@,$multi_basedir,;t t
17866 s,@build@,$build,;t t
17867 s,@build_cpu@,$build_cpu,;t t
17868 s,@build_vendor@,$build_vendor,;t t
17869 s,@build_os@,$build_os,;t t
17870 s,@host@,$host,;t t
17871 s,@host_cpu@,$host_cpu,;t t
17872 s,@host_vendor@,$host_vendor,;t t
17873 s,@host_os@,$host_os,;t t
17874 s,@target@,$target,;t t
17875 s,@target_cpu@,$target_cpu,;t t
17876 s,@target_vendor@,$target_vendor,;t t
17877 s,@target_os@,$target_os,;t t
17878 s,@target_noncanonical@,$target_noncanonical,;t t
17879 s,@mkinstalldirs@,$mkinstalldirs,;t t
17880 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17881 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17882 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17883 s,@CYGPATH_W@,$CYGPATH_W,;t t
17884 s,@PACKAGE@,$PACKAGE,;t t
17885 s,@VERSION@,$VERSION,;t t
17886 s,@ACLOCAL@,$ACLOCAL,;t t
17887 s,@AUTOCONF@,$AUTOCONF,;t t
17888 s,@AUTOMAKE@,$AUTOMAKE,;t t
17889 s,@AUTOHEADER@,$AUTOHEADER,;t t
17890 s,@MAKEINFO@,$MAKEINFO,;t t
17891 s,@install_sh@,$install_sh,;t t
17892 s,@STRIP@,$STRIP,;t t
17893 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17894 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17895 s,@mkdir_p@,$mkdir_p,;t t
17897 s,@SET_MAKE@,$SET_MAKE,;t t
17898 s,@am__leading_dot@,$am__leading_dot,;t t
17899 s,@AMTAR@,$AMTAR,;t t
17900 s,@am__tar@,$am__tar,;t t
17901 s,@am__untar@,$am__untar,;t t
17903 s,@ac_ct_CC@,$ac_ct_CC,;t t
17904 s,@EXEEXT@,$EXEEXT,;t t
17905 s,@OBJEXT@,$OBJEXT,;t t
17906 s,@DEPDIR@,$DEPDIR,;t t
17907 s,@am__include@,$am__include,;t t
17908 s,@am__quote@,$am__quote,;t t
17909 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17910 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17911 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17912 s,@CCDEPMODE@,$CCDEPMODE,;t t
17913 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17914 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17916 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17917 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17918 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17919 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17920 s,@CFLAGS@,$CFLAGS,;t t
17921 s,@CXXFLAGS@,$CXXFLAGS,;t t
17922 s,@CCAS@,$CCAS,;t t
17923 s,@CCASFLAGS@,$CCASFLAGS,;t t
17925 s,@ac_ct_AS@,$ac_ct_AS,;t t
17927 s,@ac_ct_AR@,$ac_ct_AR,;t t
17928 s,@RANLIB@,$RANLIB,;t t
17929 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17930 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17931 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17932 s,@MAINT@,$MAINT,;t t
17933 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
17934 s,@LIBTOOL@,$LIBTOOL,;t t
17936 s,@EGREP@,$EGREP,;t t
17937 s,@FGREP@,$FGREP,;t t
17938 s,@GREP@,$GREP,;t t
17940 s,@DUMPBIN@,$DUMPBIN,;t t
17941 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
17943 s,@LN_S@,$LN_S,;t t
17944 s,@OBJDUMP@,$OBJDUMP,;t t
17945 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
17946 s,@lt_ECHO@,$lt_ECHO,;t t
17947 s,@DSYMUTIL@,$DSYMUTIL,;t t
17948 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
17949 s,@NMEDIT@,$NMEDIT,;t t
17950 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
17951 s,@LIPO@,$LIPO,;t t
17952 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
17953 s,@OTOOL@,$OTOOL,;t t
17954 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
17955 s,@OTOOL64@,$OTOOL64,;t t
17956 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
17958 s,@CPPFLAGS@,$CPPFLAGS,;t t
17959 s,@LDFLAGS@,$LDFLAGS,;t t
17960 s,@CXXCPP@,$CXXCPP,;t t
17961 s,@THREADLIBS@,$THREADLIBS,;t t
17962 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
17963 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
17964 s,@extra_ldflags_libgc@,$extra_ldflags_libgc,;t t
17965 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
17966 s,@target_all@,$target_all,;t t
17967 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
17968 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
17969 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
17970 s,@addobjs@,$addobjs,;t t
17971 s,@addincludes@,$addincludes,;t t
17972 s,@addlibs@,$addlibs,;t t
17973 s,@addtests@,$addtests,;t t
17974 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
17975 s,@toolexecdir@,$toolexecdir,;t t
17976 s,@toolexeclibdir@,$toolexeclibdir,;t t
17977 s,@LIBOBJS@,$LIBOBJS,;t t
17978 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17983 cat >>$CONFIG_STATUS <<\_ACEOF
17984 # Split the substitutions into bite-sized pieces for seds with
17985 # small command number limits, like on Digital OSF/1 and HP-UX.
17986 ac_max_sed_lines
=48
17987 ac_sed_frag
=1 # Number of current file.
17988 ac_beg
=1 # First line for current file.
17989 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17992 while $ac_more_lines; do
17993 if test $ac_beg -gt 1; then
17994 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17996 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17998 if test ! -s $tmp/subs.frag
; then
17999 ac_more_lines
=false
18001 # The purpose of the label and of the branching condition is to
18002 # speed up the sed processing (if there are no `@' at all, there
18003 # is no need to browse any of the substitutions).
18004 # These are the two extra sed commands mentioned above.
18006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18007 if test -z "$ac_sed_cmds"; then
18008 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18010 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18012 ac_sed_frag
=`expr $ac_sed_frag + 1`
18014 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18017 if test -z "$ac_sed_cmds"; then
18020 fi # test -n "$CONFIG_FILES"
18023 cat >>$CONFIG_STATUS <<\_ACEOF
18024 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18025 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18027 - |
*:- |
*:-:* ) # input from stdin
18029 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18030 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18031 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18032 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18033 * ) ac_file_in
=$ac_file.
in ;;
18036 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18037 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18039 X"$ac_file" : 'X\(//\)[^/]' \| \
18040 X"$ac_file" : 'X\(//\)$' \| \
18041 X"$ac_file" : 'X\(/\)' \| \
18042 . : '\(.\)' 2>/dev/null ||
18044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18045 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18046 /^X\(\/\/\)$/{ s//\1/; q; }
18047 /^X\(\/\).*/{ s//\1/; q; }
18049 { if $as_mkdir_p; then
18054 while test ! -d "$as_dir"; do
18055 as_dirs
="$as_dir $as_dirs"
18056 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18058 X"$as_dir" : 'X\(//\)[^/]' \| \
18059 X"$as_dir" : 'X\(//\)$' \| \
18060 X"$as_dir" : 'X\(/\)' \| \
18061 . : '\(.\)' 2>/dev/null ||
18063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18065 /^X\(\/\/\)$/{ s//\1/; q; }
18066 /^X\(\/\).*/{ s//\1/; q; }
18069 test ! -n "$as_dirs" || mkdir
$as_dirs
18070 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18071 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18072 { (exit 1); exit 1; }; }; }
18076 if test "$ac_dir" != .
; then
18077 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18078 # A "../" for each directory in $ac_dir_suffix.
18079 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18081 ac_dir_suffix
= ac_top_builddir
=
18085 .
) # No --srcdir option. We are building in place.
18087 if test -z "$ac_top_builddir"; then
18090 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18092 [\\/]* | ?
:[\\/]* ) # Absolute path.
18093 ac_srcdir
=$srcdir$ac_dir_suffix;
18094 ac_top_srcdir
=$srcdir ;;
18095 *) # Relative path.
18096 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18097 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18100 # Do not use `cd foo && pwd` to compute absolute paths, because
18101 # the directories may not exist.
18103 .
) ac_abs_builddir
="$ac_dir";;
18106 .
) ac_abs_builddir
=`pwd`;;
18107 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18108 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18111 case $ac_abs_builddir in
18112 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18114 case ${ac_top_builddir}.
in
18115 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18116 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18117 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18120 case $ac_abs_builddir in
18121 .
) ac_abs_srcdir
=$ac_srcdir;;
18124 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18125 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18126 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18129 case $ac_abs_builddir in
18130 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18132 case $ac_top_srcdir in
18133 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18134 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18135 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18141 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18142 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18145 if test x
"$ac_file" != x-
; then
18146 { echo "$as_me:$LINENO: creating $ac_file" >&5
18147 echo "$as_me: creating $ac_file" >&6;}
18150 # Let's still pretend it is `configure' which instantiates (i.e., don't
18151 # use $as_me), people would be surprised to read:
18152 # /* config.h. Generated by config.status. */
18153 if test x
"$ac_file" = x-
; then
18156 configure_input
="$ac_file. "
18158 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18159 sed 's,.*/,,'` by configure."
18161 # First look for the input files in the build tree, otherwise in the
18163 ac_file_inputs
=`IFS=:
18164 for f in $ac_file_in; do
18166 -) echo $tmp/stdin ;;
18168 # Absolute (can't be DOS-style, as IFS=:)
18169 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18170 echo "$as_me: error: cannot find input file: $f" >&2;}
18171 { (exit 1); exit 1; }; }
18174 if test -f "$f"; then
18177 elif test -f "$srcdir/$f"; then
18182 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18183 echo "$as_me: error: cannot find input file: $f" >&2;}
18184 { (exit 1); exit 1; }; }
18187 done` ||
{ (exit 1); exit 1; }
18189 cat >>$CONFIG_STATUS <<_ACEOF
18193 cat >>$CONFIG_STATUS <<\_ACEOF
18195 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18196 s
,@configure_input@
,$configure_input,;t t
18197 s
,@srcdir@
,$ac_srcdir,;t t
18198 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18199 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18200 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18201 s
,@builddir@
,$ac_builddir,;t t
18202 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18203 s
,@top_builddir@
,$ac_top_builddir,;t t
18204 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18205 s
,@INSTALL@
,$ac_INSTALL,;t t
18206 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18208 if test x"$ac_file" != x-; then
18209 mv $tmp/out $ac_file
18217 cat >>$CONFIG_STATUS <<\_ACEOF
18220 # CONFIG_HEADER section.
18223 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18224 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18226 # ac_d sets the value in "#define NAME VALUE" lines.
18227 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18228 ac_dB
='[ ].*$,\1#\2'
18231 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18232 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18233 ac_uB
='$,\1#\2define\3'
18237 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18238 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18240 - |
*:- |
*:-:* ) # input from stdin
18242 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18243 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18244 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18245 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18246 * ) ac_file_in
=$ac_file.
in ;;
18249 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18250 echo "$as_me: creating $ac_file" >&6;}
18252 # First look for the input files in the build tree, otherwise in the
18254 ac_file_inputs
=`IFS=:
18255 for f in $ac_file_in; do
18257 -) echo $tmp/stdin ;;
18259 # Absolute (can't be DOS-style, as IFS=:)
18260 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18261 echo "$as_me: error: cannot find input file: $f" >&2;}
18262 { (exit 1); exit 1; }; }
18263 # Do quote $f, to prevent DOS paths from being IFS'd.
18266 if test -f "$f"; then
18269 elif test -f "$srcdir/$f"; then
18274 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18275 echo "$as_me: error: cannot find input file: $f" >&2;}
18276 { (exit 1); exit 1; }; }
18279 done` ||
{ (exit 1); exit 1; }
18280 # Remove the trailing spaces.
18281 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18285 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18286 # `conftest.undefs', that substitutes the proper values into
18287 # config.h.in to produce config.h. The first handles `#define'
18288 # templates, and the second `#undef' templates.
18289 # And first: Protect against being on the right side of a sed subst in
18290 # config.status. Protect against being in an unquoted here document
18291 # in config.status.
18292 rm -f conftest.defines conftest.undefs
18293 # Using a here document instead of a string reduces the quoting nightmare.
18294 # Putting comments in sed scripts is not portable.
18296 # `end' is used to avoid that the second main sed command (meant for
18297 # 0-ary CPP macros) applies to n-ary macro definitions.
18298 # See the Autoconf documentation for `clear'.
18299 cat >confdef2sed.
sed <<\_ACEOF
18304 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18306 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18309 # If some macros were called several times there might be several times
18310 # the same #defines, which is useless. Nevertheless, we may not want to
18311 # sort them, since we want the *last* AC-DEFINE to be honored.
18312 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18313 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18314 rm -f confdef2sed.sed
18316 # This sed command replaces #undef with comments. This is necessary, for
18317 # example, in the case of _POSIX_SOURCE, which is predefined and required
18318 # on some systems where configure will not decide to define it.
18319 cat >>conftest.undefs <<\_ACEOF
18320 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18323 # Break up conftest.defines because some shells have a limit on the size
18324 # of here documents, and old seds have small limits too (100 cmds).
18325 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18326 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18327 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18328 echo ' :' >>$CONFIG_STATUS
18329 rm -f conftest.tail
18330 while grep . conftest.defines >/dev/null
18332 # Write a limited-size here document to $tmp/defines.sed.
18333 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18334 # Speed up: don't consider the non `#define' lines.
18335 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18336 # Work around the forget-to-reset-the-flag bug.
18337 echo 't clr' >>$CONFIG_STATUS
18338 echo ': clr' >>$CONFIG_STATUS
18339 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18341 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18343 mv $tmp/out $tmp/in
18345 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18346 rm -f conftest.defines
18347 mv conftest.
tail conftest.defines
18349 rm -f conftest.defines
18350 echo ' fi # grep' >>$CONFIG_STATUS
18351 echo >>$CONFIG_STATUS
18353 # Break up conftest.undefs because some shells have a limit on the size
18354 # of here documents, and old seds have small limits too (100 cmds).
18355 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18356 rm -f conftest.
tail
18357 while grep . conftest.undefs
>/dev
/null
18359 # Write a limited-size here document to $tmp/undefs.sed.
18360 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18361 # Speed up: don't consider the non
`#undef'
18362 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18363 # Work around the forget-to-reset-the-flag bug.
18364 echo 't clr' >>$CONFIG_STATUS
18365 echo ': clr' >>$CONFIG_STATUS
18366 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18368 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18370 mv $tmp/out $tmp/in
18372 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18373 rm -f conftest.undefs
18374 mv conftest.tail conftest.undefs
18376 rm -f conftest.undefs
18378 cat >>$CONFIG_STATUS <<\_ACEOF
18379 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18380 # use $as_me), people would be surprised to read:
18381 # /* config.h. Generated by config.status. */
18382 if test x
"$ac_file" = x-
; then
18383 echo "/* Generated by configure. */" >$tmp/config.h
18385 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18387 cat $tmp/in >>$tmp/config.h
18389 if test x
"$ac_file" != x-
; then
18390 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18391 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18392 echo "$as_me: $ac_file is unchanged" >&6;}
18394 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18395 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18396 X"$ac_file" : 'X\(//\)[^/]' \| \
18397 X"$ac_file" : 'X\(//\)$' \| \
18398 X"$ac_file" : 'X\(/\)' \| \
18399 . : '\(.\)' 2>/dev/null ||
18401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18403 /^X\(\/\/\)$/{ s//\1/; q; }
18404 /^X\(\/\).*/{ s//\1/; q; }
18406 { if $as_mkdir_p; then
18411 while test ! -d "$as_dir"; do
18412 as_dirs
="$as_dir $as_dirs"
18413 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18415 X"$as_dir" : 'X\(//\)[^/]' \| \
18416 X"$as_dir" : 'X\(//\)$' \| \
18417 X"$as_dir" : 'X\(/\)' \| \
18418 . : '\(.\)' 2>/dev/null ||
18420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18422 /^X\(\/\/\)$/{ s//\1/; q; }
18423 /^X\(\/\).*/{ s//\1/; q; }
18426 test ! -n "$as_dirs" || mkdir
$as_dirs
18427 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18428 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18429 { (exit 1); exit 1; }; }; }
18432 mv $tmp/config.h
$ac_file
18436 rm -f $tmp/config.h
18438 # Compute $ac_file's index in $config_headers.
18440 for _am_header
in $config_headers :; do
18441 case $_am_header in
18442 $ac_file |
$ac_file:* )
18445 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18448 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18449 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18450 X$ac_file : 'X\(//\)[^/]' \| \
18451 X$ac_file : 'X\(//\)$' \| \
18452 X$ac_file : 'X\(/\)' \| \
18453 . : '\(.\)' 2>/dev/null ||
18455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18457 /^X\(\/\/\)$/{ s//\1/; q; }
18458 /^X\(\/\).*/{ s//\1/; q; }
18459 s/.*/./; q'`/stamp-h
$_am_stamp_count
18462 cat >>$CONFIG_STATUS <<\_ACEOF
18465 # CONFIG_COMMANDS section.
18467 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18468 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18469 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18470 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18471 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18472 X"$ac_dest" : 'X\(//\)[^/]' \| \
18473 X"$ac_dest" : 'X\(//\)$' \| \
18474 X"$ac_dest" : 'X\(/\)' \| \
18475 . : '\(.\)' 2>/dev/null ||
18477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18479 /^X\(\/\/\)$/{ s//\1/; q; }
18480 /^X\(\/\).*/{ s//\1/; q; }
18482 { if $as_mkdir_p; then
18487 while test ! -d "$as_dir"; do
18488 as_dirs
="$as_dir $as_dirs"
18489 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18491 X"$as_dir" : 'X\(//\)[^/]' \| \
18492 X"$as_dir" : 'X\(//\)$' \| \
18493 X"$as_dir" : 'X\(/\)' \| \
18494 . : '\(.\)' 2>/dev/null ||
18496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18498 /^X\(\/\/\)$/{ s//\1/; q; }
18499 /^X\(\/\).*/{ s//\1/; q; }
18502 test ! -n "$as_dirs" || mkdir
$as_dirs
18503 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18504 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18505 { (exit 1); exit 1; }; }; }
18509 if test "$ac_dir" != .
; then
18510 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18511 # A "../" for each directory in $ac_dir_suffix.
18512 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18514 ac_dir_suffix
= ac_top_builddir
=
18518 .
) # No --srcdir option. We are building in place.
18520 if test -z "$ac_top_builddir"; then
18523 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18525 [\\/]* | ?
:[\\/]* ) # Absolute path.
18526 ac_srcdir
=$srcdir$ac_dir_suffix;
18527 ac_top_srcdir
=$srcdir ;;
18528 *) # Relative path.
18529 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18530 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18533 # Do not use `cd foo && pwd` to compute absolute paths, because
18534 # the directories may not exist.
18536 .
) ac_abs_builddir
="$ac_dir";;
18539 .
) ac_abs_builddir
=`pwd`;;
18540 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18541 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18544 case $ac_abs_builddir in
18545 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18547 case ${ac_top_builddir}.
in
18548 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18549 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18550 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18553 case $ac_abs_builddir in
18554 .
) ac_abs_srcdir
=$ac_srcdir;;
18557 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18558 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18559 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18562 case $ac_abs_builddir in
18563 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18565 case $ac_top_srcdir in
18566 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18567 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18568 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18573 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18574 echo "$as_me: executing $ac_dest commands" >&6;}
18577 # Only add multilib support code if we just rebuilt the top-level
18579 case " $CONFIG_FILES " in
18581 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18584 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18585 # Strip MF so we end up with the name of the file.
18586 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18587 # Check whether this is an Automake generated Makefile or not.
18588 # We used to match only the files named `Makefile.in', but
18589 # some people rename them; so instead we look at the file content.
18590 # Grep'ing the first line is not enough: some people post-process
18591 # each Makefile.in and add a new line on top of each file to say so.
18592 # So let's grep whole file.
18593 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18594 dirpart
=`(dirname "$mf") 2>/dev/null ||
18595 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18596 X"$mf" : 'X\(//\)[^/]' \| \
18597 X"$mf" : 'X\(//\)$' \| \
18598 X"$mf" : 'X\(/\)' \| \
18599 . : '\(.\)' 2>/dev/null ||
18601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18603 /^X\(\/\/\)$/{ s//\1/; q; }
18604 /^X\(\/\).*/{ s//\1/; q; }
18609 # Extract the definition of DEPDIR, am__include, and am__quote
18610 # from the Makefile without running `make'.
18611 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18612 test -z "$DEPDIR" && continue
18613 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18614 test -z "am__include" && continue
18615 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18616 # When using ansi2knr, U may be empty or an underscore; expand it
18617 U
=`sed -n 's/^U = //p' < "$mf"`
18618 # Find all dependency output files, they are included files with
18619 # $(DEPDIR) in their names. We invoke sed twice because it is the
18620 # simplest approach to changing $(DEPDIR) to its actual value in the
18622 for file in `sed -n "
18623 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18624 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18625 # Make sure the directory exists.
18626 test -f "$dirpart/$file" && continue
18627 fdir
=`(dirname "$file") 2>/dev/null ||
18628 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18629 X"$file" : 'X\(//\)[^/]' \| \
18630 X"$file" : 'X\(//\)$' \| \
18631 X"$file" : 'X\(/\)' \| \
18632 . : '\(.\)' 2>/dev/null ||
18634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18636 /^X\(\/\/\)$/{ s//\1/; q; }
18637 /^X\(\/\).*/{ s//\1/; q; }
18639 { if $as_mkdir_p; then
18640 mkdir
-p $dirpart/$fdir
18642 as_dir
=$dirpart/$fdir
18644 while test ! -d "$as_dir"; do
18645 as_dirs
="$as_dir $as_dirs"
18646 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18648 X"$as_dir" : 'X\(//\)[^/]' \| \
18649 X"$as_dir" : 'X\(//\)$' \| \
18650 X"$as_dir" : 'X\(/\)' \| \
18651 . : '\(.\)' 2>/dev/null ||
18653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18655 /^X\(\/\/\)$/{ s//\1/; q; }
18656 /^X\(\/\).*/{ s//\1/; q; }
18659 test ! -n "$as_dirs" || mkdir
$as_dirs
18660 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18661 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18662 { (exit 1); exit 1; }; }; }
18664 # echo "creating $dirpart/$file"
18665 echo '# dummy' > "$dirpart/$file"
18671 # See if we are running on zsh, and set the options which allow our
18672 # commands through without removal of \ escapes.
18673 if test -n "${ZSH_VERSION+set}" ; then
18674 setopt NO_GLOB_SUBST
18677 cfgfile
="${ofile}T"
18678 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18681 cat <<_LT_EOF >> "$cfgfile"
18684 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18685 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18686 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18687 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18689 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18690 # 2006, 2007, 2008 Free Software Foundation, Inc.
18691 # Written by Gordon Matzigkeit, 1996
18693 # This file is part of GNU Libtool.
18695 # GNU Libtool is free software; you can redistribute it and/or
18696 # modify it under the terms of the GNU General Public License as
18697 # published by the Free Software Foundation; either version 2 of
18698 # the License, or (at your option) any later version.
18700 # As a special exception to the GNU General Public License,
18701 # if you distribute this file as part of a program or library that
18702 # is built using GNU Libtool, you may include this file under the
18703 # same distribution terms that you use for the rest of that program.
18705 # GNU Libtool is distributed in the hope that it will be useful,
18706 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18707 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18708 # GNU General Public License for more details.
18710 # You should have received a copy of the GNU General Public License
18711 # along with GNU Libtool; see the file COPYING. If not, a copy
18712 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18713 # obtained by writing to the Free Software Foundation, Inc.,
18714 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18717 # The names of the tagged configurations supported by this script.
18718 available_tags="CXX "
18720 # ### BEGIN LIBTOOL CONFIG
18722 # Which release of libtool.m4 was used?
18723 macro_version=$macro_version
18724 macro_revision=$macro_revision
18726 # Whether or not to build shared libraries.
18727 build_libtool_libs=$enable_shared
18729 # Whether or not to build static libraries.
18730 build_old_libs=$enable_static
18732 # What type of objects to build.
18735 # Whether or not to optimize for fast installation.
18736 fast_install=$enable_fast_install
18739 host_alias=$host_alias
18743 # The build system.
18744 build_alias=$build_alias
18748 # A sed program that does not truncate output.
18751 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18752 Xsed="\$SED -e 1s/^X//"
18754 # A grep program that handles long lines.
18760 # A literal string matcher.
18763 # A BSD- or MS-compatible name lister.
18766 # Whether we need soft or hard links.
18769 # What is the maximum length of a command?
18770 max_cmd_len=$max_cmd_len
18772 # Object file suffix (normally "o").
18775 # Executable file suffix (normally "").
18778 # whether the shell understands "unset".
18781 # turn spaces into newlines.
18784 # turn newlines into spaces.
18787 # How to create reloadable object files.
18788 reload_flag=$lt_reload_flag
18789 reload_cmds=$lt_reload_cmds
18791 # An object symbol dumper.
18792 OBJDUMP=$lt_OBJDUMP
18794 # Method to check whether dependent libraries are shared objects.
18795 deplibs_check_method=$lt_deplibs_check_method
18797 # Command to use when deplibs_check_method == "file_magic".
18798 file_magic_cmd=$lt_file_magic_cmd
18802 AR_FLAGS=$lt_AR_FLAGS
18804 # A symbol stripping program.
18807 # Commands used to install an old-style archive.
18809 old_postinstall_cmds=$lt_old_postinstall_cmds
18810 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18815 # LTCC compiler flags.
18816 LTCFLAGS=$lt_CFLAGS
18818 # Take the output of nm and produce a listing of raw symbols and C names.
18819 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18821 # Transform the output of nm in a proper C declaration.
18822 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18824 # Transform the output of nm in a C name address pair.
18825 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18827 # Transform the output of nm in a C name address pair when lib prefix is needed.
18828 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18830 # The name of the directory that contains temporary libtool files.
18833 # Shell to use when invoking shell scripts.
18836 # An echo program that does not interpret backslashes.
18839 # Used to examine libraries when file_magic_cmd begins with "file".
18840 MAGIC_CMD=$MAGIC_CMD
18842 # Must we lock files when doing compilation?
18843 need_locks=$lt_need_locks
18845 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18846 DSYMUTIL=$lt_DSYMUTIL
18848 # Tool to change global to local symbols on Mac OS X.
18851 # Tool to manipulate fat objects and archives on Mac OS X.
18854 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18857 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18858 OTOOL64=$lt_OTOOL64
18860 # Old archive suffix (normally "a").
18863 # Shared library suffix (normally ".so").
18864 shrext_cmds=$lt_shrext_cmds
18866 # The commands to extract the exported symbol list from a shared archive.
18867 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18869 # Variables whose values should be saved in libtool wrapper scripts and
18870 # restored at link time.
18871 variables_saved_for_relink=$lt_variables_saved_for_relink
18873 # Do we need the "lib" prefix for modules?
18874 need_lib_prefix=$need_lib_prefix
18876 # Do we need a version for libraries?
18877 need_version=$need_version
18879 # Library versioning type.
18880 version_type=$version_type
18882 # Shared library runtime path variable.
18883 runpath_var=$runpath_var
18885 # Shared library path variable.
18886 shlibpath_var=$shlibpath_var
18888 # Is shlibpath searched before the hard-coded library search path?
18889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18891 # Format of library name prefix.
18892 libname_spec=$lt_libname_spec
18894 # List of archive names. First name is the real one, the rest are links.
18895 # The last name is the one that the linker finds with -lNAME
18896 library_names_spec=$lt_library_names_spec
18898 # The coded name of the library, if different from the real name.
18899 soname_spec=$lt_soname_spec
18901 # Command to use after installation of a shared archive.
18902 postinstall_cmds=$lt_postinstall_cmds
18904 # Command to use after uninstallation of a shared archive.
18905 postuninstall_cmds=$lt_postuninstall_cmds
18907 # Commands used to finish a libtool library installation in a directory.
18908 finish_cmds=$lt_finish_cmds
18910 # As "finish_cmds", except a single script fragment to be evaled but
18912 finish_eval=$lt_finish_eval
18914 # Whether we should hardcode library paths into libraries.
18915 hardcode_into_libs=$hardcode_into_libs
18917 # Compile-time system search path for libraries.
18918 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18920 # Run-time system search path for libraries.
18921 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18923 # Whether dlopen is supported.
18924 dlopen_support=$enable_dlopen
18926 # Whether dlopen of programs is supported.
18927 dlopen_self=$enable_dlopen_self
18929 # Whether dlopen of statically linked programs is supported.
18930 dlopen_self_static=$enable_dlopen_self_static
18932 # Commands to strip libraries.
18933 old_striplib=$lt_old_striplib
18934 striplib=$lt_striplib
18937 # The linker used to build libraries.
18940 # Commands used to build an old-style archive.
18941 old_archive_cmds=$lt_old_archive_cmds
18943 # A language specific compiler.
18946 # Is the compiler the GNU compiler?
18949 # Compiler flag to turn off builtin functions.
18950 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18952 # How to pass a linker flag through the compiler.
18953 wl=$lt_lt_prog_compiler_wl
18955 # Additional compiler flags for building library objects.
18956 pic_flag=$lt_lt_prog_compiler_pic
18958 # Compiler flag to prevent dynamic linking.
18959 link_static_flag=$lt_lt_prog_compiler_static
18961 # Does compiler simultaneously support -c and -o options?
18962 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18964 # Whether or not to add -lc for building shared libraries.
18965 build_libtool_need_lc=$archive_cmds_need_lc
18967 # Whether or not to disallow shared libs when runtime libs are static.
18968 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18970 # Compiler flag to allow reflexive dlopens.
18971 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18973 # Compiler flag to generate shared objects directly from archives.
18974 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18976 # Whether the compiler copes with passing no objects directly.
18977 compiler_needs_object=$lt_compiler_needs_object
18979 # Create an old-style archive from a shared archive.
18980 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18982 # Create a temporary old-style archive to link instead of a shared archive.
18983 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18985 # Commands used to build a shared archive.
18986 archive_cmds=$lt_archive_cmds
18987 archive_expsym_cmds=$lt_archive_expsym_cmds
18989 # Commands used to build a loadable module if different from building
18990 # a shared archive.
18991 module_cmds=$lt_module_cmds
18992 module_expsym_cmds=$lt_module_expsym_cmds
18994 # Whether we are building with GNU ld or not.
18995 with_gnu_ld=$lt_with_gnu_ld
18997 # Flag that allows shared libraries with undefined symbols to be built.
18998 allow_undefined_flag=$lt_allow_undefined_flag
19000 # Flag that enforces no undefined symbols.
19001 no_undefined_flag=$lt_no_undefined_flag
19003 # Flag to hardcode \$libdir into a binary during linking.
19004 # This must work even if \$libdir does not exist
19005 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19007 # If ld is used when linking, flag to hardcode \$libdir into a binary
19008 # during linking. This must work even if \$libdir does not exist.
19009 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19011 # Whether we need a single "-rpath" flag with a separated argument.
19012 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19014 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19015 # DIR into the resulting binary.
19016 hardcode_direct=$hardcode_direct
19018 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19019 # DIR into the resulting binary and the resulting library dependency is
19020 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19021 # library is relocated.
19022 hardcode_direct_absolute=$hardcode_direct_absolute
19024 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19025 # into the resulting binary.
19026 hardcode_minus_L=$hardcode_minus_L
19028 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19029 # into the resulting binary.
19030 hardcode_shlibpath_var=$hardcode_shlibpath_var
19032 # Set to "yes" if building a shared library automatically hardcodes DIR
19033 # into the library and all subsequent libraries and executables linked
19035 hardcode_automatic=$hardcode_automatic
19037 # Set to yes if linker adds runtime paths of dependent libraries
19038 # to runtime path list.
19039 inherit_rpath=$inherit_rpath
19041 # Whether libtool must link a program against all its dependency libraries.
19042 link_all_deplibs=$link_all_deplibs
19044 # Fix the shell variable \$srcfile for the compiler.
19045 fix_srcfile_path=$lt_fix_srcfile_path
19047 # Set to "yes" if exported symbols are required.
19048 always_export_symbols=$always_export_symbols
19050 # The commands to list exported symbols.
19051 export_symbols_cmds=$lt_export_symbols_cmds
19053 # Symbols that should not be listed in the preloaded symbols.
19054 exclude_expsyms=$lt_exclude_expsyms
19056 # Symbols that must always be exported.
19057 include_expsyms=$lt_include_expsyms
19059 # Commands necessary for linking programs (against libraries) with templates.
19060 prelink_cmds=$lt_prelink_cmds
19062 # Specify filename containing input files.
19063 file_list_spec=$lt_file_list_spec
19065 # How to hardcode a shared library path into an executable.
19066 hardcode_action=$hardcode_action
19068 # The directories searched by this compiler when creating a shared library.
19069 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19071 # Dependencies to place before and after the objects being linked to
19072 # create a shared library.
19073 predep_objects=$lt_predep_objects
19074 postdep_objects=$lt_postdep_objects
19075 predeps=$lt_predeps
19076 postdeps=$lt_postdeps
19078 # The library search path used internally by the compiler when linking
19079 # a shared library.
19080 compiler_lib_search_path=$lt_compiler_lib_search_path
19082 # ### END LIBTOOL CONFIG
19088 cat <<\_LT_EOF
>> "$cfgfile"
19089 # AIX sometimes has problems with the GCC collect2 program. For some
19090 # reason, if we set the COLLECT_NAMES environment variable, the problems
19091 # vanish in a puff of smoke.
19092 if test "X${COLLECT_NAMES+set}" != Xset
; then
19094 export COLLECT_NAMES
19101 ltmain
="$ac_aux_dir/ltmain.sh"
19104 # We use sed instead of cat because bash on DJGPP gets confused if
19105 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19106 # text mode, it properly converts lines to CR/LF. This bash problem
19107 # is reportedly fixed, but why not run on old versions too?
19108 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19109 ||
(rm -f "$cfgfile"; exit 1)
19113 cat << \_LT_EOF
>> "$cfgfile"
19115 # func_dirname file append nondir_replacement
19116 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19117 # otherwise set result to NONDIR_REPLACEMENT.
19121 */*) func_dirname_result
="${1%/*}${2}" ;;
19122 * ) func_dirname_result
="${3}" ;;
19126 # func_basename file
19129 func_basename_result
="${1##*/}"
19132 # func_dirname_and_basename file append nondir_replacement
19133 # perform func_basename and func_dirname in a single function
19135 # dirname: Compute the dirname of FILE. If nonempty,
19136 # add APPEND to the result, otherwise set result
19137 # to NONDIR_REPLACEMENT.
19138 # value returned in "$func_dirname_result"
19139 # basename: Compute filename of FILE.
19140 # value retuned in "$func_basename_result"
19141 # Implementation must be kept synchronized with func_dirname
19142 # and func_basename. For efficiency, we do not delegate to
19143 # those functions but instead duplicate the functionality here.
19144 func_dirname_and_basename
()
19147 */*) func_dirname_result
="${1%/*}${2}" ;;
19148 * ) func_dirname_result
="${3}" ;;
19150 func_basename_result
="${1##*/}"
19153 # func_stripname prefix suffix name
19154 # strip PREFIX and SUFFIX off of NAME.
19155 # PREFIX and SUFFIX must not contain globbing or regex special
19156 # characters, hashes, percent signs, but SUFFIX may contain a leading
19157 # dot (in which case that matches only a dot).
19160 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19161 # positional parameters, so assign one to ordinary parameter first.
19162 func_stripname_result
=${3}
19163 func_stripname_result
=${func_stripname_result#"${1}"}
19164 func_stripname_result
=${func_stripname_result%"${2}"}
19170 func_opt_split_opt
=${1%%=*}
19171 func_opt_split_arg
=${1#*=}
19178 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19179 *) func_lo2o_result
=${1} ;;
19183 # func_xform libobj-or-source
19186 func_xform_result
=${1%.*}.lo
19189 # func_arith arithmetic-term...
19192 func_arith_result
=$
(( $
* ))
19196 # STRING may not start with a hyphen.
19199 func_len_result
=${#1}
19204 *) # Bourne compatible functions.
19205 cat << \_LT_EOF
>> "$cfgfile"
19207 # func_dirname file append nondir_replacement
19208 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19209 # otherwise set result to NONDIR_REPLACEMENT.
19212 # Extract subdirectory from the argument.
19213 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19214 if test "X$func_dirname_result" = "X${1}"; then
19215 func_dirname_result
="${3}"
19217 func_dirname_result
="$func_dirname_result${2}"
19221 # func_basename file
19224 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
19228 # func_stripname prefix suffix name
19229 # strip PREFIX and SUFFIX off of NAME.
19230 # PREFIX and SUFFIX must not contain globbing or regex special
19231 # characters, hashes, percent signs, but SUFFIX may contain a leading
19232 # dot (in which case that matches only a dot).
19233 # func_strip_suffix prefix name
19237 .
*) func_stripname_result
=`$ECHO "X${3}" \
19238 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19239 *) func_stripname_result
=`$ECHO "X${3}" \
19240 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19245 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19246 my_sed_long_arg
='1s/^-[^=]*=//'
19251 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19252 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19258 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19261 # func_xform libobj-or-source
19264 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19267 # func_arith arithmetic-term...
19270 func_arith_result
=`expr "$@"`
19274 # STRING may not start with a hyphen.
19277 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19283 case $lt_shell_append in
19285 cat << \_LT_EOF
>> "$cfgfile"
19287 # func_append var value
19288 # Append VALUE to the end of shell variable VAR.
19296 cat << \_LT_EOF
>> "$cfgfile"
19298 # func_append var value
19299 # Append VALUE to the end of shell variable VAR.
19310 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19311 ||
(rm -f "$cfgfile"; exit 1)
19313 mv -f "$cfgfile" "$ofile" ||
19314 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19318 cat <<_LT_EOF >> "$ofile"
19320 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19322 # The linker used to build libraries.
19325 # Commands used to build an old-style archive.
19326 old_archive_cmds=$lt_old_archive_cmds_CXX
19328 # A language specific compiler.
19329 CC=$lt_compiler_CXX
19331 # Is the compiler the GNU compiler?
19334 # Compiler flag to turn off builtin functions.
19335 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19337 # How to pass a linker flag through the compiler.
19338 wl=$lt_lt_prog_compiler_wl_CXX
19340 # Additional compiler flags for building library objects.
19341 pic_flag=$lt_lt_prog_compiler_pic_CXX
19343 # Compiler flag to prevent dynamic linking.
19344 link_static_flag=$lt_lt_prog_compiler_static_CXX
19346 # Does compiler simultaneously support -c and -o options?
19347 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19349 # Whether or not to add -lc for building shared libraries.
19350 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19352 # Whether or not to disallow shared libs when runtime libs are static.
19353 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19355 # Compiler flag to allow reflexive dlopens.
19356 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19358 # Compiler flag to generate shared objects directly from archives.
19359 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19361 # Whether the compiler copes with passing no objects directly.
19362 compiler_needs_object=$lt_compiler_needs_object_CXX
19364 # Create an old-style archive from a shared archive.
19365 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19367 # Create a temporary old-style archive to link instead of a shared archive.
19368 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19370 # Commands used to build a shared archive.
19371 archive_cmds=$lt_archive_cmds_CXX
19372 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19374 # Commands used to build a loadable module if different from building
19375 # a shared archive.
19376 module_cmds=$lt_module_cmds_CXX
19377 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19379 # Whether we are building with GNU ld or not.
19380 with_gnu_ld=$lt_with_gnu_ld_CXX
19382 # Flag that allows shared libraries with undefined symbols to be built.
19383 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19385 # Flag that enforces no undefined symbols.
19386 no_undefined_flag=$lt_no_undefined_flag_CXX
19388 # Flag to hardcode \$libdir into a binary during linking.
19389 # This must work even if \$libdir does not exist
19390 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19392 # If ld is used when linking, flag to hardcode \$libdir into a binary
19393 # during linking. This must work even if \$libdir does not exist.
19394 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19396 # Whether we need a single "-rpath" flag with a separated argument.
19397 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19399 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19400 # DIR into the resulting binary.
19401 hardcode_direct=$hardcode_direct_CXX
19403 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19404 # DIR into the resulting binary and the resulting library dependency is
19405 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19406 # library is relocated.
19407 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19409 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19410 # into the resulting binary.
19411 hardcode_minus_L=$hardcode_minus_L_CXX
19413 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19414 # into the resulting binary.
19415 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19417 # Set to "yes" if building a shared library automatically hardcodes DIR
19418 # into the library and all subsequent libraries and executables linked
19420 hardcode_automatic=$hardcode_automatic_CXX
19422 # Set to yes if linker adds runtime paths of dependent libraries
19423 # to runtime path list.
19424 inherit_rpath=$inherit_rpath_CXX
19426 # Whether libtool must link a program against all its dependency libraries.
19427 link_all_deplibs=$link_all_deplibs_CXX
19429 # Fix the shell variable \$srcfile for the compiler.
19430 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19432 # Set to "yes" if exported symbols are required.
19433 always_export_symbols=$always_export_symbols_CXX
19435 # The commands to list exported symbols.
19436 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19438 # Symbols that should not be listed in the preloaded symbols.
19439 exclude_expsyms=$lt_exclude_expsyms_CXX
19441 # Symbols that must always be exported.
19442 include_expsyms=$lt_include_expsyms_CXX
19444 # Commands necessary for linking programs (against libraries) with templates.
19445 prelink_cmds=$lt_prelink_cmds_CXX
19447 # Specify filename containing input files.
19448 file_list_spec=$lt_file_list_spec_CXX
19450 # How to hardcode a shared library path into an executable.
19451 hardcode_action=$hardcode_action_CXX
19453 # The directories searched by this compiler when creating a shared library.
19454 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19456 # Dependencies to place before and after the objects being linked to
19457 # create a shared library.
19458 predep_objects=$lt_predep_objects_CXX
19459 postdep_objects=$lt_postdep_objects_CXX
19460 predeps=$lt_predeps_CXX
19461 postdeps=$lt_postdeps_CXX
19463 # The library search path used internally by the compiler when linking
19464 # a shared library.
19465 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19467 # ### END LIBTOOL TAG CONFIG: CXX
19475 cat >>$CONFIG_STATUS <<\_ACEOF
19477 { (exit 0); exit 0; }
19479 chmod +x
$CONFIG_STATUS
19480 ac_clean_files
=$ac_clean_files_save
19483 # configure is writing to config.log, and then calls config.status.
19484 # config.status does its own redirection, appending to config.log.
19485 # Unfortunately, on DOS this fails, as config.log is still kept open
19486 # by configure, so config.status won't be able to write to it; its
19487 # output is simply discarded. So we exec the FD to /dev/null,
19488 # effectively closing config.log, so it can be properly (re)opened and
19489 # appended to by config.status. When coming back to configure, we
19490 # need to make the FD available again.
19491 if test "$no_create" != yes; then
19493 ac_config_status_args
=
19494 test "$silent" = yes &&
19495 ac_config_status_args
="$ac_config_status_args --quiet"
19497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19500 # would make configure fail if this is the last instruction.
19501 $ac_cs_success ||
{ (exit 1); exit 1; }