2 # From configure.ac Revision: 1.69 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for gc 7.2.
6 # Report bugs to <gc@linux.hpl.hp.com>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null; then :
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 test -z "$as_dir" && as_dir=.
204 for as_base in sh bash ksh sh5; do
205 # Try only shells that exist, to save several forks.
206 as_shell=$as_dir/$as_base
207 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 CONFIG_SHELL=$as_shell as_have_required=yes
210 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
218 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
219 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
220 CONFIG_SHELL=$SHELL as_have_required=yes
225 if test "x$CONFIG_SHELL" != x; then :
226 # We cannot yet assume a decent shell, so we have to provide a
227 # neutralization value for shells without unset; and this also
228 # works around shells that cannot unset nonexistent variables.
229 # Preserve -v and -x to the replacement shell.
232 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
235 *v*x* | *x*v* ) as_opts=-vx ;;
240 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
243 if test x$as_have_required = xno; then :
244 $as_echo "$0: This script requires a shell more modern than all"
245 $as_echo "$0: the shells that I found on your system."
246 if test x${ZSH_VERSION+set} = xset ; then
247 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
248 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
250 $as_echo "$0: Please tell bug-autoconf@gnu.org and
251 $0: gc@linux.hpl.hp.com about your system, including any
252 $0: error possibly output before this message. Then install
253 $0: a modern shell, or manually run the script under such a
254 $0: shell if you do have one."
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
574 PACKAGE_VERSION='7.2'
575 PACKAGE_STRING='gc 7.2'
576 PACKAGE_BUGREPORT='gc@linux.hpl.hp.com'
579 ac_unique_file="gcj_mlc.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 enable_option_checking=no
617 ac_subst_vars='am__EXEEXT_FALSE
621 NEED_ATOMIC_OPS_ASM_FALSE
622 NEED_ATOMIC_OPS_ASM_TRUE
623 USE_INTERNAL_LIBATOMIC_OPS_FALSE
624 USE_INTERNAL_LIBATOMIC_OPS_TRUE
634 ENABLE_GCJ_SUPPORT_FALSE
635 ENABLE_GCJ_SUPPORT_TRUE
672 OPENBSD_THREADS_FALSE
684 am__fastdepCCAS_FALSE
713 MAINTAINER_MODE_FALSE
723 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
791 enable_maintainer_mode
792 enable_dependency_tracking
808 enable_java_finalization
809 enable_atomic_uncollectable
810 enable_redirect_malloc
817 ac_precious_vars='build_alias
835 ac_subdirs_all='libatomic_ops'
837 # Initialize some variables set by options.
839 ac_init_version=false
840 ac_unrecognized_opts=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name=s,x,x,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\$ac_option
897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 -build | --build | --buil | --bui | --bu)
914 ac_prev=build_alias ;;
915 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916 build_alias=$ac_optarg ;;
918 -cache-file | --cache-file | --cache-fil | --cache-fi \
919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 ac_prev=cache_file ;;
921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923 cache_file=$ac_optarg ;;
926 cache_file=config.cache ;;
928 -datadir | --datadir | --datadi | --datad)
930 -datadir=* | --datadir=* | --datadi=* | --datad=*)
931 datadir=$ac_optarg ;;
933 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934 | --dataroo | --dataro | --datar)
935 ac_prev=datarootdir ;;
936 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938 datarootdir=$ac_optarg ;;
940 -disable-* | --disable-*)
941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error $? "invalid feature name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval enable_$ac_useropt=no ;;
956 -docdir | --docdir | --docdi | --doc | --do)
958 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 -enable-* | --enable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=\$ac_optarg ;;
982 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984 | --exec | --exe | --ex)
985 ac_prev=exec_prefix ;;
986 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988 | --exec=* | --exe=* | --ex=*)
989 exec_prefix=$ac_optarg ;;
991 -gas | --gas | --ga | --g)
992 # Obsolete; use --with-gas.
995 -help | --help | --hel | --he | -h)
997 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 ac_init_help=recursive ;;
999 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000 ac_init_help=short ;;
1002 -host | --host | --hos | --ho)
1003 ac_prev=host_alias ;;
1004 -host=* | --host=* | --hos=* | --ho=*)
1005 host_alias=$ac_optarg ;;
1007 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 htmldir=$ac_optarg ;;
1013 -includedir | --includedir | --includedi | --included | --include \
1014 | --includ | --inclu | --incl | --inc)
1015 ac_prev=includedir ;;
1016 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017 | --includ=* | --inclu=* | --incl=* | --inc=*)
1018 includedir=$ac_optarg ;;
1020 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023 infodir=$ac_optarg ;;
1025 -libdir | --libdir | --libdi | --libd)
1027 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028 libdir=$ac_optarg ;;
1030 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031 | --libexe | --libex | --libe)
1032 ac_prev=libexecdir ;;
1033 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034 | --libexe=* | --libex=* | --libe=*)
1035 libexecdir=$ac_optarg ;;
1037 -localedir | --localedir | --localedi | --localed | --locale)
1038 ac_prev=localedir ;;
1039 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 | --localstate | --localstat | --localsta | --localst | --locals)
1044 ac_prev=localstatedir ;;
1045 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047 localstatedir=$ac_optarg ;;
1049 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052 mandir=$ac_optarg ;;
1054 -nfp | --nfp | --nf)
1055 # Obsolete; use --without-fp.
1058 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059 | --no-cr | --no-c | -n)
1062 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068 | --oldin | --oldi | --old | --ol | --o)
1069 ac_prev=oldincludedir ;;
1070 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073 oldincludedir=$ac_optarg ;;
1075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078 prefix=$ac_optarg ;;
1080 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081 | --program-pre | --program-pr | --program-p)
1082 ac_prev=program_prefix ;;
1083 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085 program_prefix=$ac_optarg ;;
1087 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088 | --program-suf | --program-su | --program-s)
1089 ac_prev=program_suffix ;;
1090 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092 program_suffix=$ac_optarg ;;
1094 -program-transform-name | --program-transform-name \
1095 | --program-transform-nam | --program-transform-na \
1096 | --program-transform-n | --program-transform- \
1097 | --program-transform | --program-transfor \
1098 | --program-transfo | --program-transf \
1099 | --program-trans | --program-tran \
1100 | --progr-tra | --program-tr | --program-t)
1101 ac_prev=program_transform_name ;;
1102 -program-transform-name=* | --program-transform-name=* \
1103 | --program-transform-nam=* | --program-transform-na=* \
1104 | --program-transform-n=* | --program-transform-=* \
1105 | --program-transform=* | --program-transfor=* \
1106 | --program-transfo=* | --program-transf=* \
1107 | --program-trans=* | --program-tran=* \
1108 | --progr-tra=* | --program-tr=* | --program-t=*)
1109 program_transform_name=$ac_optarg ;;
1111 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114 pdfdir=$ac_optarg ;;
1116 -psdir | --psdir | --psdi | --psd | --ps)
1118 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1291 If a cross compiler is detected then cross compile mode will be used" >&2
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300 test "$silent" = yes && exec 6>/dev/null
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $? "pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures gc 7.2 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/gc]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 --target=TARGET configure for building compilers for TARGET [HOST]
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive ) echo "Configuration of gc 7.2:";;
1453 --disable-option-checking ignore unrecognized --enable/--with options
1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1456 --enable-maintainer-mode enable make rules and dependencies not useful
1457 (and sometimes confusing) to the casual installer
1458 --disable-dependency-tracking speeds up one-time build
1459 --enable-dependency-tracking do not reject slow dependency extractors
1460 --enable-threads=TYPE choose threading package
1461 --enable-parallel-mark parallelize marking and free list construction
1462 --enable-cplusplus install C++ support
1463 --enable-shared[=PKGS] build shared libraries [default=yes]
1464 --enable-static[=PKGS] build static libraries [default=yes]
1465 --enable-fast-install[=PKGS]
1466 optimize for fast installation [default=yes]
1467 --disable-libtool-lock avoid locking (might break parallel builds)
1468 --disable-gcj-support Disable support for gcj.
1469 --enable-gc-debug include full support for pointer backtracing etc.
1470 --disable-java-finalization
1471 Disable support for java finalization.
1472 --disable-atomic-uncollectible
1473 Disable support for atomic uncollectible allocation.
1474 --enable-redirect-malloc
1475 Redirect malloc and friends to GC routines
1476 --enable-large-config Optimize for large (> 100 MB) heap or root set
1477 --enable-handle-fork Attempt to ensure a usable collector after fork() in
1478 multi-threaded programs.
1479 --enable-gc-assertions collector-internal assertion checking
1480 --enable-munmap=N return page to the os if empty for N collections
1483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1485 --with-ecos enable runtime eCos target support
1486 --with-pic try to use only PIC/non-PIC objects [default=use
1488 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1489 --with-sysroot=DIR Search for dependent libraries within DIR
1490 (or the compiler's sysroot if not specified).
1491 --with-target-subdir=SUBDIR
1492 configuring with a cross compiler
1493 --with-cross-host=HOST configuring with a cross compiler
1494 --with-libatomic-ops=yes|no|check
1495 Use a external libatomic_ops? (default: check)
1497 Some influential environment variables:
1498 CC C compiler command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1501 nonstandard directory <lib dir>
1502 LIBS libraries to pass to the linker, e.g. -l<library>
1503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1504 you have headers in a nonstandard directory <include dir>
1505 CXX C++ compiler command
1506 CXXFLAGS C++ compiler flags
1507 CCAS assembler compiler command (defaults to CC)
1508 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1510 CXXCPP C++ preprocessor
1511 PKG_CONFIG path to pkg-config utility
1513 C compiler flags for ATOMIC_OPS, overriding pkg-config
1515 linker flags for ATOMIC_OPS, overriding pkg-config
1517 Use these variables to override the choices made by `configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1520 Report bugs to <gc@linux.hpl.hp.com>.
1525 if test "$ac_init_help" = "recursive"; then
1526 # If there are subdirs, report their specific --help.
1527 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1528 test -d "$ac_dir" ||
1529 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1544 ac_abs_top_builddir=$ac_pwd
1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir=$ac_top_build_prefix
1550 .) # We are building in place.
1552 ac_top_srcdir=$ac_top_builddir_sub
1553 ac_abs_top_srcdir=$ac_pwd ;;
1554 [\\/]* | ?:[\\/]* ) # Absolute name.
1555 ac_srcdir=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir=$srcdir
1557 ac_abs_top_srcdir=$srcdir ;;
1559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1565 cd "$ac_dir" || { ac_status=$?; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1574 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 cd "$ac_pwd" || { ac_status=$?; break; }
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1584 generated by GNU Autoconf 2.68
1586 Copyright (C) 2010 Free Software Foundation, Inc.
1587 This configure script is free software; the Free Software Foundation
1588 gives unlimited permission to copy, distribute and modify it.
1593 ## ------------------------ ##
1594 ## Autoconf initialization. ##
1595 ## ------------------------ ##
1597 # ac_fn_c_try_compile LINENO
1598 # --------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_c_try_compile
1635 # ac_fn_cxx_try_compile LINENO
1636 # ----------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_cxx_try_compile ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1642 if { { ac_try="$ac_compile"
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_cxx_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_cxx_try_compile
1673 # ac_fn_c_try_link LINENO
1674 # -----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext conftest$ac_exeext
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest$ac_exeext && {
1699 test "$cross_compiling" = yes ||
1700 $as_test_x conftest$ac_exeext
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1711 # interfere with the next link command; also delete a directory that is
1712 # left behind by Apple's compiler. We do this before executing the actions.
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1717 } # ac_fn_c_try_link
1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 # -------------------------------------------------------
1721 # Tests whether HEADER exists and can be compiled using the include files in
1722 # INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1736 if ac_fn_c_try_compile "$LINENO"; then :
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } # ac_fn_c_check_header_compile
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } > conftest.i && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1787 # ac_fn_c_try_run LINENO
1788 # ----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1790 # that executables *can* be run.
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_link"
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>&5
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1805 { { case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_try") 2>&5
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; }; }; then :
1817 $as_echo "$as_me: program exited with status $ac_status" >&5
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=$ac_status
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link "$LINENO"; then :
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_func
1896 # ac_fn_cxx_try_cpp LINENO
1897 # ------------------------
1898 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1899 ac_fn_cxx_try_cpp ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 if { { ac_try="$ac_cpp conftest.$ac_ext"
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1911 if test -s conftest.err; then
1912 grep -v '^ *+' conftest.err >conftest.er1
1913 cat conftest.er1 >&5
1914 mv -f conftest.er1 conftest.err
1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917 test $ac_status = 0; } > conftest.i && {
1918 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1919 test ! -s conftest.err
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 as_fn_set_status $ac_retval
1931 } # ac_fn_cxx_try_cpp
1933 # ac_fn_cxx_try_link LINENO
1934 # -------------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
1936 ac_fn_cxx_try_link ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 rm -f conftest.$ac_objext conftest$ac_exeext
1940 if { { ac_try="$ac_link"
1942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>conftest.err
1949 if test -s conftest.err; then
1950 grep -v '^ *+' conftest.err >conftest.er1
1951 cat conftest.er1 >&5
1952 mv -f conftest.er1 conftest.err
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; } && {
1956 test -z "$ac_cxx_werror_flag" ||
1957 test ! -s conftest.err
1958 } && test -s conftest$ac_exeext && {
1959 test "$cross_compiling" = yes ||
1960 $as_test_x conftest$ac_exeext
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1969 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971 # interfere with the next link command; also delete a directory that is
1972 # left behind by Apple's compiler. We do this before executing the actions.
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status $ac_retval
1977 } # ac_fn_cxx_try_link
1979 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1980 # -------------------------------------------------------
1981 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1982 # the include files in INCLUDES and setting the cache variable VAR
1984 ac_fn_c_check_header_mongrel ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if eval \${$3+:} false; then :
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991 $as_echo_n "(cached) " >&6
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1997 # Is the header compilable?
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1999 $as_echo_n "checking $2 usability... " >&6; }
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2005 if ac_fn_c_try_compile "$LINENO"; then :
2006 ac_header_compiler=yes
2008 ac_header_compiler=no
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2012 $as_echo "$ac_header_compiler" >&6; }
2014 # Is the header present?
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2016 $as_echo_n "checking $2 presence... " >&6; }
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2021 if ac_fn_c_try_cpp "$LINENO"; then :
2022 ac_header_preproc=yes
2024 ac_header_preproc=no
2026 rm -f conftest.err conftest.i conftest.$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2028 $as_echo "$ac_header_preproc" >&6; }
2030 # So? What about this header?
2031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2034 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2040 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2042 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2044 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2046 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049 ( $as_echo "## ---------------------------------- ##
2050 ## Report this to gc@linux.hpl.hp.com ##
2051 ## ---------------------------------- ##"
2052 ) | sed "s/^/$as_me: WARNING: /" >&2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2060 eval "$3=\$ac_header_compiler"
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 } # ac_fn_c_check_header_mongrel
2069 cat >config.log <<_ACEOF
2070 This file contains any messages produced by compilers while
2071 running configure, to aid debugging if configure makes a mistake.
2073 It was created by gc $as_me 7.2, which was
2074 generated by GNU Autoconf 2.68. Invocation command line was
2086 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2087 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2088 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2089 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2090 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2092 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2093 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2095 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2096 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2097 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2098 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2099 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2100 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2101 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 $as_echo "PATH: $as_dir"
2126 # Keep a trace of the command line.
2127 # Strip out --no-create and --no-recursion so they do not pile up.
2128 # Strip out --silent because we don't want to record it for future runs.
2129 # Also quote any args containing shell meta-characters.
2130 # Make two passes to allow for proper duplicate-argument suppression.
2134 ac_must_keep_next=false
2140 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2142 | -silent | --silent | --silen | --sile | --sil)
2145 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2148 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2150 as_fn_append ac_configure_args1 " '$ac_arg'"
2151 if test $ac_must_keep_next = true; then
2152 ac_must_keep_next=false # Got value, back to normal.
2155 *=* | --config-cache | -C | -disable-* | --disable-* \
2156 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2157 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2158 | -with-* | --with-* | -without-* | --without-* | --x)
2159 case "$ac_configure_args0 " in
2160 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2163 -* ) ac_must_keep_next=true ;;
2166 as_fn_append ac_configure_args " '$ac_arg'"
2171 { ac_configure_args0=; unset ac_configure_args0;}
2172 { ac_configure_args1=; unset ac_configure_args1;}
2174 # When interrupted or exit'd, cleanup temporary files, and complete
2175 # config.log. We remove comments because anyway the quotes in there
2176 # would cause problems or look ugly.
2177 # WARNING: Use '\'' to represent an apostrophe within the trap.
2178 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2179 trap 'exit_status=$?
2180 # Save into config.log some information that might help in debugging.
2184 $as_echo "## ---------------- ##
2185 ## Cache variables. ##
2186 ## ---------------- ##"
2188 # The following way of writing the cache mishandles newlines in values,
2190 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2191 eval ac_val=\$$ac_var
2195 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2199 _ | IFS | as_nl) ;; #(
2200 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2201 *) { eval $ac_var=; unset $ac_var;} ;;
2206 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2207 *${as_nl}ac_space=\ *)
2209 "s/'\''/'\''\\\\'\'''\''/g;
2210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2220 $as_echo "## ----------------- ##
2221 ## Output variables. ##
2222 ## ----------------- ##"
2224 for ac_var in $ac_subst_vars
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 $as_echo "$ac_var='\''$ac_val'\''"
2234 if test -n "$ac_subst_files"; then
2235 $as_echo "## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##"
2239 for ac_var in $ac_subst_files
2241 eval ac_val=\$$ac_var
2243 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 $as_echo "$ac_var='\''$ac_val'\''"
2250 if test -s confdefs.h; then
2251 $as_echo "## ----------- ##
2258 test "$ac_signal" != 0 &&
2259 $as_echo "$as_me: caught signal $ac_signal"
2260 $as_echo "$as_me: exit $exit_status"
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2274 $as_echo "/* confdefs.h */" > confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_URL "$PACKAGE_URL"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer an explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 # We do not want a PATH search for config.site.
2309 case $CONFIG_SITE in #((
2310 -*) ac_site_file1=./$CONFIG_SITE;;
2311 */*) ac_site_file1=$CONFIG_SITE;;
2312 *) ac_site_file1=./$CONFIG_SITE;;
2314 elif test "x$prefix" != xNONE; then
2315 ac_site_file1=$prefix/share/config.site
2316 ac_site_file2=$prefix/etc/config.site
2318 ac_site_file1=$ac_default_prefix/share/config.site
2319 ac_site_file2=$ac_default_prefix/etc/config.site
2321 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2323 test "x$ac_site_file" = xNONE && continue
2324 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2326 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2327 sed 's/^/| /' "$ac_site_file" >&5
2329 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2331 as_fn_error $? "failed to load site script $ac_site_file
2332 See \`config.log' for more details" "$LINENO" 5; }
2336 if test -r "$cache_file"; then
2337 # Some versions of bash will fail to source /dev/null (special files
2338 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2339 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2341 $as_echo "$as_me: loading cache $cache_file" >&6;}
2343 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2344 *) . "./$cache_file";;
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2349 $as_echo "$as_me: creating cache $cache_file" >&6;}
2353 # Check that the precious variables saved in the cache have kept the same
2355 ac_cache_corrupted=false
2356 for ac_var in $ac_precious_vars; do
2357 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2358 eval ac_new_set=\$ac_env_${ac_var}_set
2359 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2360 eval ac_new_val=\$ac_env_${ac_var}_value
2361 case $ac_old_set,$ac_new_set in
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2372 if test "x$ac_old_val" != "x$ac_new_val"; then
2373 # differences in whitespace do not lead to failure.
2374 ac_old_val_w=`echo x $ac_old_val`
2375 ac_new_val_w=`echo x $ac_new_val`
2376 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2378 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2379 ac_cache_corrupted=:
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2382 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2383 eval $ac_var=\$ac_old_val
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2386 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2388 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2391 # Pass precious variables to config.status.
2392 if test "$ac_new_set" = set; then
2394 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2395 *) ac_arg=$ac_var=$ac_new_val ;;
2397 case " $ac_configure_args " in
2398 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2399 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2403 if $ac_cache_corrupted; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2407 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2408 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2410 ## -------------------- ##
2411 ## Main body of script. ##
2412 ## -------------------- ##
2415 ac_cpp='$CPP $CPPFLAGS'
2416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421 ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
2425 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2426 if test -f "$ac_dir/install-sh"; then
2428 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 elif test -f "$ac_dir/install.sh"; then
2432 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 elif test -f "$ac_dir/shtool"; then
2436 ac_install_sh="$ac_aux_dir/shtool install -c"
2440 if test -z "$ac_aux_dir"; then
2441 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2444 # These three variables are undocumented and unsupported,
2445 # and are intended to be withdrawn in a future Autoconf release.
2446 # They can cause serious problems if a builder's source tree is in a directory
2447 # whose full name contains unusual characters.
2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2450 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2453 # Make sure we can run config.sub.
2454 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2455 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2458 $as_echo_n "checking build system type... " >&6; }
2459 if ${ac_cv_build+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 ac_build_alias=$build_alias
2463 test "x$ac_build_alias" = x &&
2464 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2465 test "x$ac_build_alias" = x &&
2466 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2467 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2468 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2472 $as_echo "$ac_cv_build" >&6; }
2473 case $ac_cv_build in
2475 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2478 ac_save_IFS=$IFS; IFS='-'
2484 # Remember, the first character of IFS is used to create $*,
2485 # except with old shells:
2488 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2492 $as_echo_n "checking host system type... " >&6; }
2493 if ${ac_cv_host+:} false; then :
2494 $as_echo_n "(cached) " >&6
2496 if test "x$host_alias" = x; then
2497 ac_cv_host=$ac_cv_build
2499 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2500 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2505 $as_echo "$ac_cv_host" >&6; }
2508 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2511 ac_save_IFS=$IFS; IFS='-'
2517 # Remember, the first character of IFS is used to create $*,
2518 # except with old shells:
2521 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2525 $as_echo_n "checking target system type... " >&6; }
2526 if ${ac_cv_target+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 if test "x$target_alias" = x; then
2530 ac_cv_target=$ac_cv_host
2532 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2538 $as_echo "$ac_cv_target" >&6; }
2539 case $ac_cv_target in
2541 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2543 target=$ac_cv_target
2544 ac_save_IFS=$IFS; IFS='-'
2550 # Remember, the first character of IFS is used to create $*,
2551 # except with old shells:
2554 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2557 # The aliases save the names the user supplied, while $host etc.
2558 # will get canonicalized.
2559 test -n "$target_alias" &&
2560 test "$program_prefix$program_suffix$program_transform_name" = \
2562 program_prefix=${target_alias}-
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GC version numbers" >&5
2567 $as_echo_n "checking GC version numbers... " >&6; }
2568 GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`
2569 GC_VERSION_MINOR=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.]\([0-9][0-9]*\).*$/\1/g'`
2570 GC_ALPHA_VERSION=`echo $PACKAGE_VERSION | sed 's/^[^.]*[.][0-9]*//'`
2572 case "$GC_ALPHA_VERSION" in
2574 GC_ALPHA_VERSION=`echo $GC_ALPHA_VERSION \
2575 | sed 's/alpha\([0-9][0-9]*\)/\1/'` ;;
2576 *) GC_ALPHA_MAJOR='' ;;
2579 if test :$GC_VERSION_MAJOR: = :: \
2580 -o :$GC_VERSION_MINOR: = :: ;
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: invalid" >&5
2583 $as_echo "invalid" >&6; }
2584 as_fn_error $? "nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" "$LINENO" 5
2588 cat >>confdefs.h <<_ACEOF
2589 #define GC_VERSION_MAJOR $GC_VERSION_MAJOR
2593 cat >>confdefs.h <<_ACEOF
2594 #define GC_VERSION_MINOR $GC_VERSION_MINOR
2597 if test :$GC_ALPHA_VERSION: != :: ; then
2599 cat >>confdefs.h <<_ACEOF
2600 #define GC_ALPHA_VERSION $GC_ALPHA_VERSION
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
2605 ${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&5
2606 $as_echo "major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
2607 ${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&6; }
2609 am__api_version='1.11'
2611 # Find a good install program. We prefer a C program (faster),
2612 # so one script is as good as another. But avoid the broken or
2613 # incompatible versions:
2614 # SysV /etc/install, /usr/sbin/install
2615 # SunOS /usr/etc/install
2616 # IRIX /sbin/install
2618 # AmigaOS /C/install, which installs bootblocks on floppy discs
2619 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2620 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2621 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2622 # OS/2's system install, which has a completely different semantic
2623 # ./install, which can be erroneously created by make from ./install.sh.
2624 # Reject install programs that cannot install multiple files.
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2626 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2627 if test -z "$INSTALL"; then
2628 if ${ac_cv_path_install+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 # Account for people who put trailing slashes in PATH elements.
2637 case $as_dir/ in #((
2638 ./ | .// | /[cC]/* | \
2639 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2640 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2643 # OSF1 and SCO ODT 3.0 have their own names for install.
2644 # Don't use installbsd from OSF since it installs stuff as root
2646 for ac_prog in ginstall scoinst install; do
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2649 if test $ac_prog = install &&
2650 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2651 # AIX install. It has an incompatible calling convention.
2653 elif test $ac_prog = install &&
2654 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2655 # program-specific install script used by HP pwplus--don't use.
2658 rm -rf conftest.one conftest.two conftest.dir
2659 echo one > conftest.one
2660 echo two > conftest.two
2662 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2663 test -s conftest.one && test -s conftest.two &&
2664 test -s conftest.dir/conftest.one &&
2665 test -s conftest.dir/conftest.two
2667 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2680 rm -rf conftest.one conftest.two conftest.dir
2683 if test "${ac_cv_path_install+set}" = set; then
2684 INSTALL=$ac_cv_path_install
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for INSTALL within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 INSTALL=$ac_install_sh
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2694 $as_echo "$INSTALL" >&6; }
2696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2697 # It thinks the first close brace ends the variable substitution.
2698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2705 $as_echo_n "checking whether build environment is sane... " >&6; }
2708 echo timestamp > conftest.file
2709 # Reject unsafe characters in $srcdir or the absolute working directory
2710 # name. Accept space and tab only in the latter.
2714 *[\\\"\#\$\&\'\`$am_lf]*)
2715 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2718 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2719 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2722 # Do `set' in a subshell so we don't clobber the current shell's
2723 # arguments. Must try -L first in case configure is actually a
2724 # symlink; some systems play weird games with the mod time of symlinks
2725 # (eg FreeBSD returns the mod time of the symlink's containing
2728 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2729 if test "$*" = "X"; then
2731 set X `ls -t "$srcdir/configure" conftest.file`
2734 if test "$*" != "X $srcdir/configure conftest.file" \
2735 && test "$*" != "X conftest.file $srcdir/configure"; then
2737 # If neither matched, then we have a broken ls. This can happen
2738 # if, for instance, CONFIG_SHELL is bash and it inherits a
2739 # broken ls alias from the environment. This has actually
2740 # happened. Such a system could not be considered "sane".
2741 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2742 alias in your environment" "$LINENO" 5
2745 test "$2" = conftest.file
2751 as_fn_error $? "newly created file is older than distributed files!
2752 Check your system clock" "$LINENO" 5
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2756 test "$program_prefix" != NONE &&
2757 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2758 # Use a double $ so make ignores it.
2759 test "$program_suffix" != NONE &&
2760 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2761 # Double any \ or $.
2762 # By default was `s,x,x', remove it if useless.
2763 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2764 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2766 # expand $ac_aux_dir to an absolute path
2767 am_aux_dir=`cd $ac_aux_dir && pwd`
2769 if test x"${MISSING+set}" != xset; then
2772 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2774 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2777 # Use eval to expand $SHELL
2778 if eval "$MISSING --run true"; then
2779 am_missing_run="$MISSING --run "
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2783 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2786 if test x"${install_sh}" != xset; then
2789 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2791 install_sh="\${SHELL} $am_aux_dir/install-sh"
2795 # Installed binaries are usually stripped using `strip' when the user
2796 # run `make install-strip'. However `strip' might not be the right
2797 # tool to use in cross-compilation environments, therefore Automake
2798 # will honor the `STRIP' environment variable to overrule this program.
2799 if test "$cross_compiling" != no; then
2800 if test -n "$ac_tool_prefix"; then
2801 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2802 set dummy ${ac_tool_prefix}strip; ac_word=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if ${ac_cv_prog_STRIP+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$STRIP"; then
2809 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir=.
2816 for ac_exec_ext in '' $ac_executable_extensions; do
2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 STRIP=$ac_cv_prog_STRIP
2829 if test -n "$STRIP"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2831 $as_echo "$STRIP" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2839 if test -z "$ac_cv_prog_STRIP"; then
2841 # Extract the first word of "strip", so it can be a program name with args.
2842 set dummy strip; ac_word=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$ac_ct_STRIP"; then
2849 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_ac_ct_STRIP="strip"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2869 if test -n "$ac_ct_STRIP"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2871 $as_echo "$ac_ct_STRIP" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2877 if test "x$ac_ct_STRIP" = x; then
2880 case $cross_compiling:$ac_tool_warned in
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2884 ac_tool_warned=yes ;;
2889 STRIP="$ac_cv_prog_STRIP"
2893 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2896 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2897 if test -z "$MKDIR_P"; then
2898 if ${ac_cv_path_mkdir+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2905 test -z "$as_dir" && as_dir=.
2906 for ac_prog in mkdir gmkdir; do
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2909 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2910 'mkdir (GNU coreutils) '* | \
2911 'mkdir (coreutils) '* | \
2912 'mkdir (fileutils) '4.1*)
2913 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2923 test -d ./--version && rmdir ./--version
2924 if test "${ac_cv_path_mkdir+set}" = set; then
2925 MKDIR_P="$ac_cv_path_mkdir -p"
2927 # As a last resort, use the slow shell script. Don't cache a
2928 # value for MKDIR_P within a source directory, because that will
2929 # break other packages using the cache if that directory is
2930 # removed, or if the value is a relative name.
2931 MKDIR_P="$ac_install_sh -d"
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2935 $as_echo "$MKDIR_P" >&6; }
2939 [\\/$]* | ?:[\\/]*) ;;
2940 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2943 for ac_prog in gawk mawk nawk awk
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy $ac_prog; ac_word=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_AWK+:} false; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$AWK"; then
2953 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir=.
2960 for ac_exec_ext in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 ac_cv_prog_AWK="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$AWK"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2975 $as_echo "$AWK" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2982 test -n "$AWK" && break
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2986 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2988 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2989 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 cat >conftest.make <<\_ACEOF
2995 @echo '@@@%%%=$(MAKE)=@@@%%%'
2997 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2998 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3000 eval ac_cv_prog_make_${ac_make}_set=yes;;
3002 eval ac_cv_prog_make_${ac_make}_set=no;;
3006 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3008 $as_echo "yes" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 SET_MAKE="MAKE=${MAKE-make}"
3016 rm -rf .tst 2>/dev/null
3017 mkdir .tst 2>/dev/null
3018 if test -d .tst; then
3023 rmdir .tst 2>/dev/null
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status; then
3031 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath --version) >/dev/null 2>/dev/null; then
3038 CYGPATH_W='cygpath -w'
3045 # Define the identity of the package.
3050 cat >>confdefs.h <<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h <<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # We need awk for the "check" target. The system "awk" is bad on
3077 # Always define AMTAR for backward compatibility.
3079 AMTAR=${AMTAR-"${am_missing_run}tar"}
3081 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3087 ac_config_headers="$ac_config_headers include/private/config.h"
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3091 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3092 # Check whether --enable-maintainer-mode was given.
3093 if test "${enable_maintainer_mode+set}" = set; then :
3094 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3096 USE_MAINTAINER_MODE=no
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3100 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3101 if test $USE_MAINTAINER_MODE = yes; then
3102 MAINTAINER_MODE_TRUE=
3103 MAINTAINER_MODE_FALSE='#'
3105 MAINTAINER_MODE_TRUE='#'
3106 MAINTAINER_MODE_FALSE=
3109 MAINT=$MAINTAINER_MODE_TRUE
3116 DEPDIR="${am__leading_dot}deps"
3118 ac_config_commands="$ac_config_commands depfiles"
3121 am_make=${MAKE-make}
3122 cat > confinc << 'END'
3124 @echo this is the am__doit target
3127 # If we don't find an include directive, just comment out the code.
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3129 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3133 # First try GNU make style include.
3134 echo "include confinc" > confmf
3135 # Ignore all kinds of additional output from `make'.
3136 case `$am_make -s -f confmf 2> /dev/null` in #(
3137 *the\ am__doit\ target*)
3143 # Now try BSD make style include.
3144 if test "$am__include" = "#"; then
3145 echo '.include "confinc"' > confmf
3146 case `$am_make -s -f confmf 2> /dev/null` in #(
3147 *the\ am__doit\ target*)
3148 am__include=.include
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3157 $as_echo "$_am_result" >&6; }
3158 rm -f confinc confmf
3160 # Check whether --enable-dependency-tracking was given.
3161 if test "${enable_dependency_tracking+set}" = set; then :
3162 enableval=$enable_dependency_tracking;
3165 if test "x$enable_dependency_tracking" != xno; then
3166 am_depcomp="$ac_aux_dir/depcomp"
3169 if test "x$enable_dependency_tracking" != xno; then
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3183 if test -n "$ac_tool_prefix"; then
3184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3185 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_CC+:} false; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC="$CC" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3222 if test -z "$ac_cv_prog_CC"; then
3224 # Extract the first word of "gcc", so it can be a program name with args.
3225 set dummy gcc; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$ac_ct_CC"; then
3232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_ac_ct_CC="gcc"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254 $as_echo "$ac_ct_CC" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3260 if test "x$ac_ct_CC" = x; then
3263 case $cross_compiling:$ac_tool_warned in
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3267 ac_tool_warned=yes ;;
3275 if test -z "$CC"; then
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3278 set dummy ${ac_tool_prefix}cc; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if ${ac_cv_prog_CC+:} false; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 ac_cv_prog_CC="${ac_tool_prefix}cc"
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test -n "$CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 $as_echo "$CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3316 if test -z "$CC"; then
3317 # Extract the first word of "cc", so it can be a program name with args.
3318 set dummy cc; ac_word=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if ${ac_cv_prog_CC+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$CC"; then
3325 ac_cv_prog_CC="$CC" # Let the user override the test.
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3336 ac_prog_rejected=yes
3340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test $ac_prog_rejected = yes; then
3348 # We found a bogon in the path, so make sure we never use it.
3349 set dummy $ac_cv_prog_CC
3351 if test $# != 0; then
3352 # We chose a different compiler from the bogus one.
3353 # However, it has the same basename, so the bogon will be chosen
3354 # first if we set CC to just the basename; use the full file name.
3356 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3362 if test -n "$CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 $as_echo "$CC" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3372 if test -z "$CC"; then
3373 if test -n "$ac_tool_prefix"; then
3374 for ac_prog in cl.exe
3376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_CC+:} false; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$CC"; then
3384 ac_cv_prog_CC="$CC" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 if test -n "$CC"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406 $as_echo "$CC" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3413 test -n "$CC" && break
3416 if test -z "$CC"; then
3418 for ac_prog in cl.exe
3420 # Extract the first word of "$ac_prog", so it can be a program name with args.
3421 set dummy $ac_prog; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$ac_ct_CC"; then
3428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_ac_ct_CC="$ac_prog"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3448 if test -n "$ac_ct_CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3450 $as_echo "$ac_ct_CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3457 test -n "$ac_ct_CC" && break
3460 if test "x$ac_ct_CC" = x; then
3463 case $cross_compiling:$ac_tool_warned in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3467 ac_tool_warned=yes ;;
3476 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error $? "no acceptable C compiler found in \$PATH
3479 See \`config.log' for more details" "$LINENO" 5; }
3481 # Provide some information about the compiler.
3482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3485 for ac_option in --version -v -V -qversion; do
3486 { { ac_try="$ac_compiler $ac_option >&5"
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492 $as_echo "$ac_try_echo"; } >&5
3493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3495 if test -s conftest.err; then
3497 ... rest of stderr output deleted ...
3498 10q' conftest.err >conftest.er1
3499 cat conftest.er1 >&5
3501 rm -f conftest.er1 conftest.err
3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3517 ac_clean_files_save=$ac_clean_files
3518 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3519 # Try to create an executable without -o first, disregard a.out.
3520 # It will help us diagnose broken compilers, and finding out an intuition
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3523 $as_echo_n "checking whether the C compiler works... " >&6; }
3524 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3526 # The possible output files:
3527 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3530 for ac_file in $ac_files
3533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3534 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3539 if { { ac_try="$ac_link_default"
3541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542 *) ac_try_echo=$ac_try;;
3544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 $as_echo "$ac_try_echo"; } >&5
3546 (eval "$ac_link_default") 2>&5
3548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549 test $ac_status = 0; }; then :
3550 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3551 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3552 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3553 # so that the user can short-circuit this test for compilers unknown to
3555 for ac_file in $ac_files ''
3557 test -f "$ac_file" || continue
3559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3562 # We found the default executable, but exeext='' is most
3566 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3568 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3570 # We set ac_cv_exeext here because the later test for it is not
3571 # safe: cross compilers may not add the suffix if given an `-o'
3572 # argument, so we may need to know it at that point already.
3573 # Even if this section looks crufty: it has the advantage of
3580 test "$ac_cv_exeext" = no && ac_cv_exeext=
3585 if test -z "$ac_file"; then :
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error 77 "C compiler cannot create executables
3594 See \`config.log' for more details" "$LINENO" 5; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3600 $as_echo_n "checking for C compiler default output file name... " >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3602 $as_echo "$ac_file" >&6; }
3603 ac_exeext=$ac_cv_exeext
3605 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3606 ac_clean_files=$ac_clean_files_save
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3608 $as_echo_n "checking for suffix of executables... " >&6; }
3609 if { { ac_try="$ac_link"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }; then :
3620 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3621 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3622 # work properly (i.e., refer to `conftest.exe'), while it won't with
3624 for ac_file in conftest.exe conftest conftest.*; do
3625 test -f "$ac_file" || continue
3627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3628 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3637 See \`config.log' for more details" "$LINENO" 5; }
3639 rm -f conftest conftest$ac_cv_exeext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3641 $as_echo "$ac_cv_exeext" >&6; }
3643 rm -f conftest.$ac_ext
3644 EXEEXT=$ac_cv_exeext
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3652 FILE *f = fopen ("conftest.out", "w");
3653 return ferror (f) || fclose (f) != 0;
3659 ac_clean_files="$ac_clean_files conftest.out"
3660 # Check that the compiler produces executables we can run. If not, either
3661 # the compiler is broken, or we cross compile.
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3663 $as_echo_n "checking whether we are cross compiling... " >&6; }
3664 if test "$cross_compiling" != yes; then
3665 { { ac_try="$ac_link"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_link") 2>&5
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; }
3676 if { ac_try='./conftest$ac_cv_exeext'
3677 { { case "(($ac_try" in
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_try") 2>&5
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; }; }; then
3689 if test "$cross_compiling" = maybe; then
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error $? "cannot run C compiled programs.
3695 If you meant to cross compile, use \`--host'.
3696 See \`config.log' for more details" "$LINENO" 5; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3701 $as_echo "$cross_compiling" >&6; }
3703 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3704 ac_clean_files=$ac_clean_files_save
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3706 $as_echo_n "checking for suffix of object files... " >&6; }
3707 if ${ac_cv_objext+:} false; then :
3708 $as_echo_n "(cached) " >&6
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 rm -f conftest.o conftest.obj
3722 if { { ac_try="$ac_compile"
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729 (eval "$ac_compile") 2>&5
3731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732 test $ac_status = 0; }; then :
3733 for ac_file in conftest.o conftest.obj conftest.*; do
3734 test -f "$ac_file" || continue;
3736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3742 $as_echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "cannot compute suffix of object files: cannot compile
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3753 $as_echo "$ac_cv_objext" >&6; }
3754 OBJEXT=$ac_cv_objext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3757 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3758 if ${ac_cv_c_compiler_gnu+:} false; then :
3759 $as_echo_n "(cached) " >&6
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3785 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3786 if test $ac_compiler_gnu = yes; then
3791 ac_test_CFLAGS=${CFLAGS+set}
3792 ac_save_CFLAGS=$CFLAGS
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3794 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3795 if ${ac_cv_prog_cc_g+:} false; then :
3796 $as_echo_n "(cached) " >&6
3798 ac_save_c_werror_flag=$ac_c_werror_flag
3799 ac_c_werror_flag=yes
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 if ac_fn_c_try_compile "$LINENO"; then :
3831 ac_c_werror_flag=$ac_save_c_werror_flag
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3844 if ac_fn_c_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3852 ac_c_werror_flag=$ac_save_c_werror_flag
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3855 $as_echo "$ac_cv_prog_cc_g" >&6; }
3856 if test "$ac_test_CFLAGS" = set; then
3857 CFLAGS=$ac_save_CFLAGS
3858 elif test $ac_cv_prog_cc_g = yes; then
3859 if test "$GCC" = yes; then
3865 if test "$GCC" = yes; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3872 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3873 if ${ac_cv_prog_cc_c89+:} false; then :
3874 $as_echo_n "(cached) " >&6
3876 ac_cv_prog_cc_c89=no
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3882 #include <sys/types.h>
3883 #include <sys/stat.h>
3884 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3885 struct buf { int x; };
3886 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3887 static char *e (p, i)
3893 static char *f (char * (*g) (char **, int), char **p, ...)
3898 s = g (p, va_arg (v,int));
3903 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3904 function prototypes and stuff, but not '\xHH' hex character constants.
3905 These don't provoke an error unfortunately, instead are silently treated
3906 as 'x'. The following induces an error, until -std is added to get
3907 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3908 array size at least. It's necessary to write '\x00'==0 to get something
3909 that's true only with -std. */
3910 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3912 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3913 inside strings and character constants. */
3915 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3917 int test (int i, double x);
3918 struct s1 {int (*f) (int a);};
3919 struct s2 {int (*f) (double a);};
3920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3926 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3931 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3932 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3934 CC="$ac_save_CC $ac_arg"
3935 if ac_fn_c_try_compile "$LINENO"; then :
3936 ac_cv_prog_cc_c89=$ac_arg
3938 rm -f core conftest.err conftest.$ac_objext
3939 test "x$ac_cv_prog_cc_c89" != "xno" && break
3941 rm -f conftest.$ac_ext
3946 case "x$ac_cv_prog_cc_c89" in
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3949 $as_echo "none needed" >&6; } ;;
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3952 $as_echo "unsupported" >&6; } ;;
3954 CC="$CC $ac_cv_prog_cc_c89"
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3956 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3958 if test "x$ac_cv_prog_cc_c89" != xno; then :
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3968 depcc="$CC" am_compiler_list=
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3971 $as_echo_n "checking dependency style of $depcc... " >&6; }
3972 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3976 # We make a subdir and do the tests there. Otherwise we can end up
3977 # making bogus files that we don't know about and never remove. For
3978 # instance it was reported that on HP-UX the gcc test will end up
3979 # making a dummy file named `D' -- because `-MD' means `put the output
3982 # Copy depcomp to subdir because otherwise we won't find it if we're
3983 # using a relative directory.
3984 cp "$am_depcomp" conftest.dir
3986 # We will build objects and dependencies in a subdirectory because
3987 # it helps to detect inapplicable dependency modes. For instance
3988 # both Tru64's cc and ICC support -MD to output dependencies as a
3989 # side effect of compilation, but ICC will put the dependencies in
3990 # the current directory while Tru64 will put them in the object
3994 am_cv_CC_dependencies_compiler_type=none
3995 if test "$am_compiler_list" = ""; then
3996 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3999 case " $depcc " in #(
4000 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4003 for depmode in $am_compiler_list; do
4004 # Setup a source with many dependencies, because some compilers
4005 # like to wrap large dependency lists on column 80 (with \), and
4006 # we should not choose a depcomp mode which is confused by this.
4008 # We need to recreate these files for each test, as the compiler may
4009 # overwrite some of them when testing with obscure command lines.
4010 # This happens at least with the AIX C compiler.
4012 for i in 1 2 3 4 5 6; do
4013 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4014 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4015 # Solaris 8's {/usr,}/bin/sh.
4016 touch sub/conftst$i.h
4018 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4020 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4021 # mode. It turns out that the SunPro C++ compiler does not properly
4022 # handle `-M -o', and we need to detect this. Also, some Intel
4023 # versions had trouble with output in subdirs
4024 am__obj=sub/conftest.${OBJEXT-o}
4025 am__minus_obj="-o $am__obj"
4028 # This depmode causes a compiler race in universal mode.
4029 test "$am__universal" = false || continue
4032 # after this tag, mechanisms are not by side-effect, so they'll
4033 # only be used when explicitly requested
4034 if test "x$enable_dependency_tracking" = xyes; then
4040 msvisualcpp | msvcmsys)
4041 # This compiler won't grok `-c -o', but also, the minuso test has
4042 # not run yet. These depmodes are late enough in the game, and
4043 # so weak that their functioning should not be impacted.
4044 am__obj=conftest.${OBJEXT-o}
4049 if depmode=$depmode \
4050 source=sub/conftest.c object=$am__obj \
4051 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4052 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4053 >/dev/null 2>conftest.err &&
4054 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4055 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4056 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4057 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4058 # icc doesn't choke on unknown options, it will just issue warnings
4059 # or remarks (even with -Werror). So we grep stderr for any message
4060 # that says an option was ignored or not supported.
4061 # When given -MP, icc 7.0 and 7.1 complain thusly:
4062 # icc: Command line warning: ignoring option '-M'; no argument required
4063 # The diagnosis changed in icc 8.0:
4064 # icc: Command line remark: option '-MP' not supported
4065 if (grep 'ignoring option' conftest.err ||
4066 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4067 am_cv_CC_dependencies_compiler_type=$depmode
4076 am_cv_CC_dependencies_compiler_type=none
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4081 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4082 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4085 test "x$enable_dependency_tracking" != xno \
4086 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4088 am__fastdepCC_FALSE='#'
4090 am__fastdepCC_TRUE='#'
4091 am__fastdepCC_FALSE=
4095 if test "x$CC" != xcc; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4097 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4100 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4102 set dummy $CC; ac_cc=`$as_echo "$2" |
4103 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4104 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4105 $as_echo_n "(cached) " >&6
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4118 # Make sure it works both with $CC and with simple cc.
4119 # We do the test twice because some compilers refuse to overwrite an
4120 # existing .o file with -o, though they will create one.
4121 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4123 if { { case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_try") 2>&5
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; } &&
4133 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_try") 2>&5
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; };
4144 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4145 if test "x$CC" != xcc; then
4146 # Test first that cc exists at all.
4147 if { ac_try='cc -c conftest.$ac_ext >&5'
4148 { { case "(($ac_try" in
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154 (eval "$ac_try") 2>&5
4156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157 test $ac_status = 0; }; }; then
4158 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4160 if { { case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_try") 2>&5
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; } &&
4170 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_try") 2>&5
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; };
4184 # cc exists but doesn't like -o.
4185 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4190 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4192 rm -f core conftest*
4195 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4202 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4206 # FIXME: we rely on the cache variable name because
4207 # there is no other way.
4209 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4210 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4211 if test "$am_t" != yes; then
4212 # Losing compiler, so override with the script.
4213 # FIXME: It is wrong to rewrite CC.
4214 # But if we don't then we get into trouble of one sort or another.
4215 # A longer-term fix would be to have automake use am__CC in this case,
4216 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4217 CC="$am_aux_dir/compile $CC"
4222 ac_cpp='$CXXCPP $CPPFLAGS'
4223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4226 if test -z "$CXX"; then
4227 if test -n "$CCC"; then
4230 if test -n "$ac_tool_prefix"; then
4231 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_prog_CXX+:} false; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$CXX"; then
4241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 if test -n "$CXX"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4263 $as_echo "$CXX" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$CXX" && break
4273 if test -z "$CXX"; then
4275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4277 # Extract the first word of "$ac_prog", so it can be a program name with args.
4278 set dummy $ac_prog; ac_word=$2
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4280 $as_echo_n "checking for $ac_word... " >&6; }
4281 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 if test -n "$ac_ct_CXX"; then
4285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir=.
4292 for ac_exec_ext in '' $ac_executable_extensions; do
4293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4294 ac_cv_prog_ac_ct_CXX="$ac_prog"
4295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4305 if test -n "$ac_ct_CXX"; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4307 $as_echo "$ac_ct_CXX" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4314 test -n "$ac_ct_CXX" && break
4317 if test "x$ac_ct_CXX" = x; then
4320 case $cross_compiling:$ac_tool_warned in
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4324 ac_tool_warned=yes ;;
4332 # Provide some information about the compiler.
4333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4336 for ac_option in --version -v -V -qversion; do
4337 { { ac_try="$ac_compiler $ac_option >&5"
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4346 if test -s conftest.err; then
4348 ... rest of stderr output deleted ...
4349 10q' conftest.err >conftest.er1
4350 cat conftest.er1 >&5
4352 rm -f conftest.er1 conftest.err
4353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4354 test $ac_status = 0; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4358 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4359 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4376 if ac_fn_cxx_try_compile "$LINENO"; then :
4381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4386 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4387 if test $ac_compiler_gnu = yes; then
4392 ac_test_CXXFLAGS=${CXXFLAGS+set}
4393 ac_save_CXXFLAGS=$CXXFLAGS
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4395 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4396 if ${ac_cv_prog_cxx_g+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4400 ac_cxx_werror_flag=yes
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_cxx_try_compile "$LINENO"; then :
4415 ac_cv_prog_cxx_g=yes
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4429 if ac_fn_cxx_try_compile "$LINENO"; then :
4432 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4445 if ac_fn_cxx_try_compile "$LINENO"; then :
4446 ac_cv_prog_cxx_g=yes
4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4456 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4457 if test "$ac_test_CXXFLAGS" = set; then
4458 CXXFLAGS=$ac_save_CXXFLAGS
4459 elif test $ac_cv_prog_cxx_g = yes; then
4460 if test "$GXX" = yes; then
4466 if test "$GXX" = yes; then
4473 ac_cpp='$CPP $CPPFLAGS'
4474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4478 depcc="$CXX" am_compiler_list=
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4481 $as_echo_n "checking dependency style of $depcc... " >&6; }
4482 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4486 # We make a subdir and do the tests there. Otherwise we can end up
4487 # making bogus files that we don't know about and never remove. For
4488 # instance it was reported that on HP-UX the gcc test will end up
4489 # making a dummy file named `D' -- because `-MD' means `put the output
4492 # Copy depcomp to subdir because otherwise we won't find it if we're
4493 # using a relative directory.
4494 cp "$am_depcomp" conftest.dir
4496 # We will build objects and dependencies in a subdirectory because
4497 # it helps to detect inapplicable dependency modes. For instance
4498 # both Tru64's cc and ICC support -MD to output dependencies as a
4499 # side effect of compilation, but ICC will put the dependencies in
4500 # the current directory while Tru64 will put them in the object
4504 am_cv_CXX_dependencies_compiler_type=none
4505 if test "$am_compiler_list" = ""; then
4506 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4509 case " $depcc " in #(
4510 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4513 for depmode in $am_compiler_list; do
4514 # Setup a source with many dependencies, because some compilers
4515 # like to wrap large dependency lists on column 80 (with \), and
4516 # we should not choose a depcomp mode which is confused by this.
4518 # We need to recreate these files for each test, as the compiler may
4519 # overwrite some of them when testing with obscure command lines.
4520 # This happens at least with the AIX C compiler.
4522 for i in 1 2 3 4 5 6; do
4523 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4525 # Solaris 8's {/usr,}/bin/sh.
4526 touch sub/conftst$i.h
4528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4530 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4531 # mode. It turns out that the SunPro C++ compiler does not properly
4532 # handle `-M -o', and we need to detect this. Also, some Intel
4533 # versions had trouble with output in subdirs
4534 am__obj=sub/conftest.${OBJEXT-o}
4535 am__minus_obj="-o $am__obj"
4538 # This depmode causes a compiler race in universal mode.
4539 test "$am__universal" = false || continue
4542 # after this tag, mechanisms are not by side-effect, so they'll
4543 # only be used when explicitly requested
4544 if test "x$enable_dependency_tracking" = xyes; then
4550 msvisualcpp | msvcmsys)
4551 # This compiler won't grok `-c -o', but also, the minuso test has
4552 # not run yet. These depmodes are late enough in the game, and
4553 # so weak that their functioning should not be impacted.
4554 am__obj=conftest.${OBJEXT-o}
4559 if depmode=$depmode \
4560 source=sub/conftest.c object=$am__obj \
4561 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4562 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4563 >/dev/null 2>conftest.err &&
4564 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4565 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4566 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4567 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4568 # icc doesn't choke on unknown options, it will just issue warnings
4569 # or remarks (even with -Werror). So we grep stderr for any message
4570 # that says an option was ignored or not supported.
4571 # When given -MP, icc 7.0 and 7.1 complain thusly:
4572 # icc: Command line warning: ignoring option '-M'; no argument required
4573 # The diagnosis changed in icc 8.0:
4574 # icc: Command line remark: option '-MP' not supported
4575 if (grep 'ignoring option' conftest.err ||
4576 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4577 am_cv_CXX_dependencies_compiler_type=$depmode
4586 am_cv_CXX_dependencies_compiler_type=none
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4591 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4592 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4595 test "x$enable_dependency_tracking" != xno \
4596 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4597 am__fastdepCXX_TRUE=
4598 am__fastdepCXX_FALSE='#'
4600 am__fastdepCXX_TRUE='#'
4601 am__fastdepCXX_FALSE=
4606 # By default we simply use the C compiler to build assembly code.
4608 test "${CCAS+set}" = set || CCAS=$CC
4609 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4613 depcc="$CCAS" am_compiler_list=
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4616 $as_echo_n "checking dependency style of $depcc... " >&6; }
4617 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4621 # We make a subdir and do the tests there. Otherwise we can end up
4622 # making bogus files that we don't know about and never remove. For
4623 # instance it was reported that on HP-UX the gcc test will end up
4624 # making a dummy file named `D' -- because `-MD' means `put the output
4627 # Copy depcomp to subdir because otherwise we won't find it if we're
4628 # using a relative directory.
4629 cp "$am_depcomp" conftest.dir
4631 # We will build objects and dependencies in a subdirectory because
4632 # it helps to detect inapplicable dependency modes. For instance
4633 # both Tru64's cc and ICC support -MD to output dependencies as a
4634 # side effect of compilation, but ICC will put the dependencies in
4635 # the current directory while Tru64 will put them in the object
4639 am_cv_CCAS_dependencies_compiler_type=none
4640 if test "$am_compiler_list" = ""; then
4641 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4646 for depmode in $am_compiler_list; do
4647 # Setup a source with many dependencies, because some compilers
4648 # like to wrap large dependency lists on column 80 (with \), and
4649 # we should not choose a depcomp mode which is confused by this.
4651 # We need to recreate these files for each test, as the compiler may
4652 # overwrite some of them when testing with obscure command lines.
4653 # This happens at least with the AIX C compiler.
4655 for i in 1 2 3 4 5 6; do
4656 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4657 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4658 # Solaris 8's {/usr,}/bin/sh.
4659 touch sub/conftst$i.h
4661 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4663 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4664 # mode. It turns out that the SunPro C++ compiler does not properly
4665 # handle `-M -o', and we need to detect this. Also, some Intel
4666 # versions had trouble with output in subdirs
4667 am__obj=sub/conftest.${OBJEXT-o}
4668 am__minus_obj="-o $am__obj"
4671 # This depmode causes a compiler race in universal mode.
4672 test "$am__universal" = false || continue
4675 # after this tag, mechanisms are not by side-effect, so they'll
4676 # only be used when explicitly requested
4677 if test "x$enable_dependency_tracking" = xyes; then
4683 msvisualcpp | msvcmsys)
4684 # This compiler won't grok `-c -o', but also, the minuso test has
4685 # not run yet. These depmodes are late enough in the game, and
4686 # so weak that their functioning should not be impacted.
4687 am__obj=conftest.${OBJEXT-o}
4692 if depmode=$depmode \
4693 source=sub/conftest.c object=$am__obj \
4694 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4695 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4696 >/dev/null 2>conftest.err &&
4697 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4698 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4699 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4700 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4701 # icc doesn't choke on unknown options, it will just issue warnings
4702 # or remarks (even with -Werror). So we grep stderr for any message
4703 # that says an option was ignored or not supported.
4704 # When given -MP, icc 7.0 and 7.1 complain thusly:
4705 # icc: Command line warning: ignoring option '-M'; no argument required
4706 # The diagnosis changed in icc 8.0:
4707 # icc: Command line remark: option '-MP' not supported
4708 if (grep 'ignoring option' conftest.err ||
4709 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4710 am_cv_CCAS_dependencies_compiler_type=$depmode
4719 am_cv_CCAS_dependencies_compiler_type=none
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4724 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4725 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4728 test "x$enable_dependency_tracking" != xno \
4729 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4730 am__fastdepCCAS_TRUE=
4731 am__fastdepCCAS_FALSE='#'
4733 am__fastdepCCAS_TRUE='#'
4734 am__fastdepCCAS_FALSE=
4741 . ${srcdir}/configure.host
4743 GC_CFLAGS=${gc_cflags}
4746 # Check whether --enable-threads was given.
4747 if test "${enable_threads+set}" = set; then :
4748 enableval=$enable_threads; THREADS=$enableval
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4751 $as_echo_n "checking for thread model used by GCC... " >&6; }
4752 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4753 if test -z "$THREADS"; then
4756 if test "$THREADS" = "posix"; then
4759 # Adjust thread model if cross-compiling for MinGW.
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
4765 $as_echo "$THREADS" >&6; }
4769 # Check whether --enable-parallel-mark was given.
4770 if test "${enable_parallel_mark+set}" = set; then :
4771 enableval=$enable_parallel_mark; case "$THREADS" in
4773 as_fn_error $? "Parallel mark requires --enable-threads=x spec" "$LINENO" 5
4780 # Check whether --enable-cplusplus was given.
4781 if test "${enable_cplusplus+set}" = set; then :
4782 enableval=$enable_cplusplus;
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4813 $as_echo_n "checking for inline... " >&6; }
4814 if ${ac_cv_c_inline+:} false; then :
4815 $as_echo_n "(cached) " >&6
4818 for ac_kw in inline __inline__ __inline; do
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 static $ac_kw foo_t static_foo () {return 0; }
4824 $ac_kw foo_t foo () {return 0; }
4828 if ac_fn_c_try_compile "$LINENO"; then :
4829 ac_cv_c_inline=$ac_kw
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 test "$ac_cv_c_inline" != no && break
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4837 $as_echo "$ac_cv_c_inline" >&6; }
4839 case $ac_cv_c_inline in
4842 case $ac_cv_c_inline in
4844 *) ac_val=$ac_cv_c_inline;;
4846 cat >>confdefs.h <<_ACEOF
4848 #define inline $ac_val
4856 need_atomic_ops_asm=false
4857 ## Libraries needed to support dynamic loading and/or threads.
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
4865 $as_echo_n "checking for pthread_self in -lpthread... " >&6; }
4866 if ${ac_cv_lib_pthread_pthread_self+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 ac_check_lib_save_LIBS=$LIBS
4870 LIBS="-lpthread $LIBS"
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4874 /* Override any GCC internal prototype to avoid an error.
4875 Use char because int might match the return type of a GCC
4876 builtin and then its argument prototype would still apply. */
4880 char pthread_self ();
4884 return pthread_self ();
4889 if ac_fn_c_try_link "$LINENO"; then :
4890 ac_cv_lib_pthread_pthread_self=yes
4892 ac_cv_lib_pthread_pthread_self=no
4894 rm -f core conftest.err conftest.$ac_objext \
4895 conftest$ac_exeext conftest.$ac_ext
4896 LIBS=$ac_check_lib_save_LIBS
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
4899 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
4900 if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
4901 THREADDLLIBS="-lpthread"
4905 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* \
4906 | x86_64-*-linux* | alpha-*-linux* | sparc*-*-linux*)
4907 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
4909 $as_echo "#define _REENTRANT 1" >>confdefs.h
4911 if test "${enable_parallel_mark}" = yes; then
4912 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
4915 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&5
4918 $as_echo "$as_me: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&2;};
4921 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
4923 $as_echo "#define _REENTRANT 1" >>confdefs.h
4927 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
4929 $as_echo "#define _REENTRANT 1" >>confdefs.h
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP/UX 11 POSIX threads are supported.\"" >&5
4934 $as_echo "$as_me: WARNING: \"Only HP/UX 11 POSIX threads are supported.\"" >&2;}
4935 $as_echo "#define GC_HPUX_THREADS 1" >>confdefs.h
4937 $as_echo "#define _POSIX_C_SOURCE 199506L" >>confdefs.h
4939 if test "${enable_parallel_mark}" = yes; then
4940 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
4943 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&5
4946 $as_echo "$as_me: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&2;};
4947 THREADDLLIBS="-lpthread -lrt"
4948 # HPUX needs REENTRANT for the _r calls.
4950 $as_echo "#define _REENTRANT 1" >>confdefs.h
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
4955 $as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
4958 $as_echo "#define GC_OPENBSD_THREADS 1" >>confdefs.h
4960 THREADDLLIBS=-pthread
4961 INCLUDES="$INCLUDES -pthread"
4962 openbsd_threads=true
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4966 $as_echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4967 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
4969 INCLUDES="$INCLUDES -pthread"
4972 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
4974 INCLUDES="$INCLUDES -pthread"
4975 THREADDLLIBS=-pthread
4976 $as_echo "#define _REENTRANT 1" >>confdefs.h
4978 if test "${enable_parallel_mark}" = yes; then
4979 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
4982 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
4984 $as_echo "#define USE_COMPILER_TLS 1" >>confdefs.h
4988 $as_echo "#define GC_GNU_THREADS 1" >>confdefs.h
4990 $as_echo "#define _REENTRANT 1" >>confdefs.h
4992 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only on NetBSD 2.0 or later.\"" >&5
4997 $as_echo "$as_me: WARNING: \"Only on NetBSD 2.0 or later.\"" >&2;}
4998 $as_echo "#define GC_NETBSD_THREADS 1" >>confdefs.h
5000 $as_echo "#define _REENTRANT 1" >>confdefs.h
5002 $as_echo "#define _PTHREADS 1" >>confdefs.h
5004 THREADDLLIBS="-lpthread -lrt"
5007 $as_echo "#define GC_SOLARIS_THREADS 1" >>confdefs.h
5009 if test "${enable_parallel_mark}" = yes; then
5010 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5013 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5015 # Need to use alternate thread library, otherwise gctest hangs
5017 multi_os_directory=`$CC -print-multi-os-directory`
5018 THREADDLLIBS="-L/usr/lib/lwp/$multi_os_directory \
5019 -R/usr/lib/lwp/$multi_os_directory -lpthread -lrt"
5022 $as_echo "#define GC_IRIX_THREADS 1" >>confdefs.h
5026 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
5028 if test "${enable_parallel_mark}" = yes; then
5029 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5032 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5034 # Cygwin doesn't have a real libpthread, so Libtool can't link
5040 $as_echo "#define GC_WIN32_PTHREADS 1" >>confdefs.h
5042 # Using win32-pthreads
5043 if test "${enable_parallel_mark}" = yes; then
5044 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5047 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5049 THREADDLLIBS="-lpthread"
5053 $as_echo "#define GC_DARWIN_THREADS 1" >>confdefs.h
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&5
5056 $as_echo "$as_me: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&2;};
5057 # Parallel-mark is not well-tested on Darwin
5058 if test "${enable_parallel_mark}" = yes; then
5059 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5062 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5067 $as_echo "#define GC_OSF1_THREADS 1" >>confdefs.h
5069 if test "${enable_parallel_mark}" = yes; then
5070 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5072 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&5
5075 $as_echo "$as_me: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&2;};
5076 # May want to enable it in other cases, too.
5077 # Measurements have not yet been done.
5079 INCLUDES="$INCLUDES -pthread"
5080 THREADDLLIBS="-lpthread -lrt"
5083 as_fn_error $? "\"Pthreads not supported by the GC on this platform.\"" "$LINENO" 5
5088 if test "$GCC" != yes; then
5090 need_atomic_ops_asm=true
5096 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
5098 if test "${enable_parallel_mark}" = yes; then
5099 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5101 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5104 if test "${enable_shared}" != yes || test "${enable_static}" != no; then
5105 # Imply THREAD_LOCAL_ALLOC unless GC_DLL.
5106 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5112 $as_echo "#define EMPTY_GETENV_RESULTS 1" >>confdefs.h
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADDLLIBS" >&5
5118 $as_echo "$THREADDLLIBS" >&6; }
5119 # Use pthread GCC switch
5120 THREADDLLIBS=-pthread
5121 if test "${enable_parallel_mark}" = yes; then
5122 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
5125 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&5
5128 $as_echo "$as_me: WARNING: \"Explicit GC_INIT() calls may be required.\"" >&2;};
5130 $as_echo "#define GC_DGUX386_THREADS 1" >>confdefs.h
5133 $as_echo "#define DGUX_THREADS 1" >>confdefs.h
5135 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
5136 INCLUDES="-pthread $INCLUDES"
5140 THREADDLLIBS=-lpthread
5141 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
5143 $as_echo "#define _REENTRANT 1" >>confdefs.h
5148 $as_echo "#define GC_RTEMS_PTHREADS 1" >>confdefs.h
5150 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
5153 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
5154 as_fn_error $? "thread package $THREADS not yet supported" "$LINENO" 5
5157 as_fn_error $? "$THREADS is an unknown thread package" "$LINENO" 5
5161 if test x$THREADS != xnone; then
5169 if test x$THREADS = xposix; then
5177 if test x$darwin_threads = xtrue; then
5178 DARWIN_THREADS_TRUE=
5179 DARWIN_THREADS_FALSE='#'
5181 DARWIN_THREADS_TRUE='#'
5182 DARWIN_THREADS_FALSE=
5185 if test x$win32_threads = xtrue; then
5187 WIN32_THREADS_FALSE='#'
5189 WIN32_THREADS_TRUE='#'
5190 WIN32_THREADS_FALSE=
5193 if test x$openbsd_threads = xtrue; then
5194 OPENBSD_THREADS_TRUE=
5195 OPENBSD_THREADS_FALSE='#'
5197 OPENBSD_THREADS_TRUE='#'
5198 OPENBSD_THREADS_FALSE=
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xlc" >&5
5209 $as_echo_n "checking for xlc... " >&6; }
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5225 if ac_fn_c_try_compile "$LINENO"; then :
5230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_xlc" >&5
5232 $as_echo "$compiler_xlc" >&6; }
5233 if test $compiler_xlc = yes; then
5235 COMPILER_XLC_FALSE='#'
5237 COMPILER_XLC_TRUE='#'
5241 if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then
5242 # the darwin stack-frame-walking code is completely broken on xlc
5244 $as_echo "#define DARWIN_DONT_PARSE_STACK 1" >>confdefs.h
5248 if test "$GCC" == yes; then
5249 # Disable aliasing optimization unless forced to.
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports -fno-strict-aliasing" >&5
5251 $as_echo_n "checking whether gcc supports -fno-strict-aliasing... " >&6; }
5252 ac_cv_fno_strict_aliasing=no
5253 for cflag in $CFLAGS; do
5256 # Opposite option already present
5257 ac_cv_fno_strict_aliasing=skipped
5262 if test "$ac_cv_fno_strict_aliasing" != skipped; then
5263 old_CFLAGS="$CFLAGS"
5264 CFLAGS="$CFLAGS -fno-strict-aliasing"
5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h. */
5276 if ac_fn_c_try_compile "$LINENO"; then :
5277 ac_cv_fno_strict_aliasing=yes
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 CFLAGS="$old_CFLAGS"
5281 if test "$ac_cv_fno_strict_aliasing" = yes; then :
5282 CFLAGS="$CFLAGS -fno-strict-aliasing"
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fno_strict_aliasing" >&5
5286 $as_echo "$ac_cv_fno_strict_aliasing" >&6; }
5290 # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
5291 # and unnecessary everywhere.
5293 # We never want libdl on darwin. It is a fake libdl that just ends up making
5294 # dyld calls anyway. The same applies to Cygwin.
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
5300 if ${ac_cv_lib_dl_dlopen+:} false; then :
5301 $as_echo_n "(cached) " >&6
5303 ac_check_lib_save_LIBS=$LIBS
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5308 /* Override any GCC internal prototype to avoid an error.
5309 Use char because int might match the return type of a GCC
5310 builtin and then its argument prototype would still apply. */
5323 if ac_fn_c_try_link "$LINENO"; then :
5324 ac_cv_lib_dl_dlopen=yes
5326 ac_cv_lib_dl_dlopen=no
5328 rm -f core conftest.err conftest.$ac_objext \
5329 conftest$ac_exeext conftest.$ac_ext
5330 LIBS=$ac_check_lib_save_LIBS
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5333 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5334 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
5335 THREADDLLIBS="$THREADDLLIBS -ldl"
5348 if test $avoid_cpp_lib = yes; then
5350 AVOID_CPP_LIB_FALSE='#'
5352 AVOID_CPP_LIB_TRUE='#'
5353 AVOID_CPP_LIB_FALSE=
5357 # extra LD Flags which are required for targets
5360 extra_ldflags_libgc=-Wl,-single_module
5372 # Check whether --with-ecos was given.
5373 if test "${with_ecos+set}" = set; then :
5374 withval=$with_ecos; TARGET_ECOS="$with_ecos"
5382 case "$TARGET_ECOS" in
5387 $as_echo "#define ECOS 1" >>confdefs.h
5389 CXXINCLUDES="-I${TARGET_ECOS}/include"
5390 addobjs="$addobjs ecos.lo"
5394 if test "${enable_cplusplus}" = yes; then
5408 # Configuration of shared libraries
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
5411 $as_echo_n "checking whether to build shared libraries... " >&6; }
5412 # Check whether --enable-shared was given.
5413 if test "${enable_shared+set}" = set; then :
5414 enableval=$enable_shared; p=${PACKAGE-default}
5416 yes) enable_shared=yes ;;
5417 no) enable_shared=no ;;
5420 # Look at the argument we got. We use all the common list separators.
5421 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5422 for pkg in $enableval; do
5424 if test "X$pkg" = "X$p"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
5453 $as_echo "$enable_shared" >&6; }
5455 # Compile with GC_DLL defined unless building static libraries.
5456 if test "${enable_shared}" == yes; then
5457 if test "${enable_static}" == no; then
5458 $as_echo "#define GC_DLL 1" >>confdefs.h
5460 # FIXME: Also pass -fvisibility=hidden option if GCC v4+ and not Win32.
5464 # Configuration of machine-dependent code
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which machine-dependent code should be used" >&5
5467 $as_echo_n "checking which machine-dependent code should be used... " >&6; }
5471 machdep="mach_dep.lo"
5472 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5474 $as_echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5478 machdep="mach_dep.lo"
5480 i?86-*-solaris2.[89])
5481 # PROC_VDB appears to work in 2.8 and 2.9 but not in 2.10+ (for now).
5483 $as_echo "#define SOLARIS25_PROC_VDB_BUG_FIXED 1" >>confdefs.h
5487 machdep="mach_dep.lo"
5490 machdep="mach-dep.lo"
5492 mips-nec-sysv*|mips-unknown-sysv*)
5497 machdep="mach_dep.lo"
5500 machdep="mach_dep.lo sparc_mach_dep.lo"
5503 machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
5506 machdep="mach_dep.lo sparc_mach_dep.lo"
5509 machdep="mach_dep.lo sparc_mach_dep.lo"
5511 sparc-sun-solaris2.3)
5512 machdep="mach_dep.lo sparc_mach_dep.lo"
5514 $as_echo "#define SUNOS53_SHARED_LIB 1" >>confdefs.h
5517 sparc*-sun-solaris2*)
5518 machdep="mach_dep.lo sparc_mach_dep.lo"
5521 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5524 if test x"$machdep" = x; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $machdep" >&5
5526 $as_echo "$machdep" >&6; }
5527 machdep="mach_dep.lo"
5529 addobjs="$addobjs $machdep"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5536 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5542 macro_revision='1.3293'
5556 ltmain="$ac_aux_dir/ltmain.sh"
5558 # Backslashify metacharacters that are still active within
5559 # double-quoted strings.
5560 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5562 # Same as above, but do not quote variable references.
5563 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5565 # Sed substitution to delay expansion of an escaped shell variable in a
5566 # double_quote_subst'ed string.
5567 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5569 # Sed substitution to delay expansion of an escaped single quote.
5570 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5572 # Sed substitution to avoid accidental globbing in evaled expressions
5573 no_glob_subst='s/\*/\\\*/g'
5575 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5576 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5577 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5580 $as_echo_n "checking how to print strings... " >&6; }
5581 # Test print first, because it will be a builtin if present.
5582 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5583 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5585 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5588 # Use this function as a fallback that always works.
5589 func_fallback_echo ()
5591 eval 'cat <<_LTECHO_EOF
5595 ECHO='func_fallback_echo'
5598 # func_echo_all arg...
5599 # Invoke $ECHO with all args, space-separated.
5606 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5607 $as_echo "printf" >&6; } ;;
5608 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5609 $as_echo "print -r" >&6; } ;;
5610 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5611 $as_echo "cat" >&6; } ;;
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5628 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5629 if ${ac_cv_path_SED+:} false; then :
5630 $as_echo_n "(cached) " >&6
5632 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5633 for ac_i in 1 2 3 4 5 6 7; do
5634 ac_script="$ac_script$as_nl$ac_script"
5636 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5637 { ac_script=; unset ac_script;}
5638 if test -z "$SED"; then
5639 ac_path_SED_found=false
5640 # Loop through the user's path and test for each of PROGNAME-LIST
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir=.
5646 for ac_prog in sed gsed; do
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5649 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5650 # Check for GNU ac_path_SED and select it if it is found.
5651 # Check for GNU $ac_path_SED
5652 case `"$ac_path_SED" --version 2>&1` in
5654 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5657 $as_echo_n 0123456789 >"conftest.in"
5660 cat "conftest.in" "conftest.in" >"conftest.tmp"
5661 mv "conftest.tmp" "conftest.in"
5662 cp "conftest.in" "conftest.nl"
5663 $as_echo '' >> "conftest.nl"
5664 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5665 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5666 as_fn_arith $ac_count + 1 && ac_count=$as_val
5667 if test $ac_count -gt ${ac_path_SED_max-0}; then
5668 # Best one so far, save it but keep looking for a better one
5669 ac_cv_path_SED="$ac_path_SED"
5670 ac_path_SED_max=$ac_count
5672 # 10*(2^10) chars as input seems more than enough
5673 test $ac_count -gt 10 && break
5675 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5678 $ac_path_SED_found && break 3
5683 if test -z "$ac_cv_path_SED"; then
5684 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5692 $as_echo "$ac_cv_path_SED" >&6; }
5693 SED="$ac_cv_path_SED"
5696 test -z "$SED" && SED=sed
5697 Xsed="$SED -e 1s/^X//"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5710 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5711 if ${ac_cv_path_GREP+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 if test -z "$GREP"; then
5715 ac_path_GREP_found=false
5716 # Loop through the user's path and test for each of PROGNAME-LIST
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 test -z "$as_dir" && as_dir=.
5722 for ac_prog in grep ggrep; do
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5725 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5726 # Check for GNU ac_path_GREP and select it if it is found.
5727 # Check for GNU $ac_path_GREP
5728 case `"$ac_path_GREP" --version 2>&1` in
5730 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 $as_echo_n 0123456789 >"conftest.in"
5736 cat "conftest.in" "conftest.in" >"conftest.tmp"
5737 mv "conftest.tmp" "conftest.in"
5738 cp "conftest.in" "conftest.nl"
5739 $as_echo 'GREP' >> "conftest.nl"
5740 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5742 as_fn_arith $ac_count + 1 && ac_count=$as_val
5743 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5744 # Best one so far, save it but keep looking for a better one
5745 ac_cv_path_GREP="$ac_path_GREP"
5746 ac_path_GREP_max=$ac_count
5748 # 10*(2^10) chars as input seems more than enough
5749 test $ac_count -gt 10 && break
5751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 $ac_path_GREP_found && break 3
5759 if test -z "$ac_cv_path_GREP"; then
5760 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5763 ac_cv_path_GREP=$GREP
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5768 $as_echo "$ac_cv_path_GREP" >&6; }
5769 GREP="$ac_cv_path_GREP"
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5773 $as_echo_n "checking for egrep... " >&6; }
5774 if ${ac_cv_path_EGREP+:} false; then :
5775 $as_echo_n "(cached) " >&6
5777 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5778 then ac_cv_path_EGREP="$GREP -E"
5780 if test -z "$EGREP"; then
5781 ac_path_EGREP_found=false
5782 # Loop through the user's path and test for each of PROGNAME-LIST
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5787 test -z "$as_dir" && as_dir=.
5788 for ac_prog in egrep; do
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5791 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5792 # Check for GNU ac_path_EGREP and select it if it is found.
5793 # Check for GNU $ac_path_EGREP
5794 case `"$ac_path_EGREP" --version 2>&1` in
5796 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5799 $as_echo_n 0123456789 >"conftest.in"
5802 cat "conftest.in" "conftest.in" >"conftest.tmp"
5803 mv "conftest.tmp" "conftest.in"
5804 cp "conftest.in" "conftest.nl"
5805 $as_echo 'EGREP' >> "conftest.nl"
5806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5808 as_fn_arith $ac_count + 1 && ac_count=$as_val
5809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5810 # Best one so far, save it but keep looking for a better one
5811 ac_cv_path_EGREP="$ac_path_EGREP"
5812 ac_path_EGREP_max=$ac_count
5814 # 10*(2^10) chars as input seems more than enough
5815 test $ac_count -gt 10 && break
5817 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5820 $ac_path_EGREP_found && break 3
5825 if test -z "$ac_cv_path_EGREP"; then
5826 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5829 ac_cv_path_EGREP=$EGREP
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5835 $as_echo "$ac_cv_path_EGREP" >&6; }
5836 EGREP="$ac_cv_path_EGREP"
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5840 $as_echo_n "checking for fgrep... " >&6; }
5841 if ${ac_cv_path_FGREP+:} false; then :
5842 $as_echo_n "(cached) " >&6
5844 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5845 then ac_cv_path_FGREP="$GREP -F"
5847 if test -z "$FGREP"; then
5848 ac_path_FGREP_found=false
5849 # Loop through the user's path and test for each of PROGNAME-LIST
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5854 test -z "$as_dir" && as_dir=.
5855 for ac_prog in fgrep; do
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5858 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5859 # Check for GNU ac_path_FGREP and select it if it is found.
5860 # Check for GNU $ac_path_FGREP
5861 case `"$ac_path_FGREP" --version 2>&1` in
5863 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5866 $as_echo_n 0123456789 >"conftest.in"
5869 cat "conftest.in" "conftest.in" >"conftest.tmp"
5870 mv "conftest.tmp" "conftest.in"
5871 cp "conftest.in" "conftest.nl"
5872 $as_echo 'FGREP' >> "conftest.nl"
5873 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5874 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5875 as_fn_arith $ac_count + 1 && ac_count=$as_val
5876 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5877 # Best one so far, save it but keep looking for a better one
5878 ac_cv_path_FGREP="$ac_path_FGREP"
5879 ac_path_FGREP_max=$ac_count
5881 # 10*(2^10) chars as input seems more than enough
5882 test $ac_count -gt 10 && break
5884 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5887 $ac_path_FGREP_found && break 3
5892 if test -z "$ac_cv_path_FGREP"; then
5893 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5896 ac_cv_path_FGREP=$FGREP
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5902 $as_echo "$ac_cv_path_FGREP" >&6; }
5903 FGREP="$ac_cv_path_FGREP"
5906 test -z "$GREP" && GREP=grep
5926 # Check whether --with-gnu-ld was given.
5927 if test "${with_gnu_ld+set}" = set; then :
5928 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5934 if test "$GCC" = yes; then
5935 # Check if gcc -print-prog-name=ld gives a path.
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5937 $as_echo_n "checking for ld used by $CC... " >&6; }
5940 # gcc leaves a trailing carriage return which upsets mingw
5941 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5943 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5946 # Accept absolute paths.
5948 re_direlt='/[^/][^/]*/\.\./'
5949 # Canonicalize the pathname of ld
5950 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5951 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5952 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5954 test -z "$LD" && LD="$ac_prog"
5957 # If it fails, then pretend we aren't using GCC.
5961 # If it is relative, then search for the first ld in PATH.
5965 elif test "$with_gnu_ld" = yes; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5967 $as_echo_n "checking for GNU ld... " >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5970 $as_echo_n "checking for non-GNU ld... " >&6; }
5972 if ${lt_cv_path_LD+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -z "$LD"; then
5976 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5977 for ac_dir in $PATH; do
5979 test -z "$ac_dir" && ac_dir=.
5980 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5981 lt_cv_path_LD="$ac_dir/$ac_prog"
5982 # Check to see if the program is GNU ld. I'd rather use --version,
5983 # but apparently some variants of GNU ld only accept -v.
5984 # Break only if it was the GNU/non-GNU ld that we prefer.
5985 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5986 *GNU* | *'with BFD'*)
5987 test "$with_gnu_ld" != no && break
5990 test "$with_gnu_ld" != yes && break
5997 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6002 if test -n "$LD"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6004 $as_echo "$LD" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6009 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6011 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6012 if ${lt_cv_prog_gnu_ld+:} false; then :
6013 $as_echo_n "(cached) " >&6
6015 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6016 case `$LD -v 2>&1 </dev/null` in
6017 *GNU* | *'with BFD'*)
6018 lt_cv_prog_gnu_ld=yes
6021 lt_cv_prog_gnu_ld=no
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6026 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6027 with_gnu_ld=$lt_cv_prog_gnu_ld
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6038 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6039 if ${lt_cv_path_NM+:} false; then :
6040 $as_echo_n "(cached) " >&6
6042 if test -n "$NM"; then
6043 # Let the user override the test.
6046 lt_nm_to_check="${ac_tool_prefix}nm"
6047 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6048 lt_nm_to_check="$lt_nm_to_check nm"
6050 for lt_tmp_nm in $lt_nm_to_check; do
6051 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6052 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6054 test -z "$ac_dir" && ac_dir=.
6055 tmp_nm="$ac_dir/$lt_tmp_nm"
6056 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6057 # Check to see if the nm accepts a BSD-compat flag.
6058 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6059 # nm: unknown option "B" ignored
6060 # Tru64's nm complains that /dev/null is an invalid object file
6061 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6062 */dev/null* | *'Invalid file or object type'*)
6063 lt_cv_path_NM="$tmp_nm -B"
6067 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6069 lt_cv_path_NM="$tmp_nm -p"
6073 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6074 continue # so that we can try to find one that supports BSD flags
6083 : ${lt_cv_path_NM=no}
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6087 $as_echo "$lt_cv_path_NM" >&6; }
6088 if test "$lt_cv_path_NM" != "no"; then
6091 # Didn't find any BSD compatible name lister, look for dumpbin.
6092 if test -n "$DUMPBIN"; then :
6093 # Let the user override the test.
6095 if test -n "$ac_tool_prefix"; then
6096 for ac_prog in dumpbin "link -dump"
6098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_DUMPBIN+:} false; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$DUMPBIN"; then
6106 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 DUMPBIN=$ac_cv_prog_DUMPBIN
6126 if test -n "$DUMPBIN"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6128 $as_echo "$DUMPBIN" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 test -n "$DUMPBIN" && break
6138 if test -z "$DUMPBIN"; then
6139 ac_ct_DUMPBIN=$DUMPBIN
6140 for ac_prog in dumpbin "link -dump"
6142 # Extract the first word of "$ac_prog", so it can be a program name with args.
6143 set dummy $ac_prog; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6147 $as_echo_n "(cached) " >&6
6149 if test -n "$ac_ct_DUMPBIN"; then
6150 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6170 if test -n "$ac_ct_DUMPBIN"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6172 $as_echo "$ac_ct_DUMPBIN" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6179 test -n "$ac_ct_DUMPBIN" && break
6182 if test "x$ac_ct_DUMPBIN" = x; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned=yes ;;
6191 DUMPBIN=$ac_ct_DUMPBIN
6195 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6197 DUMPBIN="$DUMPBIN -symbols"
6205 if test "$DUMPBIN" != ":"; then
6209 test -z "$NM" && NM=nm
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6217 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6218 if ${lt_cv_nm_interface+:} false; then :
6219 $as_echo_n "(cached) " >&6
6221 lt_cv_nm_interface="BSD nm"
6222 echo "int some_variable = 0;" > conftest.$ac_ext
6223 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6224 (eval "$ac_compile" 2>conftest.err)
6225 cat conftest.err >&5
6226 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6227 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6228 cat conftest.err >&5
6229 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6230 cat conftest.out >&5
6231 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6232 lt_cv_nm_interface="MS dumpbin"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6237 $as_echo "$lt_cv_nm_interface" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6240 $as_echo_n "checking whether ln -s works... " >&6; }
6242 if test "$LN_S" = "ln -s"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6244 $as_echo "yes" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6247 $as_echo "no, using $LN_S" >&6; }
6250 # find the maximum length of command line arguments
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6252 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6253 if ${lt_cv_sys_max_cmd_len+:} false; then :
6254 $as_echo_n "(cached) " >&6
6261 # On DJGPP, this test can blow up pretty badly due to problems in libc
6262 # (any single argument exceeding 2000 bytes causes a buffer overrun
6263 # during glob expansion). Even if it were fixed, the result of this
6264 # check would be larger than it should be.
6265 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6269 # Under GNU Hurd, this test is not required because there is
6270 # no limit to the length of command line arguments.
6271 # Libtool will interpret -1 as no limit whatsoever
6272 lt_cv_sys_max_cmd_len=-1;
6275 cygwin* | mingw* | cegcc*)
6276 # On Win9x/ME, this test blows up -- it succeeds, but takes
6277 # about 5 minutes as the teststring grows exponentially.
6278 # Worse, since 9x/ME are not pre-emptively multitasking,
6279 # you end up with a "frozen" computer, even though with patience
6280 # the test eventually succeeds (with a max line length of 256k).
6281 # Instead, let's just punt: use the minimum linelength reported by
6282 # all of the supported platforms: 8192 (on NT/2K/XP).
6283 lt_cv_sys_max_cmd_len=8192;
6287 # On MiNT this can take a long time and run out of memory.
6288 lt_cv_sys_max_cmd_len=8192;
6292 # On AmigaOS with pdksh, this test takes hours, literally.
6293 # So we just punt and use a minimum line length of 8192.
6294 lt_cv_sys_max_cmd_len=8192;
6297 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6298 # This has been around since 386BSD, at least. Likely further.
6299 if test -x /sbin/sysctl; then
6300 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6301 elif test -x /usr/sbin/sysctl; then
6302 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6304 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6306 # And add a safety zone
6307 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6308 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6312 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6313 lt_cv_sys_max_cmd_len=196608
6317 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6318 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6319 # nice to cause kernel panics so lets avoid the loop below.
6320 # First set a reasonable default.
6321 lt_cv_sys_max_cmd_len=16384
6323 if test -x /sbin/sysconfig; then
6324 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6325 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6330 lt_cv_sys_max_cmd_len=102400
6332 sysv5* | sco5v6* | sysv4.2uw2*)
6333 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6334 if test -n "$kargmax"; then
6335 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6337 lt_cv_sys_max_cmd_len=32768
6341 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6342 if test -n "$lt_cv_sys_max_cmd_len"; then
6343 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6344 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6346 # Make teststring a little bigger before we do anything with it.
6347 # a 1K string should be a reasonable start.
6348 for i in 1 2 3 4 5 6 7 8 ; do
6349 teststring=$teststring$teststring
6351 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6352 # If test is not a shell built-in, we'll probably end up computing a
6353 # maximum length that is only half of the actual maximum length, but
6355 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6356 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6357 test $i != 17 # 1/2 MB should be enough
6360 teststring=$teststring$teststring
6362 # Only check the string length outside the loop.
6363 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6365 # Add a significant safety factor because C++ compilers can tack on
6366 # massive amounts of additional arguments before passing them to the
6367 # linker. It appears as though 1/2 is a usable value.
6368 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6375 if test -n $lt_cv_sys_max_cmd_len ; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6377 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6380 $as_echo "none" >&6; }
6382 max_cmd_len=$lt_cv_sys_max_cmd_len
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6394 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6395 # Try some XSI features
6398 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6400 && eval 'test $(( 1 + 1 )) -eq 2 \
6401 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6404 $as_echo "$xsi_shell" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6408 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6410 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6412 && lt_shell_append=yes
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6414 $as_echo "$lt_shell_append" >&6; }
6417 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6427 # test EBCDIC or ASCII
6428 case `echo X|tr X '\101'` in
6429 A) # ASCII based system
6430 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6431 lt_SP2NL='tr \040 \012'
6432 lt_NL2SP='tr \015\012 \040\040'
6434 *) # EBCDIC based system
6435 lt_SP2NL='tr \100 \n'
6436 lt_NL2SP='tr \r\n \100\100'
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6449 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6450 if ${lt_cv_to_host_file_cmd+:} false; then :
6451 $as_echo_n "(cached) " >&6
6456 *-*-mingw* ) # actually msys
6457 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6460 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6462 * ) # otherwise, assume *nix
6463 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6469 *-*-mingw* ) # actually msys
6470 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6473 lt_cv_to_host_file_cmd=func_convert_file_noop
6475 * ) # otherwise, assume *nix
6476 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6480 * ) # unhandled hosts (and "normal" native builds)
6481 lt_cv_to_host_file_cmd=func_convert_file_noop
6487 to_host_file_cmd=$lt_cv_to_host_file_cmd
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6489 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6496 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6497 if ${lt_cv_to_tool_file_cmd+:} false; then :
6498 $as_echo_n "(cached) " >&6
6500 #assume ordinary cross tools, or native build.
6501 lt_cv_to_tool_file_cmd=func_convert_file_noop
6505 *-*-mingw* ) # actually msys
6506 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6514 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6516 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6523 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6524 if ${lt_cv_ld_reload_flag+:} false; then :
6525 $as_echo_n "(cached) " >&6
6527 lt_cv_ld_reload_flag='-r'
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6530 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6531 reload_flag=$lt_cv_ld_reload_flag
6532 case $reload_flag in
6534 *) reload_flag=" $reload_flag" ;;
6536 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6538 cygwin* | mingw* | pw32* | cegcc*)
6539 if test "$GCC" != yes; then
6544 if test "$GCC" = yes; then
6545 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6547 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6560 if test -n "$ac_tool_prefix"; then
6561 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6562 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 $as_echo_n "checking for $ac_word... " >&6; }
6565 if ${ac_cv_prog_OBJDUMP+:} false; then :
6566 $as_echo_n "(cached) " >&6
6568 if test -n "$OBJDUMP"; then
6569 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 OBJDUMP=$ac_cv_prog_OBJDUMP
6589 if test -n "$OBJDUMP"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6591 $as_echo "$OBJDUMP" >&6; }
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 $as_echo "no" >&6; }
6599 if test -z "$ac_cv_prog_OBJDUMP"; then
6600 ac_ct_OBJDUMP=$OBJDUMP
6601 # Extract the first word of "objdump", so it can be a program name with args.
6602 set dummy objdump; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6606 $as_echo_n "(cached) " >&6
6608 if test -n "$ac_ct_OBJDUMP"; then
6609 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6629 if test -n "$ac_ct_OBJDUMP"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6631 $as_echo "$ac_ct_OBJDUMP" >&6; }
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6637 if test "x$ac_ct_OBJDUMP" = x; then
6640 case $cross_compiling:$ac_tool_warned in
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6644 ac_tool_warned=yes ;;
6646 OBJDUMP=$ac_ct_OBJDUMP
6649 OBJDUMP="$ac_cv_prog_OBJDUMP"
6652 test -z "$OBJDUMP" && OBJDUMP=objdump
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6663 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6664 if ${lt_cv_deplibs_check_method+:} false; then :
6665 $as_echo_n "(cached) " >&6
6667 lt_cv_file_magic_cmd='$MAGIC_CMD'
6668 lt_cv_file_magic_test_file=
6669 lt_cv_deplibs_check_method='unknown'
6670 # Need to set the preceding variable on all platforms that support
6671 # interlibrary dependencies.
6672 # 'none' -- dependencies not supported.
6673 # `unknown' -- same as none, but documents that we really don't know.
6674 # 'pass_all' -- all dependencies passed with no checks.
6675 # 'test_compile' -- check by making test program.
6676 # 'file_magic [[regex]]' -- check by looking for files in library path
6677 # which responds to the $file_magic_cmd with a given extended regex.
6678 # If you have `file' or equivalent on your system and you're not sure
6679 # whether `pass_all' will *always* work, you probably want this one.
6683 lt_cv_deplibs_check_method=pass_all
6687 lt_cv_deplibs_check_method=pass_all
6691 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6692 lt_cv_file_magic_cmd='/usr/bin/file -L'
6693 lt_cv_file_magic_test_file=/shlib/libc.so
6697 # func_win32_libid is a shell function defined in ltmain.sh
6698 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6699 lt_cv_file_magic_cmd='func_win32_libid'
6703 # Base MSYS/MinGW do not provide the 'file' command needed by
6704 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6705 # unless we find 'file', for example because we are cross-compiling.
6706 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6707 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6708 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6709 lt_cv_file_magic_cmd='func_win32_libid'
6711 # Keep this pattern in sync with the one in func_win32_libid.
6712 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6713 lt_cv_file_magic_cmd='$OBJDUMP -f'
6718 # use the weaker test based on 'objdump'. See mingw*.
6719 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6720 lt_cv_file_magic_cmd='$OBJDUMP -f'
6723 darwin* | rhapsody*)
6724 lt_cv_deplibs_check_method=pass_all
6727 freebsd* | dragonfly*)
6728 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6731 # Not sure whether the presence of OpenBSD here was a mistake.
6732 # Let's accept both of them until this is cleared up.
6733 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6734 lt_cv_file_magic_cmd=/usr/bin/file
6735 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6739 lt_cv_deplibs_check_method=pass_all
6744 lt_cv_deplibs_check_method=pass_all
6748 lt_cv_deplibs_check_method=pass_all
6751 hpux10.20* | hpux11*)
6752 lt_cv_file_magic_cmd=/usr/bin/file
6755 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6756 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6759 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6760 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6763 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6764 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6770 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6771 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6774 irix5* | irix6* | nonstopux*)
6776 *-32|*"-32 ") libmagic=32-bit;;
6777 *-n32|*"-n32 ") libmagic=N32;;
6778 *-64|*"-64 ") libmagic=64-bit;;
6779 *) libmagic=never-match;;
6781 lt_cv_deplibs_check_method=pass_all
6784 # This must be Linux ELF.
6785 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6786 lt_cv_deplibs_check_method=pass_all
6790 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6798 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6799 lt_cv_file_magic_cmd=/usr/bin/file
6800 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6804 lt_cv_deplibs_check_method=pass_all
6808 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6809 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6815 osf3* | osf4* | osf5*)
6816 lt_cv_deplibs_check_method=pass_all
6820 lt_cv_deplibs_check_method=pass_all
6824 lt_cv_deplibs_check_method=pass_all
6827 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6828 lt_cv_deplibs_check_method=pass_all
6832 case $host_vendor in
6834 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]'
6835 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6838 lt_cv_deplibs_check_method=pass_all
6841 lt_cv_file_magic_cmd='/bin/file'
6842 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6845 lt_cv_file_magic_cmd='/bin/file'
6846 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6847 lt_cv_file_magic_test_file=/lib/libc.so
6850 lt_cv_deplibs_check_method=pass_all
6853 lt_cv_deplibs_check_method=pass_all
6859 lt_cv_deplibs_check_method=pass_all
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6865 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6869 if test "$build" = "$host"; then
6872 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6875 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6881 file_magic_cmd=$lt_cv_file_magic_cmd
6882 deplibs_check_method=$lt_cv_deplibs_check_method
6883 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6908 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_DLLTOOL+:} false; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$DLLTOOL"; then
6915 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 DLLTOOL=$ac_cv_prog_DLLTOOL
6935 if test -n "$DLLTOOL"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6937 $as_echo "$DLLTOOL" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6945 if test -z "$ac_cv_prog_DLLTOOL"; then
6946 ac_ct_DLLTOOL=$DLLTOOL
6947 # Extract the first word of "dlltool", so it can be a program name with args.
6948 set dummy dlltool; ac_word=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6952 $as_echo_n "(cached) " >&6
6954 if test -n "$ac_ct_DLLTOOL"; then
6955 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir=.
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6975 if test -n "$ac_ct_DLLTOOL"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6977 $as_echo "$ac_ct_DLLTOOL" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6983 if test "x$ac_ct_DLLTOOL" = x; then
6986 case $cross_compiling:$ac_tool_warned in
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6990 ac_tool_warned=yes ;;
6992 DLLTOOL=$ac_ct_DLLTOOL
6995 DLLTOOL="$ac_cv_prog_DLLTOOL"
6998 test -z "$DLLTOOL" && DLLTOOL=dlltool
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7010 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7011 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 lt_cv_sharedlib_from_linklib_cmd='unknown'
7017 cygwin* | mingw* | pw32* | cegcc*)
7018 # two different shell functions defined in ltmain.sh
7019 # decide which to use based on capabilities of $DLLTOOL
7020 case `$DLLTOOL --help 2>&1` in
7021 *--identify-strict*)
7022 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7025 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7030 # fallback: assume linklib IS sharedlib
7031 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7037 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7038 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7039 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7047 if test -n "$ac_tool_prefix"; then
7050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_AR+:} false; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$AR"; then
7058 ac_cv_prog_AR="$AR" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 if test -n "$AR"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7080 $as_echo "$AR" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7087 test -n "$AR" && break
7090 if test -z "$AR"; then
7094 # Extract the first word of "$ac_prog", so it can be a program name with args.
7095 set dummy $ac_prog; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$ac_ct_AR"; then
7102 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_ac_ct_AR="$ac_prog"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7122 if test -n "$ac_ct_AR"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7124 $as_echo "$ac_ct_AR" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7131 test -n "$ac_ct_AR" && break
7134 if test "x$ac_ct_AR" = x; then
7137 case $cross_compiling:$ac_tool_warned in
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7141 ac_tool_warned=yes ;;
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7161 $as_echo_n "checking for archiver @FILE support... " >&6; }
7162 if ${lt_cv_ar_at_file+:} false; then :
7163 $as_echo_n "(cached) " >&6
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7177 if ac_fn_c_try_compile "$LINENO"; then :
7178 echo conftest.$ac_objext > conftest.lst
7179 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7180 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7181 (eval $lt_ar_try) 2>&5
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; }
7185 if test "$ac_status" -eq 0; then
7186 # Ensure the archiver fails upon bogus file names.
7187 rm -f conftest.$ac_objext libconftest.a
7188 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7189 (eval $lt_ar_try) 2>&5
7191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7192 test $ac_status = 0; }
7193 if test "$ac_status" -ne 0; then
7197 rm -f conftest.* libconftest.a
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7204 $as_echo "$lt_cv_ar_at_file" >&6; }
7206 if test "x$lt_cv_ar_at_file" = xno; then
7209 archiver_list_spec=$lt_cv_ar_at_file
7218 if test -n "$ac_tool_prefix"; then
7219 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7220 set dummy ${ac_tool_prefix}strip; ac_word=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7222 $as_echo_n "checking for $ac_word... " >&6; }
7223 if ${ac_cv_prog_STRIP+:} false; then :
7224 $as_echo_n "(cached) " >&6
7226 if test -n "$STRIP"; then
7227 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir=.
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7236 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246 STRIP=$ac_cv_prog_STRIP
7247 if test -n "$STRIP"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7249 $as_echo "$STRIP" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252 $as_echo "no" >&6; }
7257 if test -z "$ac_cv_prog_STRIP"; then
7259 # Extract the first word of "strip", so it can be a program name with args.
7260 set dummy strip; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$ac_ct_STRIP"; then
7267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_ac_ct_STRIP="strip"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7287 if test -n "$ac_ct_STRIP"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7289 $as_echo "$ac_ct_STRIP" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7295 if test "x$ac_ct_STRIP" = x; then
7298 case $cross_compiling:$ac_tool_warned in
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7302 ac_tool_warned=yes ;;
7307 STRIP="$ac_cv_prog_STRIP"
7310 test -z "$STRIP" && STRIP=:
7317 if test -n "$ac_tool_prefix"; then
7318 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7319 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if ${ac_cv_prog_RANLIB+:} false; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$RANLIB"; then
7326 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir=.
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 RANLIB=$ac_cv_prog_RANLIB
7346 if test -n "$RANLIB"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7348 $as_echo "$RANLIB" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7356 if test -z "$ac_cv_prog_RANLIB"; then
7357 ac_ct_RANLIB=$RANLIB
7358 # Extract the first word of "ranlib", so it can be a program name with args.
7359 set dummy ranlib; ac_word=$2
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7361 $as_echo_n "checking for $ac_word... " >&6; }
7362 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7363 $as_echo_n "(cached) " >&6
7365 if test -n "$ac_ct_RANLIB"; then
7366 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7375 ac_cv_prog_ac_ct_RANLIB="ranlib"
7376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7386 if test -n "$ac_ct_RANLIB"; then
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7388 $as_echo "$ac_ct_RANLIB" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7394 if test "x$ac_ct_RANLIB" = x; then
7397 case $cross_compiling:$ac_tool_warned in
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7401 ac_tool_warned=yes ;;
7403 RANLIB=$ac_ct_RANLIB
7406 RANLIB="$ac_cv_prog_RANLIB"
7409 test -z "$RANLIB" && RANLIB=:
7416 # Determine commands to create old-style static archives.
7417 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7418 old_postinstall_cmds='chmod 644 $oldlib'
7419 old_postuninstall_cmds=
7421 if test -n "$RANLIB"; then
7424 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7427 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7430 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7435 lock_old_archive_extraction=yes ;;
7437 lock_old_archive_extraction=no ;;
7478 # If no C compiler was specified, use CC.
7481 # If no C compiler flags were specified, use CFLAGS.
7482 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7484 # Allow CC to be a program name with arguments.
7488 # Check for command to grab the raw symbol name followed by C symbol from nm.
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7490 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7491 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7492 $as_echo_n "(cached) " >&6
7495 # These are sane defaults that work on at least a few old systems.
7496 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7498 # Character class describing NM global symbol codes.
7499 symcode='[BCDEGRST]'
7501 # Regexp to match symbols that can be accessed directly from C.
7502 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7504 # Define system-specific variables.
7509 cygwin* | mingw* | pw32* | cegcc*)
7510 symcode='[ABCDGISTW]'
7513 if test "$host_cpu" = ia64; then
7514 symcode='[ABCDEGRST]'
7518 symcode='[BCDEGRST]'
7521 symcode='[BCDEGQRST]'
7532 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7540 # If we're using GNU nm, then use its standard symbol codes.
7541 case `$NM -V 2>&1` in
7542 *GNU* | *'with BFD'*)
7543 symcode='[ABCDGIRSTW]' ;;
7546 # Transform an extracted symbol line into a proper C declaration.
7547 # Some systems (esp. on ia64) link data and code symbols differently,
7548 # so use this general approach.
7549 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7551 # Transform an extracted symbol line into symbol name and symbol address
7552 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7553 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'"
7555 # Handle CRLF in mingw tool chain
7559 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7563 # Try without a prefix underscore, then with it.
7564 for ac_symprfx in "" "_"; do
7566 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7567 symxfrm="\\1 $ac_symprfx\\2 \\2"
7569 # Write the raw and C identifiers.
7570 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7571 # Fake it for dumpbin and say T for any non-static function
7572 # and D for any global variable.
7573 # Also find C++ and __fastcall symbols from MSVC++,
7574 # which start with @ or ?.
7575 lt_cv_sys_global_symbol_pipe="$AWK '"\
7576 " {last_section=section; section=\$ 3};"\
7577 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7578 " \$ 0!~/External *\|/{next};"\
7579 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7580 " {if(hide[section]) next};"\
7581 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7582 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7583 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7584 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7585 " ' prfx=^$ac_symprfx"
7587 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7589 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7591 # Check to see that the pipe works correctly.
7595 cat > conftest.$ac_ext <<_LT_EOF
7600 void nm_test_func(void);
7601 void nm_test_func(void){}
7605 int main(){nm_test_var='a';nm_test_func();return(0);}
7608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7609 (eval $ac_compile) 2>&5
7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7612 test $ac_status = 0; }; then
7613 # Now try to grab the symbols.
7615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7616 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619 test $ac_status = 0; } && test -s "$nlist"; then
7620 # Try sorting and uniquifying the output.
7621 if sort "$nlist" | uniq > "$nlist"T; then
7622 mv -f "$nlist"T "$nlist"
7627 # Make sure that we snagged all the symbols we need.
7628 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7629 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7630 cat <<_LT_EOF > conftest.$ac_ext
7631 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7632 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7633 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7634 relocations are performed -- see ld's documentation on pseudo-relocs. */
7635 # define LT_DLSYM_CONST
7636 #elif defined(__osf__)
7637 /* This system does not cope well with relocations in const data. */
7638 # define LT_DLSYM_CONST
7640 # define LT_DLSYM_CONST const
7648 # Now generate the symbol file.
7649 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7651 cat <<_LT_EOF >> conftest.$ac_ext
7653 /* The mapping between symbol names and symbols. */
7654 LT_DLSYM_CONST struct {
7658 lt__PROGRAM__LTX_preloaded_symbols[] =
7660 { "@PROGRAM@", (void *) 0 },
7662 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7663 cat <<\_LT_EOF >> conftest.$ac_ext
7667 /* This works around a problem in FreeBSD linker */
7668 #ifdef FREEBSD_WORKAROUND
7669 static const void *lt_preloaded_setup() {
7670 return lt__PROGRAM__LTX_preloaded_symbols;
7678 # Now try linking the two files.
7679 mv conftest.$ac_objext conftstm.$ac_objext
7680 lt_globsym_save_LIBS=$LIBS
7681 lt_globsym_save_CFLAGS=$CFLAGS
7682 LIBS="conftstm.$ac_objext"
7683 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7685 (eval $ac_link) 2>&5
7687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7688 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7691 LIBS=$lt_globsym_save_LIBS
7692 CFLAGS=$lt_globsym_save_CFLAGS
7694 echo "cannot find nm_test_func in $nlist" >&5
7697 echo "cannot find nm_test_var in $nlist" >&5
7700 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7703 echo "$progname: failed program was:" >&5
7704 cat conftest.$ac_ext >&5
7706 rm -rf conftest* conftst*
7708 # Do not use the global_symbol_pipe unless it works.
7709 if test "$pipe_works" = yes; then
7712 lt_cv_sys_global_symbol_pipe=
7718 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7719 lt_cv_sys_global_symbol_to_cdecl=
7721 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7723 $as_echo "failed" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7726 $as_echo "ok" >&6; }
7729 # Response file support.
7730 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7731 nm_file_list_spec='@'
7732 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7733 nm_file_list_spec='@'
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7763 $as_echo_n "checking for sysroot... " >&6; }
7765 # Check whether --with-sysroot was given.
7766 if test "${with_sysroot+set}" = set; then :
7767 withval=$with_sysroot;
7774 case ${with_sysroot} in #(
7776 if test "$GCC" = yes; then
7777 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7781 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7787 $as_echo "${with_sysroot}" >&6; }
7788 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7793 $as_echo "${lt_sysroot:-no}" >&6; }
7799 # Check whether --enable-libtool-lock was given.
7800 if test "${enable_libtool_lock+set}" = set; then :
7801 enableval=$enable_libtool_lock;
7804 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7806 # Some flags need to be propagated to the compiler or linker for good
7810 # Find out which ABI we are using.
7811 echo 'int i;' > conftest.$ac_ext
7812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7813 (eval $ac_compile) 2>&5
7815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7816 test $ac_status = 0; }; then
7817 case `/usr/bin/file conftest.$ac_objext` in
7829 # Find out which ABI we are using.
7830 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7832 (eval $ac_compile) 2>&5
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835 test $ac_status = 0; }; then
7836 if test "$lt_cv_prog_gnu_ld" = yes; then
7837 case `/usr/bin/file conftest.$ac_objext` in
7839 LD="${LD-ld} -melf32bsmip"
7842 LD="${LD-ld} -melf32bmipn32"
7845 LD="${LD-ld} -melf64bmip"
7849 case `/usr/bin/file conftest.$ac_objext` in
7865 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7866 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7867 # Find out which ABI we are using.
7868 echo 'int i;' > conftest.$ac_ext
7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7870 (eval $ac_compile) 2>&5
7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7873 test $ac_status = 0; }; then
7874 case `/usr/bin/file conftest.o` in
7877 x86_64-*kfreebsd*-gnu)
7878 LD="${LD-ld} -m elf_i386_fbsd"
7881 LD="${LD-ld} -m elf_i386"
7883 ppc64-*linux*|powerpc64-*linux*)
7884 LD="${LD-ld} -m elf32ppclinux"
7887 LD="${LD-ld} -m elf_s390"
7890 LD="${LD-ld} -m elf32_sparc"
7896 x86_64-*kfreebsd*-gnu)
7897 LD="${LD-ld} -m elf_x86_64_fbsd"
7900 LD="${LD-ld} -m elf_x86_64"
7902 ppc*-*linux*|powerpc*-*linux*)
7903 LD="${LD-ld} -m elf64ppc"
7905 s390*-*linux*|s390*-*tpf*)
7906 LD="${LD-ld} -m elf64_s390"
7909 LD="${LD-ld} -m elf64_sparc"
7919 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7920 SAVE_CFLAGS="$CFLAGS"
7921 CFLAGS="$CFLAGS -belf"
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7923 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7924 if ${lt_cv_cc_needs_belf+:} false; then :
7925 $as_echo_n "(cached) " >&6
7928 ac_cpp='$CPP $CPPFLAGS'
7929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7944 if ac_fn_c_try_link "$LINENO"; then :
7945 lt_cv_cc_needs_belf=yes
7947 lt_cv_cc_needs_belf=no
7949 rm -f core conftest.err conftest.$ac_objext \
7950 conftest$ac_exeext conftest.$ac_ext
7952 ac_cpp='$CPP $CPPFLAGS'
7953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7959 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7960 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7961 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7962 CFLAGS="$SAVE_CFLAGS"
7966 # Find out which ABI we are using.
7967 echo 'int i;' > conftest.$ac_ext
7968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7969 (eval $ac_compile) 2>&5
7971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7972 test $ac_status = 0; }; then
7973 case `/usr/bin/file conftest.o` in
7975 case $lt_cv_prog_gnu_ld in
7976 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7978 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7990 need_locks="$enable_libtool_lock"
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}mt; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 if test -n "$MANIFEST_TOOL"; then
8001 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8010 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8021 if test -n "$MANIFEST_TOOL"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8023 $as_echo "$MANIFEST_TOOL" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8031 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8032 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8033 # Extract the first word of "mt", so it can be a program name with args.
8034 set dummy mt; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8038 $as_echo_n "(cached) " >&6
8040 if test -n "$ac_ct_MANIFEST_TOOL"; then
8041 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8050 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8061 if test -n "$ac_ct_MANIFEST_TOOL"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8063 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8069 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8072 case $cross_compiling:$ac_tool_warned in
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8078 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8081 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8084 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8086 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8087 if ${lt_cv_path_mainfest_tool+:} false; then :
8088 $as_echo_n "(cached) " >&6
8090 lt_cv_path_mainfest_tool=no
8091 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8092 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8093 cat conftest.err >&5
8094 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8095 lt_cv_path_mainfest_tool=yes
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8100 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8101 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8111 rhapsody* | darwin*)
8112 if test -n "$ac_tool_prefix"; then
8113 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8114 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8118 $as_echo_n "(cached) " >&6
8120 if test -n "$DSYMUTIL"; then
8121 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8141 if test -n "$DSYMUTIL"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8143 $as_echo "$DSYMUTIL" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8151 if test -z "$ac_cv_prog_DSYMUTIL"; then
8152 ac_ct_DSYMUTIL=$DSYMUTIL
8153 # Extract the first word of "dsymutil", so it can be a program name with args.
8154 set dummy dsymutil; ac_word=$2
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156 $as_echo_n "checking for $ac_word... " >&6; }
8157 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8158 $as_echo_n "(cached) " >&6
8160 if test -n "$ac_ct_DSYMUTIL"; then
8161 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8181 if test -n "$ac_ct_DSYMUTIL"; then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8183 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8186 $as_echo "no" >&6; }
8189 if test "x$ac_ct_DSYMUTIL" = x; then
8192 case $cross_compiling:$ac_tool_warned in
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8196 ac_tool_warned=yes ;;
8198 DSYMUTIL=$ac_ct_DSYMUTIL
8201 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8204 if test -n "$ac_tool_prefix"; then
8205 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8206 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8208 $as_echo_n "checking for $ac_word... " >&6; }
8209 if ${ac_cv_prog_NMEDIT+:} false; then :
8210 $as_echo_n "(cached) " >&6
8212 if test -n "$NMEDIT"; then
8213 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8222 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 NMEDIT=$ac_cv_prog_NMEDIT
8233 if test -n "$NMEDIT"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8235 $as_echo "$NMEDIT" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8243 if test -z "$ac_cv_prog_NMEDIT"; then
8244 ac_ct_NMEDIT=$NMEDIT
8245 # Extract the first word of "nmedit", so it can be a program name with args.
8246 set dummy nmedit; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8248 $as_echo_n "checking for $ac_word... " >&6; }
8249 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8250 $as_echo_n "(cached) " >&6
8252 if test -n "$ac_ct_NMEDIT"; then
8253 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8273 if test -n "$ac_ct_NMEDIT"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8275 $as_echo "$ac_ct_NMEDIT" >&6; }
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8281 if test "x$ac_ct_NMEDIT" = x; then
8284 case $cross_compiling:$ac_tool_warned in
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8288 ac_tool_warned=yes ;;
8290 NMEDIT=$ac_ct_NMEDIT
8293 NMEDIT="$ac_cv_prog_NMEDIT"
8296 if test -n "$ac_tool_prefix"; then
8297 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8298 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8300 $as_echo_n "checking for $ac_word... " >&6; }
8301 if ${ac_cv_prog_LIPO+:} false; then :
8302 $as_echo_n "(cached) " >&6
8304 if test -n "$LIPO"; then
8305 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8311 test -z "$as_dir" && as_dir=.
8312 for ac_exec_ext in '' $ac_executable_extensions; do
8313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8314 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 LIPO=$ac_cv_prog_LIPO
8325 if test -n "$LIPO"; then
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8327 $as_echo "$LIPO" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8330 $as_echo "no" >&6; }
8335 if test -z "$ac_cv_prog_LIPO"; then
8337 # Extract the first word of "lipo", so it can be a program name with args.
8338 set dummy lipo; ac_word=$2
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8340 $as_echo_n "checking for $ac_word... " >&6; }
8341 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8342 $as_echo_n "(cached) " >&6
8344 if test -n "$ac_ct_LIPO"; then
8345 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_prog_ac_ct_LIPO="lipo"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8365 if test -n "$ac_ct_LIPO"; then
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8367 $as_echo "$ac_ct_LIPO" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 $as_echo "no" >&6; }
8373 if test "x$ac_ct_LIPO" = x; then
8376 case $cross_compiling:$ac_tool_warned in
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8380 ac_tool_warned=yes ;;
8385 LIPO="$ac_cv_prog_LIPO"
8388 if test -n "$ac_tool_prefix"; then
8389 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8390 set dummy ${ac_tool_prefix}otool; ac_word=$2
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392 $as_echo_n "checking for $ac_word... " >&6; }
8393 if ${ac_cv_prog_OTOOL+:} false; then :
8394 $as_echo_n "(cached) " >&6
8396 if test -n "$OTOOL"; then
8397 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8403 test -z "$as_dir" && as_dir=.
8404 for ac_exec_ext in '' $ac_executable_extensions; do
8405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8406 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416 OTOOL=$ac_cv_prog_OTOOL
8417 if test -n "$OTOOL"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8419 $as_echo "$OTOOL" >&6; }
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422 $as_echo "no" >&6; }
8427 if test -z "$ac_cv_prog_OTOOL"; then
8429 # Extract the first word of "otool", so it can be a program name with args.
8430 set dummy otool; ac_word=$2
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8432 $as_echo_n "checking for $ac_word... " >&6; }
8433 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8434 $as_echo_n "(cached) " >&6
8436 if test -n "$ac_ct_OTOOL"; then
8437 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir=.
8444 for ac_exec_ext in '' $ac_executable_extensions; do
8445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8446 ac_cv_prog_ac_ct_OTOOL="otool"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8457 if test -n "$ac_ct_OTOOL"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8459 $as_echo "$ac_ct_OTOOL" >&6; }
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8465 if test "x$ac_ct_OTOOL" = x; then
8468 case $cross_compiling:$ac_tool_warned in
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8472 ac_tool_warned=yes ;;
8477 OTOOL="$ac_cv_prog_OTOOL"
8480 if test -n "$ac_tool_prefix"; then
8481 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8482 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8484 $as_echo_n "checking for $ac_word... " >&6; }
8485 if ${ac_cv_prog_OTOOL64+:} false; then :
8486 $as_echo_n "(cached) " >&6
8488 if test -n "$OTOOL64"; then
8489 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir=.
8496 for ac_exec_ext in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 OTOOL64=$ac_cv_prog_OTOOL64
8509 if test -n "$OTOOL64"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8511 $as_echo "$OTOOL64" >&6; }
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8519 if test -z "$ac_cv_prog_OTOOL64"; then
8520 ac_ct_OTOOL64=$OTOOL64
8521 # Extract the first word of "otool64", so it can be a program name with args.
8522 set dummy otool64; ac_word=$2
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8524 $as_echo_n "checking for $ac_word... " >&6; }
8525 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8526 $as_echo_n "(cached) " >&6
8528 if test -n "$ac_ct_OTOOL64"; then
8529 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir=.
8536 for ac_exec_ext in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_ac_ct_OTOOL64="otool64"
8539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8549 if test -n "$ac_ct_OTOOL64"; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8551 $as_echo "$ac_ct_OTOOL64" >&6; }
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8554 $as_echo "no" >&6; }
8557 if test "x$ac_ct_OTOOL64" = x; then
8560 case $cross_compiling:$ac_tool_warned in
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8564 ac_tool_warned=yes ;;
8566 OTOOL64=$ac_ct_OTOOL64
8569 OTOOL64="$ac_cv_prog_OTOOL64"
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8599 $as_echo_n "checking for -single_module linker flag... " >&6; }
8600 if ${lt_cv_apple_cc_single_mod+:} false; then :
8601 $as_echo_n "(cached) " >&6
8603 lt_cv_apple_cc_single_mod=no
8604 if test -z "${LT_MULTI_MODULE}"; then
8605 # By default we will add the -single_module flag. You can override
8606 # by either setting the environment variable LT_MULTI_MODULE
8607 # non-empty at configure time, or by adding -multi_module to the
8609 rm -rf libconftest.dylib*
8610 echo "int foo(void){return 1;}" > conftest.c
8611 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8612 -dynamiclib -Wl,-single_module conftest.c" >&5
8613 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8614 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8616 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8617 lt_cv_apple_cc_single_mod=yes
8619 cat conftest.err >&5
8621 rm -rf libconftest.dylib*
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8626 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8628 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8629 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8630 $as_echo_n "(cached) " >&6
8632 lt_cv_ld_exported_symbols_list=no
8633 save_LDFLAGS=$LDFLAGS
8634 echo "_main" > conftest.sym
8635 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 lt_cv_ld_exported_symbols_list=yes
8650 lt_cv_ld_exported_symbols_list=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 LDFLAGS="$save_LDFLAGS"
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8658 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8660 $as_echo_n "checking for -force_load linker flag... " >&6; }
8661 if ${lt_cv_ld_force_load+:} false; then :
8662 $as_echo_n "(cached) " >&6
8664 lt_cv_ld_force_load=no
8665 cat > conftest.c << _LT_EOF
8666 int forced_loaded() { return 2;}
8668 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8669 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8670 echo "$AR cru libconftest.a conftest.o" >&5
8671 $AR cru libconftest.a conftest.o 2>&5
8672 echo "$RANLIB libconftest.a" >&5
8673 $RANLIB libconftest.a 2>&5
8674 cat > conftest.c << _LT_EOF
8675 int main() { return 0;}
8677 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8678 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8680 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8681 lt_cv_ld_force_load=yes
8683 cat conftest.err >&5
8685 rm -f conftest.err libconftest.a conftest conftest.c
8686 rm -rf conftest.dSYM
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8690 $as_echo "$lt_cv_ld_force_load" >&6; }
8692 rhapsody* | darwin1.[012])
8693 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8695 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8696 darwin*) # darwin 5.x on
8697 # if running on 10.5 or later, the deployment target defaults
8698 # to the OS version, if on x86, and 10.4, the deployment
8699 # target defaults to 10.4. Don't you love it?
8700 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8701 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8702 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8704 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8706 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8710 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8711 _lt_dar_single_mod='$single_module'
8713 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8714 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8716 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8718 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8719 _lt_dsymutil='~$DSYMUTIL $lib || :'
8727 ac_cpp='$CPP $CPPFLAGS'
8728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8732 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8733 # On Suns, sometimes $CPP names a directory.
8734 if test -n "$CPP" && test -d "$CPP"; then
8737 if test -z "$CPP"; then
8738 if ${ac_cv_prog_CPP+:} false; then :
8739 $as_echo_n "(cached) " >&6
8741 # Double quotes because CPP needs to be expanded
8742 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8745 for ac_c_preproc_warn_flag in '' yes
8747 # Use a header file that comes with gcc, so configuring glibc
8748 # with a fresh cross-compiler works.
8749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8750 # <limits.h> exists even on freestanding compilers.
8751 # On the NeXT, cc -E runs the code through the compiler's parser,
8752 # not just through cpp. "Syntax error" is here to catch this case.
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8756 # include <limits.h>
8758 # include <assert.h>
8762 if ac_fn_c_try_cpp "$LINENO"; then :
8765 # Broken: fails on valid input.
8768 rm -f conftest.err conftest.i conftest.$ac_ext
8770 # OK, works on sane cases. Now check whether nonexistent headers
8771 # can be detected and how.
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 #include <ac_nonexistent.h>
8776 if ac_fn_c_try_cpp "$LINENO"; then :
8777 # Broken: success on invalid input.
8780 # Passes both tests.
8784 rm -f conftest.err conftest.i conftest.$ac_ext
8787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8788 rm -f conftest.i conftest.err conftest.$ac_ext
8789 if $ac_preproc_ok; then :
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8802 $as_echo "$CPP" >&6; }
8804 for ac_c_preproc_warn_flag in '' yes
8806 # Use a header file that comes with gcc, so configuring glibc
8807 # with a fresh cross-compiler works.
8808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8809 # <limits.h> exists even on freestanding compilers.
8810 # On the NeXT, cc -E runs the code through the compiler's parser,
8811 # not just through cpp. "Syntax error" is here to catch this case.
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8815 # include <limits.h>
8817 # include <assert.h>
8821 if ac_fn_c_try_cpp "$LINENO"; then :
8824 # Broken: fails on valid input.
8827 rm -f conftest.err conftest.i conftest.$ac_ext
8829 # OK, works on sane cases. Now check whether nonexistent headers
8830 # can be detected and how.
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 #include <ac_nonexistent.h>
8835 if ac_fn_c_try_cpp "$LINENO"; then :
8836 # Broken: success on invalid input.
8839 # Passes both tests.
8843 rm -f conftest.err conftest.i conftest.$ac_ext
8846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8847 rm -f conftest.i conftest.err conftest.$ac_ext
8848 if $ac_preproc_ok; then :
8851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8853 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8854 See \`config.log' for more details" "$LINENO" 5; }
8858 ac_cpp='$CPP $CPPFLAGS'
8859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8865 $as_echo_n "checking for ANSI C header files... " >&6; }
8866 if ${ac_cv_header_stdc+:} false; then :
8867 $as_echo_n "(cached) " >&6
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8884 if ac_fn_c_try_compile "$LINENO"; then :
8885 ac_cv_header_stdc=yes
8887 ac_cv_header_stdc=no
8889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8891 if test $ac_cv_header_stdc = yes; then
8892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8899 $EGREP "memchr" >/dev/null 2>&1; then :
8902 ac_cv_header_stdc=no
8908 if test $ac_cv_header_stdc = yes; then
8909 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8916 $EGREP "free" >/dev/null 2>&1; then :
8919 ac_cv_header_stdc=no
8925 if test $ac_cv_header_stdc = yes; then
8926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8927 if test "$cross_compiling" = yes; then :
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8934 #if ((' ' & 0x0FF) == 0x020)
8935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8938 # define ISLOWER(c) \
8939 (('a' <= (c) && (c) <= 'i') \
8940 || ('j' <= (c) && (c) <= 'r') \
8941 || ('s' <= (c) && (c) <= 'z'))
8942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8950 for (i = 0; i < 256; i++)
8951 if (XOR (islower (i), ISLOWER (i))
8952 || toupper (i) != TOUPPER (i))
8957 if ac_fn_c_try_run "$LINENO"; then :
8960 ac_cv_header_stdc=no
8962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8963 conftest.$ac_objext conftest.beam conftest.$ac_ext
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8969 $as_echo "$ac_cv_header_stdc" >&6; }
8970 if test $ac_cv_header_stdc = yes; then
8972 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8978 inttypes.h stdint.h unistd.h
8980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8984 cat >>confdefs.h <<_ACEOF
8985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8993 for ac_header in dlfcn.h
8995 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8997 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8998 cat >>confdefs.h <<_ACEOF
8999 #define HAVE_DLFCN_H 1
9009 func_stripname_cnf ()
9012 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9013 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9015 } # func_stripname_cnf
9032 # Check whether --enable-static was given.
9033 if test "${enable_static+set}" = set; then :
9034 enableval=$enable_static; p=${PACKAGE-default}
9036 yes) enable_static=yes ;;
9037 no) enable_static=no ;;
9040 # Look at the argument we got. We use all the common list separators.
9041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9042 for pkg in $enableval; do
9044 if test "X$pkg" = "X$p"; then
9064 # Check whether --with-pic was given.
9065 if test "${with_pic+set}" = set; then :
9066 withval=$with_pic; pic_mode="$withval"
9072 test -z "$pic_mode" && pic_mode=default
9080 # Check whether --enable-fast-install was given.
9081 if test "${enable_fast_install+set}" = set; then :
9082 enableval=$enable_fast_install; p=${PACKAGE-default}
9084 yes) enable_fast_install=yes ;;
9085 no) enable_fast_install=no ;;
9087 enable_fast_install=no
9088 # Look at the argument we got. We use all the common list separators.
9089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9090 for pkg in $enableval; do
9092 if test "X$pkg" = "X$p"; then
9093 enable_fast_install=yes
9100 enable_fast_install=yes
9113 # This can be used to rebuild libtool when needed
9114 LIBTOOL_DEPS="$ltmain"
9116 # Always use our own libtool.
9117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9144 test -z "$LN_S" && LN_S="ln -s"
9159 if test -n "${ZSH_VERSION+set}" ; then
9160 setopt NO_GLOB_SUBST
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9164 $as_echo_n "checking for objdir... " >&6; }
9165 if ${lt_cv_objdir+:} false; then :
9166 $as_echo_n "(cached) " >&6
9168 rm -f .libs 2>/dev/null
9169 mkdir .libs 2>/dev/null
9170 if test -d .libs; then
9173 # MS-DOS does not allow filenames that begin with a dot.
9176 rmdir .libs 2>/dev/null
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9179 $as_echo "$lt_cv_objdir" >&6; }
9180 objdir=$lt_cv_objdir
9186 cat >>confdefs.h <<_ACEOF
9187 #define LT_OBJDIR "$lt_cv_objdir/"
9195 # AIX sometimes has problems with the GCC collect2 program. For some
9196 # reason, if we set the COLLECT_NAMES environment variable, the problems
9197 # vanish in a puff of smoke.
9198 if test "X${COLLECT_NAMES+set}" != Xset; then
9200 export COLLECT_NAMES
9207 can_build_shared=yes
9209 # All known linkers require a `.a' archive for static linking (except MSVC,
9210 # which needs '.lib').
9213 with_gnu_ld="$lt_cv_prog_gnu_ld"
9216 old_CFLAGS="$CFLAGS"
9218 # Set sane defaults for various variables
9219 test -z "$CC" && CC=cc
9220 test -z "$LTCC" && LTCC=$CC
9221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9222 test -z "$LD" && LD=ld
9223 test -z "$ac_objext" && ac_objext=o
9225 for cc_temp in $compiler""; do
9227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9236 # Only perform the check for file, if the check method requires it
9237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9238 case $deplibs_check_method in
9240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9243 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9244 $as_echo_n "(cached) " >&6
9248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9251 lt_save_MAGIC_CMD="$MAGIC_CMD"
9252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9254 for ac_dir in $ac_dummy; do
9256 test -z "$ac_dir" && ac_dir=.
9257 if test -f $ac_dir/${ac_tool_prefix}file; then
9258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9259 if test -n "$file_magic_test_file"; then
9260 case $deplibs_check_method in
9262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9265 $EGREP "$file_magic_regex" > /dev/null; then
9270 *** Warning: the command libtool uses to detect shared libraries,
9271 *** $file_magic_cmd, produces output that libtool cannot recognize.
9272 *** The result is that libtool may fail to recognize shared libraries
9273 *** as such. This will affect the creation of libtool libraries that
9274 *** depend on shared libraries, but programs linked with such libtool
9275 *** libraries will work regardless of this problem. Nevertheless, you
9276 *** may want to report the problem to your system manager and/or to
9277 *** bug-libtool@gnu.org
9287 MAGIC_CMD="$lt_save_MAGIC_CMD"
9292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9293 if test -n "$MAGIC_CMD"; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9295 $as_echo "$MAGIC_CMD" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9305 if test -z "$lt_cv_path_MAGIC_CMD"; then
9306 if test -n "$ac_tool_prefix"; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9308 $as_echo_n "checking for file... " >&6; }
9309 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9310 $as_echo_n "(cached) " >&6
9314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9317 lt_save_MAGIC_CMD="$MAGIC_CMD"
9318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9320 for ac_dir in $ac_dummy; do
9322 test -z "$ac_dir" && ac_dir=.
9323 if test -f $ac_dir/file; then
9324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9325 if test -n "$file_magic_test_file"; then
9326 case $deplibs_check_method in
9328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9331 $EGREP "$file_magic_regex" > /dev/null; then
9336 *** Warning: the command libtool uses to detect shared libraries,
9337 *** $file_magic_cmd, produces output that libtool cannot recognize.
9338 *** The result is that libtool may fail to recognize shared libraries
9339 *** as such. This will affect the creation of libtool libraries that
9340 *** depend on shared libraries, but programs linked with such libtool
9341 *** libraries will work regardless of this problem. Nevertheless, you
9342 *** may want to report the problem to your system manager and/or to
9343 *** bug-libtool@gnu.org
9353 MAGIC_CMD="$lt_save_MAGIC_CMD"
9358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9359 if test -n "$MAGIC_CMD"; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9361 $as_echo "$MAGIC_CMD" >&6; }
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9364 $as_echo "no" >&6; }
9377 # Use C for the default configuration in the libtool script
9381 ac_cpp='$CPP $CPPFLAGS'
9382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9387 # Source file extension for C test sources.
9390 # Object file extension for compiled C test sources.
9394 # Code to be used in simple compile tests
9395 lt_simple_compile_test_code="int some_variable = 0;"
9397 # Code to be used in simple link tests
9398 lt_simple_link_test_code='int main(){return(0);}'
9406 # If no C compiler was specified, use CC.
9409 # If no C compiler flags were specified, use CFLAGS.
9410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9412 # Allow CC to be a program name with arguments.
9415 # Save the default compiler, since it gets overwritten when the other
9416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9417 compiler_DEFAULT=$CC
9419 # save warnings/boilerplate of simple test code
9420 ac_outfile=conftest.$ac_objext
9421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9423 _lt_compiler_boilerplate=`cat conftest.err`
9426 ac_outfile=conftest.$ac_objext
9427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9429 _lt_linker_boilerplate=`cat conftest.err`
9434 ## There is no encapsulation within the following macros, do not change
9435 ## the running order or otherwise move them around unless you know exactly
9436 ## what you are doing...
9437 if test -n "$compiler"; then
9439 lt_prog_compiler_no_builtin_flag=
9441 if test "$GCC" = yes; then
9442 case $cc_basename in
9444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9451 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9452 $as_echo_n "(cached) " >&6
9454 lt_cv_prog_compiler_rtti_exceptions=no
9455 ac_outfile=conftest.$ac_objext
9456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9457 lt_compiler_flag="-fno-rtti -fno-exceptions"
9458 # Insert the option either (1) after the last *FLAGS variable, or
9459 # (2) before a word containing "conftest.", or (3) at the end.
9460 # Note that $ac_compile itself does not contain backslashes and begins
9461 # with a dollar sign (not a hyphen), so the echo should work correctly.
9462 # The option is referenced via a variable to avoid confusing sed.
9463 lt_compile=`echo "$ac_compile" | $SED \
9464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9466 -e 's:$: $lt_compiler_flag:'`
9467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9468 (eval "$lt_compile" 2>conftest.err)
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 if (exit $ac_status) && test -s "$ac_outfile"; then
9473 # The compiler can only warn and ignore the option if not recognized
9474 # So say no if there are warnings other than the usual output.
9475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9478 lt_cv_prog_compiler_rtti_exceptions=yes
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9500 lt_prog_compiler_wl=
9501 lt_prog_compiler_pic=
9502 lt_prog_compiler_static=
9505 if test "$GCC" = yes; then
9506 lt_prog_compiler_wl='-Wl,'
9507 lt_prog_compiler_static='-static'
9511 # All AIX code is PIC.
9512 if test "$host_cpu" = ia64; then
9513 # AIX 5 now supports IA64 processor
9514 lt_prog_compiler_static='-Bstatic'
9521 # see comment about AmigaOS4 .so support
9522 lt_prog_compiler_pic='-fPIC'
9525 # FIXME: we need at least 68020 code to build shared libraries, but
9526 # adding the `-m68020' flag to GCC prevents building anything better,
9528 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9533 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9534 # PIC is the default for these OSes.
9537 mingw* | cygwin* | pw32* | os2* | cegcc*)
9538 # This hack is so that the source file can tell whether it is being
9539 # built for inclusion in a dll (and should export symbols for example).
9540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9541 # (--disable-auto-import) libraries
9542 lt_prog_compiler_pic='-DDLL_EXPORT'
9545 darwin* | rhapsody*)
9546 # PIC is the default on this platform
9547 # Common symbols not allowed in MH_DYLIB files
9548 lt_prog_compiler_pic='-fno-common'
9552 # PIC is the default for Haiku.
9553 # The "-static" flag exists, but is broken.
9554 lt_prog_compiler_static=
9558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9560 # sets the default TLS model and affects inlining.
9566 lt_prog_compiler_pic='-fPIC'
9572 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9573 # Instead, we relocate shared libraries at runtime.
9577 # Just because we use GCC doesn't mean we suddenly get shared libraries
9578 # on systems that don't support them.
9579 lt_prog_compiler_can_build_shared=no
9584 # QNX uses GNU C++, but need to define -shared option too, otherwise
9586 lt_prog_compiler_pic='-fPIC -shared'
9590 if test -d /usr/nec; then
9591 lt_prog_compiler_pic=-Kconform_pic
9596 lt_prog_compiler_pic='-fPIC'
9600 case $cc_basename in
9601 nvcc*) # Cuda Compiler Driver 2.2
9602 lt_prog_compiler_wl='-Xlinker '
9603 lt_prog_compiler_pic='-Xcompiler -fPIC'
9607 # PORTME Check for flag to pass linker flags through the system compiler.
9610 lt_prog_compiler_wl='-Wl,'
9611 if test "$host_cpu" = ia64; then
9612 # AIX 5 now supports IA64 processor
9613 lt_prog_compiler_static='-Bstatic'
9615 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9619 mingw* | cygwin* | pw32* | os2* | cegcc*)
9620 # This hack is so that the source file can tell whether it is being
9621 # built for inclusion in a dll (and should export symbols for example).
9622 lt_prog_compiler_pic='-DDLL_EXPORT'
9625 hpux9* | hpux10* | hpux11*)
9626 lt_prog_compiler_wl='-Wl,'
9627 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9634 lt_prog_compiler_pic='+Z'
9637 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9638 lt_prog_compiler_static='${wl}-a ${wl}archive'
9641 irix5* | irix6* | nonstopux*)
9642 lt_prog_compiler_wl='-Wl,'
9643 # PIC (with -KPIC) is the default.
9644 lt_prog_compiler_static='-non_shared'
9647 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9648 case $cc_basename in
9649 # old Intel for x86_64 which still supported -KPIC.
9651 lt_prog_compiler_wl='-Wl,'
9652 lt_prog_compiler_pic='-KPIC'
9653 lt_prog_compiler_static='-static'
9655 # icc used to be incompatible with GCC.
9656 # ICC 10 doesn't accept -KPIC any more.
9658 lt_prog_compiler_wl='-Wl,'
9659 lt_prog_compiler_pic='-fPIC'
9660 lt_prog_compiler_static='-static'
9662 # Lahey Fortran 8.1.
9664 lt_prog_compiler_wl='-Wl,'
9665 lt_prog_compiler_pic='--shared'
9666 lt_prog_compiler_static='--static'
9669 # NAG Fortran compiler
9670 lt_prog_compiler_wl='-Wl,-Wl,,'
9671 lt_prog_compiler_pic='-PIC'
9672 lt_prog_compiler_static='-Bstatic'
9674 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9675 # Portland Group compilers (*not* the Pentium gcc compiler,
9676 # which looks to be a dead project)
9677 lt_prog_compiler_wl='-Wl,'
9678 lt_prog_compiler_pic='-fpic'
9679 lt_prog_compiler_static='-Bstatic'
9682 lt_prog_compiler_wl='-Wl,'
9683 # All Alpha code is PIC.
9684 lt_prog_compiler_static='-non_shared'
9686 xl* | bgxl* | bgf* | mpixl*)
9687 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9688 lt_prog_compiler_wl='-Wl,'
9689 lt_prog_compiler_pic='-qpic'
9690 lt_prog_compiler_static='-qstaticlink'
9693 case `$CC -V 2>&1 | sed 5q` in
9694 *Sun\ F* | *Sun*Fortran*)
9695 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9696 lt_prog_compiler_pic='-KPIC'
9697 lt_prog_compiler_static='-Bstatic'
9698 lt_prog_compiler_wl=''
9702 lt_prog_compiler_pic='-KPIC'
9703 lt_prog_compiler_static='-Bstatic'
9704 lt_prog_compiler_wl='-Wl,'
9712 lt_prog_compiler_pic='-KPIC'
9713 lt_prog_compiler_static='-Bstatic'
9717 # QNX uses GNU C++, but need to define -shared option too, otherwise
9719 lt_prog_compiler_pic='-fPIC -shared'
9722 osf3* | osf4* | osf5*)
9723 lt_prog_compiler_wl='-Wl,'
9724 # All OSF/1 code is PIC.
9725 lt_prog_compiler_static='-non_shared'
9729 lt_prog_compiler_static='-non_shared'
9733 lt_prog_compiler_pic='-KPIC'
9734 lt_prog_compiler_static='-Bstatic'
9735 case $cc_basename in
9736 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9737 lt_prog_compiler_wl='-Qoption ld ';;
9739 lt_prog_compiler_wl='-Wl,';;
9744 lt_prog_compiler_wl='-Qoption ld '
9745 lt_prog_compiler_pic='-PIC'
9746 lt_prog_compiler_static='-Bstatic'
9749 sysv4 | sysv4.2uw2* | sysv4.3*)
9750 lt_prog_compiler_wl='-Wl,'
9751 lt_prog_compiler_pic='-KPIC'
9752 lt_prog_compiler_static='-Bstatic'
9756 if test -d /usr/nec ;then
9757 lt_prog_compiler_pic='-Kconform_pic'
9758 lt_prog_compiler_static='-Bstatic'
9762 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9763 lt_prog_compiler_wl='-Wl,'
9764 lt_prog_compiler_pic='-KPIC'
9765 lt_prog_compiler_static='-Bstatic'
9769 lt_prog_compiler_wl='-Wl,'
9770 lt_prog_compiler_can_build_shared=no
9774 lt_prog_compiler_pic='-pic'
9775 lt_prog_compiler_static='-Bstatic'
9779 lt_prog_compiler_can_build_shared=no
9785 # For platforms which do not support PIC, -DPIC is meaningless:
9787 lt_prog_compiler_pic=
9790 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9795 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9796 if ${lt_cv_prog_compiler_pic+:} false; then :
9797 $as_echo_n "(cached) " >&6
9799 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9802 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9803 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9806 # Check to make sure the PIC flag actually works.
9808 if test -n "$lt_prog_compiler_pic"; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9810 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9811 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9812 $as_echo_n "(cached) " >&6
9814 lt_cv_prog_compiler_pic_works=no
9815 ac_outfile=conftest.$ac_objext
9816 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9817 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9818 # Insert the option either (1) after the last *FLAGS variable, or
9819 # (2) before a word containing "conftest.", or (3) at the end.
9820 # Note that $ac_compile itself does not contain backslashes and begins
9821 # with a dollar sign (not a hyphen), so the echo should work correctly.
9822 # The option is referenced via a variable to avoid confusing sed.
9823 lt_compile=`echo "$ac_compile" | $SED \
9824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9826 -e 's:$: $lt_compiler_flag:'`
9827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9828 (eval "$lt_compile" 2>conftest.err)
9830 cat conftest.err >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 if (exit $ac_status) && test -s "$ac_outfile"; then
9833 # The compiler can only warn and ignore the option if not recognized
9834 # So say no if there are warnings other than the usual output.
9835 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9836 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9837 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9838 lt_cv_prog_compiler_pic_works=yes
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9845 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9847 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9848 case $lt_prog_compiler_pic in
9850 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9853 lt_prog_compiler_pic=
9854 lt_prog_compiler_can_build_shared=no
9870 # Check to make sure the static flag actually works.
9872 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9874 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9875 if ${lt_cv_prog_compiler_static_works+:} false; then :
9876 $as_echo_n "(cached) " >&6
9878 lt_cv_prog_compiler_static_works=no
9879 save_LDFLAGS="$LDFLAGS"
9880 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9881 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9882 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9883 # The linker can only warn and ignore the option if not recognized
9884 # So say no if there are warnings
9885 if test -s conftest.err; then
9886 # Append any errors to the config.log.
9887 cat conftest.err 1>&5
9888 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9889 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9890 if diff conftest.exp conftest.er2 >/dev/null; then
9891 lt_cv_prog_compiler_static_works=yes
9894 lt_cv_prog_compiler_static_works=yes
9898 LDFLAGS="$save_LDFLAGS"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9902 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9904 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9907 lt_prog_compiler_static=
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9918 if ${lt_cv_prog_compiler_c_o+:} false; then :
9919 $as_echo_n "(cached) " >&6
9921 lt_cv_prog_compiler_c_o=no
9922 $RM -r conftest 2>/dev/null
9926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9928 lt_compiler_flag="-o out/conftest2.$ac_objext"
9929 # Insert the option either (1) after the last *FLAGS variable, or
9930 # (2) before a word containing "conftest.", or (3) at the end.
9931 # Note that $ac_compile itself does not contain backslashes and begins
9932 # with a dollar sign (not a hyphen), so the echo should work correctly.
9933 lt_compile=`echo "$ac_compile" | $SED \
9934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9936 -e 's:$: $lt_compiler_flag:'`
9937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9938 (eval "$lt_compile" 2>out/conftest.err)
9940 cat out/conftest.err >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9944 # The compiler can only warn and ignore the option if not recognized
9945 # So say no if there are warnings
9946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9949 lt_cv_prog_compiler_c_o=yes
9954 # SGI C++ compiler will create directory out/ii_files/ for
9955 # template instantiation
9956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9957 $RM out/* && rmdir out
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9964 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9973 if ${lt_cv_prog_compiler_c_o+:} false; then :
9974 $as_echo_n "(cached) " >&6
9976 lt_cv_prog_compiler_c_o=no
9977 $RM -r conftest 2>/dev/null
9981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9983 lt_compiler_flag="-o out/conftest2.$ac_objext"
9984 # Insert the option either (1) after the last *FLAGS variable, or
9985 # (2) before a word containing "conftest.", or (3) at the end.
9986 # Note that $ac_compile itself does not contain backslashes and begins
9987 # with a dollar sign (not a hyphen), so the echo should work correctly.
9988 lt_compile=`echo "$ac_compile" | $SED \
9989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9991 -e 's:$: $lt_compiler_flag:'`
9992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9993 (eval "$lt_compile" 2>out/conftest.err)
9995 cat out/conftest.err >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9999 # The compiler can only warn and ignore the option if not recognized
10000 # So say no if there are warnings
10001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10004 lt_cv_prog_compiler_c_o=yes
10009 # SGI C++ compiler will create directory out/ii_files/ for
10010 # template instantiation
10011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10012 $RM out/* && rmdir out
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10019 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10024 hard_links="nottested"
10025 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10026 # do not overwrite the value of need_locks provided by the user
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10028 $as_echo_n "checking if we can lock with hard links... " >&6; }
10031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10033 ln conftest.a conftest.b 2>&5 || hard_links=no
10034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10036 $as_echo "$hard_links" >&6; }
10037 if test "$hard_links" = no; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10055 allow_undefined_flag=
10056 always_export_symbols=no
10058 archive_expsym_cmds=
10059 compiler_needs_object=no
10060 enable_shared_with_static_runtimes=no
10061 export_dynamic_flag_spec=
10062 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10063 hardcode_automatic=no
10065 hardcode_direct_absolute=no
10066 hardcode_libdir_flag_spec=
10067 hardcode_libdir_flag_spec_ld=
10068 hardcode_libdir_separator=
10069 hardcode_minus_L=no
10070 hardcode_shlibpath_var=unsupported
10072 link_all_deplibs=unknown
10074 module_expsym_cmds=
10075 old_archive_from_new_cmds=
10076 old_archive_from_expsyms_cmds=
10077 thread_safe_flag_spec=
10078 whole_archive_flag_spec=
10079 # include_expsyms should be a list of space-separated symbols to be *always*
10080 # included in the symbol list
10082 # exclude_expsyms can be an extended regexp of symbols to exclude
10083 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10084 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10085 # as well as any symbol that contains `d'.
10086 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10087 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10088 # platforms (ab)use it in PIC code, but their linkers get confused if
10089 # the symbol is explicitly referenced. Since portable code cannot
10090 # rely on this symbol name, it's probably fine to never include it in
10091 # preloaded symbol tables.
10092 # Exclude shared library initialization/finalization symbols.
10093 extract_expsyms_cmds=
10096 cygwin* | mingw* | pw32* | cegcc*)
10097 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10098 # When not using gcc, we currently assume that we are using
10099 # Microsoft Visual C++.
10100 if test "$GCC" != yes; then
10105 # we just hope/assume this is gcc and not c89 (= MSVC++)
10115 # On some targets, GNU ld is compatible enough with the native linker
10116 # that we're better off using the native interface for both.
10117 lt_use_gnu_ld_interface=no
10118 if test "$with_gnu_ld" = yes; then
10121 # The AIX port of GNU ld has always aspired to compatibility
10122 # with the native linker. However, as the warning in the GNU ld
10123 # block says, versions before 2.19.5* couldn't really create working
10124 # shared libraries, regardless of the interface used.
10125 case `$LD -v 2>&1` in
10126 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10127 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10128 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10130 lt_use_gnu_ld_interface=yes
10135 lt_use_gnu_ld_interface=yes
10140 if test "$lt_use_gnu_ld_interface" = yes; then
10141 # If archive_cmds runs LD, not CC, wlarc should be empty
10144 # Set some defaults for GNU ld with shared library support. These
10145 # are reset later if shared libraries are not supported. Putting them
10146 # here allows them to be overridden if necessary.
10147 runpath_var=LD_RUN_PATH
10148 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10149 export_dynamic_flag_spec='${wl}--export-dynamic'
10150 # ancient GNU ld didn't support --whole-archive et. al.
10151 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10152 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10154 whole_archive_flag_spec=
10156 supports_anon_versioning=no
10157 case `$LD -v 2>&1` in
10158 *GNU\ gold*) supports_anon_versioning=yes ;;
10159 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10160 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10161 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10162 *\ 2.11.*) ;; # other 2.11 versions
10163 *) supports_anon_versioning=yes ;;
10166 # See if GNU ld supports shared libraries.
10169 # On AIX/PPC, the GNU linker is very broken
10170 if test "$host_cpu" != ia64; then
10174 *** Warning: the GNU linker, at least up to release 2.19, is reported
10175 *** to be unable to reliably create shared libraries on AIX.
10176 *** Therefore, libtool is disabling shared libraries support. If you
10177 *** really care for shared libraries, you may want to install binutils
10178 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10179 *** You will then need to restart the configuration process.
10188 # see comment about AmigaOS4 .so support
10189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10190 archive_expsym_cmds=''
10193 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)'
10194 hardcode_libdir_flag_spec='-L$libdir'
10195 hardcode_minus_L=yes
10201 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10202 allow_undefined_flag=unsupported
10203 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10204 # support --undefined. This deserves some investigation. FIXME
10205 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10211 cygwin* | mingw* | pw32* | cegcc*)
10212 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10213 # as there is no search path for DLLs.
10214 hardcode_libdir_flag_spec='-L$libdir'
10215 export_dynamic_flag_spec='${wl}--export-all-symbols'
10216 allow_undefined_flag=unsupported
10217 always_export_symbols=no
10218 enable_shared_with_static_runtimes=yes
10219 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10220 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10222 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10224 # If the export-symbols file already is a .def file (1st line
10225 # is EXPORTS), use it as is; otherwise, prepend...
10226 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10227 cp $export_symbols $output_objdir/$soname.def;
10229 echo EXPORTS > $output_objdir/$soname.def;
10230 cat $export_symbols >> $output_objdir/$soname.def;
10232 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10239 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10240 link_all_deplibs=yes
10245 hardcode_shlibpath_var=no
10246 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10247 export_dynamic_flag_spec='${wl}-E'
10248 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10249 # Instead, shared libraries are loaded at an image base (0x10000000 by
10250 # default) and relocated if they conflict, which is a slow very memory
10251 # consuming and fragmenting process. To avoid this, we pick a random,
10252 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10253 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10254 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10255 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'
10258 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10260 if test "$host_os" = linux-dietlibc; then
10261 case $cc_basename in
10262 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10265 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10266 && test "$tmp_diet" = no
10268 tmp_addflag=' $pic_flag'
10269 tmp_sharedflag='-shared'
10270 case $cc_basename,$host_cpu in
10271 pgcc*) # Portland Group C compiler
10272 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10273 tmp_addflag=' $pic_flag'
10275 pgf77* | pgf90* | pgf95* | pgfortran*)
10276 # Portland Group f77 and f90 compilers
10277 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10278 tmp_addflag=' $pic_flag -Mnomain' ;;
10279 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10280 tmp_addflag=' -i_dynamic' ;;
10281 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10282 tmp_addflag=' -i_dynamic -nofor_main' ;;
10283 ifc* | ifort*) # Intel Fortran compiler
10284 tmp_addflag=' -nofor_main' ;;
10285 lf95*) # Lahey Fortran 8.1
10286 whole_archive_flag_spec=
10287 tmp_sharedflag='--shared' ;;
10288 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10289 tmp_sharedflag='-qmkshrobj'
10291 nvcc*) # Cuda Compiler Driver 2.2
10292 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10293 compiler_needs_object=yes
10296 case `$CC -V 2>&1 | sed 5q` in
10297 *Sun\ C*) # Sun C 5.9
10298 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10299 compiler_needs_object=yes
10300 tmp_sharedflag='-G' ;;
10301 *Sun\ F*) # Sun Fortran 8.3
10302 tmp_sharedflag='-G' ;;
10304 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 if test "x$supports_anon_versioning" = xyes; then
10307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10309 echo "local: *; };" >> $output_objdir/$libname.ver~
10310 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10313 case $cc_basename in
10314 xlf* | bgf* | bgxlf* | mpixlf*)
10315 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10316 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10317 hardcode_libdir_flag_spec=
10318 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10319 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10320 if test "x$supports_anon_versioning" = xyes; then
10321 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10322 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10323 echo "local: *; };" >> $output_objdir/$libname.ver~
10324 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10335 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10338 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10339 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10344 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10348 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10349 *** create shared libraries on Solaris systems. Therefore, libtool
10350 *** is disabling shared libraries support. We urge you to upgrade GNU
10351 *** binutils to release 2.9.1 or newer. Another option is to modify
10352 *** your PATH or compiler configuration so that the native linker is
10353 *** used, and then restart.
10356 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10357 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10358 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10365 case `$LD -v 2>&1` in
10366 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10370 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10371 *** reliably create shared libraries on SCO systems. Therefore, libtool
10372 *** is disabling shared libraries support. We urge you to upgrade GNU
10373 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10374 *** your PATH or compiler configuration so that the native linker is
10375 *** used, and then restart.
10380 # For security reasons, it is highly recommended that you always
10381 # use absolute paths for naming shared libraries, and exclude the
10382 # DT_RUNPATH tag from executables and libraries. But doing so
10383 # requires that you compile everything twice, which is a pain.
10384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10385 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10396 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10398 hardcode_direct=yes
10399 hardcode_shlibpath_var=no
10403 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10404 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10405 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10412 if test "$ld_shlibs" = no; then
10414 hardcode_libdir_flag_spec=
10415 export_dynamic_flag_spec=
10416 whole_archive_flag_spec=
10419 # PORTME fill in a description of your system's linker (not GNU ld)
10422 allow_undefined_flag=unsupported
10423 always_export_symbols=yes
10424 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'
10425 # Note: this linker hardcodes the directories in LIBPATH if there
10426 # are no directories specified by -L.
10427 hardcode_minus_L=yes
10428 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10429 # Neither direct hardcoding nor static linking is supported with a
10431 hardcode_direct=unsupported
10436 if test "$host_cpu" = ia64; then
10437 # On IA64, the linker does run time linking by default, so we don't
10438 # have to do anything special.
10439 aix_use_runtimelinking=no
10440 exp_sym_flag='-Bexport'
10443 # If we're using GNU nm, then we don't want the "-C" option.
10444 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10445 # Also, AIX nm treats weak defined symbols like other global
10446 # defined symbols, whereas GNU nm marks them as "W".
10447 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10448 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10450 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'
10452 aix_use_runtimelinking=no
10454 # Test if we are trying to use run time linking or normal
10455 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10456 # need to do runtime linking.
10457 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10458 for ld_flag in $LDFLAGS; do
10459 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10460 aix_use_runtimelinking=yes
10467 exp_sym_flag='-bexport'
10468 no_entry_flag='-bnoentry'
10471 # When large executables or shared objects are built, AIX ld can
10472 # have problems creating the table of contents. If linking a library
10473 # or program results in "error TOC overflow" add -mminimal-toc to
10474 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10475 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10478 hardcode_direct=yes
10479 hardcode_direct_absolute=yes
10480 hardcode_libdir_separator=':'
10481 link_all_deplibs=yes
10482 file_list_spec='${wl}-f,'
10484 if test "$GCC" = yes; then
10485 case $host_os in aix4.[012]|aix4.[012].*)
10486 # We only want to do this on AIX 4.2 and lower, the check
10487 # below for broken collect2 doesn't work under 4.3+
10488 collect2name=`${CC} -print-prog-name=collect2`
10489 if test -f "$collect2name" &&
10490 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10492 # We have reworked collect2
10495 # We have old collect2
10496 hardcode_direct=unsupported
10497 # It fails to find uninstalled libraries when the uninstalled
10498 # path is not listed in the libpath. Setting hardcode_minus_L
10499 # to unsupported forces relinking
10500 hardcode_minus_L=yes
10501 hardcode_libdir_flag_spec='-L$libdir'
10502 hardcode_libdir_separator=
10506 shared_flag='-shared'
10507 if test "$aix_use_runtimelinking" = yes; then
10508 shared_flag="$shared_flag "'${wl}-G'
10512 if test "$host_cpu" = ia64; then
10513 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10514 # chokes on -Wl,-G. The following line is correct:
10517 if test "$aix_use_runtimelinking" = yes; then
10518 shared_flag='${wl}-G'
10520 shared_flag='${wl}-bM:SRE'
10525 export_dynamic_flag_spec='${wl}-bexpall'
10526 # It seems that -bexpall does not export symbols beginning with
10527 # underscore (_), so it is better to generate a list of symbols to export.
10528 always_export_symbols=yes
10529 if test "$aix_use_runtimelinking" = yes; then
10530 # Warning - without using the other runtime loading flags (-brtl),
10531 # -berok will link without error, but may produce a broken library.
10532 allow_undefined_flag='-berok'
10533 # Determine the default libpath from the value encoded in an
10534 # empty executable.
10535 if test "${lt_cv_aix_libpath+set}" = set; then
10536 aix_libpath=$lt_cv_aix_libpath
10538 if ${lt_cv_aix_libpath_+:} false; then :
10539 $as_echo_n "(cached) " >&6
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10552 if ac_fn_c_try_link "$LINENO"; then :
10554 lt_aix_libpath_sed='
10555 /Import File Strings/,/^$/ {
10557 s/^0 *\([^ ]*\) *$/\1/
10561 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10562 # Check for a 64-bit object if we didn't find anything.
10563 if test -z "$lt_cv_aix_libpath_"; then
10564 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10567 rm -f core conftest.err conftest.$ac_objext \
10568 conftest$ac_exeext conftest.$ac_ext
10569 if test -z "$lt_cv_aix_libpath_"; then
10570 lt_cv_aix_libpath_="/usr/lib:/lib"
10575 aix_libpath=$lt_cv_aix_libpath_
10578 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10579 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10581 if test "$host_cpu" = ia64; then
10582 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10583 allow_undefined_flag="-z nodefs"
10584 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"
10586 # Determine the default libpath from the value encoded in an
10587 # empty executable.
10588 if test "${lt_cv_aix_libpath+set}" = set; then
10589 aix_libpath=$lt_cv_aix_libpath
10591 if ${lt_cv_aix_libpath_+:} false; then :
10592 $as_echo_n "(cached) " >&6
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10605 if ac_fn_c_try_link "$LINENO"; then :
10607 lt_aix_libpath_sed='
10608 /Import File Strings/,/^$/ {
10610 s/^0 *\([^ ]*\) *$/\1/
10614 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10615 # Check for a 64-bit object if we didn't find anything.
10616 if test -z "$lt_cv_aix_libpath_"; then
10617 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10620 rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 if test -z "$lt_cv_aix_libpath_"; then
10623 lt_cv_aix_libpath_="/usr/lib:/lib"
10628 aix_libpath=$lt_cv_aix_libpath_
10631 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10632 # Warning - without using the other run time loading flags,
10633 # -berok will link without error, but may produce a broken library.
10634 no_undefined_flag=' ${wl}-bernotok'
10635 allow_undefined_flag=' ${wl}-berok'
10636 if test "$with_gnu_ld" = yes; then
10637 # We only use this code for GNU lds that support --whole-archive.
10638 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10640 # Exported symbols can be pulled into shared objects from archives
10641 whole_archive_flag_spec='$convenience'
10643 archive_cmds_need_lc=yes
10644 # This is similar to how AIX traditionally builds its shared libraries.
10645 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'
10653 # see comment about AmigaOS4 .so support
10654 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10655 archive_expsym_cmds=''
10658 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)'
10659 hardcode_libdir_flag_spec='-L$libdir'
10660 hardcode_minus_L=yes
10666 export_dynamic_flag_spec=-rdynamic
10669 cygwin* | mingw* | pw32* | cegcc*)
10670 # When not using gcc, we currently assume that we are using
10671 # Microsoft Visual C++.
10672 # hardcode_libdir_flag_spec is actually meaningless, as there is
10673 # no search path for DLLs.
10674 case $cc_basename in
10677 hardcode_libdir_flag_spec=' '
10678 allow_undefined_flag=unsupported
10679 always_export_symbols=yes
10681 # Tell ltmain to make .lib files, not .a files.
10683 # Tell ltmain to make .dll files, not .so files.
10685 # FIXME: Setting linknames here is a bad hack.
10686 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10687 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10688 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10690 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10692 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10694 # The linker will not automatically build a static lib if we build a DLL.
10695 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10696 enable_shared_with_static_runtimes=yes
10697 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10699 old_postinstall_cmds='chmod 644 $oldlib'
10700 postlink_cmds='lt_outputfile="@OUTPUT@"~
10701 lt_tool_outputfile="@TOOL_OUTPUT@"~
10702 case $lt_outputfile in
10705 lt_outputfile="$lt_outputfile.exe"
10706 lt_tool_outputfile="$lt_tool_outputfile.exe"
10709 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10710 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10711 $RM "$lt_outputfile.manifest";
10715 # Assume MSVC wrapper
10716 hardcode_libdir_flag_spec=' '
10717 allow_undefined_flag=unsupported
10718 # Tell ltmain to make .lib files, not .a files.
10720 # Tell ltmain to make .dll files, not .so files.
10722 # FIXME: Setting linknames here is a bad hack.
10723 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10724 # The linker will automatically build a .lib file if we build a DLL.
10725 old_archive_from_new_cmds='true'
10726 # FIXME: Should let the user specify the lib program.
10727 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10728 enable_shared_with_static_runtimes=yes
10733 darwin* | rhapsody*)
10736 archive_cmds_need_lc=no
10738 hardcode_automatic=yes
10739 hardcode_shlibpath_var=unsupported
10740 if test "$lt_cv_ld_force_load" = "yes"; then
10741 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10743 whole_archive_flag_spec=''
10745 link_all_deplibs=yes
10746 allow_undefined_flag="$_lt_dar_allow_undefined"
10747 case $cc_basename in
10748 ifort*) _lt_dar_can_shared=yes ;;
10749 *) _lt_dar_can_shared=$GCC ;;
10751 if test "$_lt_dar_can_shared" = "yes"; then
10752 output_verbose_link_cmd=func_echo_all
10753 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10754 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10755 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}"
10756 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}"
10765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766 hardcode_libdir_flag_spec='-L$libdir'
10767 hardcode_shlibpath_var=no
10774 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10775 # support. Future versions do this automatically, but an explicit c++rt0.o
10776 # does not break anything, and helps significantly (at the cost of a little
10779 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10780 hardcode_libdir_flag_spec='-R$libdir'
10781 hardcode_direct=yes
10782 hardcode_shlibpath_var=no
10785 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10787 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10788 hardcode_direct=yes
10789 hardcode_minus_L=yes
10790 hardcode_shlibpath_var=no
10793 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10794 freebsd* | dragonfly*)
10795 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10796 hardcode_libdir_flag_spec='-R$libdir'
10797 hardcode_direct=yes
10798 hardcode_shlibpath_var=no
10802 if test "$GCC" = yes; then
10803 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10805 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'
10807 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10808 hardcode_libdir_separator=:
10809 hardcode_direct=yes
10811 # hardcode_minus_L: Not really in the search PATH,
10812 # but as the default location of the library.
10813 hardcode_minus_L=yes
10814 export_dynamic_flag_spec='${wl}-E'
10818 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10819 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10821 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10823 if test "$with_gnu_ld" = no; then
10824 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10825 hardcode_libdir_flag_spec_ld='+b $libdir'
10826 hardcode_libdir_separator=:
10827 hardcode_direct=yes
10828 hardcode_direct_absolute=yes
10829 export_dynamic_flag_spec='${wl}-E'
10830 # hardcode_minus_L: Not really in the search PATH,
10831 # but as the default location of the library.
10832 hardcode_minus_L=yes
10837 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10840 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10846 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10852 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10859 # Older versions of the 11.00 compiler do not understand -b yet
10860 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10862 $as_echo_n "checking if $CC understands -b... " >&6; }
10863 if ${lt_cv_prog_compiler__b+:} false; then :
10864 $as_echo_n "(cached) " >&6
10866 lt_cv_prog_compiler__b=no
10867 save_LDFLAGS="$LDFLAGS"
10868 LDFLAGS="$LDFLAGS -b"
10869 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10870 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10871 # The linker can only warn and ignore the option if not recognized
10872 # So say no if there are warnings
10873 if test -s conftest.err; then
10874 # Append any errors to the config.log.
10875 cat conftest.err 1>&5
10876 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10878 if diff conftest.exp conftest.er2 >/dev/null; then
10879 lt_cv_prog_compiler__b=yes
10882 lt_cv_prog_compiler__b=yes
10886 LDFLAGS="$save_LDFLAGS"
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10890 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10892 if test x"$lt_cv_prog_compiler__b" = xyes; then
10893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10901 if test "$with_gnu_ld" = no; then
10902 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10903 hardcode_libdir_separator=:
10908 hardcode_shlibpath_var=no
10911 hardcode_direct=yes
10912 hardcode_direct_absolute=yes
10913 export_dynamic_flag_spec='${wl}-E'
10915 # hardcode_minus_L: Not really in the search PATH,
10916 # but as the default location of the library.
10917 hardcode_minus_L=yes
10923 irix5* | irix6* | nonstopux*)
10924 if test "$GCC" = yes; then
10925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10926 # Try to use the -exported_symbol ld option, if it does not
10927 # work, assume that -exports_file does not work either and
10928 # implicitly export all symbols.
10929 # This should be the same for all languages, so no per-tag cache variable.
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10931 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10932 if ${lt_cv_irix_exported_symbol+:} false; then :
10933 $as_echo_n "(cached) " >&6
10935 save_LDFLAGS="$LDFLAGS"
10936 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 int foo (void) { return 0; }
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 lt_cv_irix_exported_symbol=yes
10944 lt_cv_irix_exported_symbol=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LDFLAGS="$save_LDFLAGS"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10951 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10952 if test "$lt_cv_irix_exported_symbol" = yes; then
10953 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10957 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10959 archive_cmds_need_lc='no'
10960 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10961 hardcode_libdir_separator=:
10963 link_all_deplibs=yes
10967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10968 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10970 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10972 hardcode_libdir_flag_spec='-R$libdir'
10973 hardcode_direct=yes
10974 hardcode_shlibpath_var=no
10978 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10979 hardcode_direct=yes
10980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10981 hardcode_libdir_separator=:
10982 hardcode_shlibpath_var=no
10989 if test -f /usr/libexec/ld.so; then
10990 hardcode_direct=yes
10991 hardcode_shlibpath_var=no
10992 hardcode_direct_absolute=yes
10993 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10994 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10995 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10996 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10997 export_dynamic_flag_spec='${wl}-E'
11000 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11001 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11002 hardcode_libdir_flag_spec='-R$libdir'
11005 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11006 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11016 hardcode_libdir_flag_spec='-L$libdir'
11017 hardcode_minus_L=yes
11018 allow_undefined_flag=unsupported
11019 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'
11020 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11024 if test "$GCC" = yes; then
11025 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11026 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11028 allow_undefined_flag=' -expect_unresolved \*'
11029 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11031 archive_cmds_need_lc='no'
11032 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11033 hardcode_libdir_separator=:
11036 osf4* | osf5*) # as osf3* with the addition of -msym flag
11037 if test "$GCC" = yes; then
11038 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11039 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11042 allow_undefined_flag=' -expect_unresolved \*'
11043 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11044 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~
11045 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11047 # Both c and cxx compiler support -rpath directly
11048 hardcode_libdir_flag_spec='-rpath $libdir'
11050 archive_cmds_need_lc='no'
11051 hardcode_libdir_separator=:
11055 no_undefined_flag=' -z defs'
11056 if test "$GCC" = yes; then
11058 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11059 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11060 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11062 case `$CC -V 2>&1` in
11065 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11066 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11067 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11071 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11072 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11073 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11077 hardcode_libdir_flag_spec='-R$libdir'
11078 hardcode_shlibpath_var=no
11080 solaris2.[0-5] | solaris2.[0-5].*) ;;
11082 # The compiler driver will combine and reorder linker options,
11083 # but understands `-z linker_flag'. GCC discards it without `$wl',
11084 # but is careful enough not to reorder.
11085 # Supported since Solaris 2.6 (maybe 2.5.1?)
11086 if test "$GCC" = yes; then
11087 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11089 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11093 link_all_deplibs=yes
11097 if test "x$host_vendor" = xsequent; then
11098 # Use $CC to link under sequent, because it throws in some extra .o
11099 # files that make .init and .fini sections work.
11100 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11102 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11104 hardcode_libdir_flag_spec='-L$libdir'
11105 hardcode_direct=yes
11106 hardcode_minus_L=yes
11107 hardcode_shlibpath_var=no
11111 case $host_vendor in
11113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_direct=yes # is this really true???
11117 ## LD is ld it makes a PLAMLIB
11118 ## CC just makes a GrossModule.
11119 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11120 reload_cmds='$CC -r -o $output$reload_objs'
11124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11125 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11128 runpath_var='LD_RUN_PATH'
11129 hardcode_shlibpath_var=no
11133 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11134 hardcode_shlibpath_var=no
11135 export_dynamic_flag_spec='-Bexport'
11139 if test -d /usr/nec; then
11140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11141 hardcode_shlibpath_var=no
11142 runpath_var=LD_RUN_PATH
11143 hardcode_runpath_var=yes
11148 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11149 no_undefined_flag='${wl}-z,text'
11150 archive_cmds_need_lc=no
11151 hardcode_shlibpath_var=no
11152 runpath_var='LD_RUN_PATH'
11154 if test "$GCC" = yes; then
11155 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11156 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11158 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11159 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11163 sysv5* | sco3.2v5* | sco5v6*)
11164 # Note: We can NOT use -z defs as we might desire, because we do not
11165 # link with -lc, and that would cause any symbols used from libc to
11166 # always be unresolved, which means just about no library would
11167 # ever link correctly. If we're not using GNU ld we use -z text
11168 # though, which does catch some bad symbols but isn't as heavy-handed
11170 no_undefined_flag='${wl}-z,text'
11171 allow_undefined_flag='${wl}-z,nodefs'
11172 archive_cmds_need_lc=no
11173 hardcode_shlibpath_var=no
11174 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11175 hardcode_libdir_separator=':'
11176 link_all_deplibs=yes
11177 export_dynamic_flag_spec='${wl}-Bexport'
11178 runpath_var='LD_RUN_PATH'
11180 if test "$GCC" = yes; then
11181 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11182 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11184 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11185 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11190 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11191 hardcode_libdir_flag_spec='-L$libdir'
11192 hardcode_shlibpath_var=no
11200 if test x$host_vendor = xsni; then
11202 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11203 export_dynamic_flag_spec='${wl}-Blargedynsym'
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11210 $as_echo "$ld_shlibs" >&6; }
11211 test "$ld_shlibs" = no && can_build_shared=no
11213 with_gnu_ld=$with_gnu_ld
11230 # Do we need to explicitly link libc?
11232 case "x$archive_cmds_need_lc" in
11234 # Assume -lc should be added
11235 archive_cmds_need_lc=yes
11237 if test "$enable_shared" = yes && test "$GCC" = yes; then
11238 case $archive_cmds in
11240 # FIXME: we may have to deal with multi-command sequences.
11243 # Test whether the compiler implicitly links with -lc since on some
11244 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11245 # to ld, don't add -lc before -lgcc.
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11247 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11248 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11249 $as_echo_n "(cached) " >&6
11252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11255 (eval $ac_compile) 2>&5
11257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11258 test $ac_status = 0; } 2>conftest.err; then
11261 libobjs=conftest.$ac_objext
11263 wl=$lt_prog_compiler_wl
11264 pic_flag=$lt_prog_compiler_pic
11270 lt_save_allow_undefined_flag=$allow_undefined_flag
11271 allow_undefined_flag=
11272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11273 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11276 test $ac_status = 0; }
11278 lt_cv_archive_cmds_need_lc=no
11280 lt_cv_archive_cmds_need_lc=yes
11282 allow_undefined_flag=$lt_save_allow_undefined_flag
11284 cat conftest.err 1>&5
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11290 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11291 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11457 if test "$GCC" = yes; then
11459 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11460 *) lt_awk_arg="/^libraries:/" ;;
11463 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11464 *) lt_sed_strip_eq="s,=/,/,g" ;;
11466 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11467 case $lt_search_path_spec in
11469 # if the path contains ";" then we assume it to be the separator
11470 # otherwise default to the standard path separator (i.e. ":") - it is
11471 # assumed that no part of a normal pathname contains ";" but that should
11472 # okay in the real world where ";" in dirpaths is itself problematic.
11473 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11476 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11479 # Ok, now we have the path, separated by spaces, we can step through it
11480 # and add multilib dir if necessary.
11481 lt_tmp_lt_search_path_spec=
11482 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11483 for lt_sys_path in $lt_search_path_spec; do
11484 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11485 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11487 test -d "$lt_sys_path" && \
11488 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11491 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11492 BEGIN {RS=" "; FS="/|\n";} {
11495 for (lt_i = NF; lt_i > 0; lt_i--) {
11496 if ($lt_i != "" && $lt_i != ".") {
11497 if ($lt_i == "..") {
11500 if (lt_count == 0) {
11501 lt_foo="/" $lt_i lt_foo;
11508 if (lt_foo != "") { lt_freq[lt_foo]++; }
11509 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11511 # AWK program above erroneously prepends '/' to C:/dos/paths
11514 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11515 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11517 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11519 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11521 library_names_spec=
11522 libname_spec='lib$name'
11526 postuninstall_cmds=
11530 shlibpath_overrides_runpath=unknown
11532 dynamic_linker="$host_os ld.so"
11533 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11534 need_lib_prefix=unknown
11535 hardcode_into_libs=no
11537 # when you set need_version to no, make sure it does not cause -set_version
11538 # flags to be left without arguments
11539 need_version=unknown
11544 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11545 shlibpath_var=LIBPATH
11547 # AIX 3 has no versioning support, so we append a major version to the name.
11548 soname_spec='${libname}${release}${shared_ext}$major'
11555 hardcode_into_libs=yes
11556 if test "$host_cpu" = ia64; then
11557 # AIX 5 supports IA64
11558 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11559 shlibpath_var=LD_LIBRARY_PATH
11561 # With GCC up to 2.95.x, collect2 would create an import file
11562 # for dependence libraries. The import file would start with
11563 # the line `#! .'. This would cause the generated library to
11564 # depend on `.', always an invalid library. This was fixed in
11565 # development snapshots of GCC prior to 3.0.
11567 aix4 | aix4.[01] | aix4.[01].*)
11568 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11570 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11573 can_build_shared=no
11577 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11578 # soname into executable. Probably we can add versioning support to
11579 # collect2, so additional links can be useful in future.
11580 if test "$aix_use_runtimelinking" = yes; then
11581 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11582 # instead of lib<name>.a to let people know that these are not
11583 # typical AIX shared libraries.
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11586 # We preserve .a as extension for shared libraries through AIX4.2
11587 # and later when we are not doing run time linking.
11588 library_names_spec='${libname}${release}.a $libname.a'
11589 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LIBPATH
11598 # Since July 2007 AmigaOS4 officially supports .so libraries.
11599 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11603 library_names_spec='$libname.ixlibrary $libname.a'
11604 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11605 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11611 library_names_spec='${libname}${shared_ext}'
11612 dynamic_linker="$host_os ld.so"
11613 shlibpath_var=LIBRARY_PATH
11619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620 soname_spec='${libname}${release}${shared_ext}$major'
11621 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11622 shlibpath_var=LD_LIBRARY_PATH
11623 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11624 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11625 # the default ld.so.conf also contains /usr/contrib/lib and
11626 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11627 # libtool to hard-code these into programs
11630 cygwin* | mingw* | pw32* | cegcc*)
11631 version_type=windows
11636 case $GCC,$cc_basename in
11639 library_names_spec='$libname.dll.a'
11640 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11641 postinstall_cmds='base_file=`basename \${file}`~
11642 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11643 dldir=$destdir/`dirname \$dlpath`~
11644 test -d \$dldir || mkdir -p \$dldir~
11645 $install_prog $dir/$dlname \$dldir/$dlname~
11646 chmod a+x \$dldir/$dlname~
11647 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11648 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11650 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11651 dlpath=$dir/\$dldll~
11653 shlibpath_overrides_runpath=yes
11657 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11658 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11660 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11663 # MinGW DLLs use traditional 'lib' prefix
11664 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11667 # pw32 DLLs use 'pw' prefix rather than 'lib'
11668 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11671 dynamic_linker='Win32 ld.exe'
11676 libname_spec='$name'
11677 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11678 library_names_spec='${libname}.dll.lib'
11682 sys_lib_search_path_spec=
11685 for lt_path in $LIB
11688 # Let DOS variable expansion print the short 8.3 style file name.
11689 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11690 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11693 # Convert to MSYS style.
11694 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11697 # Convert to unix form, then to dos form, then back to unix form
11698 # but this time dos style (no spaces!) so that the unix form looks
11699 # like /cygdrive/c/PROGRA~1:/cygdr...
11700 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11701 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11702 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11705 sys_lib_search_path_spec="$LIB"
11706 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11707 # It is most probably a Windows format PATH.
11708 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11710 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11712 # FIXME: find the short name or the path components, as spaces are
11713 # common. (e.g. "Program Files" -> "PROGRA~1")
11717 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11718 postinstall_cmds='base_file=`basename \${file}`~
11719 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11720 dldir=$destdir/`dirname \$dlpath`~
11721 test -d \$dldir || mkdir -p \$dldir~
11722 $install_prog $dir/$dlname \$dldir/$dlname'
11723 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11724 dlpath=$dir/\$dldll~
11726 shlibpath_overrides_runpath=yes
11727 dynamic_linker='Win32 link.exe'
11731 # Assume MSVC wrapper
11732 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11733 dynamic_linker='Win32 ld.exe'
11736 # FIXME: first we should search . and the directory the executable is in
11740 darwin* | rhapsody*)
11741 dynamic_linker="$host_os dyld"
11742 version_type=darwin
11745 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11746 soname_spec='${libname}${release}${major}$shared_ext'
11747 shlibpath_overrides_runpath=yes
11748 shlibpath_var=DYLD_LIBRARY_PATH
11749 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11751 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11752 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11760 soname_spec='${libname}${release}${shared_ext}$major'
11761 shlibpath_var=LD_LIBRARY_PATH
11768 freebsd* | dragonfly*)
11769 # DragonFly does not have aout. When/if they implement a new
11770 # versioning mechanism, adjust this.
11771 if test -x /usr/bin/objformat; then
11772 objformat=`/usr/bin/objformat`
11775 freebsd[123]*) objformat=aout ;;
11776 *) objformat=elf ;;
11779 version_type=freebsd-$objformat
11780 case $version_type in
11782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11787 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11791 shlibpath_var=LD_LIBRARY_PATH
11794 shlibpath_overrides_runpath=yes
11796 freebsd3.[01]* | freebsdelf3.[01]*)
11797 shlibpath_overrides_runpath=yes
11798 hardcode_into_libs=yes
11800 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11801 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11802 shlibpath_overrides_runpath=no
11803 hardcode_into_libs=yes
11805 *) # from 4.6 on, and DragonFly
11806 shlibpath_overrides_runpath=yes
11807 hardcode_into_libs=yes
11816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11817 soname_spec='${libname}${release}${shared_ext}$major'
11818 shlibpath_var=LD_LIBRARY_PATH
11819 hardcode_into_libs=yes
11826 dynamic_linker="$host_os runtime_loader"
11827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11828 soname_spec='${libname}${release}${shared_ext}$major'
11829 shlibpath_var=LIBRARY_PATH
11830 shlibpath_overrides_runpath=yes
11831 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11832 hardcode_into_libs=yes
11835 hpux9* | hpux10* | hpux11*)
11836 # Give a soname corresponding to the major version so that dld.sl refuses to
11837 # link against other versions.
11844 hardcode_into_libs=yes
11845 dynamic_linker="$host_os dld.so"
11846 shlibpath_var=LD_LIBRARY_PATH
11847 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11849 soname_spec='${libname}${release}${shared_ext}$major'
11850 if test "X$HPUX_IA64_MODE" = X32; then
11851 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11853 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11855 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11859 hardcode_into_libs=yes
11860 dynamic_linker="$host_os dld.sl"
11861 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11862 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11864 soname_spec='${libname}${release}${shared_ext}$major'
11865 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11870 dynamic_linker="$host_os dld.sl"
11871 shlibpath_var=SHLIB_PATH
11872 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec='${libname}${release}${shared_ext}$major'
11877 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11878 postinstall_cmds='chmod 555 $lib'
11879 # or fails outright, so override atomically:
11880 install_override_mode=555
11887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11888 soname_spec='${libname}${release}${shared_ext}$major'
11889 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11890 shlibpath_var=LD_LIBRARY_PATH
11891 shlibpath_overrides_runpath=no
11892 hardcode_into_libs=yes
11895 irix5* | irix6* | nonstopux*)
11897 nonstopux*) version_type=nonstopux ;;
11899 if test "$lt_cv_prog_gnu_ld" = yes; then
11907 soname_spec='${libname}${release}${shared_ext}$major'
11908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11910 irix5* | nonstopux*)
11911 libsuff= shlibsuff=
11914 case $LD in # libtool.m4 will add one of these switches to LD
11915 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11916 libsuff= shlibsuff= libmagic=32-bit;;
11917 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11918 libsuff=32 shlibsuff=N32 libmagic=N32;;
11919 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11920 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11921 *) libsuff= shlibsuff= libmagic=never-match;;
11925 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11926 shlibpath_overrides_runpath=no
11927 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11928 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11929 hardcode_into_libs=yes
11932 # No shared lib support for Linux oldld, aout, or coff.
11933 linux*oldld* | linux*aout* | linux*coff*)
11937 # This must be Linux ELF.
11938 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11943 soname_spec='${libname}${release}${shared_ext}$major'
11944 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11945 shlibpath_var=LD_LIBRARY_PATH
11946 shlibpath_overrides_runpath=no
11948 # Some binutils ld are patched to set DT_RUNPATH
11949 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11950 $as_echo_n "(cached) " >&6
11952 lt_cv_shlibpath_overrides_runpath=no
11953 save_LDFLAGS=$LDFLAGS
11954 save_libdir=$libdir
11955 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11956 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11968 if ac_fn_c_try_link "$LINENO"; then :
11969 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11970 lt_cv_shlibpath_overrides_runpath=yes
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LDFLAGS=$save_LDFLAGS
11976 libdir=$save_libdir
11980 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11982 # This implies no fast_install, which is unacceptable.
11983 # Some rework will be needed to allow for fast_install
11984 # before this can be enabled.
11985 hardcode_into_libs=yes
11987 # Append ld.so.conf contents to the search path
11988 if test -f /etc/ld.so.conf; then
11989 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;s/"//g;/^$/d' | tr '\n' ' '`
11990 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11993 # We used to test for /lib/ld.so.1 and disable shared libraries on
11994 # powerpc, because MkLinux only supported shared libraries with the
11995 # GNU dynamic linker. Since this was broken with cross compilers,
11996 # most powerpc-linux boxes support dynamic linking these days and
11997 # people can always --disable-shared, the test was removed, and we
11998 # assume the GNU/Linux dynamic linker is in use.
11999 dynamic_linker='GNU/Linux ld.so'
12006 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12008 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12009 dynamic_linker='NetBSD (a.out) ld.so'
12011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12012 soname_spec='${libname}${release}${shared_ext}$major'
12013 dynamic_linker='NetBSD ld.elf_so'
12015 shlibpath_var=LD_LIBRARY_PATH
12016 shlibpath_overrides_runpath=yes
12017 hardcode_into_libs=yes
12022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12023 shlibpath_var=LD_LIBRARY_PATH
12024 shlibpath_overrides_runpath=yes
12031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12032 soname_spec='${libname}${release}${shared_ext}$major'
12033 shlibpath_var=LD_LIBRARY_PATH
12034 shlibpath_overrides_runpath=no
12035 hardcode_into_libs=yes
12036 dynamic_linker='ldqnx.so'
12041 sys_lib_dlsearch_path_spec="/usr/lib"
12043 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12045 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12046 *) need_version=no ;;
12048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12049 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12050 shlibpath_var=LD_LIBRARY_PATH
12051 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12053 openbsd2.[89] | openbsd2.[89].*)
12054 shlibpath_overrides_runpath=no
12057 shlibpath_overrides_runpath=yes
12061 shlibpath_overrides_runpath=yes
12066 libname_spec='$name'
12069 library_names_spec='$libname${shared_ext} $libname.a'
12070 dynamic_linker='OS/2 ld.exe'
12071 shlibpath_var=LIBPATH
12074 osf3* | osf4* | osf5*)
12078 soname_spec='${libname}${release}${shared_ext}$major'
12079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12080 shlibpath_var=LD_LIBRARY_PATH
12081 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12082 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12094 soname_spec='${libname}${release}${shared_ext}$major'
12095 shlibpath_var=LD_LIBRARY_PATH
12096 shlibpath_overrides_runpath=yes
12097 hardcode_into_libs=yes
12098 # ldd complains unless libraries are executable
12099 postinstall_cmds='chmod +x $lib'
12104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12105 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12106 shlibpath_var=LD_LIBRARY_PATH
12107 shlibpath_overrides_runpath=yes
12108 if test "$with_gnu_ld" = yes; then
12116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12117 soname_spec='${libname}${release}${shared_ext}$major'
12118 shlibpath_var=LD_LIBRARY_PATH
12119 case $host_vendor in
12121 shlibpath_overrides_runpath=no
12123 runpath_var=LD_RUN_PATH
12131 shlibpath_overrides_runpath=no
12132 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12138 if test -d /usr/nec ;then
12140 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12141 soname_spec='$libname${shared_ext}.$major'
12142 shlibpath_var=LD_LIBRARY_PATH
12146 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12147 version_type=freebsd-elf
12150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12151 soname_spec='${libname}${release}${shared_ext}$major'
12152 shlibpath_var=LD_LIBRARY_PATH
12153 shlibpath_overrides_runpath=yes
12154 hardcode_into_libs=yes
12155 if test "$with_gnu_ld" = yes; then
12156 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12158 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12161 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12165 sys_lib_dlsearch_path_spec='/usr/lib'
12169 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12174 shlibpath_var=LD_LIBRARY_PATH
12175 shlibpath_overrides_runpath=no
12176 hardcode_into_libs=yes
12181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12182 soname_spec='${libname}${release}${shared_ext}$major'
12183 shlibpath_var=LD_LIBRARY_PATH
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12191 $as_echo "$dynamic_linker" >&6; }
12192 test "$dynamic_linker" = no && can_build_shared=no
12194 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12195 if test "$GCC" = yes; then
12196 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12199 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12200 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12202 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12203 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12298 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12300 if test -n "$hardcode_libdir_flag_spec" ||
12301 test -n "$runpath_var" ||
12302 test "X$hardcode_automatic" = "Xyes" ; then
12304 # We can hardcode non-existent directories.
12305 if test "$hardcode_direct" != no &&
12306 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12307 # have to relink, otherwise we might link with an installed library
12308 # when we should be linking with a yet-to-be-installed one
12309 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12310 test "$hardcode_minus_L" != no; then
12311 # Linking always hardcodes the temporary library directory.
12312 hardcode_action=relink
12314 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12315 hardcode_action=immediate
12318 # We cannot hardcode anything, or else we can only hardcode existing
12320 hardcode_action=unsupported
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12323 $as_echo "$hardcode_action" >&6; }
12325 if test "$hardcode_action" = relink ||
12326 test "$inherit_rpath" = yes; then
12327 # Fast installation is not supported
12328 enable_fast_install=no
12329 elif test "$shlibpath_overrides_runpath" = yes ||
12330 test "$enable_shared" = no; then
12331 # Fast installation is not necessary
12332 enable_fast_install=needless
12340 if test "x$enable_dlopen" != xyes; then
12341 enable_dlopen=unknown
12342 enable_dlopen_self=unknown
12343 enable_dlopen_self_static=unknown
12350 lt_cv_dlopen="load_add_on"
12352 lt_cv_dlopen_self=yes
12355 mingw* | pw32* | cegcc*)
12356 lt_cv_dlopen="LoadLibrary"
12361 lt_cv_dlopen="dlopen"
12366 # if libdl is installed we need to link against it
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12369 if ${ac_cv_lib_dl_dlopen+:} false; then :
12370 $as_echo_n "(cached) " >&6
12372 ac_check_lib_save_LIBS=$LIBS
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12377 /* Override any GCC internal prototype to avoid an error.
12378 Use char because int might match the return type of a GCC
12379 builtin and then its argument prototype would still apply. */
12392 if ac_fn_c_try_link "$LINENO"; then :
12393 ac_cv_lib_dl_dlopen=yes
12395 ac_cv_lib_dl_dlopen=no
12397 rm -f core conftest.err conftest.$ac_objext \
12398 conftest$ac_exeext conftest.$ac_ext
12399 LIBS=$ac_check_lib_save_LIBS
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12402 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12403 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12404 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12407 lt_cv_dlopen="dyld"
12409 lt_cv_dlopen_self=yes
12416 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12417 if test "x$ac_cv_func_shl_load" = xyes; then :
12418 lt_cv_dlopen="shl_load"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12421 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12422 if ${ac_cv_lib_dld_shl_load+:} false; then :
12423 $as_echo_n "(cached) " >&6
12425 ac_check_lib_save_LIBS=$LIBS
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12440 return shl_load ();
12445 if ac_fn_c_try_link "$LINENO"; then :
12446 ac_cv_lib_dld_shl_load=yes
12448 ac_cv_lib_dld_shl_load=no
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12455 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12456 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12457 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12459 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12460 if test "x$ac_cv_func_dlopen" = xyes; then :
12461 lt_cv_dlopen="dlopen"
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12464 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12465 if ${ac_cv_lib_dl_dlopen+:} false; then :
12466 $as_echo_n "(cached) " >&6
12468 ac_check_lib_save_LIBS=$LIBS
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 ac_cv_lib_dl_dlopen=yes
12491 ac_cv_lib_dl_dlopen=no
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_lib_save_LIBS
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12499 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12500 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12503 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12504 if ${ac_cv_lib_svld_dlopen+:} false; then :
12505 $as_echo_n "(cached) " >&6
12507 ac_check_lib_save_LIBS=$LIBS
12508 LIBS="-lsvld $LIBS"
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12527 if ac_fn_c_try_link "$LINENO"; then :
12528 ac_cv_lib_svld_dlopen=yes
12530 ac_cv_lib_svld_dlopen=no
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_lib_save_LIBS
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12537 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12538 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12539 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12542 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12543 if ${ac_cv_lib_dld_dld_link+:} false; then :
12544 $as_echo_n "(cached) " >&6
12546 ac_check_lib_save_LIBS=$LIBS
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12551 /* Override any GCC internal prototype to avoid an error.
12552 Use char because int might match the return type of a GCC
12553 builtin and then its argument prototype would still apply. */
12561 return dld_link ();
12566 if ac_fn_c_try_link "$LINENO"; then :
12567 ac_cv_lib_dld_dld_link=yes
12569 ac_cv_lib_dld_dld_link=no
12571 rm -f core conftest.err conftest.$ac_objext \
12572 conftest$ac_exeext conftest.$ac_ext
12573 LIBS=$ac_check_lib_save_LIBS
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12576 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12577 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12578 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12599 if test "x$lt_cv_dlopen" != xno; then
12605 case $lt_cv_dlopen in
12607 save_CPPFLAGS="$CPPFLAGS"
12608 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12610 save_LDFLAGS="$LDFLAGS"
12611 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12614 LIBS="$lt_cv_dlopen_libs $LIBS"
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12617 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12618 if ${lt_cv_dlopen_self+:} false; then :
12619 $as_echo_n "(cached) " >&6
12621 if test "$cross_compiling" = yes; then :
12622 lt_cv_dlopen_self=cross
12624 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12625 lt_status=$lt_dlunknown
12626 cat > conftest.$ac_ext <<_LT_EOF
12627 #line $LINENO "configure"
12628 #include "confdefs.h"
12637 # define LT_DLGLOBAL RTLD_GLOBAL
12640 # define LT_DLGLOBAL DL_GLOBAL
12642 # define LT_DLGLOBAL 0
12646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12647 find out it does not work in some platform. */
12648 #ifndef LT_DLLAZY_OR_NOW
12650 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12653 # define LT_DLLAZY_OR_NOW DL_LAZY
12656 # define LT_DLLAZY_OR_NOW RTLD_NOW
12659 # define LT_DLLAZY_OR_NOW DL_NOW
12661 # define LT_DLLAZY_OR_NOW 0
12668 /* When -fvisbility=hidden is used, assume the code has been annotated
12669 correspondingly for the symbols needed. */
12670 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12671 int fnord () __attribute__((visibility("default")));
12674 int fnord () { return 42; }
12677 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12678 int status = $lt_dlunknown;
12682 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12685 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12686 else puts (dlerror ());
12688 /* dlclose (self); */
12696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12697 (eval $ac_link) 2>&5
12699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12700 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12701 (./conftest; exit; ) >&5 2>/dev/null
12703 case x$lt_status in
12704 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12705 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12706 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12709 # compilation failed
12710 lt_cv_dlopen_self=no
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12718 $as_echo "$lt_cv_dlopen_self" >&6; }
12720 if test "x$lt_cv_dlopen_self" = xyes; then
12721 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12723 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12724 if ${lt_cv_dlopen_self_static+:} false; then :
12725 $as_echo_n "(cached) " >&6
12727 if test "$cross_compiling" = yes; then :
12728 lt_cv_dlopen_self_static=cross
12730 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12731 lt_status=$lt_dlunknown
12732 cat > conftest.$ac_ext <<_LT_EOF
12733 #line $LINENO "configure"
12734 #include "confdefs.h"
12743 # define LT_DLGLOBAL RTLD_GLOBAL
12746 # define LT_DLGLOBAL DL_GLOBAL
12748 # define LT_DLGLOBAL 0
12752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12753 find out it does not work in some platform. */
12754 #ifndef LT_DLLAZY_OR_NOW
12756 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12759 # define LT_DLLAZY_OR_NOW DL_LAZY
12762 # define LT_DLLAZY_OR_NOW RTLD_NOW
12765 # define LT_DLLAZY_OR_NOW DL_NOW
12767 # define LT_DLLAZY_OR_NOW 0
12774 /* When -fvisbility=hidden is used, assume the code has been annotated
12775 correspondingly for the symbols needed. */
12776 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12777 int fnord () __attribute__((visibility("default")));
12780 int fnord () { return 42; }
12783 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12784 int status = $lt_dlunknown;
12788 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12791 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12792 else puts (dlerror ());
12794 /* dlclose (self); */
12802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12803 (eval $ac_link) 2>&5
12805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12806 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12807 (./conftest; exit; ) >&5 2>/dev/null
12809 case x$lt_status in
12810 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12811 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12812 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12815 # compilation failed
12816 lt_cv_dlopen_self_static=no
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12824 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12827 CPPFLAGS="$save_CPPFLAGS"
12828 LDFLAGS="$save_LDFLAGS"
12833 case $lt_cv_dlopen_self in
12834 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12835 *) enable_dlopen_self=unknown ;;
12838 case $lt_cv_dlopen_self_static in
12839 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12840 *) enable_dlopen_self_static=unknown ;;
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12863 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12864 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12865 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12866 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12868 $as_echo "yes" >&6; }
12870 # FIXME - insert some real tests, host_os isn't really good enough
12873 if test -n "$STRIP" ; then
12874 striplib="$STRIP -x"
12875 old_striplib="$STRIP -S"
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12877 $as_echo "yes" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12885 $as_echo "no" >&6; }
12901 # Report which library types will actually be built
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12903 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12905 $as_echo "$can_build_shared" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12908 $as_echo_n "checking whether to build shared libraries... " >&6; }
12909 test "$can_build_shared" = "no" && enable_shared=no
12911 # On AIX, shared libraries and static libraries use the same namespace, and
12912 # are all built from PIC.
12915 test "$enable_shared" = yes && enable_static=no
12916 if test -n "$RANLIB"; then
12917 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12918 postinstall_cmds='$RANLIB $lib'
12923 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12924 test "$enable_shared" = yes && enable_static=no
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12929 $as_echo "$enable_shared" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12932 $as_echo_n "checking whether to build static libraries... " >&6; }
12933 # Make sure either enable_shared or enable_static is yes.
12934 test "$enable_shared" = yes || enable_static=yes
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12936 $as_echo "$enable_static" >&6; }
12943 ac_cpp='$CPP $CPPFLAGS'
12944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12950 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12951 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12952 (test "X$CXX" != "Xg++"))) ; then
12954 ac_cpp='$CXXCPP $CPPFLAGS'
12955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12959 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12960 if test -z "$CXXCPP"; then
12961 if ${ac_cv_prog_CXXCPP+:} false; then :
12962 $as_echo_n "(cached) " >&6
12964 # Double quotes because CXXCPP needs to be expanded
12965 for CXXCPP in "$CXX -E" "/lib/cpp"
12967 ac_preproc_ok=false
12968 for ac_cxx_preproc_warn_flag in '' yes
12970 # Use a header file that comes with gcc, so configuring glibc
12971 # with a fresh cross-compiler works.
12972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12973 # <limits.h> exists even on freestanding compilers.
12974 # On the NeXT, cc -E runs the code through the compiler's parser,
12975 # not just through cpp. "Syntax error" is here to catch this case.
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 # include <limits.h>
12981 # include <assert.h>
12985 if ac_fn_cxx_try_cpp "$LINENO"; then :
12988 # Broken: fails on valid input.
12991 rm -f conftest.err conftest.i conftest.$ac_ext
12993 # OK, works on sane cases. Now check whether nonexistent headers
12994 # can be detected and how.
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 #include <ac_nonexistent.h>
12999 if ac_fn_cxx_try_cpp "$LINENO"; then :
13000 # Broken: success on invalid input.
13003 # Passes both tests.
13007 rm -f conftest.err conftest.i conftest.$ac_ext
13010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13011 rm -f conftest.i conftest.err conftest.$ac_ext
13012 if $ac_preproc_ok; then :
13017 ac_cv_prog_CXXCPP=$CXXCPP
13020 CXXCPP=$ac_cv_prog_CXXCPP
13022 ac_cv_prog_CXXCPP=$CXXCPP
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13025 $as_echo "$CXXCPP" >&6; }
13026 ac_preproc_ok=false
13027 for ac_cxx_preproc_warn_flag in '' yes
13029 # Use a header file that comes with gcc, so configuring glibc
13030 # with a fresh cross-compiler works.
13031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13032 # <limits.h> exists even on freestanding compilers.
13033 # On the NeXT, cc -E runs the code through the compiler's parser,
13034 # not just through cpp. "Syntax error" is here to catch this case.
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 # include <limits.h>
13040 # include <assert.h>
13044 if ac_fn_cxx_try_cpp "$LINENO"; then :
13047 # Broken: fails on valid input.
13050 rm -f conftest.err conftest.i conftest.$ac_ext
13052 # OK, works on sane cases. Now check whether nonexistent headers
13053 # can be detected and how.
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13056 #include <ac_nonexistent.h>
13058 if ac_fn_cxx_try_cpp "$LINENO"; then :
13059 # Broken: success on invalid input.
13062 # Passes both tests.
13066 rm -f conftest.err conftest.i conftest.$ac_ext
13069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13070 rm -f conftest.i conftest.err conftest.$ac_ext
13071 if $ac_preproc_ok; then :
13074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13076 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13077 See \`config.log' for more details" "$LINENO" 5; }
13081 ac_cpp='$CPP $CPPFLAGS'
13082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13087 _lt_caught_CXX_error=yes
13091 ac_cpp='$CXXCPP $CPPFLAGS'
13092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13096 archive_cmds_need_lc_CXX=no
13097 allow_undefined_flag_CXX=
13098 always_export_symbols_CXX=no
13099 archive_expsym_cmds_CXX=
13100 compiler_needs_object_CXX=no
13101 export_dynamic_flag_spec_CXX=
13102 hardcode_direct_CXX=no
13103 hardcode_direct_absolute_CXX=no
13104 hardcode_libdir_flag_spec_CXX=
13105 hardcode_libdir_flag_spec_ld_CXX=
13106 hardcode_libdir_separator_CXX=
13107 hardcode_minus_L_CXX=no
13108 hardcode_shlibpath_var_CXX=unsupported
13109 hardcode_automatic_CXX=no
13110 inherit_rpath_CXX=no
13112 module_expsym_cmds_CXX=
13113 link_all_deplibs_CXX=unknown
13114 old_archive_cmds_CXX=$old_archive_cmds
13115 reload_flag_CXX=$reload_flag
13116 reload_cmds_CXX=$reload_cmds
13117 no_undefined_flag_CXX=
13118 whole_archive_flag_spec_CXX=
13119 enable_shared_with_static_runtimes_CXX=no
13121 # Source file extension for C++ test sources.
13124 # Object file extension for compiled C++ test sources.
13128 # No sense in running all these tests if we already determined that
13129 # the CXX compiler isn't working. Some variables (like enable_shared)
13130 # are currently assumed to apply to all compilers on this platform,
13131 # and will be corrupted by setting them based on a non-working compiler.
13132 if test "$_lt_caught_CXX_error" != yes; then
13133 # Code to be used in simple compile tests
13134 lt_simple_compile_test_code="int some_variable = 0;"
13136 # Code to be used in simple link tests
13137 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13139 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13146 # If no C compiler was specified, use CC.
13149 # If no C compiler flags were specified, use CFLAGS.
13150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13152 # Allow CC to be a program name with arguments.
13156 # save warnings/boilerplate of simple test code
13157 ac_outfile=conftest.$ac_objext
13158 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13159 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13160 _lt_compiler_boilerplate=`cat conftest.err`
13163 ac_outfile=conftest.$ac_objext
13164 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13165 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13166 _lt_linker_boilerplate=`cat conftest.err`
13170 # Allow CC to be a program name with arguments.
13172 lt_save_CFLAGS=$CFLAGS
13176 lt_save_with_gnu_ld=$with_gnu_ld
13177 lt_save_path_LD=$lt_cv_path_LD
13178 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13179 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13181 $as_unset lt_cv_prog_gnu_ld
13183 if test -n "${lt_cv_path_LDCXX+set}"; then
13184 lt_cv_path_LD=$lt_cv_path_LDCXX
13186 $as_unset lt_cv_path_LD
13188 test -z "${LDCXX+set}" || LD=$LDCXX
13193 for cc_temp in $compiler""; do
13195 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13196 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13201 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13204 if test -n "$compiler"; then
13205 # We don't want -fno-exception when compiling C++ code, so set the
13206 # no_builtin_flag separately
13207 if test "$GXX" = yes; then
13208 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13210 lt_prog_compiler_no_builtin_flag_CXX=
13213 if test "$GXX" = yes; then
13214 # Set up default GNU C++ configuration
13218 # Check whether --with-gnu-ld was given.
13219 if test "${with_gnu_ld+set}" = set; then :
13220 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13226 if test "$GCC" = yes; then
13227 # Check if gcc -print-prog-name=ld gives a path.
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13229 $as_echo_n "checking for ld used by $CC... " >&6; }
13232 # gcc leaves a trailing carriage return which upsets mingw
13233 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13235 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13238 # Accept absolute paths.
13240 re_direlt='/[^/][^/]*/\.\./'
13241 # Canonicalize the pathname of ld
13242 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13243 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13244 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13246 test -z "$LD" && LD="$ac_prog"
13249 # If it fails, then pretend we aren't using GCC.
13253 # If it is relative, then search for the first ld in PATH.
13254 with_gnu_ld=unknown
13257 elif test "$with_gnu_ld" = yes; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13259 $as_echo_n "checking for GNU ld... " >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13262 $as_echo_n "checking for non-GNU ld... " >&6; }
13264 if ${lt_cv_path_LD+:} false; then :
13265 $as_echo_n "(cached) " >&6
13267 if test -z "$LD"; then
13268 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13269 for ac_dir in $PATH; do
13271 test -z "$ac_dir" && ac_dir=.
13272 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13273 lt_cv_path_LD="$ac_dir/$ac_prog"
13274 # Check to see if the program is GNU ld. I'd rather use --version,
13275 # but apparently some variants of GNU ld only accept -v.
13276 # Break only if it was the GNU/non-GNU ld that we prefer.
13277 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13278 *GNU* | *'with BFD'*)
13279 test "$with_gnu_ld" != no && break
13282 test "$with_gnu_ld" != yes && break
13289 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13293 LD="$lt_cv_path_LD"
13294 if test -n "$LD"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13296 $as_echo "$LD" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13299 $as_echo "no" >&6; }
13301 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13303 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13304 if ${lt_cv_prog_gnu_ld+:} false; then :
13305 $as_echo_n "(cached) " >&6
13307 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13308 case `$LD -v 2>&1 </dev/null` in
13309 *GNU* | *'with BFD'*)
13310 lt_cv_prog_gnu_ld=yes
13313 lt_cv_prog_gnu_ld=no
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13318 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13319 with_gnu_ld=$lt_cv_prog_gnu_ld
13327 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13328 # archiving commands below assume that GNU ld is being used.
13329 if test "$with_gnu_ld" = yes; then
13330 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13331 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13333 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13334 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13336 # If archive_cmds runs LD, not CC, wlarc should be empty
13337 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13338 # investigate it a little bit more. (MM)
13341 # ancient GNU ld didn't support --whole-archive et. al.
13342 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13343 $GREP 'no-whole-archive' > /dev/null; then
13344 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13346 whole_archive_flag_spec_CXX=
13352 # A generic and very simple default shared library creation
13353 # command for GNU C++ for the case where it uses the native
13354 # linker, instead of GNU ld. If possible, this setting should
13355 # overridden to take advantage of the native linker features on
13356 # the platform it is being used on.
13357 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13360 # Commands to make compiler produce verbose output that lists
13361 # what "hidden" libraries, object files and flags are used when
13362 # linking a shared library.
13363 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13371 # PORTME: fill in a description of your system's C++ link characteristics
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13373 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13377 # FIXME: insert proper C++ library support
13381 if test "$host_cpu" = ia64; then
13382 # On IA64, the linker does run time linking by default, so we don't
13383 # have to do anything special.
13384 aix_use_runtimelinking=no
13385 exp_sym_flag='-Bexport'
13388 aix_use_runtimelinking=no
13390 # Test if we are trying to use run time linking or normal
13391 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13392 # need to do runtime linking.
13393 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13394 for ld_flag in $LDFLAGS; do
13397 aix_use_runtimelinking=yes
13405 exp_sym_flag='-bexport'
13406 no_entry_flag='-bnoentry'
13409 # When large executables or shared objects are built, AIX ld can
13410 # have problems creating the table of contents. If linking a library
13411 # or program results in "error TOC overflow" add -mminimal-toc to
13412 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13413 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13415 archive_cmds_CXX=''
13416 hardcode_direct_CXX=yes
13417 hardcode_direct_absolute_CXX=yes
13418 hardcode_libdir_separator_CXX=':'
13419 link_all_deplibs_CXX=yes
13420 file_list_spec_CXX='${wl}-f,'
13422 if test "$GXX" = yes; then
13423 case $host_os in aix4.[012]|aix4.[012].*)
13424 # We only want to do this on AIX 4.2 and lower, the check
13425 # below for broken collect2 doesn't work under 4.3+
13426 collect2name=`${CC} -print-prog-name=collect2`
13427 if test -f "$collect2name" &&
13428 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13430 # We have reworked collect2
13433 # We have old collect2
13434 hardcode_direct_CXX=unsupported
13435 # It fails to find uninstalled libraries when the uninstalled
13436 # path is not listed in the libpath. Setting hardcode_minus_L
13437 # to unsupported forces relinking
13438 hardcode_minus_L_CXX=yes
13439 hardcode_libdir_flag_spec_CXX='-L$libdir'
13440 hardcode_libdir_separator_CXX=
13443 shared_flag='-shared'
13444 if test "$aix_use_runtimelinking" = yes; then
13445 shared_flag="$shared_flag "'${wl}-G'
13449 if test "$host_cpu" = ia64; then
13450 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13451 # chokes on -Wl,-G. The following line is correct:
13454 if test "$aix_use_runtimelinking" = yes; then
13455 shared_flag='${wl}-G'
13457 shared_flag='${wl}-bM:SRE'
13462 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13463 # It seems that -bexpall does not export symbols beginning with
13464 # underscore (_), so it is better to generate a list of symbols to
13466 always_export_symbols_CXX=yes
13467 if test "$aix_use_runtimelinking" = yes; then
13468 # Warning - without using the other runtime loading flags (-brtl),
13469 # -berok will link without error, but may produce a broken library.
13470 allow_undefined_flag_CXX='-berok'
13471 # Determine the default libpath from the value encoded in an empty
13473 if test "${lt_cv_aix_libpath+set}" = set; then
13474 aix_libpath=$lt_cv_aix_libpath
13476 if ${lt_cv_aix_libpath__CXX+:} false; then :
13477 $as_echo_n "(cached) " >&6
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13490 if ac_fn_cxx_try_link "$LINENO"; then :
13492 lt_aix_libpath_sed='
13493 /Import File Strings/,/^$/ {
13495 s/^0 *\([^ ]*\) *$/\1/
13499 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13500 # Check for a 64-bit object if we didn't find anything.
13501 if test -z "$lt_cv_aix_libpath__CXX"; then
13502 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 if test -z "$lt_cv_aix_libpath__CXX"; then
13508 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13513 aix_libpath=$lt_cv_aix_libpath__CXX
13516 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13518 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13520 if test "$host_cpu" = ia64; then
13521 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13522 allow_undefined_flag_CXX="-z nodefs"
13523 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"
13525 # Determine the default libpath from the value encoded in an
13526 # empty executable.
13527 if test "${lt_cv_aix_libpath+set}" = set; then
13528 aix_libpath=$lt_cv_aix_libpath
13530 if ${lt_cv_aix_libpath__CXX+:} false; then :
13531 $as_echo_n "(cached) " >&6
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13544 if ac_fn_cxx_try_link "$LINENO"; then :
13546 lt_aix_libpath_sed='
13547 /Import File Strings/,/^$/ {
13549 s/^0 *\([^ ]*\) *$/\1/
13553 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13554 # Check for a 64-bit object if we didn't find anything.
13555 if test -z "$lt_cv_aix_libpath__CXX"; then
13556 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 if test -z "$lt_cv_aix_libpath__CXX"; then
13562 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13567 aix_libpath=$lt_cv_aix_libpath__CXX
13570 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13571 # Warning - without using the other run time loading flags,
13572 # -berok will link without error, but may produce a broken library.
13573 no_undefined_flag_CXX=' ${wl}-bernotok'
13574 allow_undefined_flag_CXX=' ${wl}-berok'
13575 if test "$with_gnu_ld" = yes; then
13576 # We only use this code for GNU lds that support --whole-archive.
13577 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13579 # Exported symbols can be pulled into shared objects from archives
13580 whole_archive_flag_spec_CXX='$convenience'
13582 archive_cmds_need_lc_CXX=yes
13583 # This is similar to how AIX traditionally builds its shared
13585 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'
13591 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13592 allow_undefined_flag_CXX=unsupported
13593 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13594 # support --undefined. This deserves some investigation. FIXME
13595 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13602 case $cc_basename in
13604 # FIXME: insert proper C++ library support
13610 cygwin* | mingw* | pw32* | cegcc*)
13611 case $GXX,$cc_basename in
13614 # hardcode_libdir_flag_spec is actually meaningless, as there is
13615 # no search path for DLLs.
13616 hardcode_libdir_flag_spec_CXX=' '
13617 allow_undefined_flag_CXX=unsupported
13618 always_export_symbols_CXX=yes
13619 file_list_spec_CXX='@'
13620 # Tell ltmain to make .lib files, not .a files.
13622 # Tell ltmain to make .dll files, not .so files.
13624 # FIXME: Setting linknames here is a bad hack.
13625 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13626 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13627 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13629 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13631 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13633 # The linker will not automatically build a static lib if we build a DLL.
13634 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13635 enable_shared_with_static_runtimes_CXX=yes
13637 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13638 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13639 lt_tool_outputfile="@TOOL_OUTPUT@"~
13640 case $lt_outputfile in
13643 lt_outputfile="$lt_outputfile.exe"
13644 lt_tool_outputfile="$lt_tool_outputfile.exe"
13647 func_to_tool_file "$lt_outputfile"~
13648 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13649 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13650 $RM "$lt_outputfile.manifest";
13655 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13656 # as there is no search path for DLLs.
13657 hardcode_libdir_flag_spec_CXX='-L$libdir'
13658 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13659 allow_undefined_flag_CXX=unsupported
13660 always_export_symbols_CXX=no
13661 enable_shared_with_static_runtimes_CXX=yes
13663 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13664 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'
13665 # If the export-symbols file already is a .def file (1st line
13666 # is EXPORTS), use it as is; otherwise, prepend...
13667 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13668 cp $export_symbols $output_objdir/$soname.def;
13670 echo EXPORTS > $output_objdir/$soname.def;
13671 cat $export_symbols >> $output_objdir/$soname.def;
13673 $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'
13680 darwin* | rhapsody*)
13683 archive_cmds_need_lc_CXX=no
13684 hardcode_direct_CXX=no
13685 hardcode_automatic_CXX=yes
13686 hardcode_shlibpath_var_CXX=unsupported
13687 if test "$lt_cv_ld_force_load" = "yes"; then
13688 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13690 whole_archive_flag_spec_CXX=''
13692 link_all_deplibs_CXX=yes
13693 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13694 case $cc_basename in
13695 ifort*) _lt_dar_can_shared=yes ;;
13696 *) _lt_dar_can_shared=$GCC ;;
13698 if test "$_lt_dar_can_shared" = "yes"; then
13699 output_verbose_link_cmd=func_echo_all
13700 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}"
13701 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13702 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}"
13703 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}"
13704 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13705 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}"
13706 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}"
13716 case $cc_basename in
13718 # FIXME: insert proper C++ library support
13722 # Green Hills C++ Compiler
13723 # FIXME: insert proper C++ library support
13727 # FIXME: insert proper C++ library support
13734 # C++ shared libraries reported to be fairly broken before
13740 archive_cmds_need_lc_CXX=no
13743 freebsd* | dragonfly*)
13744 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13753 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13754 link_all_deplibs_CXX=yes
13758 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13759 hardcode_libdir_separator_CXX=:
13760 export_dynamic_flag_spec_CXX='${wl}-E'
13761 hardcode_direct_CXX=yes
13762 hardcode_minus_L_CXX=yes # Not in the search PATH,
13763 # but as the default
13764 # location of the library.
13766 case $cc_basename in
13768 # FIXME: insert proper C++ library support
13772 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'
13773 # Commands to make compiler produce verbose output that lists
13774 # what "hidden" libraries, object files and flags are used when
13775 # linking a shared library.
13777 # There doesn't appear to be a way to prevent this compiler from
13778 # explicitly linking system object files so we need to strip them
13779 # from the output so that they don't get included in the library
13781 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; func_echo_all "$list"'
13784 if test "$GXX" = yes; then
13785 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13787 # FIXME: insert proper C++ library support
13795 if test $with_gnu_ld = no; then
13796 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13797 hardcode_libdir_separator_CXX=:
13803 export_dynamic_flag_spec_CXX='${wl}-E'
13809 hardcode_direct_CXX=no
13810 hardcode_shlibpath_var_CXX=no
13813 hardcode_direct_CXX=yes
13814 hardcode_direct_absolute_CXX=yes
13815 hardcode_minus_L_CXX=yes # Not in the search PATH,
13816 # but as the default
13817 # location of the library.
13821 case $cc_basename in
13823 # FIXME: insert proper C++ library support
13829 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13832 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13835 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13838 # Commands to make compiler produce verbose output that lists
13839 # what "hidden" libraries, object files and flags are used when
13840 # linking a shared library.
13842 # There doesn't appear to be a way to prevent this compiler from
13843 # explicitly linking system object files so we need to strip them
13844 # from the output so that they don't get included in the library
13846 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; func_echo_all "$list"'
13849 if test "$GXX" = yes; then
13850 if test $with_gnu_ld = no; then
13853 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13856 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13859 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13864 # FIXME: insert proper C++ library support
13872 hardcode_direct_CXX=no
13873 hardcode_shlibpath_var_CXX=no
13874 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13875 export_dynamic_flag_spec_CXX='${wl}-E'
13876 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13877 # Instead, shared libraries are loaded at an image base (0x10000000 by
13878 # default) and relocated if they conflict, which is a slow very memory
13879 # consuming and fragmenting process. To avoid this, we pick a random,
13880 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13881 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13882 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'
13883 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'
13886 case $cc_basename in
13889 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13891 # Archives containing C++ object files must be created using
13892 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13893 # necessary to make sure instantiated templates are included
13895 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13898 if test "$GXX" = yes; then
13899 if test "$with_gnu_ld" = no; then
13900 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13902 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13905 link_all_deplibs_CXX=yes
13908 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13909 hardcode_libdir_separator_CXX=:
13910 inherit_rpath_CXX=yes
13913 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13914 case $cc_basename in
13916 # Kuck and Associates, Inc. (KAI) C++ Compiler
13918 # KCC will only create a shared library if the output file
13919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13920 # to its proper name (with version) after linking.
13921 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'
13922 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'
13923 # Commands to make compiler produce verbose output that lists
13924 # what "hidden" libraries, object files and flags are used when
13925 # linking a shared library.
13927 # There doesn't appear to be a way to prevent this compiler from
13928 # explicitly linking system object files so we need to strip them
13929 # from the output so that they don't get included in the library
13931 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; func_echo_all "$list"'
13933 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13936 # Archives containing C++ object files must be created using
13937 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13938 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13943 # version 8.0 and above of icpc choke on multiply defined symbols
13944 # if we add $predep_objects and $postdep_objects, however 7.1 and
13945 # earlier do not add the objects themselves.
13946 case `$CC -V 2>&1` in
13948 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13949 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'
13951 *) # Version 8.0 or newer
13954 ia64*) tmp_idyn=' -i_dynamic';;
13956 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13957 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'
13960 archive_cmds_need_lc_CXX=no
13961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13962 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13963 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13966 # Portland Group C++ compiler
13968 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13969 prelink_cmds_CXX='tpldir=Template.dir~
13971 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13972 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13973 old_archive_cmds_CXX='tpldir=Template.dir~
13975 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13976 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13978 archive_cmds_CXX='tpldir=Template.dir~
13980 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13981 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13982 archive_expsym_cmds_CXX='tpldir=Template.dir~
13984 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13985 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13987 *) # Version 6 and above use weak symbols
13988 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13989 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'
13993 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13994 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13995 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13999 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14000 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'
14002 runpath_var=LD_RUN_PATH
14003 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14004 hardcode_libdir_separator_CXX=:
14006 # Commands to make compiler produce verbose output that lists
14007 # what "hidden" libraries, object files and flags are used when
14008 # linking a shared library.
14010 # There doesn't appear to be a way to prevent this compiler from
14011 # explicitly linking system object files so we need to strip them
14012 # from the output so that they don't get included in the library
14014 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14016 xl* | mpixl* | bgxl*)
14017 # IBM XL 8.0 on PPC, with GNU ld
14018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14019 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14020 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14021 if test "x$supports_anon_versioning" = xyes; then
14022 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14024 echo "local: *; };" >> $output_objdir/$libname.ver~
14025 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14029 case `$CC -V 2>&1 | sed 5q` in
14032 no_undefined_flag_CXX=' -zdefs'
14033 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14034 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'
14035 hardcode_libdir_flag_spec_CXX='-R$libdir'
14036 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14037 compiler_needs_object_CXX=yes
14039 # Not sure whether something based on
14040 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14042 output_verbose_link_cmd='func_echo_all'
14044 # Archives containing C++ object files must be created using
14045 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14046 # necessary to make sure instantiated templates are included
14048 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14056 # FIXME: insert proper C++ library support
14061 # FIXME: insert proper C++ library support
14066 case $cc_basename in
14068 # FIXME: insert proper C++ library support
14072 # FIXME: insert proper C++ library support
14079 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14080 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14082 hardcode_libdir_flag_spec_CXX='-R$libdir'
14083 hardcode_direct_CXX=yes
14084 hardcode_shlibpath_var_CXX=no
14086 # Workaround some broken pre-1.5 toolchains
14087 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14095 # C++ shared libraries are fairly broken
14100 if test -f /usr/libexec/ld.so; then
14101 hardcode_direct_CXX=yes
14102 hardcode_shlibpath_var_CXX=no
14103 hardcode_direct_absolute_CXX=yes
14104 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14105 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14106 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14107 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14108 export_dynamic_flag_spec_CXX='${wl}-E'
14109 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14111 output_verbose_link_cmd=func_echo_all
14117 osf3* | osf4* | osf5*)
14118 case $cc_basename in
14120 # Kuck and Associates, Inc. (KAI) C++ Compiler
14122 # KCC will only create a shared library if the output file
14123 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14124 # to its proper name (with version) after linking.
14125 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'
14127 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14128 hardcode_libdir_separator_CXX=:
14130 # Archives containing C++ object files must be created using
14131 # the KAI C++ compiler.
14133 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14134 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14138 # Rational C++ 2.4.1
14139 # FIXME: insert proper C++ library support
14145 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14146 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14147 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14150 allow_undefined_flag_CXX=' -expect_unresolved \*'
14151 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14152 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14153 echo "-hidden">> $lib.exp~
14154 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14156 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14160 hardcode_libdir_separator_CXX=:
14162 # Commands to make compiler produce verbose output that lists
14163 # what "hidden" libraries, object files and flags are used when
14164 # linking a shared library.
14166 # There doesn't appear to be a way to prevent this compiler from
14167 # explicitly linking system object files so we need to strip them
14168 # from the output so that they don't get included in the library
14170 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14173 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14174 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14177 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14180 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14184 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14185 hardcode_libdir_separator_CXX=:
14187 # Commands to make compiler produce verbose output that lists
14188 # what "hidden" libraries, object files and flags are used when
14189 # linking a shared library.
14190 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14193 # FIXME: insert proper C++ library support
14201 # FIXME: insert proper C++ library support
14206 case $cc_basename in
14209 # FIXME: insert proper C++ library support
14214 # FIXME: insert proper C++ library support
14218 # FIXME: insert proper C++ library support
14225 case $cc_basename in
14227 # Sun C++ 4.2, 5.x and Centerline C++
14228 archive_cmds_need_lc_CXX=yes
14229 no_undefined_flag_CXX=' -zdefs'
14230 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14231 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14232 $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'
14234 hardcode_libdir_flag_spec_CXX='-R$libdir'
14235 hardcode_shlibpath_var_CXX=no
14237 solaris2.[0-5] | solaris2.[0-5].*) ;;
14239 # The compiler driver will combine and reorder linker options,
14240 # but understands `-z linker_flag'.
14241 # Supported since Solaris 2.6 (maybe 2.5.1?)
14242 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14245 link_all_deplibs_CXX=yes
14247 output_verbose_link_cmd='func_echo_all'
14249 # Archives containing C++ object files must be created using
14250 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14251 # necessary to make sure instantiated templates are included
14253 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14256 # Green Hills C++ Compiler
14257 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14259 # The C++ compiler must be used to create the archive.
14260 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14263 # GNU C++ compiler with Solaris linker
14264 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14265 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14266 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14267 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14268 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14269 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14271 # Commands to make compiler produce verbose output that lists
14272 # what "hidden" libraries, object files and flags are used when
14273 # linking a shared library.
14274 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14276 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14278 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14279 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14280 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14282 # Commands to make compiler produce verbose output that lists
14283 # what "hidden" libraries, object files and flags are used when
14284 # linking a shared library.
14285 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14288 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14290 solaris2.[0-5] | solaris2.[0-5].*) ;;
14292 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14300 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14301 no_undefined_flag_CXX='${wl}-z,text'
14302 archive_cmds_need_lc_CXX=no
14303 hardcode_shlibpath_var_CXX=no
14304 runpath_var='LD_RUN_PATH'
14306 case $cc_basename in
14308 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14309 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14312 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14313 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14318 sysv5* | sco3.2v5* | sco5v6*)
14319 # Note: We can NOT use -z defs as we might desire, because we do not
14320 # link with -lc, and that would cause any symbols used from libc to
14321 # always be unresolved, which means just about no library would
14322 # ever link correctly. If we're not using GNU ld we use -z text
14323 # though, which does catch some bad symbols but isn't as heavy-handed
14325 no_undefined_flag_CXX='${wl}-z,text'
14326 allow_undefined_flag_CXX='${wl}-z,nodefs'
14327 archive_cmds_need_lc_CXX=no
14328 hardcode_shlibpath_var_CXX=no
14329 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14330 hardcode_libdir_separator_CXX=':'
14331 link_all_deplibs_CXX=yes
14332 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14333 runpath_var='LD_RUN_PATH'
14335 case $cc_basename in
14337 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14338 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14339 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14340 '"$old_archive_cmds_CXX"
14341 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14342 '"$reload_cmds_CXX"
14345 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14346 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14352 case $cc_basename in
14354 # NonStop-UX NCC 3.20
14355 # FIXME: insert proper C++ library support
14359 # FIXME: insert proper C++ library support
14366 # FIXME: insert proper C++ library support
14371 # FIXME: insert proper C++ library support
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14377 $as_echo "$ld_shlibs_CXX" >&6; }
14378 test "$ld_shlibs_CXX" = no && can_build_shared=no
14384 ## There is no encapsulation within the following macros, do not change
14385 ## the running order or otherwise move them around unless you know exactly
14386 ## what you are doing...
14387 # Dependencies to place before and after the object being linked:
14388 predep_objects_CXX=
14389 postdep_objects_CXX=
14392 compiler_lib_search_path_CXX=
14394 cat > conftest.$ac_ext <<_LT_EOF
14398 Foo (void) { a = 0; }
14405 _lt_libdeps_save_CFLAGS=$CFLAGS
14406 case "$CC $CFLAGS " in #(
14407 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14408 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14412 (eval $ac_compile) 2>&5
14414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415 test $ac_status = 0; }; then
14416 # Parse the compiler output and extract the necessary
14417 # objects, libraries and library flags.
14419 # Sentinel used to keep track of whether or not we are before
14420 # the conftest object file.
14421 pre_test_object_deps_done=no
14423 for p in `eval "$output_verbose_link_cmd"`; do
14424 case ${prev}${p} in
14427 # Some compilers place space between "-{L,R}" and the path.
14428 # Remove the space.
14429 if test $p = "-L" ||
14430 test $p = "-R"; then
14435 # Expand the sysroot to ease extracting the directories later.
14436 if test -z "$prev"; then
14438 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14439 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14440 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14444 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14446 if test "$pre_test_object_deps_done" = no; then
14449 # Internal compiler library paths should come after those
14450 # provided the user. The postdeps already come after the
14451 # user supplied libs so there is no need to process them.
14452 if test -z "$compiler_lib_search_path_CXX"; then
14453 compiler_lib_search_path_CXX="${prev}${p}"
14455 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14458 # The "-l" case would never come before the object being
14459 # linked, so don't bother handling this case.
14462 if test -z "$postdeps_CXX"; then
14463 postdeps_CXX="${prev}${p}"
14465 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14471 *.lto.$objext) ;; # Ignore GCC LTO objects
14473 # This assumes that the test object file only shows up
14474 # once in the compiler output.
14475 if test "$p" = "conftest.$objext"; then
14476 pre_test_object_deps_done=yes
14480 if test "$pre_test_object_deps_done" = no; then
14481 if test -z "$predep_objects_CXX"; then
14482 predep_objects_CXX="$p"
14484 predep_objects_CXX="$predep_objects_CXX $p"
14487 if test -z "$postdep_objects_CXX"; then
14488 postdep_objects_CXX="$p"
14490 postdep_objects_CXX="$postdep_objects_CXX $p"
14495 *) ;; # Ignore the rest.
14503 echo "libtool.m4: error: problem compiling CXX test program"
14506 $RM -f confest.$objext
14507 CFLAGS=$_lt_libdeps_save_CFLAGS
14509 # PORTME: override above test on systems where it is broken
14512 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14513 # hack all around it, let's just trust "g++" to DTRT.
14514 predep_objects_CXX=
14515 postdep_objects_CXX=
14520 case `$CC -V 2>&1 | sed 5q` in
14524 # The more standards-conforming stlport4 library is
14525 # incompatible with the Cstd library. Avoid specifying
14526 # it if it's in CXXFLAGS. Ignore libCrun as
14527 # -library=stlport4 depends on it.
14528 case " $CXX $CXXFLAGS " in
14529 *" -library=stlport4 "*)
14530 solaris_use_stlport4=yes
14534 if test "$solaris_use_stlport4" != yes; then
14535 postdeps_CXX='-library=Cstd -library=Crun'
14542 case $cc_basename in
14544 # The more standards-conforming stlport4 library is
14545 # incompatible with the Cstd library. Avoid specifying
14546 # it if it's in CXXFLAGS. Ignore libCrun as
14547 # -library=stlport4 depends on it.
14548 case " $CXX $CXXFLAGS " in
14549 *" -library=stlport4 "*)
14550 solaris_use_stlport4=yes
14554 # Adding this requires a known-good setup of shared libraries for
14555 # Sun compiler versions before 5.6, else PIC objects from an old
14556 # archive will be linked into the output, leading to subtle bugs.
14557 if test "$solaris_use_stlport4" != yes; then
14558 postdeps_CXX='-library=Cstd -library=Crun'
14566 case " $postdeps_CXX " in
14567 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14569 compiler_lib_search_dirs_CXX=
14570 if test -n "${compiler_lib_search_path_CXX}"; then
14571 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14604 lt_prog_compiler_wl_CXX=
14605 lt_prog_compiler_pic_CXX=
14606 lt_prog_compiler_static_CXX=
14609 # C++ specific cases for pic, static, wl, etc.
14610 if test "$GXX" = yes; then
14611 lt_prog_compiler_wl_CXX='-Wl,'
14612 lt_prog_compiler_static_CXX='-static'
14616 # All AIX code is PIC.
14617 if test "$host_cpu" = ia64; then
14618 # AIX 5 now supports IA64 processor
14619 lt_prog_compiler_static_CXX='-Bstatic'
14626 # see comment about AmigaOS4 .so support
14627 lt_prog_compiler_pic_CXX='-fPIC'
14630 # FIXME: we need at least 68020 code to build shared libraries, but
14631 # adding the `-m68020' flag to GCC prevents building anything better,
14633 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14638 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14639 # PIC is the default for these OSes.
14641 mingw* | cygwin* | os2* | pw32* | cegcc*)
14642 # This hack is so that the source file can tell whether it is being
14643 # built for inclusion in a dll (and should export symbols for example).
14644 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14645 # (--disable-auto-import) libraries
14646 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14648 darwin* | rhapsody*)
14649 # PIC is the default on this platform
14650 # Common symbols not allowed in MH_DYLIB files
14651 lt_prog_compiler_pic_CXX='-fno-common'
14654 # DJGPP does not support shared libraries at all
14655 lt_prog_compiler_pic_CXX=
14658 # PIC is the default for Haiku.
14659 # The "-static" flag exists, but is broken.
14660 lt_prog_compiler_static_CXX=
14663 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14664 # Instead, we relocate shared libraries at runtime.
14667 if test -d /usr/nec; then
14668 lt_prog_compiler_pic_CXX=-Kconform_pic
14672 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14673 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14674 # sets the default TLS model and affects inlining.
14679 lt_prog_compiler_pic_CXX='-fPIC'
14684 # QNX uses GNU C++, but need to define -shared option too, otherwise
14685 # it will coredump.
14686 lt_prog_compiler_pic_CXX='-fPIC -shared'
14689 lt_prog_compiler_pic_CXX='-fPIC'
14695 # All AIX code is PIC.
14696 if test "$host_cpu" = ia64; then
14697 # AIX 5 now supports IA64 processor
14698 lt_prog_compiler_static_CXX='-Bstatic'
14700 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14704 case $cc_basename in
14706 # Green Hills C++ Compiler
14707 # _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"
14711 mingw* | cygwin* | os2* | pw32* | cegcc*)
14712 # This hack is so that the source file can tell whether it is being
14713 # built for inclusion in a dll (and should export symbols for example).
14714 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14717 case $cc_basename in
14719 lt_prog_compiler_pic_CXX='-KPIC'
14722 # Green Hills C++ Compiler
14723 lt_prog_compiler_pic_CXX='-pic'
14729 freebsd* | dragonfly*)
14730 # FreeBSD uses GNU C++
14732 hpux9* | hpux10* | hpux11*)
14733 case $cc_basename in
14735 lt_prog_compiler_wl_CXX='-Wl,'
14736 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14737 if test "$host_cpu" != ia64; then
14738 lt_prog_compiler_pic_CXX='+Z'
14742 lt_prog_compiler_wl_CXX='-Wl,'
14743 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14749 lt_prog_compiler_pic_CXX='+Z'
14758 # This is c89, which is MS Visual C++ (no shared libs)
14759 # Anyone wants to do a port?
14761 irix5* | irix6* | nonstopux*)
14762 case $cc_basename in
14764 lt_prog_compiler_wl_CXX='-Wl,'
14765 lt_prog_compiler_static_CXX='-non_shared'
14766 # CC pic flag -KPIC is the default.
14772 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14773 case $cc_basename in
14776 lt_prog_compiler_wl_CXX='--backend -Wl,'
14777 lt_prog_compiler_pic_CXX='-fPIC'
14780 # old Intel C++ for x86_64 which still supported -KPIC.
14781 lt_prog_compiler_wl_CXX='-Wl,'
14782 lt_prog_compiler_pic_CXX='-KPIC'
14783 lt_prog_compiler_static_CXX='-static'
14786 # Intel C++, used to be incompatible with GCC.
14787 # ICC 10 doesn't accept -KPIC any more.
14788 lt_prog_compiler_wl_CXX='-Wl,'
14789 lt_prog_compiler_pic_CXX='-fPIC'
14790 lt_prog_compiler_static_CXX='-static'
14793 # Portland Group C++ compiler
14794 lt_prog_compiler_wl_CXX='-Wl,'
14795 lt_prog_compiler_pic_CXX='-fpic'
14796 lt_prog_compiler_static_CXX='-Bstatic'
14800 # Make sure the PIC flag is empty. It appears that all Alpha
14801 # Linux and Compaq Tru64 Unix objects are PIC.
14802 lt_prog_compiler_pic_CXX=
14803 lt_prog_compiler_static_CXX='-non_shared'
14805 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14806 # IBM XL 8.0, 9.0 on PPC and BlueGene
14807 lt_prog_compiler_wl_CXX='-Wl,'
14808 lt_prog_compiler_pic_CXX='-qpic'
14809 lt_prog_compiler_static_CXX='-qstaticlink'
14812 case `$CC -V 2>&1 | sed 5q` in
14815 lt_prog_compiler_pic_CXX='-KPIC'
14816 lt_prog_compiler_static_CXX='-Bstatic'
14817 lt_prog_compiler_wl_CXX='-Qoption ld '
14828 case $cc_basename in
14830 lt_prog_compiler_pic_CXX='-W c,exportall'
14839 # QNX uses GNU C++, but need to define -shared option too, otherwise
14840 # it will coredump.
14841 lt_prog_compiler_pic_CXX='-fPIC -shared'
14843 osf3* | osf4* | osf5*)
14844 case $cc_basename in
14846 lt_prog_compiler_wl_CXX='--backend -Wl,'
14849 # Rational C++ 2.4.1
14850 lt_prog_compiler_pic_CXX='-pic'
14853 # Digital/Compaq C++
14854 lt_prog_compiler_wl_CXX='-Wl,'
14855 # Make sure the PIC flag is empty. It appears that all Alpha
14856 # Linux and Compaq Tru64 Unix objects are PIC.
14857 lt_prog_compiler_pic_CXX=
14858 lt_prog_compiler_static_CXX='-non_shared'
14867 case $cc_basename in
14869 # Sun C++ 4.2, 5.x and Centerline C++
14870 lt_prog_compiler_pic_CXX='-KPIC'
14871 lt_prog_compiler_static_CXX='-Bstatic'
14872 lt_prog_compiler_wl_CXX='-Qoption ld '
14875 # Green Hills C++ Compiler
14876 lt_prog_compiler_pic_CXX='-PIC'
14883 case $cc_basename in
14886 lt_prog_compiler_pic_CXX='-pic'
14887 lt_prog_compiler_static_CXX='-Bstatic'
14891 lt_prog_compiler_pic_CXX='-pic'
14897 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14898 case $cc_basename in
14900 lt_prog_compiler_wl_CXX='-Wl,'
14901 lt_prog_compiler_pic_CXX='-KPIC'
14902 lt_prog_compiler_static_CXX='-Bstatic'
14907 case $cc_basename in
14909 # NonStop-UX NCC 3.20
14910 lt_prog_compiler_pic_CXX='-KPIC'
14919 lt_prog_compiler_can_build_shared_CXX=no
14925 # For platforms which do not support PIC, -DPIC is meaningless:
14927 lt_prog_compiler_pic_CXX=
14930 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14935 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14936 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14937 $as_echo_n "(cached) " >&6
14939 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14942 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14943 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14946 # Check to make sure the PIC flag actually works.
14948 if test -n "$lt_prog_compiler_pic_CXX"; then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14950 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14951 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14952 $as_echo_n "(cached) " >&6
14954 lt_cv_prog_compiler_pic_works_CXX=no
14955 ac_outfile=conftest.$ac_objext
14956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14957 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14958 # Insert the option either (1) after the last *FLAGS variable, or
14959 # (2) before a word containing "conftest.", or (3) at the end.
14960 # Note that $ac_compile itself does not contain backslashes and begins
14961 # with a dollar sign (not a hyphen), so the echo should work correctly.
14962 # The option is referenced via a variable to avoid confusing sed.
14963 lt_compile=`echo "$ac_compile" | $SED \
14964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14966 -e 's:$: $lt_compiler_flag:'`
14967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14968 (eval "$lt_compile" 2>conftest.err)
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 if (exit $ac_status) && test -s "$ac_outfile"; then
14973 # The compiler can only warn and ignore the option if not recognized
14974 # So say no if there are warnings other than the usual output.
14975 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14976 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14977 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14978 lt_cv_prog_compiler_pic_works_CXX=yes
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14985 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14987 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14988 case $lt_prog_compiler_pic_CXX in
14990 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14993 lt_prog_compiler_pic_CXX=
14994 lt_prog_compiler_can_build_shared_CXX=no
15004 # Check to make sure the static flag actually works.
15006 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15008 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15009 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15010 $as_echo_n "(cached) " >&6
15012 lt_cv_prog_compiler_static_works_CXX=no
15013 save_LDFLAGS="$LDFLAGS"
15014 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15015 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15016 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15017 # The linker can only warn and ignore the option if not recognized
15018 # So say no if there are warnings
15019 if test -s conftest.err; then
15020 # Append any errors to the config.log.
15021 cat conftest.err 1>&5
15022 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15023 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15024 if diff conftest.exp conftest.er2 >/dev/null; then
15025 lt_cv_prog_compiler_static_works_CXX=yes
15028 lt_cv_prog_compiler_static_works_CXX=yes
15032 LDFLAGS="$save_LDFLAGS"
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15036 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15038 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15041 lt_prog_compiler_static_CXX=
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15049 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15050 $as_echo_n "(cached) " >&6
15052 lt_cv_prog_compiler_c_o_CXX=no
15053 $RM -r conftest 2>/dev/null
15057 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15059 lt_compiler_flag="-o out/conftest2.$ac_objext"
15060 # Insert the option either (1) after the last *FLAGS variable, or
15061 # (2) before a word containing "conftest.", or (3) at the end.
15062 # Note that $ac_compile itself does not contain backslashes and begins
15063 # with a dollar sign (not a hyphen), so the echo should work correctly.
15064 lt_compile=`echo "$ac_compile" | $SED \
15065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15067 -e 's:$: $lt_compiler_flag:'`
15068 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15069 (eval "$lt_compile" 2>out/conftest.err)
15071 cat out/conftest.err >&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15075 # The compiler can only warn and ignore the option if not recognized
15076 # So say no if there are warnings
15077 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15078 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15079 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15080 lt_cv_prog_compiler_c_o_CXX=yes
15085 # SGI C++ compiler will create directory out/ii_files/ for
15086 # template instantiation
15087 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15088 $RM out/* && rmdir out
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15095 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15100 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15101 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15102 $as_echo_n "(cached) " >&6
15104 lt_cv_prog_compiler_c_o_CXX=no
15105 $RM -r conftest 2>/dev/null
15109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15111 lt_compiler_flag="-o out/conftest2.$ac_objext"
15112 # Insert the option either (1) after the last *FLAGS variable, or
15113 # (2) before a word containing "conftest.", or (3) at the end.
15114 # Note that $ac_compile itself does not contain backslashes and begins
15115 # with a dollar sign (not a hyphen), so the echo should work correctly.
15116 lt_compile=`echo "$ac_compile" | $SED \
15117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15119 -e 's:$: $lt_compiler_flag:'`
15120 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15121 (eval "$lt_compile" 2>out/conftest.err)
15123 cat out/conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15127 # The compiler can only warn and ignore the option if not recognized
15128 # So say no if there are warnings
15129 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15130 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15131 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15132 lt_cv_prog_compiler_c_o_CXX=yes
15137 # SGI C++ compiler will create directory out/ii_files/ for
15138 # template instantiation
15139 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15140 $RM out/* && rmdir out
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15147 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15152 hard_links="nottested"
15153 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15154 # do not overwrite the value of need_locks provided by the user
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15156 $as_echo_n "checking if we can lock with hard links... " >&6; }
15159 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15161 ln conftest.a conftest.b 2>&5 || hard_links=no
15162 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15164 $as_echo "$hard_links" >&6; }
15165 if test "$hard_links" = no; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15167 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15177 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15179 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15180 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15183 # If we're using GNU nm, then we don't want the "-C" option.
15184 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15185 # Also, AIX nm treats weak defined symbols like other global defined
15186 # symbols, whereas GNU nm marks them as "W".
15187 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15188 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15190 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'
15194 export_symbols_cmds_CXX="$ltdll_cmds"
15196 cygwin* | mingw* | cegcc*)
15197 case $cc_basename in
15200 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15201 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15206 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15211 $as_echo "$ld_shlibs_CXX" >&6; }
15212 test "$ld_shlibs_CXX" = no && can_build_shared=no
15214 with_gnu_ld_CXX=$with_gnu_ld
15222 # Do we need to explicitly link libc?
15224 case "x$archive_cmds_need_lc_CXX" in
15226 # Assume -lc should be added
15227 archive_cmds_need_lc_CXX=yes
15229 if test "$enable_shared" = yes && test "$GCC" = yes; then
15230 case $archive_cmds_CXX in
15232 # FIXME: we may have to deal with multi-command sequences.
15235 # Test whether the compiler implicitly links with -lc since on some
15236 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15237 # to ld, don't add -lc before -lgcc.
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15239 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15240 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15241 $as_echo_n "(cached) " >&6
15244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15247 (eval $ac_compile) 2>&5
15249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15250 test $ac_status = 0; } 2>conftest.err; then
15253 libobjs=conftest.$ac_objext
15255 wl=$lt_prog_compiler_wl_CXX
15256 pic_flag=$lt_prog_compiler_pic_CXX
15262 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15263 allow_undefined_flag_CXX=
15264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15265 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15268 test $ac_status = 0; }
15270 lt_cv_archive_cmds_need_lc_CXX=no
15272 lt_cv_archive_cmds_need_lc_CXX=yes
15274 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15276 cat conftest.err 1>&5
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15282 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15283 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15354 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15356 library_names_spec=
15357 libname_spec='lib$name'
15361 postuninstall_cmds=
15365 shlibpath_overrides_runpath=unknown
15367 dynamic_linker="$host_os ld.so"
15368 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15369 need_lib_prefix=unknown
15370 hardcode_into_libs=no
15372 # when you set need_version to no, make sure it does not cause -set_version
15373 # flags to be left without arguments
15374 need_version=unknown
15379 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15380 shlibpath_var=LIBPATH
15382 # AIX 3 has no versioning support, so we append a major version to the name.
15383 soname_spec='${libname}${release}${shared_ext}$major'
15390 hardcode_into_libs=yes
15391 if test "$host_cpu" = ia64; then
15392 # AIX 5 supports IA64
15393 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15394 shlibpath_var=LD_LIBRARY_PATH
15396 # With GCC up to 2.95.x, collect2 would create an import file
15397 # for dependence libraries. The import file would start with
15398 # the line `#! .'. This would cause the generated library to
15399 # depend on `.', always an invalid library. This was fixed in
15400 # development snapshots of GCC prior to 3.0.
15402 aix4 | aix4.[01] | aix4.[01].*)
15403 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15405 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15408 can_build_shared=no
15412 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15413 # soname into executable. Probably we can add versioning support to
15414 # collect2, so additional links can be useful in future.
15415 if test "$aix_use_runtimelinking" = yes; then
15416 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15417 # instead of lib<name>.a to let people know that these are not
15418 # typical AIX shared libraries.
15419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15421 # We preserve .a as extension for shared libraries through AIX4.2
15422 # and later when we are not doing run time linking.
15423 library_names_spec='${libname}${release}.a $libname.a'
15424 soname_spec='${libname}${release}${shared_ext}$major'
15426 shlibpath_var=LIBPATH
15433 # Since July 2007 AmigaOS4 officially supports .so libraries.
15434 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 library_names_spec='$libname.ixlibrary $libname.a'
15439 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15440 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
15446 library_names_spec='${libname}${shared_ext}'
15447 dynamic_linker="$host_os ld.so"
15448 shlibpath_var=LIBRARY_PATH
15454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 soname_spec='${libname}${release}${shared_ext}$major'
15456 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15457 shlibpath_var=LD_LIBRARY_PATH
15458 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15459 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15460 # the default ld.so.conf also contains /usr/contrib/lib and
15461 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15462 # libtool to hard-code these into programs
15465 cygwin* | mingw* | pw32* | cegcc*)
15466 version_type=windows
15471 case $GCC,$cc_basename in
15474 library_names_spec='$libname.dll.a'
15475 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15476 postinstall_cmds='base_file=`basename \${file}`~
15477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15478 dldir=$destdir/`dirname \$dlpath`~
15479 test -d \$dldir || mkdir -p \$dldir~
15480 $install_prog $dir/$dlname \$dldir/$dlname~
15481 chmod a+x \$dldir/$dlname~
15482 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15483 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15485 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15486 dlpath=$dir/\$dldll~
15488 shlibpath_overrides_runpath=yes
15492 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15493 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15497 # MinGW DLLs use traditional 'lib' prefix
15498 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15501 # pw32 DLLs use 'pw' prefix rather than 'lib'
15502 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15505 dynamic_linker='Win32 ld.exe'
15510 libname_spec='$name'
15511 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15512 library_names_spec='${libname}.dll.lib'
15516 sys_lib_search_path_spec=
15519 for lt_path in $LIB
15522 # Let DOS variable expansion print the short 8.3 style file name.
15523 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15524 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15527 # Convert to MSYS style.
15528 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15531 # Convert to unix form, then to dos form, then back to unix form
15532 # but this time dos style (no spaces!) so that the unix form looks
15533 # like /cygdrive/c/PROGRA~1:/cygdr...
15534 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15535 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15536 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15539 sys_lib_search_path_spec="$LIB"
15540 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15541 # It is most probably a Windows format PATH.
15542 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15544 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15546 # FIXME: find the short name or the path components, as spaces are
15547 # common. (e.g. "Program Files" -> "PROGRA~1")
15551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15552 postinstall_cmds='base_file=`basename \${file}`~
15553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15554 dldir=$destdir/`dirname \$dlpath`~
15555 test -d \$dldir || mkdir -p \$dldir~
15556 $install_prog $dir/$dlname \$dldir/$dlname'
15557 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15558 dlpath=$dir/\$dldll~
15560 shlibpath_overrides_runpath=yes
15561 dynamic_linker='Win32 link.exe'
15565 # Assume MSVC wrapper
15566 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15567 dynamic_linker='Win32 ld.exe'
15570 # FIXME: first we should search . and the directory the executable is in
15574 darwin* | rhapsody*)
15575 dynamic_linker="$host_os dyld"
15576 version_type=darwin
15579 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15580 soname_spec='${libname}${release}${major}$shared_ext'
15581 shlibpath_overrides_runpath=yes
15582 shlibpath_var=DYLD_LIBRARY_PATH
15583 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15585 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15593 soname_spec='${libname}${release}${shared_ext}$major'
15594 shlibpath_var=LD_LIBRARY_PATH
15601 freebsd* | dragonfly*)
15602 # DragonFly does not have aout. When/if they implement a new
15603 # versioning mechanism, adjust this.
15604 if test -x /usr/bin/objformat; then
15605 objformat=`/usr/bin/objformat`
15608 freebsd[123]*) objformat=aout ;;
15609 *) objformat=elf ;;
15612 version_type=freebsd-$objformat
15613 case $version_type in
15615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15620 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15624 shlibpath_var=LD_LIBRARY_PATH
15627 shlibpath_overrides_runpath=yes
15629 freebsd3.[01]* | freebsdelf3.[01]*)
15630 shlibpath_overrides_runpath=yes
15631 hardcode_into_libs=yes
15633 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15634 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15635 shlibpath_overrides_runpath=no
15636 hardcode_into_libs=yes
15638 *) # from 4.6 on, and DragonFly
15639 shlibpath_overrides_runpath=yes
15640 hardcode_into_libs=yes
15649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15650 soname_spec='${libname}${release}${shared_ext}$major'
15651 shlibpath_var=LD_LIBRARY_PATH
15652 hardcode_into_libs=yes
15659 dynamic_linker="$host_os runtime_loader"
15660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15661 soname_spec='${libname}${release}${shared_ext}$major'
15662 shlibpath_var=LIBRARY_PATH
15663 shlibpath_overrides_runpath=yes
15664 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15665 hardcode_into_libs=yes
15668 hpux9* | hpux10* | hpux11*)
15669 # Give a soname corresponding to the major version so that dld.sl refuses to
15670 # link against other versions.
15677 hardcode_into_libs=yes
15678 dynamic_linker="$host_os dld.so"
15679 shlibpath_var=LD_LIBRARY_PATH
15680 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15682 soname_spec='${libname}${release}${shared_ext}$major'
15683 if test "X$HPUX_IA64_MODE" = X32; then
15684 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15686 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15688 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15692 hardcode_into_libs=yes
15693 dynamic_linker="$host_os dld.sl"
15694 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15695 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 soname_spec='${libname}${release}${shared_ext}$major'
15698 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15699 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15703 dynamic_linker="$host_os dld.sl"
15704 shlibpath_var=SHLIB_PATH
15705 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15707 soname_spec='${libname}${release}${shared_ext}$major'
15710 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15711 postinstall_cmds='chmod 555 $lib'
15712 # or fails outright, so override atomically:
15713 install_override_mode=555
15720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15721 soname_spec='${libname}${release}${shared_ext}$major'
15722 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15723 shlibpath_var=LD_LIBRARY_PATH
15724 shlibpath_overrides_runpath=no
15725 hardcode_into_libs=yes
15728 irix5* | irix6* | nonstopux*)
15730 nonstopux*) version_type=nonstopux ;;
15732 if test "$lt_cv_prog_gnu_ld" = yes; then
15740 soname_spec='${libname}${release}${shared_ext}$major'
15741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15743 irix5* | nonstopux*)
15744 libsuff= shlibsuff=
15747 case $LD in # libtool.m4 will add one of these switches to LD
15748 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15749 libsuff= shlibsuff= libmagic=32-bit;;
15750 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15751 libsuff=32 shlibsuff=N32 libmagic=N32;;
15752 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15753 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15754 *) libsuff= shlibsuff= libmagic=never-match;;
15758 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15759 shlibpath_overrides_runpath=no
15760 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15761 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15762 hardcode_into_libs=yes
15765 # No shared lib support for Linux oldld, aout, or coff.
15766 linux*oldld* | linux*aout* | linux*coff*)
15770 # This must be Linux ELF.
15771 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15776 soname_spec='${libname}${release}${shared_ext}$major'
15777 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15778 shlibpath_var=LD_LIBRARY_PATH
15779 shlibpath_overrides_runpath=no
15781 # Some binutils ld are patched to set DT_RUNPATH
15782 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15783 $as_echo_n "(cached) " >&6
15785 lt_cv_shlibpath_overrides_runpath=no
15786 save_LDFLAGS=$LDFLAGS
15787 save_libdir=$libdir
15788 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15789 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15801 if ac_fn_cxx_try_link "$LINENO"; then :
15802 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15803 lt_cv_shlibpath_overrides_runpath=yes
15806 rm -f core conftest.err conftest.$ac_objext \
15807 conftest$ac_exeext conftest.$ac_ext
15808 LDFLAGS=$save_LDFLAGS
15809 libdir=$save_libdir
15813 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15815 # This implies no fast_install, which is unacceptable.
15816 # Some rework will be needed to allow for fast_install
15817 # before this can be enabled.
15818 hardcode_into_libs=yes
15820 # Append ld.so.conf contents to the search path
15821 if test -f /etc/ld.so.conf; then
15822 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;s/"//g;/^$/d' | tr '\n' ' '`
15823 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15826 # We used to test for /lib/ld.so.1 and disable shared libraries on
15827 # powerpc, because MkLinux only supported shared libraries with the
15828 # GNU dynamic linker. Since this was broken with cross compilers,
15829 # most powerpc-linux boxes support dynamic linking these days and
15830 # people can always --disable-shared, the test was removed, and we
15831 # assume the GNU/Linux dynamic linker is in use.
15832 dynamic_linker='GNU/Linux ld.so'
15839 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15841 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15842 dynamic_linker='NetBSD (a.out) ld.so'
15844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15845 soname_spec='${libname}${release}${shared_ext}$major'
15846 dynamic_linker='NetBSD ld.elf_so'
15848 shlibpath_var=LD_LIBRARY_PATH
15849 shlibpath_overrides_runpath=yes
15850 hardcode_into_libs=yes
15855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15856 shlibpath_var=LD_LIBRARY_PATH
15857 shlibpath_overrides_runpath=yes
15864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15865 soname_spec='${libname}${release}${shared_ext}$major'
15866 shlibpath_var=LD_LIBRARY_PATH
15867 shlibpath_overrides_runpath=no
15868 hardcode_into_libs=yes
15869 dynamic_linker='ldqnx.so'
15874 sys_lib_dlsearch_path_spec="/usr/lib"
15876 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15878 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15879 *) need_version=no ;;
15881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15883 shlibpath_var=LD_LIBRARY_PATH
15884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15886 openbsd2.[89] | openbsd2.[89].*)
15887 shlibpath_overrides_runpath=no
15890 shlibpath_overrides_runpath=yes
15894 shlibpath_overrides_runpath=yes
15899 libname_spec='$name'
15902 library_names_spec='$libname${shared_ext} $libname.a'
15903 dynamic_linker='OS/2 ld.exe'
15904 shlibpath_var=LIBPATH
15907 osf3* | osf4* | osf5*)
15911 soname_spec='${libname}${release}${shared_ext}$major'
15912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15913 shlibpath_var=LD_LIBRARY_PATH
15914 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15915 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec='${libname}${release}${shared_ext}$major'
15928 shlibpath_var=LD_LIBRARY_PATH
15929 shlibpath_overrides_runpath=yes
15930 hardcode_into_libs=yes
15931 # ldd complains unless libraries are executable
15932 postinstall_cmds='chmod +x $lib'
15937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15938 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15939 shlibpath_var=LD_LIBRARY_PATH
15940 shlibpath_overrides_runpath=yes
15941 if test "$with_gnu_ld" = yes; then
15949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15950 soname_spec='${libname}${release}${shared_ext}$major'
15951 shlibpath_var=LD_LIBRARY_PATH
15952 case $host_vendor in
15954 shlibpath_overrides_runpath=no
15956 runpath_var=LD_RUN_PATH
15964 shlibpath_overrides_runpath=no
15965 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15971 if test -d /usr/nec ;then
15973 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15974 soname_spec='$libname${shared_ext}.$major'
15975 shlibpath_var=LD_LIBRARY_PATH
15979 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15980 version_type=freebsd-elf
15983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15984 soname_spec='${libname}${release}${shared_ext}$major'
15985 shlibpath_var=LD_LIBRARY_PATH
15986 shlibpath_overrides_runpath=yes
15987 hardcode_into_libs=yes
15988 if test "$with_gnu_ld" = yes; then
15989 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15991 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15994 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15998 sys_lib_dlsearch_path_spec='/usr/lib'
16002 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16007 shlibpath_var=LD_LIBRARY_PATH
16008 shlibpath_overrides_runpath=no
16009 hardcode_into_libs=yes
16014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16015 soname_spec='${libname}${release}${shared_ext}$major'
16016 shlibpath_var=LD_LIBRARY_PATH
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16024 $as_echo "$dynamic_linker" >&6; }
16025 test "$dynamic_linker" = no && can_build_shared=no
16027 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16028 if test "$GCC" = yes; then
16029 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16032 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16033 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16035 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16036 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16077 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16078 hardcode_action_CXX=
16079 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16080 test -n "$runpath_var_CXX" ||
16081 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16083 # We can hardcode non-existent directories.
16084 if test "$hardcode_direct_CXX" != no &&
16085 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16086 # have to relink, otherwise we might link with an installed library
16087 # when we should be linking with a yet-to-be-installed one
16088 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16089 test "$hardcode_minus_L_CXX" != no; then
16090 # Linking always hardcodes the temporary library directory.
16091 hardcode_action_CXX=relink
16093 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16094 hardcode_action_CXX=immediate
16097 # We cannot hardcode anything, or else we can only hardcode existing
16099 hardcode_action_CXX=unsupported
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16102 $as_echo "$hardcode_action_CXX" >&6; }
16104 if test "$hardcode_action_CXX" = relink ||
16105 test "$inherit_rpath_CXX" = yes; then
16106 # Fast installation is not supported
16107 enable_fast_install=no
16108 elif test "$shlibpath_overrides_runpath" = yes ||
16109 test "$enable_shared" = no; then
16110 # Fast installation is not necessary
16111 enable_fast_install=needless
16120 fi # test -n "$compiler"
16123 CFLAGS=$lt_save_CFLAGS
16127 with_gnu_ld=$lt_save_with_gnu_ld
16128 lt_cv_path_LDCXX=$lt_cv_path_LD
16129 lt_cv_path_LD=$lt_save_path_LD
16130 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16131 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16132 fi # test "$_lt_caught_CXX_error" != yes
16135 ac_cpp='$CPP $CPPFLAGS'
16136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16152 ac_config_commands="$ac_config_commands libtool"
16157 # Only expand once:
16162 # Check whether --with-target-subdir was given.
16163 if test "${with_target_subdir+set}" = set; then :
16164 withval=$with_target_subdir;
16168 # Check whether --with-cross-host was given.
16169 if test "${with_cross_host+set}" = set; then :
16170 withval=$with_cross_host;
16174 # automake wants to see AC_EXEEXT. But we don't need it. And having
16175 # it is actually a problem, because the compiler we're passed can't
16176 # necessarily do a full link. So we fool automake here.
16178 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
16179 # to nothing, so nothing would remain between `then' and `fi' if it
16180 # were not for the `:' below.
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Solaris gcc optimization fix is necessary" >&5
16186 $as_echo_n "checking whether Solaris gcc optimization fix is necessary... " >&6; }
16189 if test "$GCC" = yes; then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16191 $as_echo "yes" >&6; }
16193 for i in $CFLAGS; do
16198 new_CFLAGS="$new_CFLAGS $i"
16202 CFLAGS="$new_CFLAGS"
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205 $as_echo "no" >&6; }
16208 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16209 $as_echo "no" >&6; } ;;
16213 $as_echo "#define NO_EXECUTE_PERMISSION 1" >>confdefs.h
16216 $as_echo "#define ALL_INTERIOR_POINTERS 1" >>confdefs.h
16220 # Check whether --enable-gcj-support was given.
16221 if test "${enable_gcj_support+set}" = set; then :
16222 enableval=$enable_gcj_support;
16225 if test x"$enable_gcj_support" != xno; then
16226 ENABLE_GCJ_SUPPORT_TRUE=
16227 ENABLE_GCJ_SUPPORT_FALSE='#'
16229 ENABLE_GCJ_SUPPORT_TRUE='#'
16230 ENABLE_GCJ_SUPPORT_FALSE=
16233 if test x"$enable_gcj_support" != xno; then
16235 $as_echo "#define GC_GCJ_SUPPORT 1" >>confdefs.h
16244 # Check whether --enable-gc-debug was given.
16245 if test "${enable_gc_debug+set}" = set; then :
16246 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Should define GC_DEBUG and use debug alloc. in clients.\"" >&5
16248 $as_echo "$as_me: WARNING: \"Should define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
16250 $as_echo "#define KEEP_BACK_PTRS 1" >>confdefs.h
16252 keep_back_ptrs=true
16254 $as_echo "#define DBG_HDRS_ALL 1" >>confdefs.h
16258 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
16260 $as_echo "#define SAVE_CALL_COUNT 8" >>confdefs.h
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5
16263 $as_echo_n "checking for backtrace in -lunwind... " >&6; }
16264 if ${ac_cv_lib_unwind_backtrace+:} false; then :
16265 $as_echo_n "(cached) " >&6
16267 ac_check_lib_save_LIBS=$LIBS
16268 LIBS="-lunwind $LIBS"
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16282 return backtrace ();
16287 if ac_fn_c_try_link "$LINENO"; then :
16288 ac_cv_lib_unwind_backtrace=yes
16290 ac_cv_lib_unwind_backtrace=no
16292 rm -f core conftest.err conftest.$ac_objext \
16293 conftest$ac_exeext conftest.$ac_ext
16294 LIBS=$ac_check_lib_save_LIBS
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5
16297 $as_echo "$ac_cv_lib_unwind_backtrace" >&6; }
16298 if test "x$ac_cv_lib_unwind_backtrace" = xyes; then :
16300 $as_echo "#define GC_HAVE_BUILTIN_BACKTRACE 1" >>confdefs.h
16302 UNWINDLIBS=-lunwind
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client code may need to link against libunwind.\"" >&5
16304 $as_echo "$as_me: WARNING: \"Client code may need to link against libunwind.\"" >&2;}
16309 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
16310 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
16313 $as_echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
16314 $as_echo "#define SAVE_CALL_COUNT 8" >>confdefs.h
16318 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
16325 if test x"$keep_back_ptrs" = xtrue; then
16326 KEEP_BACK_PTRS_TRUE=
16327 KEEP_BACK_PTRS_FALSE='#'
16329 KEEP_BACK_PTRS_TRUE='#'
16330 KEEP_BACK_PTRS_FALSE=
16334 # Check for AViiON Machines running DGUX
16336 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
16337 if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
16343 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
16344 if test $ac_is_dgux = yes; then
16345 dgux_spec_opts="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
16346 CFLAGS="$dgux_spec_opts $CFLAGS"
16347 CXXFLAGS="$dgux_spec_opts $CXXFLAGS"
16348 if test "$enable_gc_debug" = "yes"; then
16349 CFLAGS="-g -mstandard $CFLAGS"
16350 CXXFLAGS="-g -mstandard $CXXFLAGS"
16356 # Check whether --enable-java-finalization was given.
16357 if test "${enable_java_finalization+set}" = set; then :
16358 enableval=$enable_java_finalization;
16361 if test x"$enable_java_finalization" != xno; then
16363 $as_echo "#define JAVA_FINALIZATION 1" >>confdefs.h
16367 # Check whether --enable-atomic-uncollectable was given.
16368 if test "${enable_atomic_uncollectable+set}" = set; then :
16369 enableval=$enable_atomic_uncollectable;
16372 if test x"$enable_atomic_uncollectible" != x"no"; then
16374 $as_echo "#define ATOMIC_UNCOLLECTABLE 1" >>confdefs.h
16378 # Check whether --enable-redirect-malloc was given.
16379 if test "${enable_redirect_malloc+set}" = set; then :
16380 enableval=$enable_redirect_malloc;
16384 if test "${enable_redirect_malloc}" = yes; then
16385 if test "${enable_gc_debug}" = yes; then
16387 $as_echo "#define REDIRECT_MALLOC GC_debug_malloc_replacement" >>confdefs.h
16390 $as_echo "#define REDIRECT_REALLOC GC_debug_realloc_replacement" >>confdefs.h
16393 $as_echo "#define REDIRECT_FREE GC_debug_free" >>confdefs.h
16396 $as_echo "#define REDIRECT_MALLOC GC_malloc" >>confdefs.h
16400 $as_echo "#define GC_USE_DLOPEN_WRAP 1" >>confdefs.h
16404 # Check whether --enable-large-config was given.
16405 if test "${enable_large_config+set}" = set; then :
16406 enableval=$enable_large_config;
16410 if test "${enable_large_config}" = yes; then
16412 $as_echo "#define LARGE_CONFIG 1" >>confdefs.h
16416 # Check whether --enable-handle-fork was given.
16417 if test "${enable_handle_fork+set}" = set; then :
16418 enableval=$enable_handle_fork;
16422 if test "${enable_handle_fork}" = yes; then
16424 $as_echo "#define HANDLE_FORK 1" >>confdefs.h
16426 elif test "${enable_handle_fork}" = no; then
16428 $as_echo "#define NO_HANDLE_FORK 1" >>confdefs.h
16432 if test -n "${with_cross_host}"; then
16434 $as_echo "#define NO_CLOCK 1" >>confdefs.h
16437 $as_echo "#define SMALL_CONFIG 1" >>confdefs.h
16441 if test "$enable_gc_debug" == "no"; then
16443 $as_echo "#define NO_DEBUGGING 1" >>confdefs.h
16449 # Check whether --enable-gc-assertions was given.
16450 if test "${enable_gc_assertions+set}" = set; then :
16451 enableval=$enable_gc_assertions;
16454 if test "${enable_gc_assertions}" = yes; then
16456 $as_echo "#define GC_ASSERTIONS 1" >>confdefs.h
16460 # Check whether --enable-munmap was given.
16461 if test "${enable_munmap+set}" = set; then :
16462 enableval=$enable_munmap; MUNMAP_THRESHOLD=$enableval;
16465 as_fn_error $? "--enable-munmap requires --enable-mmap" "$LINENO" 5
16471 if test "${enable_munmap}" != ""; then
16473 $as_echo "#define USE_MMAP 1" >>confdefs.h
16476 $as_echo "#define USE_MUNMAP 1" >>confdefs.h
16478 if test "${MUNMAP_THRESHOLD}" = "yes"; then
16482 cat >>confdefs.h <<_ACEOF
16483 #define MUNMAP_THRESHOLD ${MUNMAP_THRESHOLD}
16488 if test -z "$with_cross_host"; then
16490 USE_LIBDIR_FALSE='#'
16492 USE_LIBDIR_TRUE='#'
16501 # Do we want to use an external libatomic_ops? By default use it if it's
16504 # Check whether --with-libatomic-ops was given.
16505 if test "${with_libatomic_ops+set}" = set; then :
16506 withval=$with_libatomic_ops;
16508 with_libatomic_ops=check
16512 # Check for an external libatomic_ops if the answer was yes or check. If not
16513 # found, fail on yes, and convert check to no.
16516 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16517 if test -n "$ac_tool_prefix"; then
16518 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16519 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16521 $as_echo_n "checking for $ac_word... " >&6; }
16522 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16523 $as_echo_n "(cached) " >&6
16525 case $PKG_CONFIG in
16527 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531 for as_dir in $PATH
16534 test -z "$as_dir" && as_dir=.
16535 for ac_exec_ext in '' $ac_executable_extensions; do
16536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16537 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16548 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16549 if test -n "$PKG_CONFIG"; then
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16551 $as_echo "$PKG_CONFIG" >&6; }
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16554 $as_echo "no" >&6; }
16559 if test -z "$ac_cv_path_PKG_CONFIG"; then
16560 ac_pt_PKG_CONFIG=$PKG_CONFIG
16561 # Extract the first word of "pkg-config", so it can be a program name with args.
16562 set dummy pkg-config; ac_word=$2
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16564 $as_echo_n "checking for $ac_word... " >&6; }
16565 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16566 $as_echo_n "(cached) " >&6
16568 case $ac_pt_PKG_CONFIG in
16570 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16574 for as_dir in $PATH
16577 test -z "$as_dir" && as_dir=.
16578 for ac_exec_ext in '' $ac_executable_extensions; do
16579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16580 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16591 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16592 if test -n "$ac_pt_PKG_CONFIG"; then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16594 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16600 if test "x$ac_pt_PKG_CONFIG" = x; then
16603 case $cross_compiling:$ac_tool_warned in
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16607 ac_tool_warned=yes ;;
16609 PKG_CONFIG=$ac_pt_PKG_CONFIG
16612 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16616 if test -n "$PKG_CONFIG"; then
16617 _pkg_min_version=0.9.0
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16619 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16620 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16622 $as_echo "yes" >&6; }
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16625 $as_echo "no" >&6; }
16630 if test x"$with_libatomic_ops" != xno; then :
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATOMIC_OPS" >&5
16634 $as_echo_n "checking for ATOMIC_OPS... " >&6; }
16636 if test -n "$PKG_CONFIG"; then
16637 if test -n "$ATOMIC_OPS_CFLAGS"; then
16638 pkg_cv_ATOMIC_OPS_CFLAGS="$ATOMIC_OPS_CFLAGS"
16640 if test -n "$PKG_CONFIG" && \
16641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atomic_ops\""; } >&5
16642 ($PKG_CONFIG --exists --print-errors "atomic_ops") 2>&5
16644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16645 test $ac_status = 0; }; then
16646 pkg_cv_ATOMIC_OPS_CFLAGS=`$PKG_CONFIG --cflags "atomic_ops" 2>/dev/null`
16654 if test -n "$PKG_CONFIG"; then
16655 if test -n "$ATOMIC_OPS_LIBS"; then
16656 pkg_cv_ATOMIC_OPS_LIBS="$ATOMIC_OPS_LIBS"
16658 if test -n "$PKG_CONFIG" && \
16659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atomic_ops\""; } >&5
16660 ($PKG_CONFIG --exists --print-errors "atomic_ops") 2>&5
16662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16663 test $ac_status = 0; }; then
16664 pkg_cv_ATOMIC_OPS_LIBS=`$PKG_CONFIG --libs "atomic_ops" 2>/dev/null`
16675 if test $pkg_failed = yes; then
16677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16678 _pkg_short_errors_supported=yes
16680 _pkg_short_errors_supported=no
16682 if test $_pkg_short_errors_supported = yes; then
16683 ATOMIC_OPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "atomic_ops"`
16685 ATOMIC_OPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "atomic_ops"`
16687 # Put the nasty error message in config.log where it belongs
16688 echo "$ATOMIC_OPS_PKG_ERRORS" >&5
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16691 $as_echo "no" >&6; }
16692 if test x"$with_libatomic_ops" != xcheck; then :
16693 as_fn_error $? "A external libatomic_ops was not found." "$LINENO" 5
16695 with_libatomic_ops=no
16696 elif test $pkg_failed = untried; then
16697 if test x"$with_libatomic_ops" != xcheck; then :
16698 as_fn_error $? "A external libatomic_ops was not found." "$LINENO" 5
16700 with_libatomic_ops=no
16702 ATOMIC_OPS_CFLAGS=$pkg_cv_ATOMIC_OPS_CFLAGS
16703 ATOMIC_OPS_LIBS=$pkg_cv_ATOMIC_OPS_LIBS
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16705 $as_echo "yes" >&6; }
16710 # If we have neither an external or an internal version, offer a useful hint
16712 if test x"$with_libatomic_ops" = xno -a ! -e "$srcdir/libatomic_ops"; then :
16713 as_fn_error $? "libatomic_ops is required. You can either install it on your system, or fetch and unpack a recent version into the source directory and link or rename it to libatomic_ops." "$LINENO" 5
16716 # Finally, emit the definitions for bundled or external AO.
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which libatomic_ops to use" >&5
16718 $as_echo_n "checking which libatomic_ops to use... " >&6; }
16721 if test x"$with_libatomic_ops" != xno; then :
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
16723 $as_echo "external" >&6; }
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
16726 $as_echo "internal" >&6; }
16727 ATOMIC_OPS_CFLAGS='-I$(top_builddir)/libatomic_ops/src -I$(top_srcdir)/libatomic_ops/src'
16730 subdirs="$subdirs libatomic_ops"
16734 if test x$with_libatomic_ops = xno -a x"$THREADS" != xnone; then
16735 USE_INTERNAL_LIBATOMIC_OPS_TRUE=
16736 USE_INTERNAL_LIBATOMIC_OPS_FALSE='#'
16738 USE_INTERNAL_LIBATOMIC_OPS_TRUE='#'
16739 USE_INTERNAL_LIBATOMIC_OPS_FALSE=
16742 if test x$with_libatomic_ops = xno -a x$need_atomic_ops_asm = xtrue; then
16743 NEED_ATOMIC_OPS_ASM_TRUE=
16744 NEED_ATOMIC_OPS_ASM_FALSE='#'
16746 NEED_ATOMIC_OPS_ASM_TRUE='#'
16747 NEED_ATOMIC_OPS_ASM_FALSE=
16752 ac_config_files="$ac_config_files Makefile bdw-gc.pc"
16755 ac_config_commands="$ac_config_commands default"
16758 cat >confcache <<\_ACEOF
16759 # This file is a shell script that caches the results of configure
16760 # tests run on this system so they can be shared between configure
16761 # scripts and configure runs, see configure's option --config-cache.
16762 # It is not useful on other systems. If it contains results you don't
16763 # want to keep, you may remove or edit it.
16765 # config.status only pays attention to the cache file if you give it
16766 # the --recheck option to rerun configure.
16768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16770 # following values.
16774 # The following way of writing the cache mishandles newlines in values,
16775 # but we know of no workaround that is simple, portable, and efficient.
16776 # So, we kill variables containing newlines.
16777 # Ultrix sh set writes to stderr and can't be redirected directly,
16778 # and sets the high bit in the cache file unless we assign to the vars.
16780 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16781 eval ac_val=\$$ac_var
16785 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16786 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16789 _ | IFS | as_nl) ;; #(
16790 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16791 *) { eval $ac_var=; unset $ac_var;} ;;
16797 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16798 *${as_nl}ac_space=\ *)
16799 # `set' does not quote correctly, so add quotes: double-quote
16800 # substitution turns \\\\ into \\, and sed turns \\ into \.
16803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16806 # `set' quotes correctly as required by POSIX, so do not add quotes.
16807 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16816 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16818 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16820 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16821 if test -w "$cache_file"; then
16822 if test "x$cache_file" != "x/dev/null"; then
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16824 $as_echo "$as_me: updating cache $cache_file" >&6;}
16825 if test ! -f "$cache_file" || test -h "$cache_file"; then
16826 cat confcache >"$cache_file"
16828 case $cache_file in #(
16830 mv -f confcache "$cache_file"$$ &&
16831 mv -f "$cache_file"$$ "$cache_file" ;; #(
16833 mv -f confcache "$cache_file" ;;
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16839 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16844 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16845 # Let make expand exec_prefix.
16846 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16848 DEFS=-DHAVE_CONFIG_H
16853 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16854 # 1. Remove the extension, and $U if already installed.
16855 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16856 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16857 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16858 # will be set to the directory where LIBOBJS objects are built.
16859 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16860 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16862 LIBOBJS=$ac_libobjs
16864 LTLIBOBJS=$ac_ltlibobjs
16867 if test -n "$EXEEXT"; then
16869 am__EXEEXT_FALSE='#'
16871 am__EXEEXT_TRUE='#'
16875 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16876 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16879 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16880 as_fn_error $? "conditional \"AMDEP\" was never defined.
16881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16883 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16884 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16887 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16888 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16891 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16892 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
16893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16895 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
16896 as_fn_error $? "conditional \"THREADS\" was never defined.
16897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16899 if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
16900 as_fn_error $? "conditional \"PTHREADS\" was never defined.
16901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16903 if test -z "${DARWIN_THREADS_TRUE}" && test -z "${DARWIN_THREADS_FALSE}"; then
16904 as_fn_error $? "conditional \"DARWIN_THREADS\" was never defined.
16905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16907 if test -z "${WIN32_THREADS_TRUE}" && test -z "${WIN32_THREADS_FALSE}"; then
16908 as_fn_error $? "conditional \"WIN32_THREADS\" was never defined.
16909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16911 if test -z "${OPENBSD_THREADS_TRUE}" && test -z "${OPENBSD_THREADS_FALSE}"; then
16912 as_fn_error $? "conditional \"OPENBSD_THREADS\" was never defined.
16913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16915 if test -z "${COMPILER_XLC_TRUE}" && test -z "${COMPILER_XLC_FALSE}"; then
16916 as_fn_error $? "conditional \"COMPILER_XLC\" was never defined.
16917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16919 if test -z "${AVOID_CPP_LIB_TRUE}" && test -z "${AVOID_CPP_LIB_FALSE}"; then
16920 as_fn_error $? "conditional \"AVOID_CPP_LIB\" was never defined.
16921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16923 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16924 as_fn_error $? "conditional \"CPLUSPLUS\" was never defined.
16925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16927 if test -z "${ENABLE_GCJ_SUPPORT_TRUE}" && test -z "${ENABLE_GCJ_SUPPORT_FALSE}"; then
16928 as_fn_error $? "conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
16929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16931 if test -z "${KEEP_BACK_PTRS_TRUE}" && test -z "${KEEP_BACK_PTRS_FALSE}"; then
16932 as_fn_error $? "conditional \"KEEP_BACK_PTRS\" was never defined.
16933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16935 if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
16936 as_fn_error $? "conditional \"USE_LIBDIR\" was never defined.
16937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16939 if test -z "${USE_INTERNAL_LIBATOMIC_OPS_TRUE}" && test -z "${USE_INTERNAL_LIBATOMIC_OPS_FALSE}"; then
16940 as_fn_error $? "conditional \"USE_INTERNAL_LIBATOMIC_OPS\" was never defined.
16941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16943 if test -z "${NEED_ATOMIC_OPS_ASM_TRUE}" && test -z "${NEED_ATOMIC_OPS_ASM_FALSE}"; then
16944 as_fn_error $? "conditional \"NEED_ATOMIC_OPS_ASM\" was never defined.
16945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16948 : "${CONFIG_STATUS=./config.status}"
16950 ac_clean_files_save=$ac_clean_files
16951 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16953 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16955 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16957 # Generated by $as_me.
16958 # Run this file to recreate the current configuration.
16959 # Compiler output produced by configure, useful for debugging
16960 # configure, is in config.log if it exists.
16963 ac_cs_recheck=false
16966 SHELL=\${CONFIG_SHELL-$SHELL}
16969 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16970 ## -------------------- ##
16971 ## M4sh Initialization. ##
16972 ## -------------------- ##
16974 # Be more Bourne compatible
16975 DUALCASE=1; export DUALCASE # for MKS sh
16976 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16979 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16980 # is contrary to our usage. Disable this feature.
16981 alias -g '${1+"$@"}'='"$@"'
16982 setopt NO_GLOB_SUBST
16984 case `(set -o) 2>/dev/null` in #(
16996 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16997 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16998 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17000 # Prefer a ksh shell builtin over an external printf program on Solaris,
17001 # but without wasting forks for bash or zsh.
17002 if test -z "$BASH_VERSION$ZSH_VERSION" \
17003 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17004 as_echo='print -r --'
17005 as_echo_n='print -rn --'
17006 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17007 as_echo='printf %s\n'
17008 as_echo_n='printf %s'
17010 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17011 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17012 as_echo_n='/usr/ucb/echo -n'
17014 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17015 as_echo_n_body='eval
17019 expr "X$arg" : "X\\(.*\\)$as_nl";
17020 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17022 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17024 export as_echo_n_body
17025 as_echo_n='sh -c $as_echo_n_body as_echo'
17027 export as_echo_body
17028 as_echo='sh -c $as_echo_body as_echo'
17031 # The user is always right.
17032 if test "${PATH_SEPARATOR+set}" != set; then
17034 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17035 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17042 # We need space, tab and new line, in precisely that order. Quoting is
17043 # there to prevent editors from complaining about space-tab.
17044 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17045 # splitting by setting IFS to empty value.)
17048 # Find who we are. Look in the path if we contain no directory separator.
17051 *[\\/]* ) as_myself=$0 ;;
17052 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17053 for as_dir in $PATH
17056 test -z "$as_dir" && as_dir=.
17057 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17063 # We did not find ourselves, most probably we were run as `sh COMMAND'
17064 # in which case we are not to be found in the path.
17065 if test "x$as_myself" = x; then
17068 if test ! -f "$as_myself"; then
17069 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17073 # Unset variables that we do not need and which cause bugs (e.g. in
17074 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17075 # suppresses any "Segmentation fault" message there. '((' could
17076 # trigger a bug in pdksh 5.2.14.
17077 for as_var in BASH_ENV ENV MAIL MAILPATH
17078 do eval test x\${$as_var+set} = xset \
17079 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17095 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17096 # ----------------------------------------
17097 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17098 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17099 # script with STATUS, using 1 if that was 0.
17102 as_status=$1; test $as_status -eq 0 && as_status=1
17104 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17105 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17107 $as_echo "$as_me: error: $2" >&2
17108 as_fn_exit $as_status
17112 # as_fn_set_status STATUS
17113 # -----------------------
17114 # Set $? to STATUS, without forking.
17115 as_fn_set_status ()
17118 } # as_fn_set_status
17120 # as_fn_exit STATUS
17121 # -----------------
17122 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17126 as_fn_set_status $1
17132 # Portably unset VAR.
17135 { eval $1=; unset $1;}
17137 as_unset=as_fn_unset
17138 # as_fn_append VAR VALUE
17139 # ----------------------
17140 # Append the text in VALUE to the end of the definition contained in VAR. Take
17141 # advantage of any shell optimizations that allow amortized linear growth over
17142 # repeated appends, instead of the typical quadratic growth present in naive
17144 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17145 eval 'as_fn_append ()
17156 # as_fn_arith ARG...
17157 # ------------------
17158 # Perform arithmetic evaluation on the ARGs, and store the result in the
17159 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17160 # must be portable across $(()) and expr.
17161 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17162 eval 'as_fn_arith ()
17169 as_val=`expr "$@" || test $? -eq 1`
17174 if expr a : '\(a\)' >/dev/null 2>&1 &&
17175 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17181 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17182 as_basename=basename
17187 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17193 as_me=`$as_basename -- "$0" ||
17194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17195 X"$0" : 'X\(//\)$' \| \
17196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17198 sed '/^.*\/\([^/][^/]*\)\/*$/{
17212 # Avoid depending upon Character Ranges.
17213 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17214 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17215 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17216 as_cr_digits='0123456789'
17217 as_cr_alnum=$as_cr_Letters$as_cr_digits
17219 ECHO_C= ECHO_N= ECHO_T=
17220 case `echo -n x` in #(((((
17222 case `echo 'xy\c'` in
17223 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17225 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17232 rm -f conf$$ conf$$.exe conf$$.file
17233 if test -d conf$$.dir; then
17234 rm -f conf$$.dir/conf$$.file
17237 mkdir conf$$.dir 2>/dev/null
17239 if (echo >conf$$.file) 2>/dev/null; then
17240 if ln -s conf$$.file conf$$ 2>/dev/null; then
17242 # ... but there are two gotchas:
17243 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17244 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17245 # In both cases, we have to default to `cp -p'.
17246 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17248 elif ln conf$$.file conf$$ 2>/dev/null; then
17256 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17257 rmdir conf$$.dir 2>/dev/null
17262 # Create "$as_dir" as a directory, including parents if necessary.
17267 -*) as_dir=./$as_dir;;
17269 test -d "$as_dir" || eval $as_mkdir_p || {
17273 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17274 *) as_qdir=$as_dir;;
17276 as_dirs="'$as_qdir' $as_dirs"
17277 as_dir=`$as_dirname -- "$as_dir" ||
17278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17279 X"$as_dir" : 'X\(//\)[^/]' \| \
17280 X"$as_dir" : 'X\(//\)$' \| \
17281 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17282 $as_echo X"$as_dir" |
17283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17287 /^X\(\/\/\)[^/].*/{
17300 test -d "$as_dir" && break
17302 test -z "$as_dirs" || eval "mkdir $as_dirs"
17303 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17307 if mkdir -p . 2>/dev/null; then
17308 as_mkdir_p='mkdir -p "$as_dir"'
17310 test -d ./-p && rmdir ./-p
17314 if test -x / >/dev/null 2>&1; then
17315 as_test_x='test -x'
17317 if ls -dL / >/dev/null 2>&1; then
17324 if test -d "$1"; then
17330 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17331 ???[sx]*):;;*)false;;esac;fi
17335 as_executable_p=$as_test_x
17337 # Sed expression to map a string onto a valid CPP name.
17338 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17340 # Sed expression to map a string onto a valid variable name.
17341 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17345 ## ----------------------------------- ##
17346 ## Main body of $CONFIG_STATUS script. ##
17347 ## ----------------------------------- ##
17349 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17352 # Save the log message, to keep $0 and so on meaningful, and to
17353 # report actual input values of CONFIG_FILES etc. instead of their
17354 # values after options handling.
17356 This file was extended by gc $as_me 7.2, which was
17357 generated by GNU Autoconf 2.68. Invocation command line was
17359 CONFIG_FILES = $CONFIG_FILES
17360 CONFIG_HEADERS = $CONFIG_HEADERS
17361 CONFIG_LINKS = $CONFIG_LINKS
17362 CONFIG_COMMANDS = $CONFIG_COMMANDS
17365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17370 case $ac_config_files in *"
17371 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17374 case $ac_config_headers in *"
17375 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17380 # Files that config.status was made for.
17381 config_files="$ac_config_files"
17382 config_headers="$ac_config_headers"
17383 config_commands="$ac_config_commands"
17387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17389 \`$as_me' instantiates files and other configuration actions
17390 from templates according to the current configuration. Unless the files
17391 and actions are specified as TAGs, all are instantiated by default.
17393 Usage: $0 [OPTION]... [TAG]...
17395 -h, --help print this help, then exit
17396 -V, --version print version number and configuration settings, then exit
17397 --config print configuration, then exit
17398 -q, --quiet, --silent
17399 do not print progress messages
17400 -d, --debug don't remove temporary files
17401 --recheck update $as_me by reconfiguring in the same conditions
17402 --file=FILE[:TEMPLATE]
17403 instantiate the configuration file FILE
17404 --header=FILE[:TEMPLATE]
17405 instantiate the configuration header FILE
17407 Configuration files:
17410 Configuration headers:
17413 Configuration commands:
17416 Report bugs to <gc@linux.hpl.hp.com>."
17419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17420 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17422 gc config.status 7.2
17423 configured by $0, generated by GNU Autoconf 2.68,
17424 with options \\"\$ac_cs_config\\"
17426 Copyright (C) 2010 Free Software Foundation, Inc.
17427 This config.status script is free software; the Free Software Foundation
17428 gives unlimited permission to copy, distribute and modify it."
17435 test -n "\$AWK" || AWK=awk
17438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17439 # The default lists apply if the user does not specify any file.
17445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17446 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17462 # Handling of the options.
17463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17466 $as_echo "$ac_cs_version"; exit ;;
17467 --config | --confi | --conf | --con | --co | --c )
17468 $as_echo "$ac_cs_config"; exit ;;
17469 --debug | --debu | --deb | --de | --d | -d )
17471 --file | --fil | --fi | --f )
17474 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17475 '') as_fn_error $? "missing file argument" ;;
17477 as_fn_append CONFIG_FILES " '$ac_optarg'"
17478 ac_need_defaults=false;;
17479 --header | --heade | --head | --hea )
17482 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17484 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17485 ac_need_defaults=false;;
17487 # Conflict between --help and --header
17488 as_fn_error $? "ambiguous option: \`$1'
17489 Try \`$0 --help' for more information.";;
17490 --help | --hel | -h )
17491 $as_echo "$ac_cs_usage"; exit ;;
17492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17496 # This is an error.
17497 -*) as_fn_error $? "unrecognized option: \`$1'
17498 Try \`$0 --help' for more information." ;;
17500 *) as_fn_append ac_config_targets " $1"
17501 ac_need_defaults=false ;;
17507 ac_configure_extra_args=
17509 if $ac_cs_silent; then
17511 ac_configure_extra_args="$ac_configure_extra_args --silent"
17515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17516 if \$ac_cs_recheck; then
17517 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17519 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17520 CONFIG_SHELL='$SHELL'
17521 export CONFIG_SHELL
17526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17531 ## Running $as_me. ##
17537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17541 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17544 # The HP-UX ksh and POSIX shell print the target directory to stdout
17545 # if CDPATH is set.
17546 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17548 sed_quote_subst='$sed_quote_subst'
17549 double_quote_subst='$double_quote_subst'
17550 delay_variable_subst='$delay_variable_subst'
17551 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17552 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17553 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17554 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17555 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17556 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17557 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17558 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17559 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17560 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17561 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17562 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17563 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17564 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17565 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17566 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17567 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17568 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17569 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17570 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17571 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17572 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17573 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17574 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17575 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17576 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17577 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17578 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17579 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17580 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17581 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17582 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17583 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17584 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17585 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17586 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17587 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17588 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17589 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17590 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17591 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17592 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17593 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17594 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17595 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17596 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17597 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17598 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17599 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17600 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17601 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17602 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17603 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17604 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17605 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17606 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17607 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17608 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17609 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17610 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17611 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17612 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17613 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17614 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17615 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17616 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17617 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17618 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17619 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17620 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17621 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17622 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17623 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17624 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17625 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17626 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17627 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17628 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17629 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17630 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17631 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17632 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17633 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17634 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17635 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17636 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17637 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17638 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17639 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17640 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17641 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17642 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17643 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17644 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17645 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17646 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17647 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17648 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17649 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17650 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17651 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17652 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17653 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17654 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17655 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17656 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17657 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17658 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17659 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17660 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17661 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17662 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17663 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17664 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17665 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17666 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17667 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17668 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17669 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17670 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17671 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17672 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17673 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17674 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17675 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17676 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17677 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17678 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17679 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17680 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17681 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17682 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17683 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17684 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17685 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17686 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17687 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17688 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17689 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17690 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17691 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17692 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17693 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17694 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17695 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17696 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17697 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17698 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17699 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17700 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17701 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17702 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17703 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17704 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17705 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17706 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17707 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17708 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17709 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17710 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17711 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17712 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17713 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17714 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17715 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17716 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17717 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17718 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17719 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17720 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17721 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17722 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17723 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17724 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17725 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17726 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17727 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17728 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17729 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17730 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17731 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17732 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17733 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17734 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17735 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17738 LTCFLAGS='$LTCFLAGS'
17739 compiler='$compiler_DEFAULT'
17741 # A function that is used when there is no print builtin or printf.
17742 func_fallback_echo ()
17744 eval 'cat <<_LTECHO_EOF
17749 # Quote evaled strings.
17763 deplibs_check_method \
17768 sharedlib_from_linklib_cmd \
17771 archiver_list_spec \
17777 lt_cv_sys_global_symbol_pipe \
17778 lt_cv_sys_global_symbol_to_cdecl \
17779 lt_cv_sys_global_symbol_to_c_name_address \
17780 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17781 nm_file_list_spec \
17782 lt_prog_compiler_no_builtin_flag \
17783 lt_prog_compiler_pic \
17784 lt_prog_compiler_wl \
17785 lt_prog_compiler_static \
17786 lt_cv_prog_compiler_c_o \
17795 export_dynamic_flag_spec \
17796 whole_archive_flag_spec \
17797 compiler_needs_object \
17799 allow_undefined_flag \
17800 no_undefined_flag \
17801 hardcode_libdir_flag_spec \
17802 hardcode_libdir_flag_spec_ld \
17803 hardcode_libdir_separator \
17807 variables_saved_for_relink \
17809 library_names_spec \
17811 install_override_mode \
17815 compiler_lib_search_dirs \
17820 compiler_lib_search_path \
17824 lt_prog_compiler_no_builtin_flag_CXX \
17825 lt_prog_compiler_pic_CXX \
17826 lt_prog_compiler_wl_CXX \
17827 lt_prog_compiler_static_CXX \
17828 lt_cv_prog_compiler_c_o_CXX \
17829 export_dynamic_flag_spec_CXX \
17830 whole_archive_flag_spec_CXX \
17831 compiler_needs_object_CXX \
17833 allow_undefined_flag_CXX \
17834 no_undefined_flag_CXX \
17835 hardcode_libdir_flag_spec_CXX \
17836 hardcode_libdir_flag_spec_ld_CXX \
17837 hardcode_libdir_separator_CXX \
17838 exclude_expsyms_CXX \
17839 include_expsyms_CXX \
17840 file_list_spec_CXX \
17841 compiler_lib_search_dirs_CXX \
17842 predep_objects_CXX \
17843 postdep_objects_CXX \
17846 compiler_lib_search_path_CXX; do
17847 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17848 *[\\\\\\\`\\"\\\$]*)
17849 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17852 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17857 # Double-quote double-evaled strings.
17858 for var in reload_cmds \
17859 old_postinstall_cmds \
17860 old_postuninstall_cmds \
17862 extract_expsyms_cmds \
17863 old_archive_from_new_cmds \
17864 old_archive_from_expsyms_cmds \
17866 archive_expsym_cmds \
17868 module_expsym_cmds \
17869 export_symbols_cmds \
17873 postuninstall_cmds \
17875 sys_lib_search_path_spec \
17876 sys_lib_dlsearch_path_spec \
17878 old_archive_cmds_CXX \
17879 old_archive_from_new_cmds_CXX \
17880 old_archive_from_expsyms_cmds_CXX \
17882 archive_expsym_cmds_CXX \
17884 module_expsym_cmds_CXX \
17885 export_symbols_cmds_CXX \
17887 postlink_cmds_CXX; do
17888 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17889 *[\\\\\\\`\\"\\\$]*)
17890 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17893 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17898 ac_aux_dir='$ac_aux_dir'
17899 xsi_shell='$xsi_shell'
17900 lt_shell_append='$lt_shell_append'
17902 # See if we are running on zsh, and set the options which allow our
17903 # commands through without removal of \ escapes INIT.
17904 if test -n "\${ZSH_VERSION+set}" ; then
17905 setopt NO_GLOB_SUBST
17911 TIMESTAMP='$TIMESTAMP'
17921 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17929 # Handling of arguments.
17930 for ac_config_target in $ac_config_targets
17932 case $ac_config_target in
17933 "include/private/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/private/config.h" ;;
17934 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17935 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17936 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17937 "bdw-gc.pc") CONFIG_FILES="$CONFIG_FILES bdw-gc.pc" ;;
17938 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
17940 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17945 # If the user did not use the arguments to specify the items to instantiate,
17946 # then the envvar interface is used. Set only those that are not.
17947 # We use the long form for the default assignment because of an extremely
17948 # bizarre bug on SunOS 4.1.3.
17949 if $ac_need_defaults; then
17950 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17951 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17952 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17955 # Have a temporary directory for convenience. Make it in the build tree
17956 # simply because there is no reason against having it here, and in addition,
17957 # creating and moving files from /tmp can sometimes cause problems.
17958 # Hook for its removal unless debugging.
17959 # Note that there is a small window in which the directory will not be cleaned:
17960 # after its creation but before its name has been assigned to `$tmp'.
17964 trap 'exit_status=$?
17965 : "${ac_tmp:=$tmp}"
17966 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17968 trap 'as_fn_exit 1' 1 2 13 15
17970 # Create a (secure) tmp directory for tmp files.
17973 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17977 tmp=./conf$$-$RANDOM
17978 (umask 077 && mkdir "$tmp")
17979 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17982 # Set up the scripts for CONFIG_FILES section.
17983 # No need to generate them if there are no CONFIG_FILES.
17984 # This happens for instance with `./config.status config.h'.
17985 if test -n "$CONFIG_FILES"; then
17988 ac_cr=`echo X | tr X '\015'`
17989 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17990 # But we know of no other shell where ac_cr would be empty at this
17991 # point, so we can use a bashism as a fallback.
17992 if test "x$ac_cr" = x; then
17993 eval ac_cr=\$\'\\r\'
17995 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17996 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17999 ac_cs_awk_cr=$ac_cr
18002 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18007 echo "cat >conf$$subs.awk <<_ACEOF" &&
18008 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18010 } >conf$$subs.sh ||
18011 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18012 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18014 for ac_last_try in false false false false false :; do
18015 . ./conf$$subs.sh ||
18016 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18018 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18019 if test $ac_delim_n = $ac_delim_num; then
18021 elif $ac_last_try; then
18022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18024 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18027 rm -f conf$$subs.sh
18029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18030 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18034 s/^/S["/; s/!.*/"]=/
18044 s/\(.\{148\}\)..*/\1/
18046 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18058 s/\(.\{148\}\)..*/\1/
18060 s/["\\]/\\&/g; s/^/"/; s/$/"/
18064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18069 ' <conf$$subs.awk | sed '
18074 ' >>$CONFIG_STATUS || ac_write_fail=1
18075 rm -f conf$$subs.awk
18076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18078 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18079 for (key in S) S_is_set[key] = 1
18085 nfields = split(line, field, "@")
18087 len = length(field[1])
18088 for (i = 2; i < nfields; i++) {
18090 keylen = length(key)
18091 if (S_is_set[key]) {
18093 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18094 len += length(value) + length(field[++i])
18105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18106 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18107 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18110 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18111 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18114 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18115 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18116 # trailing colons and then remove the whole line if VPATH becomes empty
18117 # (actually we leave an empty line to preserve line numbers).
18118 if test "x$srcdir" = x.; then
18119 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18138 fi # test -n "$CONFIG_FILES"
18140 # Set up the scripts for CONFIG_HEADERS section.
18141 # No need to generate them if there are no CONFIG_HEADERS.
18142 # This happens for instance with `./config.status Makefile'.
18143 if test -n "$CONFIG_HEADERS"; then
18144 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18148 # Transform confdefs.h into an awk script `defines.awk', embedded as
18149 # here-document in config.status, that substitutes the proper values into
18150 # config.h.in to produce config.h.
18152 # Create a delimiter string that does not exist in confdefs.h, to ease
18153 # handling of long lines.
18155 for ac_last_try in false false :; do
18156 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18157 if test -z "$ac_tt"; then
18159 elif $ac_last_try; then
18160 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18162 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18166 # For the awk script, D is an array of macro values keyed by name,
18167 # likewise P contains macro parameters if any. Preserve backslash
18168 # newline sequences.
18170 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18172 s/.\{148\}/&'"$ac_delim"'/g
18175 s/^[ ]*#[ ]*define[ ][ ]*/ /
18182 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18184 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18188 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18189 D["\1"]=" \3\\\\\\n"\\/p
18191 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18196 s/.\{148\}/&'"$ac_delim"'/g
18201 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18204 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18206 ' <confdefs.h | sed '
18207 s/'"$ac_delim"'/"\\\
18208 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18211 for (key in D) D_is_set[key] = 1
18214 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18216 split(line, arg, " ")
18217 if (arg[1] == "#") {
18221 defundef = substr(arg[1], 2)
18224 split(mac1, mac2, "(") #)
18226 prefix = substr(line, 1, index(line, defundef) - 1)
18227 if (D_is_set[macro]) {
18228 # Preserve the white space surrounding the "#".
18229 print prefix "define", macro P[macro] D[macro]
18232 # Replace #undef with comments. This is necessary, for example,
18233 # in the case of _POSIX_SOURCE, which is predefined and required
18234 # on some systems where configure will not decide to define it.
18235 if (defundef == "undef") {
18236 print "/*", prefix defundef, macro, "*/"
18244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18245 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18246 fi # test -n "$CONFIG_HEADERS"
18249 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18254 :[FHLC]) ac_mode=$ac_tag; continue;;
18256 case $ac_mode$ac_tag in
18258 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18259 :[FH]-) ac_tag=-:-;;
18260 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18277 -) ac_f="$ac_tmp/stdin";;
18278 *) # Look for the file first in the build tree, then in the source tree
18279 # (if the path is not absolute). The absolute path cannot be DOS-style,
18280 # because $ac_f cannot contain `:'.
18284 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18286 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18288 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18289 as_fn_append ac_file_inputs " '$ac_f'"
18292 # Let's still pretend it is `configure' which instantiates (i.e., don't
18293 # use $as_me), people would be surprised to read:
18294 # /* config.h. Generated by config.status. */
18295 configure_input='Generated from '`
18296 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18298 if test x"$ac_file" != x-; then
18299 configure_input="$ac_file. $configure_input"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18301 $as_echo "$as_me: creating $ac_file" >&6;}
18303 # Neutralize special characters interpreted by sed in replacement strings.
18304 case $configure_input in #(
18305 *\&* | *\|* | *\\* )
18306 ac_sed_conf_input=`$as_echo "$configure_input" |
18307 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18308 *) ac_sed_conf_input=$configure_input;;
18312 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18313 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18318 ac_dir=`$as_dirname -- "$ac_file" ||
18319 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18320 X"$ac_file" : 'X\(//\)[^/]' \| \
18321 X"$ac_file" : 'X\(//\)$' \| \
18322 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18323 $as_echo X"$ac_file" |
18324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18328 /^X\(\/\/\)[^/].*/{
18341 as_dir="$ac_dir"; as_fn_mkdir_p
18345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18348 # A ".." for each directory in $ac_dir_suffix.
18349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18350 case $ac_top_builddir_sub in
18351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18355 ac_abs_top_builddir=$ac_pwd
18356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18357 # for backward compatibility:
18358 ac_top_builddir=$ac_top_build_prefix
18361 .) # We are building in place.
18363 ac_top_srcdir=$ac_top_builddir_sub
18364 ac_abs_top_srcdir=$ac_pwd ;;
18365 [\\/]* | ?:[\\/]* ) # Absolute name.
18366 ac_srcdir=$srcdir$ac_dir_suffix;
18367 ac_top_srcdir=$srcdir
18368 ac_abs_top_srcdir=$srcdir ;;
18369 *) # Relative name.
18370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18371 ac_top_srcdir=$ac_top_build_prefix$srcdir
18372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18384 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18385 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18387 ac_MKDIR_P=$MKDIR_P
18389 [\\/$]* | ?:[\\/]* ) ;;
18390 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18395 # If the template does not know about datarootdir, expand it.
18396 # FIXME: This hack should be removed a few years after 2.60.
18397 ac_datarootdir_hack=; ac_datarootdir_seen=
18408 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18409 *datarootdir*) ac_datarootdir_seen=yes;;
18410 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18412 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18415 ac_datarootdir_hack='
18416 s&@datadir@&$datadir&g
18417 s&@docdir@&$docdir&g
18418 s&@infodir@&$infodir&g
18419 s&@localedir@&$localedir&g
18420 s&@mandir@&$mandir&g
18421 s&\\\${datarootdir}&$datarootdir&g' ;;
18425 # Neutralize VPATH when `$srcdir' = `.'.
18426 # Shell code in configure.ac might set extrasub.
18427 # FIXME: do we really want to maintain this feature?
18428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18429 ac_sed_extra="$ac_vpsub
18432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18435 s|@configure_input@|$ac_sed_conf_input|;t t
18436 s&@top_builddir@&$ac_top_builddir_sub&;t t
18437 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18438 s&@srcdir@&$ac_srcdir&;t t
18439 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18440 s&@top_srcdir@&$ac_top_srcdir&;t t
18441 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18442 s&@builddir@&$ac_builddir&;t t
18443 s&@abs_builddir@&$ac_abs_builddir&;t t
18444 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18445 s&@INSTALL@&$ac_INSTALL&;t t
18446 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18447 $ac_datarootdir_hack
18449 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18450 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18452 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18453 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18454 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18455 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18457 which seems to be undefined. Please make sure it is defined" >&5
18458 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18459 which seems to be undefined. Please make sure it is defined" >&2;}
18461 rm -f "$ac_tmp/stdin"
18463 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18464 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18466 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18472 if test x"$ac_file" != x-; then
18474 $as_echo "/* $configure_input */" \
18475 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18476 } >"$ac_tmp/config.h" \
18477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18478 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18480 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18483 mv "$ac_tmp/config.h" "$ac_file" \
18484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18487 $as_echo "/* $configure_input */" \
18488 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18489 || as_fn_error $? "could not create -" "$LINENO" 5
18491 # Compute "$ac_file"'s index in $config_headers.
18494 for _am_header in $config_headers :; do
18495 case $_am_header in
18496 $_am_arg | $_am_arg:* )
18499 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18502 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18503 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18504 X"$_am_arg" : 'X\(//\)[^/]' \| \
18505 X"$_am_arg" : 'X\(//\)$' \| \
18506 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18507 $as_echo X"$_am_arg" |
18508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18512 /^X\(\/\/\)[^/].*/{
18524 s/.*/./; q'`/stamp-h$_am_stamp_count
18527 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18528 $as_echo "$as_me: executing $ac_file commands" >&6;}
18533 case $ac_file$ac_mode in
18534 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18535 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18536 # are listed without --file. Let's play safe and only enable the eval
18537 # if we detect the quoting.
18538 case $CONFIG_FILES in
18539 *\'*) eval set x "$CONFIG_FILES" ;;
18540 *) set x $CONFIG_FILES ;;
18545 # Strip MF so we end up with the name of the file.
18546 mf=`echo "$mf" | sed -e 's/:.*$//'`
18547 # Check whether this is an Automake generated Makefile or not.
18548 # We used to match only the files named `Makefile.in', but
18549 # some people rename them; so instead we look at the file content.
18550 # Grep'ing the first line is not enough: some people post-process
18551 # each Makefile.in and add a new line on top of each file to say so.
18552 # Grep'ing the whole file is not good either: AIX grep has a line
18553 # limit of 2048, but all sed's we know have understand at least 4000.
18554 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18555 dirpart=`$as_dirname -- "$mf" ||
18556 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18557 X"$mf" : 'X\(//\)[^/]' \| \
18558 X"$mf" : 'X\(//\)$' \| \
18559 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18565 /^X\(\/\/\)[^/].*/{
18581 # Extract the definition of DEPDIR, am__include, and am__quote
18582 # from the Makefile without running `make'.
18583 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18584 test -z "$DEPDIR" && continue
18585 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18586 test -z "am__include" && continue
18587 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18588 # When using ansi2knr, U may be empty or an underscore; expand it
18589 U=`sed -n 's/^U = //p' < "$mf"`
18590 # Find all dependency output files, they are included files with
18591 # $(DEPDIR) in their names. We invoke sed twice because it is the
18592 # simplest approach to changing $(DEPDIR) to its actual value in the
18594 for file in `sed -n "
18595 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18596 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18597 # Make sure the directory exists.
18598 test -f "$dirpart/$file" && continue
18599 fdir=`$as_dirname -- "$file" ||
18600 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18601 X"$file" : 'X\(//\)[^/]' \| \
18602 X"$file" : 'X\(//\)$' \| \
18603 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18604 $as_echo X"$file" |
18605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18609 /^X\(\/\/\)[^/].*/{
18622 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18623 # echo "creating $dirpart/$file"
18624 echo '# dummy' > "$dirpart/$file"
18631 # See if we are running on zsh, and set the options which allow our
18632 # commands through without removal of \ escapes.
18633 if test -n "${ZSH_VERSION+set}" ; then
18634 setopt NO_GLOB_SUBST
18637 cfgfile="${ofile}T"
18638 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18641 cat <<_LT_EOF >> "$cfgfile"
18644 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18645 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18646 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18647 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18649 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18650 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18652 # Written by Gordon Matzigkeit, 1996
18654 # This file is part of GNU Libtool.
18656 # GNU Libtool is free software; you can redistribute it and/or
18657 # modify it under the terms of the GNU General Public License as
18658 # published by the Free Software Foundation; either version 2 of
18659 # the License, or (at your option) any later version.
18661 # As a special exception to the GNU General Public License,
18662 # if you distribute this file as part of a program or library that
18663 # is built using GNU Libtool, you may include this file under the
18664 # same distribution terms that you use for the rest of that program.
18666 # GNU Libtool is distributed in the hope that it will be useful,
18667 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18668 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18669 # GNU General Public License for more details.
18671 # You should have received a copy of the GNU General Public License
18672 # along with GNU Libtool; see the file COPYING. If not, a copy
18673 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18674 # obtained by writing to the Free Software Foundation, Inc.,
18675 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18678 # The names of the tagged configurations supported by this script.
18679 available_tags="CXX "
18681 # ### BEGIN LIBTOOL CONFIG
18683 # Whether or not to build shared libraries.
18684 build_libtool_libs=$enable_shared
18686 # Which release of libtool.m4 was used?
18687 macro_version=$macro_version
18688 macro_revision=$macro_revision
18690 # Whether or not to build static libraries.
18691 build_old_libs=$enable_static
18693 # What type of objects to build.
18696 # Whether or not to optimize for fast installation.
18697 fast_install=$enable_fast_install
18699 # Shell to use when invoking shell scripts.
18702 # An echo program that protects backslashes.
18706 host_alias=$host_alias
18710 # The build system.
18711 build_alias=$build_alias
18715 # A sed program that does not truncate output.
18718 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18719 Xsed="\$SED -e 1s/^X//"
18721 # A grep program that handles long lines.
18727 # A literal string matcher.
18730 # A BSD- or MS-compatible name lister.
18733 # Whether we need soft or hard links.
18736 # What is the maximum length of a command?
18737 max_cmd_len=$max_cmd_len
18739 # Object file suffix (normally "o").
18742 # Executable file suffix (normally "").
18745 # whether the shell understands "unset".
18748 # turn spaces into newlines.
18751 # turn newlines into spaces.
18754 # convert \$build file names to \$host format.
18755 to_host_file_cmd=$lt_cv_to_host_file_cmd
18757 # convert \$build files to toolchain format.
18758 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18760 # An object symbol dumper.
18761 OBJDUMP=$lt_OBJDUMP
18763 # Method to check whether dependent libraries are shared objects.
18764 deplibs_check_method=$lt_deplibs_check_method
18766 # Command to use when deplibs_check_method = "file_magic".
18767 file_magic_cmd=$lt_file_magic_cmd
18769 # How to find potential files when deplibs_check_method = "file_magic".
18770 file_magic_glob=$lt_file_magic_glob
18772 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18773 want_nocaseglob=$lt_want_nocaseglob
18775 # DLL creation program.
18776 DLLTOOL=$lt_DLLTOOL
18778 # Command to associate shared and link libraries.
18779 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18784 # Flags to create an archive.
18785 AR_FLAGS=$lt_AR_FLAGS
18787 # How to feed a file listing to the archiver.
18788 archiver_list_spec=$lt_archiver_list_spec
18790 # A symbol stripping program.
18793 # Commands used to install an old-style archive.
18795 old_postinstall_cmds=$lt_old_postinstall_cmds
18796 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18798 # Whether to use a lock for old archive extraction.
18799 lock_old_archive_extraction=$lock_old_archive_extraction
18804 # LTCC compiler flags.
18805 LTCFLAGS=$lt_CFLAGS
18807 # Take the output of nm and produce a listing of raw symbols and C names.
18808 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18810 # Transform the output of nm in a proper C declaration.
18811 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18813 # Transform the output of nm in a C name address pair.
18814 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18816 # Transform the output of nm in a C name address pair when lib prefix is needed.
18817 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18819 # Specify filename containing input files for \$NM.
18820 nm_file_list_spec=$lt_nm_file_list_spec
18822 # The root where to search for dependent libraries,and in which our libraries should be installed.
18823 lt_sysroot=$lt_sysroot
18825 # The name of the directory that contains temporary libtool files.
18828 # Used to examine libraries when file_magic_cmd begins with "file".
18829 MAGIC_CMD=$MAGIC_CMD
18831 # Must we lock files when doing compilation?
18832 need_locks=$lt_need_locks
18835 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18837 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18838 DSYMUTIL=$lt_DSYMUTIL
18840 # Tool to change global to local symbols on Mac OS X.
18843 # Tool to manipulate fat objects and archives on Mac OS X.
18846 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18849 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18850 OTOOL64=$lt_OTOOL64
18852 # Old archive suffix (normally "a").
18855 # Shared library suffix (normally ".so").
18856 shrext_cmds=$lt_shrext_cmds
18858 # The commands to extract the exported symbol list from a shared archive.
18859 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18861 # Variables whose values should be saved in libtool wrapper scripts and
18862 # restored at link time.
18863 variables_saved_for_relink=$lt_variables_saved_for_relink
18865 # Do we need the "lib" prefix for modules?
18866 need_lib_prefix=$need_lib_prefix
18868 # Do we need a version for libraries?
18869 need_version=$need_version
18871 # Library versioning type.
18872 version_type=$version_type
18874 # Shared library runtime path variable.
18875 runpath_var=$runpath_var
18877 # Shared library path variable.
18878 shlibpath_var=$shlibpath_var
18880 # Is shlibpath searched before the hard-coded library search path?
18881 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18883 # Format of library name prefix.
18884 libname_spec=$lt_libname_spec
18886 # List of archive names. First name is the real one, the rest are links.
18887 # The last name is the one that the linker finds with -lNAME
18888 library_names_spec=$lt_library_names_spec
18890 # The coded name of the library, if different from the real name.
18891 soname_spec=$lt_soname_spec
18893 # Permission mode override for installation of shared libraries.
18894 install_override_mode=$lt_install_override_mode
18896 # Command to use after installation of a shared archive.
18897 postinstall_cmds=$lt_postinstall_cmds
18899 # Command to use after uninstallation of a shared archive.
18900 postuninstall_cmds=$lt_postuninstall_cmds
18902 # Commands used to finish a libtool library installation in a directory.
18903 finish_cmds=$lt_finish_cmds
18905 # As "finish_cmds", except a single script fragment to be evaled but
18907 finish_eval=$lt_finish_eval
18909 # Whether we should hardcode library paths into libraries.
18910 hardcode_into_libs=$hardcode_into_libs
18912 # Compile-time system search path for libraries.
18913 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18915 # Run-time system search path for libraries.
18916 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18918 # Whether dlopen is supported.
18919 dlopen_support=$enable_dlopen
18921 # Whether dlopen of programs is supported.
18922 dlopen_self=$enable_dlopen_self
18924 # Whether dlopen of statically linked programs is supported.
18925 dlopen_self_static=$enable_dlopen_self_static
18927 # Commands to strip libraries.
18928 old_striplib=$lt_old_striplib
18929 striplib=$lt_striplib
18932 # The linker used to build libraries.
18935 # How to create reloadable object files.
18936 reload_flag=$lt_reload_flag
18937 reload_cmds=$lt_reload_cmds
18939 # Commands used to build an old-style archive.
18940 old_archive_cmds=$lt_old_archive_cmds
18942 # A language specific compiler.
18945 # Is the compiler the GNU compiler?
18948 # Compiler flag to turn off builtin functions.
18949 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18951 # Additional compiler flags for building library objects.
18952 pic_flag=$lt_lt_prog_compiler_pic
18954 # How to pass a linker flag through the compiler.
18955 wl=$lt_lt_prog_compiler_wl
18957 # Compiler flag to prevent dynamic linking.
18958 link_static_flag=$lt_lt_prog_compiler_static
18960 # Does compiler simultaneously support -c and -o options?
18961 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18963 # Whether or not to add -lc for building shared libraries.
18964 build_libtool_need_lc=$archive_cmds_need_lc
18966 # Whether or not to disallow shared libs when runtime libs are static.
18967 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18969 # Compiler flag to allow reflexive dlopens.
18970 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18972 # Compiler flag to generate shared objects directly from archives.
18973 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18975 # Whether the compiler copes with passing no objects directly.
18976 compiler_needs_object=$lt_compiler_needs_object
18978 # Create an old-style archive from a shared archive.
18979 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18981 # Create a temporary old-style archive to link instead of a shared archive.
18982 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18984 # Commands used to build a shared archive.
18985 archive_cmds=$lt_archive_cmds
18986 archive_expsym_cmds=$lt_archive_expsym_cmds
18988 # Commands used to build a loadable module if different from building
18989 # a shared archive.
18990 module_cmds=$lt_module_cmds
18991 module_expsym_cmds=$lt_module_expsym_cmds
18993 # Whether we are building with GNU ld or not.
18994 with_gnu_ld=$lt_with_gnu_ld
18996 # Flag that allows shared libraries with undefined symbols to be built.
18997 allow_undefined_flag=$lt_allow_undefined_flag
18999 # Flag that enforces no undefined symbols.
19000 no_undefined_flag=$lt_no_undefined_flag
19002 # Flag to hardcode \$libdir into a binary during linking.
19003 # This must work even if \$libdir does not exist
19004 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19006 # If ld is used when linking, flag to hardcode \$libdir into a binary
19007 # during linking. This must work even if \$libdir does not exist.
19008 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19010 # Whether we need a single "-rpath" flag with a separated argument.
19011 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19013 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19014 # DIR into the resulting binary.
19015 hardcode_direct=$hardcode_direct
19017 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19018 # DIR into the resulting binary and the resulting library dependency is
19019 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19020 # library is relocated.
19021 hardcode_direct_absolute=$hardcode_direct_absolute
19023 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19024 # into the resulting binary.
19025 hardcode_minus_L=$hardcode_minus_L
19027 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19028 # into the resulting binary.
19029 hardcode_shlibpath_var=$hardcode_shlibpath_var
19031 # Set to "yes" if building a shared library automatically hardcodes DIR
19032 # into the library and all subsequent libraries and executables linked
19034 hardcode_automatic=$hardcode_automatic
19036 # Set to yes if linker adds runtime paths of dependent libraries
19037 # to runtime path list.
19038 inherit_rpath=$inherit_rpath
19040 # Whether libtool must link a program against all its dependency libraries.
19041 link_all_deplibs=$link_all_deplibs
19043 # Set to "yes" if exported symbols are required.
19044 always_export_symbols=$always_export_symbols
19046 # The commands to list exported symbols.
19047 export_symbols_cmds=$lt_export_symbols_cmds
19049 # Symbols that should not be listed in the preloaded symbols.
19050 exclude_expsyms=$lt_exclude_expsyms
19052 # Symbols that must always be exported.
19053 include_expsyms=$lt_include_expsyms
19055 # Commands necessary for linking programs (against libraries) with templates.
19056 prelink_cmds=$lt_prelink_cmds
19058 # Commands necessary for finishing linking programs.
19059 postlink_cmds=$lt_postlink_cmds
19061 # Specify filename containing input files.
19062 file_list_spec=$lt_file_list_spec
19064 # How to hardcode a shared library path into an executable.
19065 hardcode_action=$hardcode_action
19067 # The directories searched by this compiler when creating a shared library.
19068 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19070 # Dependencies to place before and after the objects being linked to
19071 # create a shared library.
19072 predep_objects=$lt_predep_objects
19073 postdep_objects=$lt_postdep_objects
19074 predeps=$lt_predeps
19075 postdeps=$lt_postdeps
19077 # The library search path used internally by the compiler when linking
19078 # a shared library.
19079 compiler_lib_search_path=$lt_compiler_lib_search_path
19081 # ### END LIBTOOL CONFIG
19087 cat <<\_LT_EOF >> "$cfgfile"
19088 # AIX sometimes has problems with the GCC collect2 program. For some
19089 # reason, if we set the COLLECT_NAMES environment variable, the problems
19090 # vanish in a puff of smoke.
19091 if test "X${COLLECT_NAMES+set}" != Xset; then
19093 export COLLECT_NAMES
19100 ltmain="$ac_aux_dir/ltmain.sh"
19103 # We use sed instead of cat because bash on DJGPP gets confused if
19104 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19105 # text mode, it properly converts lines to CR/LF. This bash problem
19106 # is reportedly fixed, but why not run on old versions too?
19107 sed '$q' "$ltmain" >> "$cfgfile" \
19108 || (rm -f "$cfgfile"; exit 1)
19110 if test x"$xsi_shell" = xyes; then
19111 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19115 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19116 \ * ) func_dirname_result="${3}" ;;\
19118 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19119 && mv -f "$cfgfile.tmp" "$cfgfile" \
19120 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19121 test 0 -eq $? || _lt_function_replace_fail=:
19124 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19127 \ func_basename_result="${1##*/}"\
19128 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19129 && mv -f "$cfgfile.tmp" "$cfgfile" \
19130 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19131 test 0 -eq $? || _lt_function_replace_fail=:
19134 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19135 func_dirname_and_basename ()\
19138 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19139 \ * ) func_dirname_result="${3}" ;;\
19141 \ func_basename_result="${1##*/}"\
19142 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19143 && mv -f "$cfgfile.tmp" "$cfgfile" \
19144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19145 test 0 -eq $? || _lt_function_replace_fail=:
19148 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19151 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19152 \ # positional parameters, so assign one to ordinary parameter first.\
19153 \ func_stripname_result=${3}\
19154 \ func_stripname_result=${func_stripname_result#"${1}"}\
19155 \ func_stripname_result=${func_stripname_result%"${2}"}\
19156 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19157 && mv -f "$cfgfile.tmp" "$cfgfile" \
19158 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19159 test 0 -eq $? || _lt_function_replace_fail=:
19162 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19163 func_split_long_opt ()\
19165 \ func_split_long_opt_name=${1%%=*}\
19166 \ func_split_long_opt_arg=${1#*=}\
19167 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19168 && mv -f "$cfgfile.tmp" "$cfgfile" \
19169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19170 test 0 -eq $? || _lt_function_replace_fail=:
19173 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19174 func_split_short_opt ()\
19176 \ func_split_short_opt_arg=${1#??}\
19177 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19178 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19179 && mv -f "$cfgfile.tmp" "$cfgfile" \
19180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19181 test 0 -eq $? || _lt_function_replace_fail=:
19184 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19188 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19189 \ *) func_lo2o_result=${1} ;;\
19191 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19192 && mv -f "$cfgfile.tmp" "$cfgfile" \
19193 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19194 test 0 -eq $? || _lt_function_replace_fail=:
19197 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19200 func_xform_result=${1%.*}.lo\
19201 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19202 && mv -f "$cfgfile.tmp" "$cfgfile" \
19203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19204 test 0 -eq $? || _lt_function_replace_fail=:
19207 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19210 func_arith_result=$(( $* ))\
19211 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19212 && mv -f "$cfgfile.tmp" "$cfgfile" \
19213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19214 test 0 -eq $? || _lt_function_replace_fail=:
19217 sed -e '/^func_len ()$/,/^} # func_len /c\
19220 func_len_result=${#1}\
19221 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19222 && mv -f "$cfgfile.tmp" "$cfgfile" \
19223 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19224 test 0 -eq $? || _lt_function_replace_fail=:
19228 if test x"$lt_shell_append" = xyes; then
19229 sed -e '/^func_append ()$/,/^} # func_append /c\
19232 eval "${1}+=\\${2}"\
19233 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19234 && mv -f "$cfgfile.tmp" "$cfgfile" \
19235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19236 test 0 -eq $? || _lt_function_replace_fail=:
19239 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19240 func_append_quoted ()\
19242 \ func_quote_for_eval "${2}"\
19243 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19244 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19245 && mv -f "$cfgfile.tmp" "$cfgfile" \
19246 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19247 test 0 -eq $? || _lt_function_replace_fail=:
19250 # Save a `func_append' function call where possible by direct use of '+='
19251 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19252 && mv -f "$cfgfile.tmp" "$cfgfile" \
19253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19254 test 0 -eq $? || _lt_function_replace_fail=:
19256 # Save a `func_append' function call even when '+=' is not available
19257 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19258 && mv -f "$cfgfile.tmp" "$cfgfile" \
19259 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19260 test 0 -eq $? || _lt_function_replace_fail=:
19263 if test x"$_lt_function_replace_fail" = x":"; then
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19265 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19269 mv -f "$cfgfile" "$ofile" ||
19270 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19274 cat <<_LT_EOF >> "$ofile"
19276 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19278 # The linker used to build libraries.
19281 # How to create reloadable object files.
19282 reload_flag=$lt_reload_flag_CXX
19283 reload_cmds=$lt_reload_cmds_CXX
19285 # Commands used to build an old-style archive.
19286 old_archive_cmds=$lt_old_archive_cmds_CXX
19288 # A language specific compiler.
19289 CC=$lt_compiler_CXX
19291 # Is the compiler the GNU compiler?
19294 # Compiler flag to turn off builtin functions.
19295 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19297 # Additional compiler flags for building library objects.
19298 pic_flag=$lt_lt_prog_compiler_pic_CXX
19300 # How to pass a linker flag through the compiler.
19301 wl=$lt_lt_prog_compiler_wl_CXX
19303 # Compiler flag to prevent dynamic linking.
19304 link_static_flag=$lt_lt_prog_compiler_static_CXX
19306 # Does compiler simultaneously support -c and -o options?
19307 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19309 # Whether or not to add -lc for building shared libraries.
19310 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19312 # Whether or not to disallow shared libs when runtime libs are static.
19313 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19315 # Compiler flag to allow reflexive dlopens.
19316 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19318 # Compiler flag to generate shared objects directly from archives.
19319 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19321 # Whether the compiler copes with passing no objects directly.
19322 compiler_needs_object=$lt_compiler_needs_object_CXX
19324 # Create an old-style archive from a shared archive.
19325 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19327 # Create a temporary old-style archive to link instead of a shared archive.
19328 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19330 # Commands used to build a shared archive.
19331 archive_cmds=$lt_archive_cmds_CXX
19332 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19334 # Commands used to build a loadable module if different from building
19335 # a shared archive.
19336 module_cmds=$lt_module_cmds_CXX
19337 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19339 # Whether we are building with GNU ld or not.
19340 with_gnu_ld=$lt_with_gnu_ld_CXX
19342 # Flag that allows shared libraries with undefined symbols to be built.
19343 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19345 # Flag that enforces no undefined symbols.
19346 no_undefined_flag=$lt_no_undefined_flag_CXX
19348 # Flag to hardcode \$libdir into a binary during linking.
19349 # This must work even if \$libdir does not exist
19350 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19352 # If ld is used when linking, flag to hardcode \$libdir into a binary
19353 # during linking. This must work even if \$libdir does not exist.
19354 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19356 # Whether we need a single "-rpath" flag with a separated argument.
19357 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19359 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19360 # DIR into the resulting binary.
19361 hardcode_direct=$hardcode_direct_CXX
19363 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19364 # DIR into the resulting binary and the resulting library dependency is
19365 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19366 # library is relocated.
19367 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19369 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19370 # into the resulting binary.
19371 hardcode_minus_L=$hardcode_minus_L_CXX
19373 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19374 # into the resulting binary.
19375 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19377 # Set to "yes" if building a shared library automatically hardcodes DIR
19378 # into the library and all subsequent libraries and executables linked
19380 hardcode_automatic=$hardcode_automatic_CXX
19382 # Set to yes if linker adds runtime paths of dependent libraries
19383 # to runtime path list.
19384 inherit_rpath=$inherit_rpath_CXX
19386 # Whether libtool must link a program against all its dependency libraries.
19387 link_all_deplibs=$link_all_deplibs_CXX
19389 # Set to "yes" if exported symbols are required.
19390 always_export_symbols=$always_export_symbols_CXX
19392 # The commands to list exported symbols.
19393 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19395 # Symbols that should not be listed in the preloaded symbols.
19396 exclude_expsyms=$lt_exclude_expsyms_CXX
19398 # Symbols that must always be exported.
19399 include_expsyms=$lt_include_expsyms_CXX
19401 # Commands necessary for linking programs (against libraries) with templates.
19402 prelink_cmds=$lt_prelink_cmds_CXX
19404 # Commands necessary for finishing linking programs.
19405 postlink_cmds=$lt_postlink_cmds_CXX
19407 # Specify filename containing input files.
19408 file_list_spec=$lt_file_list_spec_CXX
19410 # How to hardcode a shared library path into an executable.
19411 hardcode_action=$hardcode_action_CXX
19413 # The directories searched by this compiler when creating a shared library.
19414 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19416 # Dependencies to place before and after the objects being linked to
19417 # create a shared library.
19418 predep_objects=$lt_predep_objects_CXX
19419 postdep_objects=$lt_postdep_objects_CXX
19420 predeps=$lt_predeps_CXX
19421 postdeps=$lt_postdeps_CXX
19423 # The library search path used internally by the compiler when linking
19424 # a shared library.
19425 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19427 # ### END LIBTOOL TAG CONFIG: CXX
19438 ac_clean_files=$ac_clean_files_save
19440 test $ac_write_fail = 0 ||
19441 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19444 # configure is writing to config.log, and then calls config.status.
19445 # config.status does its own redirection, appending to config.log.
19446 # Unfortunately, on DOS this fails, as config.log is still kept open
19447 # by configure, so config.status won't be able to write to it; its
19448 # output is simply discarded. So we exec the FD to /dev/null,
19449 # effectively closing config.log, so it can be properly (re)opened and
19450 # appended to by config.status. When coming back to configure, we
19451 # need to make the FD available again.
19452 if test "$no_create" != yes; then
19454 ac_config_status_args=
19455 test "$silent" = yes &&
19456 ac_config_status_args="$ac_config_status_args --quiet"
19458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19461 # would make configure fail if this is the last instruction.
19462 $ac_cs_success || as_fn_exit 1
19466 # CONFIG_SUBDIRS section.
19468 if test "$no_recursion" != yes; then
19470 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19471 # so they do not pile up.
19472 ac_sub_configure_args=
19474 eval "set x $ac_configure_args"
19478 if test -n "$ac_prev"; then
19483 -cache-file | --cache-file | --cache-fil | --cache-fi \
19484 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19485 ac_prev=cache_file ;;
19486 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19487 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
19490 --config-cache | -C)
19492 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19494 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19496 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
19498 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
19500 --disable-option-checking)
19504 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19506 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
19510 # Always prepend --prefix to ensure using the same prefix
19511 # in subdir configurations.
19512 ac_arg="--prefix=$prefix"
19514 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19516 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
19519 if test "$silent" = yes; then
19520 ac_sub_configure_args="--silent $ac_sub_configure_args"
19523 # Always prepend --disable-option-checking to silence warnings, since
19524 # different subdirs can have different --enable and --with options.
19525 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
19528 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
19530 # Do not complain, so a configure script can configure whichever
19531 # parts of a large source tree are present.
19532 test -d "$srcdir/$ac_dir" || continue
19534 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19535 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19536 $as_echo "$ac_msg" >&6
19537 as_dir="$ac_dir"; as_fn_mkdir_p
19541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19543 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19544 # A ".." for each directory in $ac_dir_suffix.
19545 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19546 case $ac_top_builddir_sub in
19547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19551 ac_abs_top_builddir=$ac_pwd
19552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19553 # for backward compatibility:
19554 ac_top_builddir=$ac_top_build_prefix
19557 .) # We are building in place.
19559 ac_top_srcdir=$ac_top_builddir_sub
19560 ac_abs_top_srcdir=$ac_pwd ;;
19561 [\\/]* | ?:[\\/]* ) # Absolute name.
19562 ac_srcdir=$srcdir$ac_dir_suffix;
19563 ac_top_srcdir=$srcdir
19564 ac_abs_top_srcdir=$srcdir ;;
19565 *) # Relative name.
19566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19567 ac_top_srcdir=$ac_top_build_prefix$srcdir
19568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19575 # Check for guested configure; otherwise get Cygnus style configure.
19576 if test -f "$ac_srcdir/configure.gnu"; then
19577 ac_sub_configure=$ac_srcdir/configure.gnu
19578 elif test -f "$ac_srcdir/configure"; then
19579 ac_sub_configure=$ac_srcdir/configure
19580 elif test -f "$ac_srcdir/configure.in"; then
19581 # This should be Cygnus configure.
19582 ac_sub_configure=$ac_aux_dir/configure
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19585 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19589 # The recursion is here.
19590 if test -n "$ac_sub_configure"; then
19591 # Make the cache file name correct relative to the subdirectory.
19592 case $cache_file in
19593 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
19594 *) # Relative name.
19595 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19599 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19600 # The eval makes quoting arguments work.
19601 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19602 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19603 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19609 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19611 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}