2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libgo'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
611 HAVE_STRERROR_R_FALSE
613 HAVE_SYS_MMAN_H_FALSE
621 USING_SPLIT_STACK_FALSE
622 USING_SPLIT_STACK_TRUE
625 GO_SYSCALL_OS_ARCH_FILE
627 GO_LIBCALL_OS_ARCH_FILE
630 LIBGO_IS_X86_64_FALSE
632 LIBGO_IS_SPARC64_FALSE
633 LIBGO_IS_SPARC64_TRUE
644 LIBGO_IS_MIPSO64_FALSE
645 LIBGO_IS_MIPSO64_TRUE
646 LIBGO_IS_MIPSN64_FALSE
647 LIBGO_IS_MIPSN64_TRUE
648 LIBGO_IS_MIPSN32_FALSE
649 LIBGO_IS_MIPSN32_TRUE
650 LIBGO_IS_MIPSO32_FALSE
651 LIBGO_IS_MIPSO32_TRUE
666 LIBGO_IS_SOLARIS_FALSE
667 LIBGO_IS_SOLARIS_TRUE
670 LIBGO_IS_DRAGONFLY_FALSE
671 LIBGO_IS_DRAGONFLY_TRUE
672 LIBGO_IS_OPENBSD_FALSE
673 LIBGO_IS_OPENBSD_TRUE
674 LIBGO_IS_NETBSD_FALSE
680 LIBGO_IS_FREEBSD_FALSE
681 LIBGO_IS_FREEBSD_TRUE
682 LIBGO_IS_DARWIN_FALSE
688 nover_glibgo_toolexeclibdir
689 glibgo_toolexeclibdir
717 MAINTAINER_MODE_FALSE
745 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
816 enable_dependency_tracking
817 enable_maintainer_mode
825 enable_version_specific_runtime_libs
828 with_system_libunwind
829 enable_sjlj_exceptions
831 ac_precious_vars
='build_alias
838 # Initialize some variables set by options.
840 ac_init_version
=false
841 ac_unrecognized_opts
=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name
=s
,x
,x
,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir
='${exec_prefix}/bin'
867 sbindir
='${exec_prefix}/sbin'
868 libexecdir
='${exec_prefix}/libexec'
869 datarootdir
='${prefix}/share'
870 datadir
='${datarootdir}'
871 sysconfdir
='${prefix}/etc'
872 sharedstatedir
='${prefix}/com'
873 localstatedir
='${prefix}/var'
874 includedir
='${prefix}/include'
875 oldincludedir
='/usr/include'
876 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
877 infodir
='${datarootdir}/info'
882 libdir
='${exec_prefix}/lib'
883 localedir
='${datarootdir}/locale'
884 mandir
='${datarootdir}/man'
890 # If the previous option needs an argument, assign it.
891 if test -n "$ac_prev"; then
892 eval $ac_prev=\
$ac_option
898 *=*) 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 package-unused version-unused 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/libgo]
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 package-unused version-unused:";;
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-multilib build many library versions
(default
)
1457 --disable-dependency-tracking speeds up one-time build
1458 --enable-dependency-tracking do not reject slow dependency extractors
1459 --enable-maintainer-mode enable make rules and dependencies not useful
1460 (and sometimes confusing
) to the casual installer
1461 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1462 --enable-static[=PKGS
] build static libraries
[default
=yes]
1463 --enable-fast-install[=PKGS
]
1464 optimize
for fast installation
[default
=yes]
1465 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1466 --enable-werror turns on
-Werror [default
=yes]
1467 --enable-version-specific-runtime-libs
1468 Specify that runtime libraries should be installed
1469 in a compiler-specific directory
1470 --enable-sjlj-exceptions
1471 force use of builtin_setjmp
for exceptions
1474 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1475 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1476 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1477 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1479 --without-libffi don
't use libffi
1480 --without-libatomic don't use libatomic
1481 --with-system-libunwind use installed libunwind
1483 Some influential environment variables
:
1484 CC C compiler
command
1485 CFLAGS C compiler flags
1486 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1487 nonstandard directory
<lib dir
>
1488 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1489 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1490 you have headers
in a nonstandard directory
<include dir
>
1491 GOC Go compiler
command
1492 GOCFLAGS Go compiler flags
1495 Use these variables to override the choices made by
`configure' or to help
1496 it to find libraries and programs with nonstandard names/locations.
1498 Report bugs to the package provider.
1503 if test "$ac_init_help" = "recursive"; then
1504 # If there are subdirs, report their specific --help.
1505 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1506 test -d "$ac_dir" ||
1507 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1515 # A ".." for each directory in $ac_dir_suffix.
1516 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1517 case $ac_top_builddir_sub in
1518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1522 ac_abs_top_builddir=$ac_pwd
1523 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1524 # for backward compatibility:
1525 ac_top_builddir=$ac_top_build_prefix
1528 .) # We are building in place.
1530 ac_top_srcdir=$ac_top_builddir_sub
1531 ac_abs_top_srcdir=$ac_pwd ;;
1532 [\\/]* | ?:[\\/]* ) # Absolute name.
1533 ac_srcdir=$srcdir$ac_dir_suffix;
1534 ac_top_srcdir=$srcdir
1535 ac_abs_top_srcdir=$srcdir ;;
1537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1538 ac_top_srcdir=$ac_top_build_prefix$srcdir
1539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1543 cd "$ac_dir" || { ac_status=$?; continue; }
1544 # Check for guested configure.
1545 if test -f "$ac_srcdir/configure.gnu"; then
1547 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1548 elif test -f "$ac_srcdir/configure"; then
1550 $SHELL "$ac_srcdir/configure" --help=recursive
1552 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1554 cd "$ac_pwd" || { ac_status=$?; break; }
1558 test -n "$ac_init_help" && exit $ac_status
1559 if $ac_init_version; then
1561 package-unused configure version-unused
1562 generated by GNU Autoconf 2.64
1564 Copyright (C) 2009 Free Software Foundation, Inc.
1565 This configure script is free software; the Free Software Foundation
1566 gives unlimited permission to copy, distribute and modify it.
1571 ## ------------------------ ##
1572 ## Autoconf initialization. ##
1573 ## ------------------------ ##
1575 # ac_fn_c_try_compile LINENO
1576 # --------------------------
1577 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1578 ac_fn_c_try_compile ()
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext
1582 if { { ac_try="$ac_compile"
1584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1585 *) ac_try_echo
=$ac_try;;
1587 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_compile") 2>conftest.err
1591 if test -s conftest.err
; then
1592 grep -v '^ *+' conftest.err
>conftest.er1
1593 cat conftest.er1
>&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest.
$ac_objext; then :
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.
$ac_ext >&5
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1611 } # ac_fn_c_try_compile
1613 # ac_fn_c_try_link LINENO
1614 # -----------------------
1615 # Try to link conftest.$ac_ext, and return whether this succeeded.
1618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1619 rm -f conftest.
$ac_objext conftest
$ac_exeext
1620 if { { ac_try
="$ac_link"
1622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_link") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest$ac_exeext && {
1639 test "$cross_compiling" = yes ||
1640 $as_test_x conftest$ac_exeext
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651 # interfere with the next link command; also delete a directory that is
1652 # left behind by Apple's compiler. We do this before executing the actions.
1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657 } # ac_fn_c_try_link
1659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists and can be compiled using the include files in
1662 # INCLUDES, setting the cache variable VAR accordingly.
1663 ac_fn_c_check_header_compile ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1669 $as_echo_n "(cached) " >&6
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1676 if ac_fn_c_try_compile "$LINENO"; then :
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_header_compile
1690 # ac_fn_c_try_cpp LINENO
1691 # ----------------------
1692 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_cpp conftest.$ac_ext"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1705 if test -s conftest.err
; then
1706 grep -v '^ *+' conftest.err
>conftest.er1
1707 cat conftest.er1
>&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } >/dev
/null
&& {
1712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.
$ac_ext >&5
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1727 # ac_fn_c_try_run LINENO
1728 # ----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1730 # that executables *can* be run.
1733 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1734 if { { ac_try
="$ac_link"
1736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>&5
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1745 { { case "(($ac_try" in
1746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_try") 2>&5
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; }; }; then :
1757 $as_echo "$as_me: program exited with status $ac_status" >&5
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1761 ac_retval
=$ac_status
1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1769 # ac_fn_c_check_func LINENO FUNC VAR
1770 # ----------------------------------
1771 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1772 ac_fn_c_check_func
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1782 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1784 #define $2 innocuous_$2
1786 /* System header to define __stub macros and hopefully few prototypes,
1787 which can conflict with char $2 (); below.
1788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1789 <limits.h> exists even on freestanding compilers. */
1792 # include <limits.h>
1794 # include <assert.h>
1799 /* Override any GCC internal prototype to avoid an error.
1800 Use char because int might match the return type of a GCC
1801 builtin and then its argument prototype would still apply. */
1806 /* The GNU C library defines this for functions which it implements
1807 to always fail with ENOSYS. Some functions are actually named
1808 something starting with __ and the normal name is an alias. */
1809 #if defined __stub_$2 || defined __stub___$2
1821 if ac_fn_c_try_link
"$LINENO"; then :
1826 rm -f core conftest.err conftest.
$ac_objext \
1827 conftest
$ac_exeext conftest.
$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1834 } # ac_fn_c_check_func
1836 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1837 # -------------------------------------------------------
1838 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1839 # the include files in INCLUDES and setting the cache variable VAR
1841 ac_fn_c_check_header_mongrel
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1848 $as_echo_n "(cached) " >&6
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1854 # Is the header compilable?
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1856 $as_echo_n "checking $2 usability... " >&6; }
1857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1862 if ac_fn_c_try_compile
"$LINENO"; then :
1863 ac_header_compiler
=yes
1865 ac_header_compiler
=no
1867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1869 $as_echo "$ac_header_compiler" >&6; }
1871 # Is the header present?
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1873 $as_echo_n "checking $2 presence... " >&6; }
1874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1878 if ac_fn_c_try_cpp
"$LINENO"; then :
1879 ac_header_preproc
=yes
1881 ac_header_preproc
=no
1883 rm -f conftest.err conftest.
$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1885 $as_echo "$ac_header_preproc" >&6; }
1887 # So? What about this header?
1888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1891 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1893 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1897 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1899 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1901 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1903 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1905 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1911 $as_echo_n "(cached) " >&6
1913 eval "$3=\$ac_header_compiler"
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1921 } # ac_fn_c_check_header_mongrel
1923 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1924 # -------------------------------------------
1925 # Tests whether TYPE exists after having included INCLUDES, setting cache
1926 # variable VAR accordingly.
1927 ac_fn_c_check_type
()
1929 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1933 $as_echo_n "(cached) " >&6
1936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1948 if ac_fn_c_try_compile
"$LINENO"; then :
1949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1961 if ac_fn_c_try_compile
"$LINENO"; then :
1966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1975 } # ac_fn_c_check_type
1977 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1978 # --------------------------------------------
1979 # Tries to find the compile-time value of EXPR in a program that includes
1980 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1982 ac_fn_c_compute_int
()
1984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1985 if test "$cross_compiling" = yes; then
1986 # Depending upon the size, compute the lo and hi bounds.
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1993 static int test_array [1 - 2 * !(($2) >= 0)];
2000 if ac_fn_c_try_compile
"$LINENO"; then :
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2009 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2016 if ac_fn_c_try_compile
"$LINENO"; then :
2017 ac_hi
=$ac_mid; break
2019 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2020 if test $ac_lo -le $ac_mid; then
2024 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2035 static int test_array [1 - 2 * !(($2) < 0)];
2042 if ac_fn_c_try_compile
"$LINENO"; then :
2045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2051 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2058 if ac_fn_c_try_compile
"$LINENO"; then :
2059 ac_lo
=$ac_mid; break
2061 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2062 if test $ac_mid -le $ac_hi; then
2066 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 # Binary search between lo and hi bounds.
2077 while test "x$ac_lo" != "x$ac_hi"; do
2078 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2085 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2092 if ac_fn_c_try_compile
"$LINENO"; then :
2095 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2100 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 static long int longval () { return $2; }
2108 static unsigned long int ulongval () { return $2; }
2115 FILE *f = fopen ("conftest.val", "w");
2120 long int i = longval ();
2123 fprintf (f, "%ld", i);
2127 unsigned long int i = ulongval ();
2130 fprintf (f, "%lu", i);
2132 /* Do not output a trailing newline, as this causes \r\n confusion
2133 on some platforms. */
2134 return ferror (f) || fclose (f) != 0;
2140 if ac_fn_c_try_run
"$LINENO"; then :
2141 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2146 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2153 } # ac_fn_c_compute_int
2154 cat >config.log
<<_ACEOF
2155 This file contains any messages produced by compilers while
2156 running configure, to aid debugging if configure makes a mistake.
2158 It was created by package-unused $as_me version-unused, which was
2159 generated by GNU Autoconf 2.64. Invocation command line was
2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2183 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir
=.
2195 $as_echo "PATH: $as_dir"
2211 # Keep a trace of the command line.
2212 # Strip out --no-create and --no-recursion so they do not pile up.
2213 # Strip out --silent because we don't want to record it for future runs.
2214 # Also quote any args containing shell meta-characters.
2215 # Make two passes to allow for proper duplicate-argument suppression.
2219 ac_must_keep_next
=false
2225 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2227 |
-silent |
--silent |
--silen |
--sile |
--sil)
2230 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2235 as_fn_append ac_configure_args1
" '$ac_arg'"
2236 if test $ac_must_keep_next = true
; then
2237 ac_must_keep_next
=false
# Got value, back to normal.
2240 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2241 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2242 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2243 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2244 case "$ac_configure_args0 " in
2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2248 -* ) ac_must_keep_next
=true
;;
2251 as_fn_append ac_configure_args
" '$ac_arg'"
2256 { ac_configure_args0
=; unset ac_configure_args0
;}
2257 { ac_configure_args1
=; unset ac_configure_args1
;}
2259 # When interrupted or exit'd, cleanup temporary files, and complete
2260 # config.log. We remove comments because anyway the quotes in there
2261 # would cause problems or look ugly.
2262 # WARNING: Use '\'' to represent an apostrophe within the trap.
2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2264 trap 'exit_status=$?
2265 # Save into config.log some information that might help in debugging.
2270 ## ---------------- ##
2271 ## Cache variables. ##
2272 ## ---------------- ##
2275 # The following way of writing the cache mishandles newlines in values,
2277 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2278 eval ac_val=\$$ac_var
2282 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2283 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2286 _ | IFS | as_nl) ;; #(
2287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2288 *) { eval $ac_var=; unset $ac_var;} ;;
2293 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2294 *${as_nl}ac_space=\ *)
2296 "s/'\''/'\''\\\\'\'''\''/g;
2297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2308 ## ----------------- ##
2309 ## Output variables. ##
2310 ## ----------------- ##
2313 for ac_var in $ac_subst_vars
2315 eval ac_val=\$$ac_var
2317 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2319 $as_echo "$ac_var='\''$ac_val'\''"
2323 if test -n "$ac_subst_files"; then
2325 ## ------------------- ##
2326 ## File substitutions. ##
2327 ## ------------------- ##
2330 for ac_var
in $ac_subst_files
2332 eval ac_val
=\$
$ac_var
2334 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2336 $as_echo "$ac_var='\''$ac_val'\''"
2341 if test -s confdefs.h; then
2351 test "$ac_signal" != 0 &&
2352 $as_echo "$as_me: caught signal $ac_signal"
2353 $as_echo "$as_me: exit $exit_status"
2355 rm -f core *.core core.conftest.* &&
2356 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2359 for ac_signal
in 1 2 13 15; do
2360 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2365 rm -f -r conftest
* confdefs.h
2367 $as_echo "/* confdefs.h */" > confdefs.h
2369 # Predefined preprocessor variables.
2371 cat >>confdefs.h
<<_ACEOF
2372 #define PACKAGE_NAME "$PACKAGE_NAME"
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_STRING "$PACKAGE_STRING"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_URL "$PACKAGE_URL"
2396 # Let the site file select an alternate cache file if it wants to.
2397 # Prefer an explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 ac_site_file1
=$CONFIG_SITE
2402 elif test "x$prefix" != xNONE
; then
2403 ac_site_file1
=$prefix/share
/config.site
2404 ac_site_file2
=$prefix/etc
/config.site
2406 ac_site_file1
=$ac_default_prefix/share
/config.site
2407 ac_site_file2
=$ac_default_prefix/etc
/config.site
2409 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2411 test "x$ac_site_file" = xNONE
&& continue
2412 if test -r "$ac_site_file"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2414 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2415 sed 's/^/| /' "$ac_site_file" >&5
2420 if test -r "$cache_file"; then
2421 # Some versions of bash will fail to source /dev/null (special
2422 # files actually), so we avoid doing that.
2423 if test -f "$cache_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2425 $as_echo "$as_me: loading cache $cache_file" >&6;}
2427 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2428 *) .
"./$cache_file";;
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2433 $as_echo "$as_me: creating cache $cache_file" >&6;}
2437 # Check that the precious variables saved in the cache have kept the same
2439 ac_cache_corrupted
=false
2440 for ac_var
in $ac_precious_vars; do
2441 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2442 eval ac_new_set
=\
$ac_env_${ac_var}_set
2443 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2444 eval ac_new_val
=\
$ac_env_${ac_var}_value
2445 case $ac_old_set,$ac_new_set in
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2449 ac_cache_corrupted
=: ;;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2453 ac_cache_corrupted
=: ;;
2456 if test "x$ac_old_val" != "x$ac_new_val"; then
2457 # differences in whitespace do not lead to failure.
2458 ac_old_val_w
=`echo x $ac_old_val`
2459 ac_new_val_w
=`echo x $ac_new_val`
2460 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2463 ac_cache_corrupted
=:
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2467 eval $ac_var=\
$ac_old_val
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2470 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2472 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2475 # Pass precious variables to config.status.
2476 if test "$ac_new_set" = set; then
2478 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2479 *) ac_arg
=$ac_var=$ac_new_val ;;
2481 case " $ac_configure_args " in
2482 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2483 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2487 if $ac_cache_corrupted; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2492 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2494 ## -------------------- ##
2495 ## Main body of script. ##
2496 ## -------------------- ##
2499 ac_cpp
='$CPP $CPPFLAGS'
2500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2509 ac_config_headers
="$ac_config_headers config.h"
2512 libtool_VERSION
=6:0:0
2515 # Default to --enable-multilib
2516 # Check whether --enable-multilib was given.
2517 if test "${enable_multilib+set}" = set; then :
2518 enableval
=$enable_multilib; case "$enableval" in
2519 yes) multilib
=yes ;;
2521 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2528 # We may get other options which we leave undocumented:
2529 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2530 # See config-ml.in if you want the gory details.
2532 if test "$srcdir" = "."; then
2533 if test "$with_target_subdir" != "."; then
2534 multi_basedir
="$srcdir/$with_multisrctop../.."
2536 multi_basedir
="$srcdir/$with_multisrctop.."
2539 multi_basedir
="$srcdir/.."
2543 # Even if the default multilib is not a cross compilation,
2544 # it may be that some of the other multilibs are.
2545 if test $cross_compiling = no
&& test $multilib = yes \
2546 && test "x${with_multisubdir}" != x
; then
2547 cross_compiling
=maybe
2550 ac_config_commands
="$ac_config_commands default-1"
2554 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2555 for ac_t
in install-sh
install.sh shtool
; do
2556 if test -f "$ac_dir/$ac_t"; then
2558 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2563 if test -z "$ac_aux_dir"; then
2564 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2567 # These three variables are undocumented and unsupported,
2568 # and are intended to be withdrawn in a future Autoconf release.
2569 # They can cause serious problems if a builder's source tree is in a directory
2570 # whose full name contains unusual characters.
2571 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2572 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2573 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2576 # Make sure we can run config.sub.
2577 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2578 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2581 $as_echo_n "checking build system type... " >&6; }
2582 if test "${ac_cv_build+set}" = set; then :
2583 $as_echo_n "(cached) " >&6
2585 ac_build_alias
=$build_alias
2586 test "x$ac_build_alias" = x
&&
2587 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2588 test "x$ac_build_alias" = x
&&
2589 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2590 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2591 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2595 $as_echo "$ac_cv_build" >&6; }
2596 case $ac_cv_build in
2598 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2601 ac_save_IFS
=$IFS; IFS
='-'
2607 # Remember, the first character of IFS is used to create $*,
2608 # except with old shells:
2611 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2615 $as_echo_n "checking host system type... " >&6; }
2616 if test "${ac_cv_host+set}" = set; then :
2617 $as_echo_n "(cached) " >&6
2619 if test "x$host_alias" = x
; then
2620 ac_cv_host
=$ac_cv_build
2622 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2623 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2628 $as_echo "$ac_cv_host" >&6; }
2631 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2634 ac_save_IFS
=$IFS; IFS
='-'
2640 # Remember, the first character of IFS is used to create $*,
2641 # except with old shells:
2644 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2648 $as_echo_n "checking target system type... " >&6; }
2649 if test "${ac_cv_target+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test "x$target_alias" = x
; then
2653 ac_cv_target
=$ac_cv_host
2655 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2656 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2661 $as_echo "$ac_cv_target" >&6; }
2662 case $ac_cv_target in
2664 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2666 target
=$ac_cv_target
2667 ac_save_IFS
=$IFS; IFS
='-'
2673 # Remember, the first character of IFS is used to create $*,
2674 # except with old shells:
2677 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2680 # The aliases save the names the user supplied, while $host etc.
2681 # will get canonicalized.
2682 test -n "$target_alias" &&
2683 test "$program_prefix$program_suffix$program_transform_name" = \
2685 program_prefix
=${target_alias}-
2687 target_alias
=${target_alias-$host_alias}
2689 am__api_version
='1.11'
2691 # Find a good install program. We prefer a C program (faster),
2692 # so one script is as good as another. But avoid the broken or
2693 # incompatible versions:
2694 # SysV /etc/install, /usr/sbin/install
2695 # SunOS /usr/etc/install
2696 # IRIX /sbin/install
2698 # AmigaOS /C/install, which installs bootblocks on floppy discs
2699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2702 # OS/2's system install, which has a completely different semantic
2703 # ./install, which can be erroneously created by make from ./install.sh.
2704 # Reject install programs that cannot install multiple files.
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2706 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2707 if test -z "$INSTALL"; then
2708 if test "${ac_cv_path_install+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 # Account for people who put trailing slashes in PATH elements.
2717 case $as_dir/ in #((
2718 .
/ | .
// |
/[cC
]/* | \
2719 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2720 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2723 # OSF1 and SCO ODT 3.0 have their own names for install.
2724 # Don't use installbsd from OSF since it installs stuff as root
2726 for ac_prog
in ginstall scoinst
install; do
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2729 if test $ac_prog = install &&
2730 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2731 # AIX install. It has an incompatible calling convention.
2733 elif test $ac_prog = install &&
2734 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2735 # program-specific install script used by HP pwplus--don't use.
2738 rm -rf conftest.one conftest.two conftest.dir
2739 echo one
> conftest.one
2740 echo two
> conftest.two
2742 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2743 test -s conftest.one
&& test -s conftest.two
&&
2744 test -s conftest.dir
/conftest.one
&&
2745 test -s conftest.dir
/conftest.two
2747 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2760 rm -rf conftest.one conftest.two conftest.dir
2763 if test "${ac_cv_path_install+set}" = set; then
2764 INSTALL
=$ac_cv_path_install
2766 # As a last resort, use the slow shell script. Don't cache a
2767 # value for INSTALL within a source directory, because that will
2768 # break other packages using the cache if that directory is
2769 # removed, or if the value is a relative name.
2770 INSTALL
=$ac_install_sh
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2774 $as_echo "$INSTALL" >&6; }
2776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2777 # It thinks the first close brace ends the variable substitution.
2778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2782 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2785 $as_echo_n "checking whether build environment is sane... " >&6; }
2788 echo timestamp
> conftest.
file
2789 # Reject unsafe characters in $srcdir or the absolute working directory
2790 # name. Accept space and tab only in the latter.
2794 *[\\\"\
#\$\&\'\`$am_lf]*)
2795 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2798 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2799 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2802 # Do `set' in a subshell so we don't clobber the current shell's
2803 # arguments. Must try -L first in case configure is actually a
2804 # symlink; some systems play weird games with the mod time of symlinks
2805 # (eg FreeBSD returns the mod time of the symlink's containing
2808 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2809 if test "$*" = "X"; then
2811 set X
`ls -t "$srcdir/configure" conftest.file`
2814 if test "$*" != "X $srcdir/configure conftest.file" \
2815 && test "$*" != "X conftest.file $srcdir/configure"; then
2817 # If neither matched, then we have a broken ls. This can happen
2818 # if, for instance, CONFIG_SHELL is bash and it inherits a
2819 # broken ls alias from the environment. This has actually
2820 # happened. Such a system could not be considered "sane".
2821 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2822 alias in your environment" "$LINENO" 5
2825 test "$2" = conftest.
file
2831 as_fn_error
"newly created file is older than distributed files!
2832 Check your system clock" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2835 $as_echo "yes" >&6; }
2836 test "$program_prefix" != NONE
&&
2837 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2838 # Use a double $ so make ignores it.
2839 test "$program_suffix" != NONE
&&
2840 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2841 # Double any \ or $.
2842 # By default was `s,x,x', remove it if useless.
2843 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2844 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2846 # expand $ac_aux_dir to an absolute path
2847 am_aux_dir
=`cd $ac_aux_dir && pwd`
2849 if test x
"${MISSING+set}" != xset
; then
2852 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2854 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2857 # Use eval to expand $SHELL
2858 if eval "$MISSING --run true"; then
2859 am_missing_run
="$MISSING --run "
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2863 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2866 if test x
"${install_sh}" != xset
; then
2869 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2871 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2875 # Installed binaries are usually stripped using `strip' when the user
2876 # run `make install-strip'. However `strip' might not be the right
2877 # tool to use in cross-compilation environments, therefore Automake
2878 # will honor the `STRIP' environment variable to overrule this program.
2879 if test "$cross_compiling" != no
; then
2880 if test -n "$ac_tool_prefix"; then
2881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2882 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if test "${ac_cv_prog_STRIP+set}" = set; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$STRIP"; then
2889 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir
=.
2896 for ac_exec_ext
in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 STRIP
=$ac_cv_prog_STRIP
2909 if test -n "$STRIP"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2911 $as_echo "$STRIP" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2919 if test -z "$ac_cv_prog_STRIP"; then
2921 # Extract the first word of "strip", so it can be a program name with args.
2922 set dummy strip
; ac_word
=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$ac_ct_STRIP"; then
2929 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_ac_ct_STRIP
="strip"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2949 if test -n "$ac_ct_STRIP"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2951 $as_echo "$ac_ct_STRIP" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2957 if test "x$ac_ct_STRIP" = x
; then
2960 case $cross_compiling:$ac_tool_warned in
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2964 ac_tool_warned
=yes ;;
2969 STRIP
="$ac_cv_prog_STRIP"
2973 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2976 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2977 if test -z "$MKDIR_P"; then
2978 if test "${ac_cv_path_mkdir+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_prog
in mkdir gmkdir
; do
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2989 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2990 'mkdir (GNU coreutils) '* | \
2991 'mkdir (coreutils) '* | \
2992 'mkdir (fileutils) '4.1*)
2993 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3003 if test "${ac_cv_path_mkdir+set}" = set; then
3004 MKDIR_P
="$ac_cv_path_mkdir -p"
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for MKDIR_P within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 test -d .
/--version && rmdir .
/--version
3011 MKDIR_P
="$ac_install_sh -d"
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3015 $as_echo "$MKDIR_P" >&6; }
3019 [\\/$
]* | ?
:[\\/]*) ;;
3020 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3023 for ac_prog
in gawk mawk nawk
awk
3025 # Extract the first word of "$ac_prog", so it can be a program name with args.
3026 set dummy
$ac_prog; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_AWK+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$AWK"; then
3033 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_AWK
="$ac_prog"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$AWK"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3055 $as_echo "$AWK" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3062 test -n "$AWK" && break
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3066 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3068 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3069 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3070 $as_echo_n "(cached) " >&6
3072 cat >conftest.
make <<\_ACEOF
3075 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3077 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3078 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3080 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3082 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3086 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3088 $as_echo "yes" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 SET_MAKE
="MAKE=${MAKE-make}"
3096 rm -rf .tst
2>/dev
/null
3097 mkdir .tst
2>/dev
/null
3098 if test -d .tst
; then
3103 rmdir .tst
2>/dev
/null
3105 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3106 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3107 # is not polluted with repeated "-I."
3108 am__isrc
=' -I$(srcdir)'
3109 # test to see if srcdir already configured
3110 if test -f $srcdir/config.status
; then
3111 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3115 # test whether we have cygpath
3116 if test -z "$CYGPATH_W"; then
3117 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3118 CYGPATH_W
='cygpath -w'
3125 # Define the identity of the package.
3127 VERSION
='version-unused'
3130 # Some tools Automake needs.
3132 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3135 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3138 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3141 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3144 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3146 # We need awk for the "check" target. The system "awk" is bad on
3148 # Always define AMTAR for backward compatibility.
3150 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3152 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3164 ac_cpp
='$CPP $CPPFLAGS'
3165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3170 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if test "${ac_cv_prog_CC+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC
="$CC" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3207 if test -z "$ac_cv_prog_CC"; then
3209 # Extract the first word of "gcc", so it can be a program name with args.
3210 set dummy gcc
; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ac_ct_CC"; then
3217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3226 ac_cv_prog_ac_ct_CC
="gcc"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3237 if test -n "$ac_ct_CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239 $as_echo "$ac_ct_CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3245 if test "x$ac_ct_CC" = x
; then
3248 case $cross_compiling:$ac_tool_warned in
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252 ac_tool_warned
=yes ;;
3260 if test -z "$CC"; then
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_CC+set}" = set; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC
="$CC" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3301 if test -z "$CC"; then
3302 # Extract the first word of "cc", so it can be a program name with args.
3303 set dummy cc
; ac_word
=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if test "${ac_cv_prog_CC+set}" = set; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$CC"; then
3310 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3321 ac_prog_rejected
=yes
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test $ac_prog_rejected = yes; then
3333 # We found a bogon in the path, so make sure we never use it.
3334 set dummy
$ac_cv_prog_CC
3336 if test $# != 0; then
3337 # We chose a different compiler from the bogus one.
3338 # However, it has the same basename, so the bogon will be chosen
3339 # first if we set CC to just the basename; use the full file name.
3341 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 for ac_prog
in cl.exe
3361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if test "${ac_cv_prog_CC+set}" = set; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC
="$CC" # Let the user override the test.
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391 $as_echo "$CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3398 test -n "$CC" && break
3401 if test -z "$CC"; then
3403 for ac_prog
in cl.exe
3405 # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy
$ac_prog; ac_word
=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$ac_ct_CC"; then
3413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422 ac_cv_prog_ac_ct_CC
="$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3433 if test -n "$ac_ct_CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3435 $as_echo "$ac_ct_CC" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$ac_ct_CC" && break
3445 if test "x$ac_ct_CC" = x
; then
3448 case $cross_compiling:$ac_tool_warned in
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452 ac_tool_warned
=yes ;;
3461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error
"no acceptable C compiler found in \$PATH
3464 See \`config.log' for more details." "$LINENO" 5; }
3466 # Provide some information about the compiler.
3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3470 for ac_option
in --version -v -V -qversion; do
3471 { { ac_try
="$ac_compiler $ac_option >&5"
3473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3480 if test -s conftest.err; then
3482 ... rest of stderr output deleted ...
3483 10q' conftest.err >conftest.er1
3484 cat conftest.er1 >&5
3485 rm -f conftest.er1 conftest.err
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 ac_clean_files_save=$ac_clean_files
3503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3504 # Try to create an executable without -o first, disregard a.out.
3505 # It will help us diagnose broken compilers, and finding out an intuition
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3508 $as_echo_n "checking for C compiler default output file name... " >&6; }
3509 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3511 # The possible output files:
3512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3515 for ac_file in $ac_files
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3519 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3524 if { { ac_try="$ac_link_default"
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_link_default") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3537 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3538 # so that the user can short-circuit this test for compilers unknown to
3540 for ac_file
in $ac_files ''
3542 test -f "$ac_file" ||
continue
3544 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3547 # We found the default executable, but exeext='' is most
3551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3553 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 # We set ac_cv_exeext here because the later test for it is not
3556 # safe: cross compilers may not add the suffix if given an `-o'
3557 # argument, so we may need to know it at that point already.
3558 # Even if this section looks crufty: it has the advantage of
3565 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3571 $as_echo "$ac_file" >&6; }
3572 if test -z "$ac_file"; then :
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 { as_fn_set_status
77
3579 as_fn_error
"C compiler cannot create executables
3580 See \`config.log' for more details." "$LINENO" 5; }; }
3582 ac_exeext
=$ac_cv_exeext
3584 # Check that the compiler produces executables we can run. If not, either
3585 # the compiler is broken, or we cross compile.
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3587 $as_echo_n "checking whether the C compiler works... " >&6; }
3588 # If not cross compiling, check that we can run a simple program.
3589 if test "$cross_compiling" != yes; then
3590 if { ac_try
='./$ac_file'
3591 { { case "(($ac_try" in
3592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596 $as_echo "$ac_try_echo"; } >&5
3597 (eval "$ac_try") 2>&5
3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600 test $ac_status = 0; }; }; then
3603 if test "$cross_compiling" = maybe; then
3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608 as_fn_error "cannot run C compiled programs.
3609 If you meant to cross compile
, use \
`--host'.
3610 See \`config.log
' for more details." "$LINENO" 5; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3615 $as_echo "yes" >&6; }
3617 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3618 ac_clean_files=$ac_clean_files_save
3619 # Check that the compiler produces executables we can run. If not, either
3620 # the compiler is broken, or we cross compile.
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3622 $as_echo_n "checking whether we are cross compiling... " >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3624 $as_echo "$cross_compiling" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3627 $as_echo_n "checking for suffix of executables... " >&6; }
3628 if { { ac_try="$ac_link"
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_link") 2>&5
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3640 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3641 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3643 for ac_file
in conftest.exe conftest conftest.
*; do
3644 test -f "$ac_file" ||
continue
3646 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3647 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3656 See \`config.log' for more details." "$LINENO" 5; }
3658 rm -f conftest
$ac_cv_exeext
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3660 $as_echo "$ac_cv_exeext" >&6; }
3662 rm -f conftest.
$ac_ext
3663 EXEEXT
=$ac_cv_exeext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3666 $as_echo_n "checking for suffix of object files... " >&6; }
3667 if test "${ac_cv_objext+set}" = set; then :
3668 $as_echo_n "(cached) " >&6
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 rm -f conftest.o conftest.obj
3682 if { { ac_try
="$ac_compile"
3684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_compile") 2>&5
3691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }; then :
3693 for ac_file in conftest.o conftest.obj conftest.*; do
3694 test -f "$ac_file" || continue;
3696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3697 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3702 $as_echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error "cannot compute suffix of object files
: cannot compile
3708 See \
`config.log' for more details." "$LINENO" 5; }
3710 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3713 $as_echo "$ac_cv_objext" >&6; }
3714 OBJEXT=$ac_cv_objext
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3718 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3719 $as_echo_n "(cached) " >&6
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3735 if ac_fn_c_try_compile "$LINENO"; then :
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3745 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3746 if test $ac_compiler_gnu = yes; then
3751 ac_test_CFLAGS=${CFLAGS+set}
3752 ac_save_CFLAGS=$CFLAGS
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3754 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3755 if test "${ac_cv_prog_cc_g+set}" = set; then :
3756 $as_echo_n "(cached) " >&6
3758 ac_save_c_werror_flag=$ac_c_werror_flag
3759 ac_c_werror_flag=yes
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_c_werror_flag=$ac_save_c_werror_flag
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3815 $as_echo "$ac_cv_prog_cc_g" >&6; }
3816 if test "$ac_test_CFLAGS" = set; then
3817 CFLAGS=$ac_save_CFLAGS
3818 elif test $ac_cv_prog_cc_g = yes; then
3819 if test "$GCC" = yes; then
3825 if test "$GCC" = yes; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3833 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 ac_cv_prog_cc_c89=no
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3842 #include <sys/types.h>
3843 #include <sys/stat.h>
3844 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3845 struct buf { int x; };
3846 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3847 static char *e (p, i)
3853 static char *f (char * (*g) (char **, int), char **p, ...)
3858 s = g (p, va_arg (v,int));
3863 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3864 function prototypes and stuff, but not '\xHH' hex character constants.
3865 These don't provoke an error unfortunately, instead are silently treated
3866 as 'x'. The following induces an error, until -std is added to get
3867 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3868 array size at least. It's necessary to write '\x00'==0 to get something
3869 that's true only with -std. */
3870 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3872 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3873 inside strings and character constants. */
3875 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3877 int test (int i, double x);
3878 struct s1 {int (*f) (int a);};
3879 struct s2 {int (*f) (double a);};
3880 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3886 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3891 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3892 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3894 CC="$ac_save_CC $ac_arg"
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_cv_prog_cc_c89=$ac_arg
3898 rm -f core conftest.err conftest.$ac_objext
3899 test "x$ac_cv_prog_cc_c89" != "xno" && break
3901 rm -f conftest.$ac_ext
3906 case "x$ac_cv_prog_cc_c89" in
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3909 $as_echo "none needed" >&6; } ;;
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3912 $as_echo "unsupported" >&6; } ;;
3914 CC="$CC $ac_cv_prog_cc_c89"
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3916 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3918 if test "x$ac_cv_prog_cc_c89" != xno; then :
3923 ac_cpp='$CPP $CPPFLAGS'
3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 DEPDIR="${am__leading_dot}deps"
3929 ac_config_commands="$ac_config_commands depfiles"
3932 am_make=${MAKE-make}
3933 cat > confinc << 'END'
3935 @echo this is the am__doit target
3938 # If we don't find an include directive, just comment out the code.
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3940 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3944 # First try GNU make style include.
3945 echo "include confinc" > confmf
3946 # Ignore all kinds of additional output from `make'.
3947 case `$am_make -s -f confmf 2> /dev/null` in #(
3948 *the\ am__doit\ target*)
3954 # Now try BSD make style include.
3955 if test "$am__include" = "#"; then
3956 echo '.include
"confinc"' > confmf
3957 case `$am_make -s -f confmf 2> /dev/null` in #(
3958 *the\ am__doit\ target*)
3959 am__include=.include
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3968 $as_echo "$_am_result" >&6; }
3969 rm -f confinc confmf
3971 # Check whether --enable-dependency-tracking was given.
3972 if test "${enable_dependency_tracking+set}" = set; then :
3973 enableval=$enable_dependency_tracking;
3976 if test "x$enable_dependency_tracking" != xno; then
3977 am_depcomp="$ac_aux_dir/depcomp"
3980 if test "x$enable_dependency_tracking" != xno
; then
3990 depcc
="$CC" am_compiler_list
=
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3993 $as_echo_n "checking dependency style of $depcc... " >&6; }
3994 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3998 # We make a subdir and do the tests there. Otherwise we can end up
3999 # making bogus files that we don't know about and never remove. For
4000 # instance it was reported that on HP-UX the gcc test will end up
4001 # making a dummy file named `D' -- because `-MD' means `put the output
4004 # Copy depcomp to subdir because otherwise we won't find it if we're
4005 # using a relative directory.
4006 cp "$am_depcomp" conftest.dir
4008 # We will build objects and dependencies in a subdirectory because
4009 # it helps to detect inapplicable dependency modes. For instance
4010 # both Tru64's cc and ICC support -MD to output dependencies as a
4011 # side effect of compilation, but ICC will put the dependencies in
4012 # the current directory while Tru64 will put them in the object
4016 am_cv_CC_dependencies_compiler_type
=none
4017 if test "$am_compiler_list" = ""; then
4018 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4021 case " $depcc " in #(
4022 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4025 for depmode
in $am_compiler_list; do
4026 # Setup a source with many dependencies, because some compilers
4027 # like to wrap large dependency lists on column 80 (with \), and
4028 # we should not choose a depcomp mode which is confused by this.
4030 # We need to recreate these files for each test, as the compiler may
4031 # overwrite some of them when testing with obscure command lines.
4032 # This happens at least with the AIX C compiler.
4034 for i
in 1 2 3 4 5 6; do
4035 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4036 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4037 # Solaris 8's {/usr,}/bin/sh.
4038 touch sub
/conftst
$i.h
4040 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4042 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4043 # mode. It turns out that the SunPro C++ compiler does not properly
4044 # handle `-M -o', and we need to detect this. Also, some Intel
4045 # versions had trouble with output in subdirs
4046 am__obj
=sub
/conftest.
${OBJEXT-o}
4047 am__minus_obj
="-o $am__obj"
4050 # This depmode causes a compiler race in universal mode.
4051 test "$am__universal" = false ||
continue
4054 # after this tag, mechanisms are not by side-effect, so they'll
4055 # only be used when explicitly requested
4056 if test "x$enable_dependency_tracking" = xyes
; then
4062 msvisualcpp | msvcmsys
)
4063 # This compiler won't grok `-c -o', but also, the minuso test has
4064 # not run yet. These depmodes are late enough in the game, and
4065 # so weak that their functioning should not be impacted.
4066 am__obj
=conftest.
${OBJEXT-o}
4071 if depmode
=$depmode \
4072 source=sub
/conftest.c object
=$am__obj \
4073 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4074 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4075 >/dev
/null
2>conftest.err
&&
4076 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4077 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4078 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4079 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4080 # icc doesn't choke on unknown options, it will just issue warnings
4081 # or remarks (even with -Werror). So we grep stderr for any message
4082 # that says an option was ignored or not supported.
4083 # When given -MP, icc 7.0 and 7.1 complain thusly:
4084 # icc: Command line warning: ignoring option '-M'; no argument required
4085 # The diagnosis changed in icc 8.0:
4086 # icc: Command line remark: option '-MP' not supported
4087 if (grep 'ignoring option' conftest.err ||
4088 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4089 am_cv_CC_dependencies_compiler_type
=$depmode
4098 am_cv_CC_dependencies_compiler_type
=none
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4103 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4104 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4107 test "x$enable_dependency_tracking" != xno \
4108 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4110 am__fastdepCC_FALSE
='#'
4112 am__fastdepCC_TRUE
='#'
4113 am__fastdepCC_FALSE
=
4118 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4119 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 if test -n "$ac_tool_prefix"; then
4122 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4123 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if test "${ac_cv_prog_GOC+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 if test -n "$GOC"; then
4130 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 test -z "$as_dir" && as_dir
=.
4137 for ac_exec_ext
in '' $ac_executable_extensions; do
4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4139 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 if test -n "$GOC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4152 $as_echo "$GOC" >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4160 if test -z "$ac_cv_prog_GOC"; then
4162 # Extract the first word of "gccgo", so it can be a program name with args.
4163 set dummy gccgo
; ac_word
=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -n "$ac_ct_GOC"; then
4170 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 ac_cv_prog_ac_ct_GOC
="gccgo"
4180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4190 if test -n "$ac_ct_GOC"; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4192 $as_echo "$ac_ct_GOC" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4198 if test "x$ac_ct_GOC" = x
; then
4201 case $cross_compiling:$ac_tool_warned in
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4205 ac_tool_warned
=yes ;;
4210 GOC
="$ac_cv_prog_GOC"
4213 if test -z "$GOC"; then
4214 if test -n "$ac_tool_prefix"; then
4215 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4216 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if test "${ac_cv_prog_GOC+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$GOC"; then
4223 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_exec_ext
in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 if test -n "$GOC"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4245 $as_echo "$GOC" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4254 if test -z "$GOC"; then
4255 # Extract the first word of "gccgo", so it can be a program name with args.
4256 set dummy gccgo
; ac_word
=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if test "${ac_cv_prog_GOC+set}" = set; then :
4260 $as_echo_n "(cached) " >&6
4262 if test -n "$GOC"; then
4263 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4274 ac_prog_rejected
=yes
4277 ac_cv_prog_GOC
="gccgo"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 if test $ac_prog_rejected = yes; then
4286 # We found a bogon in the path, so make sure we never use it.
4287 set dummy
$ac_cv_prog_GOC
4289 if test $# != 0; then
4290 # We chose a different compiler from the bogus one.
4291 # However, it has the same basename, so the bogon will be chosen
4292 # first if we set GOC to just the basename; use the full file name.
4294 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4300 if test -n "$GOC"; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4302 $as_echo "$GOC" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4312 # Provide some information about the compiler.
4313 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4316 { { ac_try
="$ac_compiler --version >&5"
4318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_compiler --version >&5") 2>conftest.err
4325 if test -s conftest.err; then
4327 ... rest of stderr output deleted ...
4328 10q' conftest.err >conftest.er1
4329 cat conftest.er1 >&5
4330 rm -f conftest.er1 conftest.err
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4347 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4348 # Check whether --enable-maintainer-mode was given.
4349 if test "${enable_maintainer_mode+set}" = set; then :
4350 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4352 USE_MAINTAINER_MODE=no
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4356 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4357 if test $USE_MAINTAINER_MODE = yes; then
4358 MAINTAINER_MODE_TRUE=
4359 MAINTAINER_MODE_FALSE='#'
4361 MAINTAINER_MODE_TRUE='#'
4362 MAINTAINER_MODE_FALSE=
4365 MAINT=$MAINTAINER_MODE_TRUE
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4370 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4371 if test "${ac_cv_path_SED+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4375 for ac_i in 1 2 3 4 5 6 7; do
4376 ac_script="$ac_script$as_nl$ac_script"
4378 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4379 { ac_script=; unset ac_script;}
4380 if test -z "$SED"; then
4381 ac_path_SED_found=false
4382 # Loop through the user's path and test for each of PROGNAME-LIST
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_prog in sed gsed; do
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4391 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4392 # Check for GNU ac_path_SED and select it if it is found.
4393 # Check for GNU $ac_path_SED
4394 case `"$ac_path_SED" --version 2>&1` in
4396 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4399 $as_echo_n 0123456789 >"conftest.in"
4402 cat "conftest.in" "conftest.in" >"conftest.tmp"
4403 mv "conftest.tmp" "conftest.in"
4404 cp "conftest.in" "conftest.nl"
4405 $as_echo '' >> "conftest.nl"
4406 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408 as_fn_arith $ac_count + 1 && ac_count=$as_val
4409 if test $ac_count -gt ${ac_path_SED_max-0}; then
4410 # Best one so far, save it but keep looking for a better one
4411 ac_cv_path_SED="$ac_path_SED"
4412 ac_path_SED_max=$ac_count
4414 # 10*(2^10) chars as input seems more than enough
4415 test $ac_count -gt 10 && break
4417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420 $ac_path_SED_found && break 3
4425 if test -z "$ac_cv_path_SED"; then
4426 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4434 $as_echo "$ac_cv_path_SED" >&6; }
4435 SED="$ac_cv_path_SED"
4438 test -z "$SED" && SED=sed
4439 Xsed="$SED -e 1s/^X//"
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4452 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4453 if test "${ac_cv_path_GREP+set}" = set; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -z "$GREP"; then
4457 ac_path_GREP_found=false
4458 # Loop through the user's path and test for each of PROGNAME-LIST
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4463 test -z "$as_dir" && as_dir=.
4464 for ac_prog in grep ggrep; do
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4467 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4468 # Check for GNU ac_path_GREP and select it if it is found.
4469 # Check for GNU $ac_path_GREP
4470 case `"$ac_path_GREP" --version 2>&1` in
4472 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4475 $as_echo_n 0123456789 >"conftest.in"
4478 cat "conftest.in" "conftest.in" >"conftest.tmp"
4479 mv "conftest.tmp" "conftest.in"
4480 cp "conftest.in" "conftest.nl"
4481 $as_echo 'GREP' >> "conftest.nl"
4482 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4483 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4484 as_fn_arith $ac_count + 1 && ac_count=$as_val
4485 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4486 # Best one so far, save it but keep looking for a better one
4487 ac_cv_path_GREP="$ac_path_GREP"
4488 ac_path_GREP_max=$ac_count
4490 # 10*(2^10) chars as input seems more than enough
4491 test $ac_count -gt 10 && break
4493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4496 $ac_path_GREP_found && break 3
4501 if test -z "$ac_cv_path_GREP"; then
4502 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4505 ac_cv_path_GREP=$GREP
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4510 $as_echo "$ac_cv_path_GREP" >&6; }
4511 GREP="$ac_cv_path_GREP"
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4515 $as_echo_n "checking for egrep... " >&6; }
4516 if test "${ac_cv_path_EGREP+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4520 then ac_cv_path_EGREP="$GREP -E"
4522 if test -z "$EGREP"; then
4523 ac_path_EGREP_found=false
4524 # Loop through the user's path and test for each of PROGNAME-LIST
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4529 test -z "$as_dir" && as_dir=.
4530 for ac_prog in egrep; do
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4533 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4534 # Check for GNU ac_path_EGREP and select it if it is found.
4535 # Check for GNU $ac_path_EGREP
4536 case `"$ac_path_EGREP" --version 2>&1` in
4538 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4541 $as_echo_n 0123456789 >"conftest.in"
4544 cat "conftest.in" "conftest.in" >"conftest.tmp"
4545 mv "conftest.tmp" "conftest.in"
4546 cp "conftest.in" "conftest.nl"
4547 $as_echo 'EGREP' >> "conftest.nl"
4548 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4549 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4550 as_fn_arith $ac_count + 1 && ac_count=$as_val
4551 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4552 # Best one so far, save it but keep looking for a better one
4553 ac_cv_path_EGREP="$ac_path_EGREP"
4554 ac_path_EGREP_max=$ac_count
4556 # 10*(2^10) chars as input seems more than enough
4557 test $ac_count -gt 10 && break
4559 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4562 $ac_path_EGREP_found && break 3
4567 if test -z "$ac_cv_path_EGREP"; then
4568 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4571 ac_cv_path_EGREP=$EGREP
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4577 $as_echo "$ac_cv_path_EGREP" >&6; }
4578 EGREP="$ac_cv_path_EGREP"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4582 $as_echo_n "checking for fgrep... " >&6; }
4583 if test "${ac_cv_path_FGREP+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4587 then ac_cv_path_FGREP="$GREP -F"
4589 if test -z "$FGREP"; then
4590 ac_path_FGREP_found=false
4591 # Loop through the user's path and test for each of PROGNAME-LIST
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4596 test -z "$as_dir" && as_dir=.
4597 for ac_prog in fgrep; do
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4600 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4601 # Check for GNU ac_path_FGREP and select it if it is found.
4602 # Check for GNU $ac_path_FGREP
4603 case `"$ac_path_FGREP" --version 2>&1` in
4605 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4608 $as_echo_n 0123456789 >"conftest.in"
4611 cat "conftest.in" "conftest.in" >"conftest.tmp"
4612 mv "conftest.tmp" "conftest.in"
4613 cp "conftest.in" "conftest.nl"
4614 $as_echo 'FGREP' >> "conftest.nl"
4615 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4616 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4617 as_fn_arith $ac_count + 1 && ac_count=$as_val
4618 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4619 # Best one so far, save it but keep looking for a better one
4620 ac_cv_path_FGREP="$ac_path_FGREP"
4621 ac_path_FGREP_max=$ac_count
4623 # 10*(2^10) chars as input seems more than enough
4624 test $ac_count -gt 10 && break
4626 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4629 $ac_path_FGREP_found && break 3
4634 if test -z "$ac_cv_path_FGREP"; then
4635 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4638 ac_cv_path_FGREP=$FGREP
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4644 $as_echo "$ac_cv_path_FGREP" >&6; }
4645 FGREP="$ac_cv_path_FGREP"
4648 test -z "$GREP" && GREP=grep
4666 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4668 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4671 $as_echo_n "checking how to print strings... " >&6; }
4672 # Test print first, because it will be a builtin if present.
4673 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4674 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4676 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4679 # Use this function as a fallback that always works.
4680 func_fallback_echo ()
4682 eval 'cat <<_LTECHO_EOF
4686 ECHO='func_fallback_echo'
4689 # func_echo_all arg...
4690 # Invoke $ECHO with all args, space-separated.
4697 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4698 $as_echo "printf" >&6; } ;;
4699 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4700 $as_echo "print -r" >&6; } ;;
4701 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4702 $as_echo "cat" >&6; } ;;
4720 # Check whether --with-gnu-ld was given.
4721 if test "${with_gnu_ld+set}" = set; then :
4722 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4728 if test "$GCC" = yes; then
4729 # Check if gcc -print-prog-name=ld gives a path.
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4731 $as_echo_n "checking for ld used by $CC... " >&6; }
4734 # gcc leaves a trailing carriage return which upsets mingw
4735 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4737 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4740 # Accept absolute paths.
4742 re_direlt='/[^/][^/]*/\.\./'
4743 # Canonicalize the pathname of ld
4744 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4745 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4746 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4748 test -z "$LD" && LD="$ac_prog"
4751 # If it fails, then pretend we aren't using GCC.
4755 # If it is relative, then search for the first ld in PATH.
4759 elif test "$with_gnu_ld" = yes; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4761 $as_echo_n "checking for GNU ld... " >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4764 $as_echo_n "checking for non-GNU ld... " >&6; }
4766 if test "${lt_cv_path_LD+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -z "$LD"; then
4770 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4771 for ac_dir in $PATH; do
4773 test -z "$ac_dir" && ac_dir=.
4774 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4775 lt_cv_path_LD="$ac_dir/$ac_prog"
4776 # Check to see if the program is GNU ld. I'd rather use --version,
4777 # but apparently some variants of GNU ld only accept -v.
4778 # Break only if it was the GNU/non-GNU ld that we prefer.
4779 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4780 *GNU* | *'with BFD'*)
4781 test "$with_gnu_ld" != no && break
4784 test "$with_gnu_ld" != yes && break
4791 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4796 if test -n "$LD"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4798 $as_echo "$LD" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4803 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4805 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4806 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4809 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4810 case `$LD -v 2>&1 </dev
/null
` in
4811 *GNU* | *'with BFD'*)
4812 lt_cv_prog_gnu_ld=yes
4815 lt_cv_prog_gnu_ld=no
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4820 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4821 with_gnu_ld=$lt_cv_prog_gnu_ld
4831 if test -n "$ac_tool_prefix"; then
4832 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$RANLIB"; then
4840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 RANLIB=$ac_cv_prog_RANLIB
4860 if test -n "$RANLIB"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4862 $as_echo "$RANLIB" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4870 if test -z "$ac_cv_prog_RANLIB"; then
4871 ac_ct_RANLIB=$RANLIB
4872 # Extract the first word of "ranlib", so it can be a program name with args.
4873 set dummy ranlib; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$ac_ct_RANLIB"; then
4880 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4889 ac_cv_prog_ac_ct_RANLIB="ranlib"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4900 if test -n "$ac_ct_RANLIB"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4902 $as_echo "$ac_ct_RANLIB" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4908 if test "x$ac_ct_RANLIB" = x; then
4911 case $cross_compiling:$ac_tool_warned in
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4915 ac_tool_warned=yes ;;
4917 RANLIB=$ac_ct_RANLIB
4920 RANLIB="$ac_cv_prog_RANLIB"
4923 if test -n "$ac_tool_prefix"; then
4924 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4925 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$OBJCOPY"; then
4932 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 OBJCOPY=$ac_cv_prog_OBJCOPY
4952 if test -n "$OBJCOPY"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4954 $as_echo "$OBJCOPY" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4962 if test -z "$ac_cv_prog_OBJCOPY"; then
4963 ac_ct_OBJCOPY=$OBJCOPY
4964 # Extract the first word of "objcopy", so it can be a program name with args.
4965 set dummy objcopy; ac_word=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$ac_ct_OBJCOPY"; then
4972 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4992 if test -n "$ac_ct_OBJCOPY"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4994 $as_echo "$ac_ct_OBJCOPY" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5000 if test "x$ac_ct_OBJCOPY" = x; then
5001 OBJCOPY="missing-objcopy"
5003 case $cross_compiling:$ac_tool_warned in
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5007 ac_tool_warned=yes ;;
5009 OBJCOPY=$ac_ct_OBJCOPY
5012 OBJCOPY="$ac_cv_prog_OBJCOPY"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5023 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5028 macro_version='2.2.7a'
5029 macro_revision='1.3134'
5043 ltmain="$ac_aux_dir/ltmain.sh"
5045 # Backslashify metacharacters that are still active within
5046 # double-quoted strings.
5047 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5049 # Same as above, but do not quote variable references.
5050 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5052 # Sed substitution to delay expansion of an escaped shell variable in a
5053 # double_quote_subst'ed string.
5054 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5056 # Sed substitution to delay expansion of an escaped single quote.
5057 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5059 # Sed substitution to avoid accidental globbing in evaled expressions
5060 no_glob_subst='s/\*/\\\*/g'
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5063 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5064 if test "${lt_cv_path_NM+set}" = set; then :
5065 $as_echo_n "(cached
) " >&6
5067 if test -n "$NM"; then
5068 # Let the user override the test.
5071 lt_nm_to_check="${ac_tool_prefix}nm
"
5072 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5073 lt_nm_to_check="$lt_nm_to_check nm
"
5075 for lt_tmp_nm in $lt_nm_to_check; do
5076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5077 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5079 test -z "$ac_dir" && ac_dir=.
5080 tmp_nm="$ac_dir/$lt_tmp_nm"
5081 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5082 # Check to see if the nm accepts a BSD-compat flag.
5083 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5084 # nm: unknown option "B
" ignored
5085 # Tru64's nm complains that /dev/null is an invalid object file
5086 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5087 */dev/null* | *'Invalid file or object type'*)
5088 lt_cv_path_NM="$tmp_nm -B"
5092 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5094 lt_cv_path_NM="$tmp_nm -p"
5098 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5099 continue # so that we can try to find one that supports BSD flags
5108 : ${lt_cv_path_NM=no}
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5112 $as_echo "$lt_cv_path_NM" >&6; }
5113 if test "$lt_cv_path_NM" != "no
"; then
5116 # Didn't find any BSD compatible name lister, look for dumpbin.
5117 if test -n "$DUMPBIN"; then :
5118 # Let the user override the test.
5120 if test -n "$ac_tool_prefix"; then
5121 for ac_prog in dumpbin "link
-dump"
5123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5126 $as_echo_n "checking
for $ac_word...
" >&6; }
5127 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5128 $as_echo_n "(cached
) " >&6
5130 if test -n "$DUMPBIN"; then
5131 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5150 DUMPBIN=$ac_cv_prog_DUMPBIN
5151 if test -n "$DUMPBIN"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5153 $as_echo "$DUMPBIN" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5156 $as_echo "no
" >&6; }
5160 test -n "$DUMPBIN" && break
5163 if test -z "$DUMPBIN"; then
5164 ac_ct_DUMPBIN=$DUMPBIN
5165 for ac_prog in dumpbin "link
-dump"
5167 # Extract the first word of "$ac_prog", so it can be a program name with args.
5168 set dummy $ac_prog; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5170 $as_echo_n "checking
for $ac_word...
" >&6; }
5171 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5172 $as_echo_n "(cached
) " >&6
5174 if test -n "$ac_ct_DUMPBIN"; then
5175 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5194 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5195 if test -n "$ac_ct_DUMPBIN"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5197 $as_echo "$ac_ct_DUMPBIN" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5200 $as_echo "no
" >&6; }
5204 test -n "$ac_ct_DUMPBIN" && break
5207 if test "x
$ac_ct_DUMPBIN" = x; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5213 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5214 ac_tool_warned=yes ;;
5216 DUMPBIN=$ac_ct_DUMPBIN
5220 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5222 DUMPBIN="$DUMPBIN -symbols"
5230 if test "$DUMPBIN" != ":"; then
5234 test -z "$NM" && NM=nm
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5242 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5243 if test "${lt_cv_nm_interface+set}" = set; then :
5244 $as_echo_n "(cached
) " >&6
5246 lt_cv_nm_interface="BSD nm
"
5247 echo "int some_variable
= 0;" > conftest.$ac_ext
5248 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5249 (eval "$ac_compile" 2>conftest.err)
5250 cat conftest.err >&5
5251 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5252 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5253 cat conftest.err >&5
5254 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5255 cat conftest.out >&5
5256 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5257 lt_cv_nm_interface="MS dumpbin
"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5262 $as_echo "$lt_cv_nm_interface" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5265 $as_echo_n "checking whether
ln -s works...
" >&6; }
5267 if test "$LN_S" = "ln -s"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5269 $as_echo "yes" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5272 $as_echo "no
, using
$LN_S" >&6; }
5275 # find the maximum length of command line arguments
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5277 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5278 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5279 $as_echo_n "(cached
) " >&6
5286 # On DJGPP, this test can blow up pretty badly due to problems in libc
5287 # (any single argument exceeding 2000 bytes causes a buffer overrun
5288 # during glob expansion). Even if it were fixed, the result of this
5289 # check would be larger than it should be.
5290 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5294 # Under GNU Hurd, this test is not required because there is
5295 # no limit to the length of command line arguments.
5296 # Libtool will interpret -1 as no limit whatsoever
5297 lt_cv_sys_max_cmd_len=-1;
5300 cygwin* | mingw* | cegcc*)
5301 # On Win9x/ME, this test blows up -- it succeeds, but takes
5302 # about 5 minutes as the teststring grows exponentially.
5303 # Worse, since 9x/ME are not pre-emptively multitasking,
5304 # you end up with a "frozen
" computer, even though with patience
5305 # the test eventually succeeds (with a max line length of 256k).
5306 # Instead, let's just punt: use the minimum linelength reported by
5307 # all of the supported platforms: 8192 (on NT/2K/XP).
5308 lt_cv_sys_max_cmd_len=8192;
5312 # On MiNT this can take a long time and run out of memory.
5313 lt_cv_sys_max_cmd_len=8192;
5317 # On AmigaOS with pdksh, this test takes hours, literally.
5318 # So we just punt and use a minimum line length of 8192.
5319 lt_cv_sys_max_cmd_len=8192;
5322 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5323 # This has been around since 386BSD, at least. Likely further.
5324 if test -x /sbin/sysctl; then
5325 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5326 elif test -x /usr/sbin/sysctl; then
5327 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5329 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5331 # And add a safety zone
5332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5333 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5337 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5338 lt_cv_sys_max_cmd_len=196608
5342 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5343 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5344 # nice to cause kernel panics so lets avoid the loop below.
5345 # First set a reasonable default.
5346 lt_cv_sys_max_cmd_len=16384
5348 if test -x /sbin/sysconfig; then
5349 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5350 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5355 lt_cv_sys_max_cmd_len=102400
5357 sysv5* | sco5v6* | sysv4.2uw2*)
5358 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5359 if test -n "$kargmax"; then
5360 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5362 lt_cv_sys_max_cmd_len=32768
5366 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5367 if test -n "$lt_cv_sys_max_cmd_len"; then
5368 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5369 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5371 # Make teststring a little bigger before we do anything with it.
5372 # a 1K string should be a reasonable start.
5373 for i in 1 2 3 4 5 6 7 8 ; do
5374 teststring=$teststring$teststring
5376 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5377 # If test is not a shell built-in, we'll probably end up computing a
5378 # maximum length that is only half of the actual maximum length, but
5380 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5381 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5382 test $i != 17 # 1/2 MB should be enough
5385 teststring=$teststring$teststring
5387 # Only check the string length outside the loop.
5388 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5390 # Add a significant safety factor because C++ compilers can tack on
5391 # massive amounts of additional arguments before passing them to the
5392 # linker. It appears as though 1/2 is a usable value.
5393 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5400 if test -n $lt_cv_sys_max_cmd_len ; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5402 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5405 $as_echo "none
" >&6; }
5407 max_cmd_len=$lt_cv_sys_max_cmd_len
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5419 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5420 # Try some XSI features
5423 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5425 && eval 'test $(( 1 + 1 )) -eq 2 \
5426 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5429 $as_echo "$xsi_shell" >&6; }
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5433 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5435 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5437 && lt_shell_append
=yes
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5439 $as_echo "$lt_shell_append" >&6; }
5442 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5452 # test EBCDIC or ASCII
5453 case `echo X|tr X '\101'` in
5454 A
) # ASCII based system
5455 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5456 lt_SP2NL
='tr \040 \012'
5457 lt_NL2SP
='tr \015\012 \040\040'
5459 *) # EBCDIC based system
5460 lt_SP2NL
='tr \100 \n'
5461 lt_NL2SP
='tr \r\n \100\100'
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5474 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5475 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5478 lt_cv_ld_reload_flag
='-r'
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5481 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5482 reload_flag
=$lt_cv_ld_reload_flag
5483 case $reload_flag in
5485 *) reload_flag
=" $reload_flag" ;;
5487 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5490 if test "$GCC" = yes; then
5491 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5493 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5508 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -n "$OBJDUMP"; then
5515 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_exec_ext
in '' $ac_executable_extensions; do
5523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5524 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 OBJDUMP
=$ac_cv_prog_OBJDUMP
5535 if test -n "$OBJDUMP"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5537 $as_echo "$OBJDUMP" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5545 if test -z "$ac_cv_prog_OBJDUMP"; then
5546 ac_ct_OBJDUMP
=$OBJDUMP
5547 # Extract the first word of "objdump", so it can be a program name with args.
5548 set dummy objdump
; ac_word
=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5552 $as_echo_n "(cached) " >&6
5554 if test -n "$ac_ct_OBJDUMP"; then
5555 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5564 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5575 if test -n "$ac_ct_OBJDUMP"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5577 $as_echo "$ac_ct_OBJDUMP" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5583 if test "x$ac_ct_OBJDUMP" = x
; then
5586 case $cross_compiling:$ac_tool_warned in
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5590 ac_tool_warned
=yes ;;
5592 OBJDUMP
=$ac_ct_OBJDUMP
5595 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5598 test -z "$OBJDUMP" && OBJDUMP
=objdump
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5609 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5610 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5614 lt_cv_file_magic_test_file
=
5615 lt_cv_deplibs_check_method
='unknown'
5616 # Need to set the preceding variable on all platforms that support
5617 # interlibrary dependencies.
5618 # 'none' -- dependencies not supported.
5619 # `unknown' -- same as none, but documents that we really don't know.
5620 # 'pass_all' -- all dependencies passed with no checks.
5621 # 'test_compile' -- check by making test program.
5622 # 'file_magic [[regex]]' -- check by looking for files in library path
5623 # which responds to the $file_magic_cmd with a given extended regex.
5624 # If you have `file' or equivalent on your system and you're not sure
5625 # whether `pass_all' will *always* work, you probably want this one.
5629 lt_cv_deplibs_check_method
=pass_all
5633 lt_cv_deplibs_check_method
=pass_all
5637 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5638 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5639 lt_cv_file_magic_test_file
=/shlib
/libc.so
5643 # func_win32_libid is a shell function defined in ltmain.sh
5644 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5645 lt_cv_file_magic_cmd
='func_win32_libid'
5649 # Base MSYS/MinGW do not provide the 'file' command needed by
5650 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5651 # unless we find 'file', for example because we are cross-compiling.
5652 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5653 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5654 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5655 lt_cv_file_magic_cmd
='func_win32_libid'
5657 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5658 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5663 # use the weaker test based on 'objdump'. See mingw*.
5664 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5665 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5668 darwin
* | rhapsody
*)
5669 lt_cv_deplibs_check_method
=pass_all
5672 freebsd
* | dragonfly
*)
5673 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5676 # Not sure whether the presence of OpenBSD here was a mistake.
5677 # Let's accept both of them until this is cleared up.
5678 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5679 lt_cv_file_magic_cmd
=/usr
/bin
/file
5680 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5684 lt_cv_deplibs_check_method
=pass_all
5689 lt_cv_deplibs_check_method
=pass_all
5693 lt_cv_deplibs_check_method
=pass_all
5696 hpux10.20
* | hpux11
*)
5697 lt_cv_file_magic_cmd
=/usr
/bin
/file
5700 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5701 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5704 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]'
5705 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5708 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5709 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5715 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5716 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5719 irix5
* | irix6
* | nonstopux
*)
5721 *-32|
*"-32 ") libmagic
=32-bit;;
5722 *-n32|
*"-n32 ") libmagic
=N32
;;
5723 *-64|
*"-64 ") libmagic
=64-bit;;
5724 *) libmagic
=never-match
;;
5726 lt_cv_deplibs_check_method
=pass_all
5729 # This must be Linux ELF.
5730 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5731 lt_cv_deplibs_check_method
=pass_all
5735 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5736 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5738 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5743 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5744 lt_cv_file_magic_cmd
=/usr
/bin
/file
5745 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5749 lt_cv_deplibs_check_method
=pass_all
5753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5754 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5756 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5760 osf3
* | osf4
* | osf5
*)
5761 lt_cv_deplibs_check_method
=pass_all
5765 lt_cv_deplibs_check_method
=pass_all
5769 lt_cv_deplibs_check_method
=pass_all
5772 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5773 lt_cv_deplibs_check_method
=pass_all
5777 case $host_vendor in
5779 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]'
5780 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5783 lt_cv_deplibs_check_method
=pass_all
5786 lt_cv_file_magic_cmd
='/bin/file'
5787 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5790 lt_cv_file_magic_cmd
='/bin/file'
5791 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5792 lt_cv_file_magic_test_file
=/lib
/libc.so
5795 lt_cv_deplibs_check_method
=pass_all
5798 lt_cv_deplibs_check_method
=pass_all
5804 lt_cv_deplibs_check_method
=pass_all
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5810 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5811 file_magic_cmd
=$lt_cv_file_magic_cmd
5812 deplibs_check_method
=$lt_cv_deplibs_check_method
5813 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5826 if test -n "$ac_tool_prefix"; then
5827 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5828 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if test "${ac_cv_prog_AR+set}" = set; then :
5832 $as_echo_n "(cached) " >&6
5834 if test -n "$AR"; then
5835 ac_cv_prog_AR
="$AR" # Let the user override the test.
5837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir
=.
5842 for ac_exec_ext
in '' $ac_executable_extensions; do
5843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5844 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 if test -n "$AR"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5857 $as_echo "$AR" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5865 if test -z "$ac_cv_prog_AR"; then
5867 # Extract the first word of "ar", so it can be a program name with args.
5868 set dummy
ar; ac_word
=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5872 $as_echo_n "(cached) " >&6
5874 if test -n "$ac_ct_AR"; then
5875 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir
=.
5882 for ac_exec_ext
in '' $ac_executable_extensions; do
5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884 ac_cv_prog_ac_ct_AR
="ar"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5895 if test -n "$ac_ct_AR"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5897 $as_echo "$ac_ct_AR" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5903 if test "x$ac_ct_AR" = x
; then
5906 case $cross_compiling:$ac_tool_warned in
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 ac_tool_warned
=yes ;;
5918 test -z "$AR" && AR
=ar
5919 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5931 if test -n "$ac_tool_prefix"; then
5932 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5933 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if test "${ac_cv_prog_STRIP+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -n "$STRIP"; then
5940 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 STRIP
=$ac_cv_prog_STRIP
5960 if test -n "$STRIP"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5962 $as_echo "$STRIP" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5970 if test -z "$ac_cv_prog_STRIP"; then
5972 # Extract the first word of "strip", so it can be a program name with args.
5973 set dummy strip
; ac_word
=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5977 $as_echo_n "(cached) " >&6
5979 if test -n "$ac_ct_STRIP"; then
5980 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir
=.
5987 for ac_exec_ext
in '' $ac_executable_extensions; do
5988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 ac_cv_prog_ac_ct_STRIP
="strip"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6000 if test -n "$ac_ct_STRIP"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6002 $as_echo "$ac_ct_STRIP" >&6; }
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6008 if test "x$ac_ct_STRIP" = x
; then
6011 case $cross_compiling:$ac_tool_warned in
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6015 ac_tool_warned
=yes ;;
6020 STRIP
="$ac_cv_prog_STRIP"
6023 test -z "$STRIP" && STRIP
=:
6030 if test -n "$ac_tool_prefix"; then
6031 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6032 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$RANLIB"; then
6039 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir
=.
6046 for ac_exec_ext
in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 RANLIB
=$ac_cv_prog_RANLIB
6059 if test -n "$RANLIB"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6061 $as_echo "$RANLIB" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6069 if test -z "$ac_cv_prog_RANLIB"; then
6070 ac_ct_RANLIB
=$RANLIB
6071 # Extract the first word of "ranlib", so it can be a program name with args.
6072 set dummy ranlib
; ac_word
=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6076 $as_echo_n "(cached) " >&6
6078 if test -n "$ac_ct_RANLIB"; then
6079 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir
=.
6086 for ac_exec_ext
in '' $ac_executable_extensions; do
6087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6099 if test -n "$ac_ct_RANLIB"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6101 $as_echo "$ac_ct_RANLIB" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6107 if test "x$ac_ct_RANLIB" = x
; then
6110 case $cross_compiling:$ac_tool_warned in
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned
=yes ;;
6116 RANLIB
=$ac_ct_RANLIB
6119 RANLIB
="$ac_cv_prog_RANLIB"
6122 test -z "$RANLIB" && RANLIB
=:
6129 # Determine commands to create old-style static archives.
6130 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6131 old_postinstall_cmds
='chmod 644 $oldlib'
6132 old_postuninstall_cmds
=
6134 if test -n "$RANLIB"; then
6137 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6140 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6143 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6148 lock_old_archive_extraction
=yes ;;
6150 lock_old_archive_extraction
=no
;;
6191 # If no C compiler was specified, use CC.
6194 # If no C compiler flags were specified, use CFLAGS.
6195 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6197 # Allow CC to be a program name with arguments.
6201 # Check for command to grab the raw symbol name followed by C symbol from nm.
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6203 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6204 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6205 $as_echo_n "(cached) " >&6
6208 # These are sane defaults that work on at least a few old systems.
6209 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6211 # Character class describing NM global symbol codes.
6212 symcode
='[BCDEGRST]'
6214 # Regexp to match symbols that can be accessed directly from C.
6215 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6217 # Define system-specific variables.
6222 cygwin
* | mingw
* | pw32
* | cegcc
*)
6223 symcode
='[ABCDGISTW]'
6226 if test "$host_cpu" = ia64
; then
6227 symcode
='[ABCDEGRST]'
6231 symcode
='[BCDEGRST]'
6234 symcode
='[BCDEGQRST]'
6245 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6253 # If we're using GNU nm, then use its standard symbol codes.
6254 case `$NM -V 2>&1` in
6255 *GNU
* |
*'with BFD'*)
6256 symcode
='[ABCDGIRSTW]' ;;
6259 # Transform an extracted symbol line into a proper C declaration.
6260 # Some systems (esp. on ia64) link data and code symbols differently,
6261 # so use this general approach.
6262 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6264 # Transform an extracted symbol line into symbol name and symbol address
6265 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6266 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'"
6268 # Handle CRLF in mingw tool chain
6272 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6276 # Try without a prefix underscore, then with it.
6277 for ac_symprfx
in "" "_"; do
6279 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6280 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6282 # Write the raw and C identifiers.
6283 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6284 # Fake it for dumpbin and say T for any non-static function
6285 # and D for any global variable.
6286 # Also find C++ and __fastcall symbols from MSVC++,
6287 # which start with @ or ?.
6288 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6289 " {last_section=section; section=\$ 3};"\
6290 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6291 " \$ 0!~/External *\|/{next};"\
6292 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6293 " {if(hide[section]) next};"\
6294 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6295 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6296 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6297 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6298 " ' prfx=^$ac_symprfx"
6300 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6303 # Check to see that the pipe works correctly.
6307 cat > conftest.
$ac_ext <<_LT_EOF
6312 void nm_test_func(void);
6313 void nm_test_func(void){}
6317 int main(){nm_test_var='a';nm_test_func();return(0);}
6320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6321 (eval $ac_compile) 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; }; then
6325 # Now try to grab the symbols.
6327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6328 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6331 test $ac_status = 0; } && test -s "$nlist"; then
6332 # Try sorting and uniquifying the output.
6333 if sort "$nlist" |
uniq > "$nlist"T
; then
6334 mv -f "$nlist"T
"$nlist"
6339 # Make sure that we snagged all the symbols we need.
6340 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6341 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6342 cat <<_LT_EOF > conftest.$ac_ext
6348 # Now generate the symbol file.
6349 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6351 cat <<_LT_EOF >> conftest.$ac_ext
6353 /* The mapping between symbol names and symbols. */
6358 lt__PROGRAM__LTX_preloaded_symbols[] =
6360 { "@PROGRAM@", (void *) 0 },
6362 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6363 cat <<\_LT_EOF
>> conftest.
$ac_ext
6367 /* This works around a problem
in FreeBSD linker
*/
6368 #ifdef FREEBSD_WORKAROUND
6369 static const void
*lt_preloaded_setup
() {
6370 return lt__PROGRAM__LTX_preloaded_symbols
;
6378 # Now try linking the two files.
6379 mv conftest.
$ac_objext conftstm.
$ac_objext
6380 lt_save_LIBS
="$LIBS"
6381 lt_save_CFLAGS
="$CFLAGS"
6382 LIBS
="conftstm.$ac_objext"
6383 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6385 (eval $ac_link) 2>&5
6387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6388 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6391 LIBS
="$lt_save_LIBS"
6392 CFLAGS
="$lt_save_CFLAGS"
6394 echo "cannot find nm_test_func in $nlist" >&5
6397 echo "cannot find nm_test_var in $nlist" >&5
6400 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6403 echo "$progname: failed program was:" >&5
6404 cat conftest.
$ac_ext >&5
6406 rm -rf conftest
* conftst
*
6408 # Do not use the global_symbol_pipe unless it works.
6409 if test "$pipe_works" = yes; then
6412 lt_cv_sys_global_symbol_pipe
=
6418 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6419 lt_cv_sys_global_symbol_to_cdecl
=
6421 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6423 $as_echo "failed" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6426 $as_echo "ok" >&6; }
6451 # Check whether --enable-libtool-lock was given.
6452 if test "${enable_libtool_lock+set}" = set; then :
6453 enableval
=$enable_libtool_lock;
6456 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6458 # Some flags need to be propagated to the compiler or linker for good
6462 # Find out which ABI we are using.
6463 echo 'int i;' > conftest.
$ac_ext
6464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6465 (eval $ac_compile) 2>&5
6467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6468 test $ac_status = 0; }; then
6469 case `/usr/bin/file conftest.$ac_objext` in
6481 # Find out which ABI we are using.
6482 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6484 (eval $ac_compile) 2>&5
6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6487 test $ac_status = 0; }; then
6488 if test "$lt_cv_prog_gnu_ld" = yes; then
6489 case `/usr/bin/file conftest.$ac_objext` in
6491 LD
="${LD-ld} -melf32bsmip"
6494 LD
="${LD-ld} -melf32bmipn32"
6497 LD
="${LD-ld} -melf64bmip"
6501 case `/usr/bin/file conftest.$ac_objext` in
6517 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6518 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6519 # Find out which ABI we are using.
6520 echo 'int i;' > conftest.
$ac_ext
6521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522 (eval $ac_compile) 2>&5
6524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525 test $ac_status = 0; }; then
6526 case `/usr/bin/file conftest.o` in
6529 x86_64-
*kfreebsd
*-gnu)
6530 LD
="${LD-ld} -m elf_i386_fbsd"
6533 case `/usr/bin/file conftest.o` in
6535 LD
="${LD-ld} -m elf32_x86_64"
6538 LD
="${LD-ld} -m elf_i386"
6542 powerpc64le-
*linux
*)
6543 LD
="${LD-ld} -m elf32lppclinux"
6546 LD
="${LD-ld} -m elf32ppclinux"
6549 LD
="${LD-ld} -m elf_s390"
6552 LD
="${LD-ld} -m elf32_sparc"
6558 x86_64-
*kfreebsd
*-gnu)
6559 LD
="${LD-ld} -m elf_x86_64_fbsd"
6562 LD
="${LD-ld} -m elf_x86_64"
6565 LD
="${LD-ld} -m elf64lppc"
6568 LD
="${LD-ld} -m elf64ppc"
6570 s390
*-*linux
*|s390
*-*tpf
*)
6571 LD
="${LD-ld} -m elf64_s390"
6574 LD
="${LD-ld} -m elf64_sparc"
6584 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6585 SAVE_CFLAGS
="$CFLAGS"
6586 CFLAGS
="$CFLAGS -belf"
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6588 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6589 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6590 $as_echo_n "(cached) " >&6
6593 ac_cpp
='$CPP $CPPFLAGS'
6594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6609 if ac_fn_c_try_link
"$LINENO"; then :
6610 lt_cv_cc_needs_belf
=yes
6612 lt_cv_cc_needs_belf
=no
6614 rm -f core conftest.err conftest.
$ac_objext \
6615 conftest
$ac_exeext conftest.
$ac_ext
6617 ac_cpp
='$CPP $CPPFLAGS'
6618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6624 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6625 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6626 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6627 CFLAGS
="$SAVE_CFLAGS"
6631 # Find out which ABI we are using.
6632 echo 'int i;' > conftest.
$ac_ext
6633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6634 (eval $ac_compile) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637 test $ac_status = 0; }; then
6638 case `/usr/bin/file conftest.o` in
6640 case $lt_cv_prog_gnu_ld in
6641 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6643 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6655 need_locks
="$enable_libtool_lock"
6659 rhapsody
* | darwin
*)
6660 if test -n "$ac_tool_prefix"; then
6661 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6662 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6668 if test -n "$DSYMUTIL"; then
6669 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir
=.
6676 for ac_exec_ext
in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6689 if test -n "$DSYMUTIL"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6691 $as_echo "$DSYMUTIL" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6699 if test -z "$ac_cv_prog_DSYMUTIL"; then
6700 ac_ct_DSYMUTIL
=$DSYMUTIL
6701 # Extract the first word of "dsymutil", so it can be a program name with args.
6702 set dummy dsymutil
; ac_word
=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6706 $as_echo_n "(cached) " >&6
6708 if test -n "$ac_ct_DSYMUTIL"; then
6709 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir
=.
6716 for ac_exec_ext
in '' $ac_executable_extensions; do
6717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6718 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6729 if test -n "$ac_ct_DSYMUTIL"; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6731 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6737 if test "x$ac_ct_DSYMUTIL" = x
; then
6740 case $cross_compiling:$ac_tool_warned in
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744 ac_tool_warned
=yes ;;
6746 DSYMUTIL
=$ac_ct_DSYMUTIL
6749 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6754 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6758 $as_echo_n "(cached) " >&6
6760 if test -n "$NMEDIT"; then
6761 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 NMEDIT
=$ac_cv_prog_NMEDIT
6781 if test -n "$NMEDIT"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6783 $as_echo "$NMEDIT" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_NMEDIT"; then
6792 ac_ct_NMEDIT
=$NMEDIT
6793 # Extract the first word of "nmedit", so it can be a program name with args.
6794 set dummy nmedit
; ac_word
=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6798 $as_echo_n "(cached) " >&6
6800 if test -n "$ac_ct_NMEDIT"; then
6801 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir
=.
6808 for ac_exec_ext
in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6821 if test -n "$ac_ct_NMEDIT"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6823 $as_echo "$ac_ct_NMEDIT" >&6; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_NMEDIT" = x
; then
6832 case $cross_compiling:$ac_tool_warned in
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned
=yes ;;
6838 NMEDIT
=$ac_ct_NMEDIT
6841 NMEDIT
="$ac_cv_prog_NMEDIT"
6844 if test -n "$ac_tool_prefix"; then
6845 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6846 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if test "${ac_cv_prog_LIPO+set}" = set; then :
6850 $as_echo_n "(cached) " >&6
6852 if test -n "$LIPO"; then
6853 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6859 test -z "$as_dir" && as_dir
=.
6860 for ac_exec_ext
in '' $ac_executable_extensions; do
6861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6862 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 LIPO
=$ac_cv_prog_LIPO
6873 if test -n "$LIPO"; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6875 $as_echo "$LIPO" >&6; }
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 $as_echo "no" >&6; }
6883 if test -z "$ac_cv_prog_LIPO"; then
6885 # Extract the first word of "lipo", so it can be a program name with args.
6886 set dummy lipo
; ac_word
=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6890 $as_echo_n "(cached) " >&6
6892 if test -n "$ac_ct_LIPO"; then
6893 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir
=.
6900 for ac_exec_ext
in '' $ac_executable_extensions; do
6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902 ac_cv_prog_ac_ct_LIPO
="lipo"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6913 if test -n "$ac_ct_LIPO"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6915 $as_echo "$ac_ct_LIPO" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6921 if test "x$ac_ct_LIPO" = x
; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned
=yes ;;
6933 LIPO
="$ac_cv_prog_LIPO"
6936 if test -n "$ac_tool_prefix"; then
6937 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6938 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6942 $as_echo_n "(cached) " >&6
6944 if test -n "$OTOOL"; then
6945 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir
=.
6952 for ac_exec_ext
in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 OTOOL
=$ac_cv_prog_OTOOL
6965 if test -n "$OTOOL"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6967 $as_echo "$OTOOL" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6975 if test -z "$ac_cv_prog_OTOOL"; then
6977 # Extract the first word of "otool", so it can be a program name with args.
6978 set dummy otool
; ac_word
=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6982 $as_echo_n "(cached) " >&6
6984 if test -n "$ac_ct_OTOOL"; then
6985 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir
=.
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994 ac_cv_prog_ac_ct_OTOOL
="otool"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7005 if test -n "$ac_ct_OTOOL"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7007 $as_echo "$ac_ct_OTOOL" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7013 if test "x$ac_ct_OTOOL" = x
; then
7016 case $cross_compiling:$ac_tool_warned in
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020 ac_tool_warned
=yes ;;
7025 OTOOL
="$ac_cv_prog_OTOOL"
7028 if test -n "$ac_tool_prefix"; then
7029 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7030 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$OTOOL64"; then
7037 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir
=.
7044 for ac_exec_ext
in '' $ac_executable_extensions; do
7045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 OTOOL64
=$ac_cv_prog_OTOOL64
7057 if test -n "$OTOOL64"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7059 $as_echo "$OTOOL64" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7067 if test -z "$ac_cv_prog_OTOOL64"; then
7068 ac_ct_OTOOL64
=$OTOOL64
7069 # Extract the first word of "otool64", so it can be a program name with args.
7070 set dummy otool64
; ac_word
=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7074 $as_echo_n "(cached) " >&6
7076 if test -n "$ac_ct_OTOOL64"; then
7077 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir
=.
7084 for ac_exec_ext
in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7097 if test -n "$ac_ct_OTOOL64"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7099 $as_echo "$ac_ct_OTOOL64" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7105 if test "x$ac_ct_OTOOL64" = x
; then
7108 case $cross_compiling:$ac_tool_warned in
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112 ac_tool_warned
=yes ;;
7114 OTOOL64
=$ac_ct_OTOOL64
7117 OTOOL64
="$ac_cv_prog_OTOOL64"
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7147 $as_echo_n "checking for -single_module linker flag... " >&6; }
7148 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7149 $as_echo_n "(cached) " >&6
7151 lt_cv_apple_cc_single_mod
=no
7152 if test -z "${LT_MULTI_MODULE}"; then
7153 # By default we will add the -single_module flag. You can override
7154 # by either setting the environment variable LT_MULTI_MODULE
7155 # non-empty at configure time, or by adding -multi_module to the
7157 rm -rf libconftest.dylib
*
7158 echo "int foo(void){return 1;}" > conftest.c
7159 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7160 -dynamiclib -Wl,-single_module conftest.c" >&5
7161 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7162 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7164 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7165 lt_cv_apple_cc_single_mod
=yes
7167 cat conftest.err
>&5
7169 rm -rf libconftest.dylib
*
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7174 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7176 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7177 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7178 $as_echo_n "(cached) " >&6
7180 lt_cv_ld_exported_symbols_list
=no
7181 save_LDFLAGS
=$LDFLAGS
7182 echo "_main" > conftest.sym
7183 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7195 if ac_fn_c_try_link
"$LINENO"; then :
7196 lt_cv_ld_exported_symbols_list
=yes
7198 lt_cv_ld_exported_symbols_list
=no
7200 rm -f core conftest.err conftest.
$ac_objext \
7201 conftest
$ac_exeext conftest.
$ac_ext
7202 LDFLAGS
="$save_LDFLAGS"
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7206 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7208 $as_echo_n "checking for -force_load linker flag... " >&6; }
7209 if test "${lt_cv_ld_force_load+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7212 lt_cv_ld_force_load
=no
7213 cat > conftest.c
<< _LT_EOF
7214 int forced_loaded() { return 2;}
7216 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7217 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7218 echo "$AR cru libconftest.a conftest.o" >&5
7219 $AR cru libconftest.a conftest.o
2>&5
7220 cat > conftest.c
<< _LT_EOF
7221 int main() { return 0;}
7223 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7224 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7226 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7227 lt_cv_ld_force_load
=yes
7229 cat conftest.err
>&5
7231 rm -f conftest.err libconftest.a conftest conftest.c
7232 rm -rf conftest.dSYM
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7236 $as_echo "$lt_cv_ld_force_load" >&6; }
7238 rhapsody
* | darwin1.
[012])
7239 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7241 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7242 darwin
*) # darwin 5.x on
7243 # if running on 10.5 or later, the deployment target defaults
7244 # to the OS version, if on x86, and 10.4, the deployment
7245 # target defaults to 10.4. Don't you love it?
7246 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7247 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7248 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7250 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7252 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7256 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7257 _lt_dar_single_mod
='$single_module'
7259 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7260 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7262 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7264 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7265 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7273 ac_cpp
='$CPP $CPPFLAGS'
7274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7278 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7279 # On Suns, sometimes $CPP names a directory.
7280 if test -n "$CPP" && test -d "$CPP"; then
7283 if test -z "$CPP"; then
7284 if test "${ac_cv_prog_CPP+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7287 # Double quotes because CPP needs to be expanded
7288 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7291 for ac_c_preproc_warn_flag
in '' yes
7293 # Use a header file that comes with gcc, so configuring glibc
7294 # with a fresh cross-compiler works.
7295 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7296 # <limits.h> exists even on freestanding compilers.
7297 # On the NeXT, cc -E runs the code through the compiler's parser,
7298 # not just through cpp. "Syntax error" is here to catch this case.
7299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h. */
7302 # include <limits.h>
7304 # include <assert.h>
7308 if ac_fn_c_try_cpp
"$LINENO"; then :
7311 # Broken: fails on valid input.
7314 rm -f conftest.err conftest.
$ac_ext
7316 # OK, works on sane cases. Now check whether nonexistent headers
7317 # can be detected and how.
7318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7320 #include <ac_nonexistent.h>
7322 if ac_fn_c_try_cpp
"$LINENO"; then :
7323 # Broken: success on invalid input.
7326 # Passes both tests.
7330 rm -f conftest.err conftest.
$ac_ext
7333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7334 rm -f conftest.err conftest.
$ac_ext
7335 if $ac_preproc_ok; then :
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7348 $as_echo "$CPP" >&6; }
7350 for ac_c_preproc_warn_flag
in '' yes
7352 # Use a header file that comes with gcc, so configuring glibc
7353 # with a fresh cross-compiler works.
7354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7355 # <limits.h> exists even on freestanding compilers.
7356 # On the NeXT, cc -E runs the code through the compiler's parser,
7357 # not just through cpp. "Syntax error" is here to catch this case.
7358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7361 # include <limits.h>
7363 # include <assert.h>
7367 if ac_fn_c_try_cpp
"$LINENO"; then :
7370 # Broken: fails on valid input.
7373 rm -f conftest.err conftest.
$ac_ext
7375 # OK, works on sane cases. Now check whether nonexistent headers
7376 # can be detected and how.
7377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7379 #include <ac_nonexistent.h>
7381 if ac_fn_c_try_cpp
"$LINENO"; then :
7382 # Broken: success on invalid input.
7385 # Passes both tests.
7389 rm -f conftest.err conftest.
$ac_ext
7392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7393 rm -f conftest.err conftest.
$ac_ext
7394 if $ac_preproc_ok; then :
7397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7399 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7400 See \`config.log' for more details." "$LINENO" 5; }
7404 ac_cpp
='$CPP $CPPFLAGS'
7405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7411 $as_echo_n "checking for ANSI C header files... " >&6; }
7412 if test "${ac_cv_header_stdc+set}" = set; then :
7413 $as_echo_n "(cached) " >&6
7415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7416 /* end confdefs.h. */
7430 if ac_fn_c_try_compile
"$LINENO"; then :
7431 ac_cv_header_stdc
=yes
7433 ac_cv_header_stdc
=no
7435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7437 if test $ac_cv_header_stdc = yes; then
7438 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7440 /* end confdefs.h. */
7444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7445 $EGREP "memchr" >/dev
/null
2>&1; then :
7448 ac_cv_header_stdc
=no
7454 if test $ac_cv_header_stdc = yes; then
7455 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7457 /* end confdefs.h. */
7461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7462 $EGREP "free" >/dev
/null
2>&1; then :
7465 ac_cv_header_stdc
=no
7471 if test $ac_cv_header_stdc = yes; then
7472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7473 if test "$cross_compiling" = yes; then :
7476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7480 #if ((' ' & 0x0FF) == 0x020)
7481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7484 # define ISLOWER(c) \
7485 (('a' <= (c) && (c) <= 'i') \
7486 || ('j' <= (c) && (c) <= 'r') \
7487 || ('s' <= (c) && (c) <= 'z'))
7488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7496 for (i = 0; i < 256; i++)
7497 if (XOR (islower (i), ISLOWER (i))
7498 || toupper (i) != TOUPPER (i))
7503 if ac_fn_c_try_run
"$LINENO"; then :
7506 ac_cv_header_stdc
=no
7508 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7509 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7515 $as_echo "$ac_cv_header_stdc" >&6; }
7516 if test $ac_cv_header_stdc = yes; then
7518 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7523 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7524 inttypes.h stdint.h unistd.h
7526 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7527 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7529 eval as_val
=\$
$as_ac_Header
7530 if test "x$as_val" = x
""yes; then :
7531 cat >>confdefs.h
<<_ACEOF
7532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header
in dlfcn.h
7542 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7544 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7545 cat >>confdefs.h
<<_ACEOF
7546 #define HAVE_DLFCN_H 1
7553 if test -n "$ac_tool_prefix"; then
7554 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7555 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557 $as_echo_n "checking for $ac_word... " >&6; }
7558 if test "${ac_cv_prog_GOC+set}" = set; then :
7559 $as_echo_n "(cached) " >&6
7561 if test -n "$GOC"; then
7562 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir
=.
7569 for ac_exec_ext
in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 if test -n "$GOC"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7584 $as_echo "$GOC" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587 $as_echo "no" >&6; }
7592 if test -z "$ac_cv_prog_GOC"; then
7594 # Extract the first word of "gccgo", so it can be a program name with args.
7595 set dummy gccgo
; ac_word
=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 $as_echo_n "checking for $ac_word... " >&6; }
7598 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7599 $as_echo_n "(cached) " >&6
7601 if test -n "$ac_ct_GOC"; then
7602 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir
=.
7609 for ac_exec_ext
in '' $ac_executable_extensions; do
7610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 ac_cv_prog_ac_ct_GOC
="gccgo"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7622 if test -n "$ac_ct_GOC"; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7624 $as_echo "$ac_ct_GOC" >&6; }
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627 $as_echo "no" >&6; }
7630 if test "x$ac_ct_GOC" = x
; then
7633 case $cross_compiling:$ac_tool_warned in
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637 ac_tool_warned
=yes ;;
7642 GOC
="$ac_cv_prog_GOC"
7658 # Check whether --enable-shared was given.
7659 if test "${enable_shared+set}" = set; then :
7660 enableval
=$enable_shared; p
=${PACKAGE-default}
7662 yes) enable_shared
=yes ;;
7663 no
) enable_shared
=no
;;
7666 # Look at the argument we got. We use all the common list separators.
7667 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7668 for pkg
in $enableval; do
7670 if test "X$pkg" = "X$p"; then
7689 # Check whether --enable-static was given.
7690 if test "${enable_static+set}" = set; then :
7691 enableval
=$enable_static; p
=${PACKAGE-default}
7693 yes) enable_static
=yes ;;
7694 no
) enable_static
=no
;;
7697 # Look at the argument we got. We use all the common list separators.
7698 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7699 for pkg
in $enableval; do
7701 if test "X$pkg" = "X$p"; then
7721 # Check whether --with-pic was given.
7722 if test "${with_pic+set}" = set; then :
7723 withval
=$with_pic; pic_mode
="$withval"
7729 test -z "$pic_mode" && pic_mode
=default
7737 # Check whether --enable-fast-install was given.
7738 if test "${enable_fast_install+set}" = set; then :
7739 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7741 yes) enable_fast_install
=yes ;;
7742 no
) enable_fast_install
=no
;;
7744 enable_fast_install
=no
7745 # Look at the argument we got. We use all the common list separators.
7746 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7747 for pkg
in $enableval; do
7749 if test "X$pkg" = "X$p"; then
7750 enable_fast_install
=yes
7757 enable_fast_install
=yes
7770 # This can be used to rebuild libtool when needed
7771 LIBTOOL_DEPS
="$ltmain"
7773 # Always use our own libtool.
7774 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7801 test -z "$LN_S" && LN_S
="ln -s"
7816 if test -n "${ZSH_VERSION+set}" ; then
7817 setopt NO_GLOB_SUBST
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7821 $as_echo_n "checking for objdir... " >&6; }
7822 if test "${lt_cv_objdir+set}" = set; then :
7823 $as_echo_n "(cached) " >&6
7825 rm -f .libs
2>/dev
/null
7826 mkdir .libs
2>/dev
/null
7827 if test -d .libs
; then
7830 # MS-DOS does not allow filenames that begin with a dot.
7833 rmdir .libs
2>/dev
/null
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7836 $as_echo "$lt_cv_objdir" >&6; }
7837 objdir
=$lt_cv_objdir
7843 cat >>confdefs.h
<<_ACEOF
7844 #define LT_OBJDIR "$lt_cv_objdir/"
7852 # AIX sometimes has problems with the GCC collect2 program. For some
7853 # reason, if we set the COLLECT_NAMES environment variable, the problems
7854 # vanish in a puff of smoke.
7855 if test "X${COLLECT_NAMES+set}" != Xset
; then
7857 export COLLECT_NAMES
7864 can_build_shared
=yes
7866 # All known linkers require a `.a' archive for static linking (except MSVC,
7867 # which needs '.lib').
7870 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7873 old_CFLAGS
="$CFLAGS"
7875 # Set sane defaults for various variables
7876 test -z "$CC" && CC
=cc
7877 test -z "$LTCC" && LTCC
=$CC
7878 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7879 test -z "$LD" && LD
=ld
7880 test -z "$ac_objext" && ac_objext
=o
7882 for cc_temp
in $compiler""; do
7884 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7885 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7890 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7893 # Only perform the check for file, if the check method requires it
7894 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7895 case $deplibs_check_method in
7897 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7899 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7900 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7905 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7908 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7909 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7910 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7911 for ac_dir
in $ac_dummy; do
7913 test -z "$ac_dir" && ac_dir
=.
7914 if test -f $ac_dir/${ac_tool_prefix}file; then
7915 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7916 if test -n "$file_magic_test_file"; then
7917 case $deplibs_check_method in
7919 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7920 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7921 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7922 $EGREP "$file_magic_regex" > /dev
/null
; then
7927 *** Warning: the command libtool uses to detect shared libraries,
7928 *** $file_magic_cmd, produces output that libtool cannot recognize.
7929 *** The result is that libtool may fail to recognize shared libraries
7930 *** as such. This will affect the creation of libtool libraries that
7931 *** depend on shared libraries, but programs linked with such libtool
7932 *** libraries will work regardless of this problem. Nevertheless, you
7933 *** may want to report the problem to your system manager and/or to
7934 *** bug-libtool@gnu.org
7944 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7949 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7950 if test -n "$MAGIC_CMD"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7952 $as_echo "$MAGIC_CMD" >&6; }
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955 $as_echo "no" >&6; }
7962 if test -z "$lt_cv_path_MAGIC_CMD"; then
7963 if test -n "$ac_tool_prefix"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7965 $as_echo_n "checking for file... " >&6; }
7966 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7967 $as_echo_n "(cached) " >&6
7971 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7974 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7975 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7976 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7977 for ac_dir
in $ac_dummy; do
7979 test -z "$ac_dir" && ac_dir
=.
7980 if test -f $ac_dir/file; then
7981 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7982 if test -n "$file_magic_test_file"; then
7983 case $deplibs_check_method in
7985 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7986 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7987 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7988 $EGREP "$file_magic_regex" > /dev
/null
; then
7993 *** Warning: the command libtool uses to detect shared libraries,
7994 *** $file_magic_cmd, produces output that libtool cannot recognize.
7995 *** The result is that libtool may fail to recognize shared libraries
7996 *** as such. This will affect the creation of libtool libraries that
7997 *** depend on shared libraries, but programs linked with such libtool
7998 *** libraries will work regardless of this problem. Nevertheless, you
7999 *** may want to report the problem to your system manager and/or to
8000 *** bug-libtool@gnu.org
8010 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8015 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8016 if test -n "$MAGIC_CMD"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8018 $as_echo "$MAGIC_CMD" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8034 # Use C for the default configuration in the libtool script
8038 ac_cpp
='$CPP $CPPFLAGS'
8039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8044 # Source file extension for C test sources.
8047 # Object file extension for compiled C test sources.
8051 # Code to be used in simple compile tests
8052 lt_simple_compile_test_code
="int some_variable = 0;"
8054 # Code to be used in simple link tests
8055 lt_simple_link_test_code
='int main(){return(0);}'
8063 # If no C compiler was specified, use CC.
8066 # If no C compiler flags were specified, use CFLAGS.
8067 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8069 # Allow CC to be a program name with arguments.
8072 # Save the default compiler, since it gets overwritten when the other
8073 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8074 compiler_DEFAULT
=$CC
8076 # save warnings/boilerplate of simple test code
8077 ac_outfile
=conftest.
$ac_objext
8078 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8079 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8080 _lt_compiler_boilerplate
=`cat conftest.err`
8083 ac_outfile
=conftest.
$ac_objext
8084 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8085 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8086 _lt_linker_boilerplate
=`cat conftest.err`
8091 ## There is no encapsulation within the following macros, do not change
8092 ## the running order or otherwise move them around unless you know exactly
8093 ## what you are doing...
8094 if test -n "$compiler"; then
8096 lt_prog_compiler_no_builtin_flag
=
8098 if test "$GCC" = yes; then
8099 case $cc_basename in
8101 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8103 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8107 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8108 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8109 $as_echo_n "(cached) " >&6
8111 lt_cv_prog_compiler_rtti_exceptions
=no
8112 ac_outfile
=conftest.
$ac_objext
8113 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8114 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8115 # Insert the option either (1) after the last *FLAGS variable, or
8116 # (2) before a word containing "conftest.", or (3) at the end.
8117 # Note that $ac_compile itself does not contain backslashes and begins
8118 # with a dollar sign (not a hyphen), so the echo should work correctly.
8119 # The option is referenced via a variable to avoid confusing sed.
8120 lt_compile
=`echo "$ac_compile" | $SED \
8121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8123 -e 's:$: $lt_compiler_flag:'`
8124 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8125 (eval "$lt_compile" 2>conftest.err
)
8127 cat conftest.err
>&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 if (exit $ac_status) && test -s "$ac_outfile"; then
8130 # The compiler can only warn and ignore the option if not recognized
8131 # So say no if there are warnings other than the usual output.
8132 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8133 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8134 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8135 lt_cv_prog_compiler_rtti_exceptions
=yes
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8142 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8144 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8145 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8157 lt_prog_compiler_wl
=
8158 lt_prog_compiler_pic
=
8159 lt_prog_compiler_static
=
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8162 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8164 if test "$GCC" = yes; then
8165 lt_prog_compiler_wl
='-Wl,'
8166 lt_prog_compiler_static
='-static'
8170 # All AIX code is PIC.
8171 if test "$host_cpu" = ia64
; then
8172 # AIX 5 now supports IA64 processor
8173 lt_prog_compiler_static
='-Bstatic'
8175 lt_prog_compiler_pic
='-fPIC'
8181 # see comment about AmigaOS4 .so support
8182 lt_prog_compiler_pic
='-fPIC'
8185 # FIXME: we need at least 68020 code to build shared libraries, but
8186 # adding the `-m68020' flag to GCC prevents building anything better,
8188 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8193 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8194 # PIC is the default for these OSes.
8197 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8198 # This hack is so that the source file can tell whether it is being
8199 # built for inclusion in a dll (and should export symbols for example).
8200 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8201 # (--disable-auto-import) libraries
8202 lt_prog_compiler_pic
='-DDLL_EXPORT'
8205 darwin
* | rhapsody
*)
8206 # PIC is the default on this platform
8207 # Common symbols not allowed in MH_DYLIB files
8208 lt_prog_compiler_pic
='-fno-common'
8212 # PIC is the default for Haiku.
8213 # The "-static" flag exists, but is broken.
8214 lt_prog_compiler_static
=
8218 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8219 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8220 # sets the default TLS model and affects inlining.
8226 lt_prog_compiler_pic
='-fPIC'
8232 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8233 # Instead, we relocate shared libraries at runtime.
8237 # Just because we use GCC doesn't mean we suddenly get shared libraries
8238 # on systems that don't support them.
8239 lt_prog_compiler_can_build_shared
=no
8244 # QNX uses GNU C++, but need to define -shared option too, otherwise
8246 lt_prog_compiler_pic
='-fPIC -shared'
8250 if test -d /usr
/nec
; then
8251 lt_prog_compiler_pic
=-Kconform_pic
8256 lt_prog_compiler_pic
='-fPIC'
8260 case $cc_basename in
8261 nvcc
*) # Cuda Compiler Driver 2.2
8262 lt_prog_compiler_wl
='-Xlinker '
8263 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8267 # PORTME Check for flag to pass linker flags through the system compiler.
8270 lt_prog_compiler_wl
='-Wl,'
8271 if test "$host_cpu" = ia64
; then
8272 # AIX 5 now supports IA64 processor
8273 lt_prog_compiler_static
='-Bstatic'
8275 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8279 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8280 # This hack is so that the source file can tell whether it is being
8281 # built for inclusion in a dll (and should export symbols for example).
8282 lt_prog_compiler_pic
='-DDLL_EXPORT'
8285 hpux9
* | hpux10
* | hpux11
*)
8286 lt_prog_compiler_wl
='-Wl,'
8287 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8294 lt_prog_compiler_pic
='+Z'
8297 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8298 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8301 irix5
* | irix6
* | nonstopux
*)
8302 lt_prog_compiler_wl
='-Wl,'
8303 # PIC (with -KPIC) is the default.
8304 lt_prog_compiler_static
='-non_shared'
8307 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8308 case $cc_basename in
8309 # old Intel for x86_64 which still supported -KPIC.
8311 lt_prog_compiler_wl
='-Wl,'
8312 lt_prog_compiler_pic
='-KPIC'
8313 lt_prog_compiler_static
='-static'
8315 # icc used to be incompatible with GCC.
8316 # ICC 10 doesn't accept -KPIC any more.
8318 lt_prog_compiler_wl
='-Wl,'
8319 lt_prog_compiler_pic
='-fPIC'
8320 lt_prog_compiler_static
='-static'
8322 # Lahey Fortran 8.1.
8324 lt_prog_compiler_wl
='-Wl,'
8325 lt_prog_compiler_pic
='--shared'
8326 lt_prog_compiler_static
='--static'
8328 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8329 # Portland Group compilers (*not* the Pentium gcc compiler,
8330 # which looks to be a dead project)
8331 lt_prog_compiler_wl
='-Wl,'
8332 lt_prog_compiler_pic
='-fpic'
8333 lt_prog_compiler_static
='-Bstatic'
8336 lt_prog_compiler_wl
='-Wl,'
8337 # All Alpha code is PIC.
8338 lt_prog_compiler_static
='-non_shared'
8340 xl
* | bgxl
* | bgf
* | mpixl
*)
8341 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8342 lt_prog_compiler_wl
='-Wl,'
8343 lt_prog_compiler_pic
='-qpic'
8344 lt_prog_compiler_static
='-qstaticlink'
8347 case `$CC -V 2>&1 | sed 5q` in
8348 *Sun\ F
* |
*Sun
*Fortran
*)
8349 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8350 lt_prog_compiler_pic
='-KPIC'
8351 lt_prog_compiler_static
='-Bstatic'
8352 lt_prog_compiler_wl
=''
8356 lt_prog_compiler_pic
='-KPIC'
8357 lt_prog_compiler_static
='-Bstatic'
8358 lt_prog_compiler_wl
='-Wl,'
8366 lt_prog_compiler_pic
='-KPIC'
8367 lt_prog_compiler_static
='-Bstatic'
8371 # QNX uses GNU C++, but need to define -shared option too, otherwise
8373 lt_prog_compiler_pic
='-fPIC -shared'
8376 osf3
* | osf4
* | osf5
*)
8377 lt_prog_compiler_wl
='-Wl,'
8378 # All OSF/1 code is PIC.
8379 lt_prog_compiler_static
='-non_shared'
8383 lt_prog_compiler_static
='-non_shared'
8387 lt_prog_compiler_pic
='-KPIC'
8388 lt_prog_compiler_static
='-Bstatic'
8389 case $cc_basename in
8391 lt_prog_compiler_wl
='-Qoption ld ';;
8393 lt_prog_compiler_wl
='-Wl,';;
8398 lt_prog_compiler_wl
='-Qoption ld '
8399 lt_prog_compiler_pic
='-PIC'
8400 lt_prog_compiler_static
='-Bstatic'
8403 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8404 lt_prog_compiler_wl
='-Wl,'
8405 lt_prog_compiler_pic
='-KPIC'
8406 lt_prog_compiler_static
='-Bstatic'
8410 if test -d /usr
/nec
;then
8411 lt_prog_compiler_pic
='-Kconform_pic'
8412 lt_prog_compiler_static
='-Bstatic'
8416 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8417 lt_prog_compiler_wl
='-Wl,'
8418 lt_prog_compiler_pic
='-KPIC'
8419 lt_prog_compiler_static
='-Bstatic'
8423 lt_prog_compiler_wl
='-Wl,'
8424 lt_prog_compiler_can_build_shared
=no
8428 lt_prog_compiler_pic
='-pic'
8429 lt_prog_compiler_static
='-Bstatic'
8433 lt_prog_compiler_can_build_shared
=no
8439 # For platforms which do not support PIC, -DPIC is meaningless:
8441 lt_prog_compiler_pic
=
8444 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8448 $as_echo "$lt_prog_compiler_pic" >&6; }
8456 # Check to make sure the PIC flag actually works.
8458 if test -n "$lt_prog_compiler_pic"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8460 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8461 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8462 $as_echo_n "(cached) " >&6
8464 lt_cv_prog_compiler_pic_works
=no
8465 ac_outfile
=conftest.
$ac_objext
8466 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8467 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8468 # Insert the option either (1) after the last *FLAGS variable, or
8469 # (2) before a word containing "conftest.", or (3) at the end.
8470 # Note that $ac_compile itself does not contain backslashes and begins
8471 # with a dollar sign (not a hyphen), so the echo should work correctly.
8472 # The option is referenced via a variable to avoid confusing sed.
8473 lt_compile
=`echo "$ac_compile" | $SED \
8474 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8475 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8476 -e 's:$: $lt_compiler_flag:'`
8477 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8478 (eval "$lt_compile" 2>conftest.err
)
8480 cat conftest.err
>&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 if (exit $ac_status) && test -s "$ac_outfile"; then
8483 # The compiler can only warn and ignore the option if not recognized
8484 # So say no if there are warnings other than the usual output.
8485 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8486 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8487 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8488 lt_cv_prog_compiler_pic_works
=yes
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8495 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8497 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8498 case $lt_prog_compiler_pic in
8500 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8503 lt_prog_compiler_pic
=
8504 lt_prog_compiler_can_build_shared
=no
8515 # Check to make sure the static flag actually works.
8517 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8519 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8520 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8521 $as_echo_n "(cached) " >&6
8523 lt_cv_prog_compiler_static_works
=no
8524 save_LDFLAGS
="$LDFLAGS"
8525 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8526 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8527 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8528 # The linker can only warn and ignore the option if not recognized
8529 # So say no if there are warnings
8530 if test -s conftest.err
; then
8531 # Append any errors to the config.log.
8532 cat conftest.err
1>&5
8533 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8534 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8535 if diff conftest.exp conftest.er2
>/dev
/null
; then
8536 lt_cv_prog_compiler_static_works
=yes
8539 lt_cv_prog_compiler_static_works
=yes
8543 LDFLAGS
="$save_LDFLAGS"
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8547 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8549 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8552 lt_prog_compiler_static
=
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8562 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8563 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8564 $as_echo_n "(cached) " >&6
8566 lt_cv_prog_compiler_c_o
=no
8567 $RM -r conftest
2>/dev
/null
8571 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8573 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8574 # Insert the option either (1) after the last *FLAGS variable, or
8575 # (2) before a word containing "conftest.", or (3) at the end.
8576 # Note that $ac_compile itself does not contain backslashes and begins
8577 # with a dollar sign (not a hyphen), so the echo should work correctly.
8578 lt_compile
=`echo "$ac_compile" | $SED \
8579 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8580 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8581 -e 's:$: $lt_compiler_flag:'`
8582 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8583 (eval "$lt_compile" 2>out
/conftest.err
)
8585 cat out
/conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8589 # The compiler can only warn and ignore the option if not recognized
8590 # So say no if there are warnings
8591 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8592 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8593 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8594 lt_cv_prog_compiler_c_o
=yes
8599 # SGI C++ compiler will create directory out/ii_files/ for
8600 # template instantiation
8601 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8602 $RM out
/* && rmdir out
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8609 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8617 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8618 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8619 $as_echo_n "(cached) " >&6
8621 lt_cv_prog_compiler_c_o
=no
8622 $RM -r conftest
2>/dev
/null
8626 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8628 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8629 # Insert the option either (1) after the last *FLAGS variable, or
8630 # (2) before a word containing "conftest.", or (3) at the end.
8631 # Note that $ac_compile itself does not contain backslashes and begins
8632 # with a dollar sign (not a hyphen), so the echo should work correctly.
8633 lt_compile
=`echo "$ac_compile" | $SED \
8634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8636 -e 's:$: $lt_compiler_flag:'`
8637 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8638 (eval "$lt_compile" 2>out
/conftest.err
)
8640 cat out
/conftest.err
>&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8644 # The compiler can only warn and ignore the option if not recognized
8645 # So say no if there are warnings
8646 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8647 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8648 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8649 lt_cv_prog_compiler_c_o
=yes
8654 # SGI C++ compiler will create directory out/ii_files/ for
8655 # template instantiation
8656 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8657 $RM out
/* && rmdir out
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8664 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8669 hard_links
="nottested"
8670 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8671 # do not overwrite the value of need_locks provided by the user
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8673 $as_echo_n "checking if we can lock with hard links... " >&6; }
8676 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8678 ln conftest.a conftest.b
2>&5 || hard_links
=no
8679 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8681 $as_echo "$hard_links" >&6; }
8682 if test "$hard_links" = no
; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8684 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8697 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8700 allow_undefined_flag
=
8701 always_export_symbols
=no
8703 archive_expsym_cmds
=
8704 compiler_needs_object
=no
8705 enable_shared_with_static_runtimes
=no
8706 export_dynamic_flag_spec
=
8707 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8708 hardcode_automatic
=no
8710 hardcode_direct_absolute
=no
8711 hardcode_libdir_flag_spec
=
8712 hardcode_libdir_flag_spec_ld
=
8713 hardcode_libdir_separator
=
8715 hardcode_shlibpath_var
=unsupported
8717 link_all_deplibs
=unknown
8720 old_archive_from_new_cmds
=
8721 old_archive_from_expsyms_cmds
=
8722 thread_safe_flag_spec
=
8723 whole_archive_flag_spec
=
8724 # include_expsyms should be a list of space-separated symbols to be *always*
8725 # included in the symbol list
8727 # exclude_expsyms can be an extended regexp of symbols to exclude
8728 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8729 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8730 # as well as any symbol that contains `d'.
8731 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8732 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8733 # platforms (ab)use it in PIC code, but their linkers get confused if
8734 # the symbol is explicitly referenced. Since portable code cannot
8735 # rely on this symbol name, it's probably fine to never include it in
8736 # preloaded symbol tables.
8737 # Exclude shared library initialization/finalization symbols.
8738 extract_expsyms_cmds
=
8741 cygwin
* | mingw
* | pw32
* | cegcc
*)
8742 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8743 # When not using gcc, we currently assume that we are using
8744 # Microsoft Visual C++.
8745 if test "$GCC" != yes; then
8750 # we just hope/assume this is gcc and not c89 (= MSVC++)
8760 # On some targets, GNU ld is compatible enough with the native linker
8761 # that we're better off using the native interface for both.
8762 lt_use_gnu_ld_interface
=no
8763 if test "$with_gnu_ld" = yes; then
8766 # The AIX port of GNU ld has always aspired to compatibility
8767 # with the native linker. However, as the warning in the GNU ld
8768 # block says, versions before 2.19.5* couldn't really create working
8769 # shared libraries, regardless of the interface used.
8770 case `$LD -v 2>&1` in
8771 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8772 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8773 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8775 lt_use_gnu_ld_interface
=yes
8780 lt_use_gnu_ld_interface
=yes
8785 if test "$lt_use_gnu_ld_interface" = yes; then
8786 # If archive_cmds runs LD, not CC, wlarc should be empty
8789 # Set some defaults for GNU ld with shared library support. These
8790 # are reset later if shared libraries are not supported. Putting them
8791 # here allows them to be overridden if necessary.
8792 runpath_var
=LD_RUN_PATH
8793 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8794 export_dynamic_flag_spec
='${wl}--export-dynamic'
8795 # ancient GNU ld didn't support --whole-archive et. al.
8796 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8797 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8799 whole_archive_flag_spec
=
8801 supports_anon_versioning
=no
8802 case `$LD -v 2>&1` in
8803 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8804 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8805 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8806 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8807 *\
2.11.
*) ;; # other 2.11 versions
8808 *) supports_anon_versioning
=yes ;;
8811 # See if GNU ld supports shared libraries.
8814 # On AIX/PPC, the GNU linker is very broken
8815 if test "$host_cpu" != ia64
; then
8819 *** Warning: the GNU linker, at least up to release 2.19, is reported
8820 *** to be unable to reliably create shared libraries on AIX.
8821 *** Therefore, libtool is disabling shared libraries support. If you
8822 *** really care for shared libraries, you may want to install binutils
8823 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8824 *** You will then need to restart the configuration process.
8833 # see comment about AmigaOS4 .so support
8834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835 archive_expsym_cmds
=''
8838 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)'
8839 hardcode_libdir_flag_spec
='-L$libdir'
8840 hardcode_minus_L
=yes
8846 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8847 allow_undefined_flag
=unsupported
8848 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8849 # support --undefined. This deserves some investigation. FIXME
8850 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8856 cygwin
* | mingw
* | pw32
* | cegcc
*)
8857 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8858 # as there is no search path for DLLs.
8859 hardcode_libdir_flag_spec
='-L$libdir'
8860 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8861 allow_undefined_flag
=unsupported
8862 always_export_symbols
=no
8863 enable_shared_with_static_runtimes
=yes
8864 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8866 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8867 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8868 # If the export-symbols file already is a .def file (1st line
8869 # is EXPORTS), use it as is; otherwise, prepend...
8870 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8871 cp $export_symbols $output_objdir/$soname.def;
8873 echo EXPORTS > $output_objdir/$soname.def;
8874 cat $export_symbols >> $output_objdir/$soname.def;
8876 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8883 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8884 link_all_deplibs
=yes
8889 hardcode_shlibpath_var
=no
8890 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8891 export_dynamic_flag_spec
='${wl}-E'
8892 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8893 # Instead, shared libraries are loaded at an image base (0x10000000 by
8894 # default) and relocated if they conflict, which is a slow very memory
8895 # consuming and fragmenting process. To avoid this, we pick a random,
8896 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8897 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8898 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8899 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'
8902 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8904 if test "$host_os" = linux-dietlibc
; then
8905 case $cc_basename in
8906 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8909 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8910 && test "$tmp_diet" = no
8913 tmp_sharedflag
='-shared'
8914 case $cc_basename,$host_cpu in
8915 pgcc
*) # Portland Group C compiler
8916 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'
8917 tmp_addflag
=' $pic_flag'
8919 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8920 # Portland Group f77 and f90 compilers
8921 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'
8922 tmp_addflag
=' $pic_flag -Mnomain' ;;
8923 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8924 tmp_addflag
=' -i_dynamic' ;;
8925 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8926 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8927 ifc
* | ifort
*) # Intel Fortran compiler
8928 tmp_addflag
=' -nofor_main' ;;
8929 lf95
*) # Lahey Fortran 8.1
8930 whole_archive_flag_spec
=
8931 tmp_sharedflag
='--shared' ;;
8932 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8933 tmp_sharedflag
='-qmkshrobj'
8935 nvcc
*) # Cuda Compiler Driver 2.2
8936 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'
8937 compiler_needs_object
=yes
8940 case `$CC -V 2>&1 | sed 5q` in
8941 *Sun\ C
*) # Sun C 5.9
8942 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'
8943 compiler_needs_object
=yes
8944 tmp_sharedflag
='-G' ;;
8945 *Sun\ F
*) # Sun Fortran 8.3
8946 tmp_sharedflag
='-G' ;;
8948 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8950 if test "x$supports_anon_versioning" = xyes
; then
8951 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8953 echo "local: *; };" >> $output_objdir/$libname.ver~
8954 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8957 case $cc_basename in
8958 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8959 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8960 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8961 hardcode_libdir_flag_spec
=
8962 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8963 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8964 if test "x$supports_anon_versioning" = xyes
; then
8965 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8966 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8967 echo "local: *; };" >> $output_objdir/$libname.ver~
8968 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8978 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8979 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8983 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8988 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8992 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8993 *** create shared libraries on Solaris systems. Therefore, libtool
8994 *** is disabling shared libraries support. We urge you to upgrade GNU
8995 *** binutils to release 2.9.1 or newer. Another option is to modify
8996 *** your PATH or compiler configuration so that the native linker is
8997 *** used, and then restart.
9000 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9001 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9002 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9008 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9009 case `$LD -v 2>&1` in
9010 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9014 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9015 *** reliably create shared libraries on SCO systems. Therefore, libtool
9016 *** is disabling shared libraries support. We urge you to upgrade GNU
9017 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9018 *** your PATH or compiler configuration so that the native linker is
9019 *** used, and then restart.
9024 # For security reasons, it is highly recommended that you always
9025 # use absolute paths for naming shared libraries, and exclude the
9026 # DT_RUNPATH tag from executables and libraries. But doing so
9027 # requires that you compile everything twice, which is a pain.
9028 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9029 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9030 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9031 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9040 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9043 hardcode_shlibpath_var
=no
9047 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9048 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9049 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9056 if test "$ld_shlibs" = no
; then
9058 hardcode_libdir_flag_spec
=
9059 export_dynamic_flag_spec
=
9060 whole_archive_flag_spec
=
9063 # PORTME fill in a description of your system's linker (not GNU ld)
9066 allow_undefined_flag
=unsupported
9067 always_export_symbols
=yes
9068 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'
9069 # Note: this linker hardcodes the directories in LIBPATH if there
9070 # are no directories specified by -L.
9071 hardcode_minus_L
=yes
9072 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9073 # Neither direct hardcoding nor static linking is supported with a
9075 hardcode_direct
=unsupported
9080 if test "$host_cpu" = ia64
; then
9081 # On IA64, the linker does run time linking by default, so we don't
9082 # have to do anything special.
9083 aix_use_runtimelinking
=no
9084 exp_sym_flag
='-Bexport'
9087 # If we're using GNU nm, then we don't want the "-C" option.
9088 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9089 # Also, AIX nm treats weak defined symbols like other global
9090 # defined symbols, whereas GNU nm marks them as "W".
9091 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9092 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'
9094 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'
9096 aix_use_runtimelinking
=no
9098 # Test if we are trying to use run time linking or normal
9099 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9100 # need to do runtime linking.
9101 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9102 for ld_flag
in $LDFLAGS; do
9103 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9104 aix_use_runtimelinking
=yes
9111 exp_sym_flag
='-bexport'
9112 no_entry_flag
='-bnoentry'
9115 # When large executables or shared objects are built, AIX ld can
9116 # have problems creating the table of contents. If linking a library
9117 # or program results in "error TOC overflow" add -mminimal-toc to
9118 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9119 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9123 hardcode_direct_absolute
=yes
9124 hardcode_libdir_separator
=':'
9125 link_all_deplibs
=yes
9126 file_list_spec
='${wl}-f,'
9128 if test "$GCC" = yes; then
9129 case $host_os in aix4.
[012]|aix4.
[012].
*)
9130 # We only want to do this on AIX 4.2 and lower, the check
9131 # below for broken collect2 doesn't work under 4.3+
9132 collect2name
=`${CC} -print-prog-name=collect2`
9133 if test -f "$collect2name" &&
9134 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9136 # We have reworked collect2
9139 # We have old collect2
9140 hardcode_direct
=unsupported
9141 # It fails to find uninstalled libraries when the uninstalled
9142 # path is not listed in the libpath. Setting hardcode_minus_L
9143 # to unsupported forces relinking
9144 hardcode_minus_L
=yes
9145 hardcode_libdir_flag_spec
='-L$libdir'
9146 hardcode_libdir_separator
=
9150 shared_flag
='-shared'
9151 if test "$aix_use_runtimelinking" = yes; then
9152 shared_flag
="$shared_flag "'${wl}-G'
9156 if test "$host_cpu" = ia64
; then
9157 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9158 # chokes on -Wl,-G. The following line is correct:
9161 if test "$aix_use_runtimelinking" = yes; then
9162 shared_flag
='${wl}-G'
9164 shared_flag
='${wl}-bM:SRE'
9169 export_dynamic_flag_spec
='${wl}-bexpall'
9170 # It seems that -bexpall does not export symbols beginning with
9171 # underscore (_), so it is better to generate a list of symbols to export.
9172 always_export_symbols
=yes
9173 if test "$aix_use_runtimelinking" = yes; then
9174 # Warning - without using the other runtime loading flags (-brtl),
9175 # -berok will link without error, but may produce a broken library.
9176 allow_undefined_flag
='-berok'
9177 # Determine the default libpath from the value encoded in an
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9190 if ac_fn_c_try_link
"$LINENO"; then :
9192 lt_aix_libpath_sed
='
9193 /Import File Strings/,/^$/ {
9199 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9200 # Check for a 64-bit object if we didn't find anything.
9201 if test -z "$aix_libpath"; then
9202 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9205 rm -f core conftest.err conftest.
$ac_objext \
9206 conftest
$ac_exeext conftest.
$ac_ext
9207 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9209 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9210 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"
9212 if test "$host_cpu" = ia64
; then
9213 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9214 allow_undefined_flag
="-z nodefs"
9215 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"
9217 # Determine the default libpath from the value encoded in an
9219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9230 if ac_fn_c_try_link
"$LINENO"; then :
9232 lt_aix_libpath_sed
='
9233 /Import File Strings/,/^$/ {
9239 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9240 # Check for a 64-bit object if we didn't find anything.
9241 if test -z "$aix_libpath"; then
9242 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9245 rm -f core conftest.err conftest.
$ac_objext \
9246 conftest
$ac_exeext conftest.
$ac_ext
9247 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9249 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9250 # Warning - without using the other run time loading flags,
9251 # -berok will link without error, but may produce a broken library.
9252 no_undefined_flag
=' ${wl}-bernotok'
9253 allow_undefined_flag
=' ${wl}-berok'
9254 if test "$with_gnu_ld" = yes; then
9255 # We only use this code for GNU lds that support --whole-archive.
9256 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9258 # Exported symbols can be pulled into shared objects from archives
9259 whole_archive_flag_spec
='$convenience'
9261 archive_cmds_need_lc
=yes
9262 # This is similar to how AIX traditionally builds its shared libraries.
9263 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'
9271 # see comment about AmigaOS4 .so support
9272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273 archive_expsym_cmds
=''
9276 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)'
9277 hardcode_libdir_flag_spec
='-L$libdir'
9278 hardcode_minus_L
=yes
9284 export_dynamic_flag_spec
=-rdynamic
9287 cygwin
* | mingw
* | pw32
* | cegcc
*)
9288 # When not using gcc, we currently assume that we are using
9289 # Microsoft Visual C++.
9290 # hardcode_libdir_flag_spec is actually meaningless, as there is
9291 # no search path for DLLs.
9292 hardcode_libdir_flag_spec
=' '
9293 allow_undefined_flag
=unsupported
9294 # Tell ltmain to make .lib files, not .a files.
9296 # Tell ltmain to make .dll files, not .so files.
9298 # FIXME: Setting linknames here is a bad hack.
9299 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9300 # The linker will automatically build a .lib file if we build a DLL.
9301 old_archive_from_new_cmds
='true'
9302 # FIXME: Should let the user specify the lib program.
9303 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9304 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9305 enable_shared_with_static_runtimes
=yes
9308 darwin
* | rhapsody
*)
9311 archive_cmds_need_lc
=no
9313 hardcode_automatic
=yes
9314 hardcode_shlibpath_var
=unsupported
9315 if test "$lt_cv_ld_force_load" = "yes"; then
9316 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\"`'
9318 whole_archive_flag_spec
=''
9320 link_all_deplibs
=yes
9321 allow_undefined_flag
="$_lt_dar_allow_undefined"
9322 case $cc_basename in
9323 ifort
*) _lt_dar_can_shared
=yes ;;
9324 *) _lt_dar_can_shared
=$GCC ;;
9326 if test "$_lt_dar_can_shared" = "yes"; then
9327 output_verbose_link_cmd
=func_echo_all
9328 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9329 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9330 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}"
9331 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}"
9340 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_libdir_flag_spec
='-L$libdir'
9342 hardcode_shlibpath_var
=no
9345 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9346 # support. Future versions do this automatically, but an explicit c++rt0.o
9347 # does not break anything, and helps significantly (at the cost of a little
9350 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9351 hardcode_libdir_flag_spec
='-R$libdir'
9353 hardcode_shlibpath_var
=no
9356 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9358 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9360 hardcode_minus_L
=yes
9361 hardcode_shlibpath_var
=no
9364 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9365 freebsd
* | dragonfly
*)
9366 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9367 hardcode_libdir_flag_spec
='-R$libdir'
9369 hardcode_shlibpath_var
=no
9373 if test "$GCC" = yes; then
9374 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9376 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'
9378 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9379 hardcode_libdir_separator
=:
9382 # hardcode_minus_L: Not really in the search PATH,
9383 # but as the default location of the library.
9384 hardcode_minus_L
=yes
9385 export_dynamic_flag_spec
='${wl}-E'
9389 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9390 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9392 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9394 if test "$with_gnu_ld" = no
; then
9395 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9396 hardcode_libdir_flag_spec_ld
='+b $libdir'
9397 hardcode_libdir_separator
=:
9399 hardcode_direct_absolute
=yes
9400 export_dynamic_flag_spec
='${wl}-E'
9401 # hardcode_minus_L: Not really in the search PATH,
9402 # but as the default location of the library.
9403 hardcode_minus_L
=yes
9408 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9411 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9423 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9430 # Older versions of the 11.00 compiler do not understand -b yet
9431 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9433 $as_echo_n "checking if $CC understands -b... " >&6; }
9434 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9435 $as_echo_n "(cached) " >&6
9437 lt_cv_prog_compiler__b
=no
9438 save_LDFLAGS
="$LDFLAGS"
9439 LDFLAGS
="$LDFLAGS -b"
9440 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9441 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9442 # The linker can only warn and ignore the option if not recognized
9443 # So say no if there are warnings
9444 if test -s conftest.err
; then
9445 # Append any errors to the config.log.
9446 cat conftest.err
1>&5
9447 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9448 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9449 if diff conftest.exp conftest.er2
>/dev
/null
; then
9450 lt_cv_prog_compiler__b
=yes
9453 lt_cv_prog_compiler__b
=yes
9457 LDFLAGS
="$save_LDFLAGS"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9461 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9463 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9464 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9466 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9472 if test "$with_gnu_ld" = no
; then
9473 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9474 hardcode_libdir_separator
=:
9479 hardcode_shlibpath_var
=no
9483 hardcode_direct_absolute
=yes
9484 export_dynamic_flag_spec
='${wl}-E'
9486 # hardcode_minus_L: Not really in the search PATH,
9487 # but as the default location of the library.
9488 hardcode_minus_L
=yes
9494 irix5
* | irix6
* | nonstopux
*)
9495 if test "$GCC" = yes; then
9496 archive_cmds
='$CC -shared $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'
9497 # Try to use the -exported_symbol ld option, if it does not
9498 # work, assume that -exports_file does not work either and
9499 # implicitly export all symbols.
9500 save_LDFLAGS
="$LDFLAGS"
9501 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9506 if ac_fn_c_try_link
"$LINENO"; then :
9507 archive_expsym_cmds
='$CC -shared $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'
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LDFLAGS
="$save_LDFLAGS"
9514 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'
9515 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'
9517 archive_cmds_need_lc
='no'
9518 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9519 hardcode_libdir_separator
=:
9521 link_all_deplibs
=yes
9525 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9526 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9528 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9530 hardcode_libdir_flag_spec
='-R$libdir'
9532 hardcode_shlibpath_var
=no
9536 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9538 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9539 hardcode_libdir_separator
=:
9540 hardcode_shlibpath_var
=no
9547 if test -f /usr
/libexec
/ld.so
; then
9549 hardcode_shlibpath_var
=no
9550 hardcode_direct_absolute
=yes
9551 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9552 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9554 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9555 export_dynamic_flag_spec
='${wl}-E'
9558 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_libdir_flag_spec
='-R$libdir'
9563 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9564 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9574 hardcode_libdir_flag_spec
='-L$libdir'
9575 hardcode_minus_L
=yes
9576 allow_undefined_flag
=unsupported
9577 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'
9578 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9582 if test "$GCC" = yes; then
9583 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9584 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'
9586 allow_undefined_flag
=' -expect_unresolved \*'
9587 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'
9589 archive_cmds_need_lc
='no'
9590 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9591 hardcode_libdir_separator
=:
9594 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9595 if test "$GCC" = yes; then
9596 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9597 archive_cmds
='$CC -shared${allow_undefined_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'
9598 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9600 allow_undefined_flag
=' -expect_unresolved \*'
9601 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'
9602 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~
9603 $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'
9605 # Both c and cxx compiler support -rpath directly
9606 hardcode_libdir_flag_spec
='-rpath $libdir'
9608 archive_cmds_need_lc
='no'
9609 hardcode_libdir_separator
=:
9613 no_undefined_flag
=' -z defs'
9614 if test "$GCC" = yes; then
9616 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9618 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9620 case `$CC -V 2>&1` in
9623 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9629 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9630 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9631 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9635 hardcode_libdir_flag_spec
='-R$libdir'
9636 hardcode_shlibpath_var
=no
9638 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9640 # The compiler driver will combine and reorder linker options,
9641 # but understands `-z linker_flag'. GCC discards it without `$wl',
9642 # but is careful enough not to reorder.
9643 # Supported since Solaris 2.6 (maybe 2.5.1?)
9644 if test "$GCC" = yes; then
9645 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9647 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9651 link_all_deplibs
=yes
9655 if test "x$host_vendor" = xsequent
; then
9656 # Use $CC to link under sequent, because it throws in some extra .o
9657 # files that make .init and .fini sections work.
9658 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9662 hardcode_libdir_flag_spec
='-L$libdir'
9664 hardcode_minus_L
=yes
9665 hardcode_shlibpath_var
=no
9669 case $host_vendor in
9671 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9672 hardcode_direct
=yes # is this really true???
9675 ## LD is ld it makes a PLAMLIB
9676 ## CC just makes a GrossModule.
9677 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9678 reload_cmds
='$CC -r -o $output$reload_objs'
9682 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9686 runpath_var
='LD_RUN_PATH'
9687 hardcode_shlibpath_var
=no
9691 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692 hardcode_shlibpath_var
=no
9693 export_dynamic_flag_spec
='-Bexport'
9697 if test -d /usr
/nec
; then
9698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9699 hardcode_shlibpath_var
=no
9700 runpath_var
=LD_RUN_PATH
9701 hardcode_runpath_var
=yes
9706 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9707 no_undefined_flag
='${wl}-z,text'
9708 archive_cmds_need_lc
=no
9709 hardcode_shlibpath_var
=no
9710 runpath_var
='LD_RUN_PATH'
9712 if test "$GCC" = yes; then
9713 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9714 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 sysv5
* | sco3.2v5
* | sco5v6
*)
9722 # Note: We can NOT use -z defs as we might desire, because we do not
9723 # link with -lc, and that would cause any symbols used from libc to
9724 # always be unresolved, which means just about no library would
9725 # ever link correctly. If we're not using GNU ld we use -z text
9726 # though, which does catch some bad symbols but isn't as heavy-handed
9728 no_undefined_flag
='${wl}-z,text'
9729 allow_undefined_flag
='${wl}-z,nodefs'
9730 archive_cmds_need_lc
=no
9731 hardcode_shlibpath_var
=no
9732 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9733 hardcode_libdir_separator
=':'
9734 link_all_deplibs
=yes
9735 export_dynamic_flag_spec
='${wl}-Bexport'
9736 runpath_var
='LD_RUN_PATH'
9738 if test "$GCC" = yes; then
9739 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9749 hardcode_libdir_flag_spec
='-L$libdir'
9750 hardcode_shlibpath_var
=no
9758 if test x
$host_vendor = xsni
; then
9760 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9761 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9768 $as_echo "$ld_shlibs" >&6; }
9769 test "$ld_shlibs" = no
&& can_build_shared
=no
9771 with_gnu_ld
=$with_gnu_ld
9788 # Do we need to explicitly link libc?
9790 case "x$archive_cmds_need_lc" in
9792 # Assume -lc should be added
9793 archive_cmds_need_lc
=yes
9795 if test "$enable_shared" = yes && test "$GCC" = yes; then
9796 case $archive_cmds in
9798 # FIXME: we may have to deal with multi-command sequences.
9801 # Test whether the compiler implicitly links with -lc since on some
9802 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9803 # to ld, don't add -lc before -lgcc.
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9805 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9806 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9807 $as_echo_n "(cached) " >&6
9810 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9813 (eval $ac_compile) 2>&5
9815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9816 test $ac_status = 0; } 2>conftest.err
; then
9819 libobjs
=conftest.
$ac_objext
9821 wl
=$lt_prog_compiler_wl
9822 pic_flag
=$lt_prog_compiler_pic
9828 lt_save_allow_undefined_flag
=$allow_undefined_flag
9829 allow_undefined_flag
=
9830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9831 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9834 test $ac_status = 0; }
9836 lt_cv_archive_cmds_need_lc
=no
9838 lt_cv_archive_cmds_need_lc
=yes
9840 allow_undefined_flag
=$lt_save_allow_undefined_flag
9842 cat conftest.err
1>&5
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9848 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9849 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10013 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10015 if test "$GCC" = yes; then
10017 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10018 *) lt_awk_arg
="/^libraries:/" ;;
10021 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10022 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10024 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10025 case $lt_search_path_spec in
10027 # if the path contains ";" then we assume it to be the separator
10028 # otherwise default to the standard path separator (i.e. ":") - it is
10029 # assumed that no part of a normal pathname contains ";" but that should
10030 # okay in the real world where ";" in dirpaths is itself problematic.
10031 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10034 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10037 # Ok, now we have the path, separated by spaces, we can step through it
10038 # and add multilib dir if necessary.
10039 lt_tmp_lt_search_path_spec
=
10040 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10041 for lt_sys_path
in $lt_search_path_spec; do
10042 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10043 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10045 test -d "$lt_sys_path" && \
10046 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10049 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10050 BEGIN {RS=" "; FS="/|\n";} {
10053 for (lt_i = NF; lt_i > 0; lt_i--) {
10054 if ($lt_i != "" && $lt_i != ".") {
10055 if ($lt_i == "..") {
10058 if (lt_count == 0) {
10059 lt_foo="/" $lt_i lt_foo;
10066 if (lt_foo != "") { lt_freq[lt_foo]++; }
10067 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10069 # AWK program above erroneously prepends '/' to C:/dos/paths
10072 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10073 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10075 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10077 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10079 library_names_spec
=
10080 libname_spec
='lib$name'
10084 postuninstall_cmds
=
10088 shlibpath_overrides_runpath
=unknown
10090 dynamic_linker
="$host_os ld.so"
10091 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10092 need_lib_prefix
=unknown
10093 hardcode_into_libs
=no
10095 # when you set need_version to no, make sure it does not cause -set_version
10096 # flags to be left without arguments
10097 need_version
=unknown
10102 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10103 shlibpath_var
=LIBPATH
10105 # AIX 3 has no versioning support, so we append a major version to the name.
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10113 hardcode_into_libs
=yes
10114 if test "$host_cpu" = ia64
; then
10115 # AIX 5 supports IA64
10116 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10117 shlibpath_var
=LD_LIBRARY_PATH
10119 # With GCC up to 2.95.x, collect2 would create an import file
10120 # for dependence libraries. The import file would start with
10121 # the line `#! .'. This would cause the generated library to
10122 # depend on `.', always an invalid library. This was fixed in
10123 # development snapshots of GCC prior to 3.0.
10125 aix4 | aix4.
[01] | aix4.
[01].
*)
10126 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10128 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10131 can_build_shared
=no
10135 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10136 # soname into executable. Probably we can add versioning support to
10137 # collect2, so additional links can be useful in future.
10138 if test "$aix_use_runtimelinking" = yes; then
10139 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10140 # instead of lib<name>.a to let people know that these are not
10141 # typical AIX shared libraries.
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144 # We preserve .a as extension for shared libraries through AIX4.2
10145 # and later when we are not doing run time linking.
10146 library_names_spec
='${libname}${release}.a $libname.a'
10147 soname_spec
='${libname}${release}${shared_ext}$major'
10149 shlibpath_var
=LIBPATH
10156 # Since July 2007 AmigaOS4 officially supports .so libraries.
10157 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10161 library_names_spec
='$libname.ixlibrary $libname.a'
10162 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10163 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'
10169 library_names_spec
='${libname}${shared_ext}'
10170 dynamic_linker
="$host_os ld.so"
10171 shlibpath_var
=LIBRARY_PATH
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 soname_spec
='${libname}${release}${shared_ext}$major'
10179 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10180 shlibpath_var
=LD_LIBRARY_PATH
10181 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10182 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10183 # the default ld.so.conf also contains /usr/contrib/lib and
10184 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10185 # libtool to hard-code these into programs
10188 cygwin
* | mingw
* | pw32
* | cegcc
*)
10189 version_type
=windows
10194 case $GCC,$host_os in
10195 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10196 library_names_spec
='$libname.dll.a'
10197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10198 postinstall_cmds
='base_file=`basename \${file}`~
10199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10200 dldir=$destdir/`dirname \$dlpath`~
10201 test -d \$dldir || mkdir -p \$dldir~
10202 $install_prog $dir/$dlname \$dldir/$dlname~
10203 chmod a+x \$dldir/$dlname~
10204 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10205 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10207 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10208 dlpath=$dir/\$dldll~
10210 shlibpath_overrides_runpath
=yes
10214 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10215 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10217 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10220 # MinGW DLLs use traditional 'lib' prefix
10221 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224 # pw32 DLLs use 'pw' prefix rather than 'lib'
10225 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10231 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10234 dynamic_linker
='Win32 ld.exe'
10235 # FIXME: first we should search . and the directory the executable is in
10239 darwin
* | rhapsody
*)
10240 dynamic_linker
="$host_os dyld"
10241 version_type
=darwin
10244 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10245 soname_spec
='${libname}${release}${major}$shared_ext'
10246 shlibpath_overrides_runpath
=yes
10247 shlibpath_var
=DYLD_LIBRARY_PATH
10248 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10250 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10251 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10259 soname_spec
='${libname}${release}${shared_ext}$major'
10260 shlibpath_var
=LD_LIBRARY_PATH
10263 freebsd
* | dragonfly
*)
10264 # DragonFly does not have aout. When/if they implement a new
10265 # versioning mechanism, adjust this.
10266 if test -x /usr
/bin
/objformat
; then
10267 objformat
=`/usr/bin/objformat`
10270 freebsd
[23].
*) objformat
=aout
;;
10271 *) objformat
=elf
;;
10274 version_type
=freebsd-
$objformat
10275 case $version_type in
10277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10282 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10286 shlibpath_var
=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath
=yes
10291 freebsd3.
[01]* | freebsdelf3.
[01]*)
10292 shlibpath_overrides_runpath
=yes
10293 hardcode_into_libs
=yes
10295 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10296 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10297 shlibpath_overrides_runpath
=no
10298 hardcode_into_libs
=yes
10300 *) # from 4.6 on, and DragonFly
10301 shlibpath_overrides_runpath
=yes
10302 hardcode_into_libs
=yes
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10312 soname_spec
='${libname}${release}${shared_ext}$major'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 hardcode_into_libs
=yes
10321 dynamic_linker
="$host_os runtime_loader"
10322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10323 soname_spec
='${libname}${release}${shared_ext}$major'
10324 shlibpath_var
=LIBRARY_PATH
10325 shlibpath_overrides_runpath
=yes
10326 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10327 hardcode_into_libs
=yes
10330 hpux9
* | hpux10
* | hpux11
*)
10331 # Give a soname corresponding to the major version so that dld.sl refuses to
10332 # link against other versions.
10339 hardcode_into_libs
=yes
10340 dynamic_linker
="$host_os dld.so"
10341 shlibpath_var
=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec
='${libname}${release}${shared_ext}$major'
10345 if test "X$HPUX_IA64_MODE" = X32
; then
10346 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10348 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10350 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10354 hardcode_into_libs
=yes
10355 dynamic_linker
="$host_os dld.sl"
10356 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10357 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359 soname_spec
='${libname}${release}${shared_ext}$major'
10360 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10361 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10365 dynamic_linker
="$host_os dld.sl"
10366 shlibpath_var
=SHLIB_PATH
10367 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec
='${libname}${release}${shared_ext}$major'
10372 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10373 postinstall_cmds
='chmod 555 $lib'
10374 # or fails outright, so override atomically:
10375 install_override_mode
=555
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10385 shlibpath_var
=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath
=no
10387 hardcode_into_libs
=yes
10390 irix5
* | irix6
* | nonstopux
*)
10392 nonstopux
*) version_type
=nonstopux
;;
10394 if test "$lt_cv_prog_gnu_ld" = yes; then
10402 soname_spec
='${libname}${release}${shared_ext}$major'
10403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10405 irix5
* | nonstopux
*)
10406 libsuff
= shlibsuff
=
10409 case $LD in # libtool.m4 will add one of these switches to LD
10410 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10411 libsuff
= shlibsuff
= libmagic
=32-bit;;
10412 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10413 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10414 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10415 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10416 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10420 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10421 shlibpath_overrides_runpath
=no
10422 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10423 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10424 hardcode_into_libs
=yes
10427 # No shared lib support for Linux oldld, aout, or coff.
10428 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10432 # This must be Linux ELF.
10433 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438 soname_spec
='${libname}${release}${shared_ext}$major'
10439 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10440 shlibpath_var
=LD_LIBRARY_PATH
10441 shlibpath_overrides_runpath
=no
10443 # Some binutils ld are patched to set DT_RUNPATH
10444 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10445 $as_echo_n "(cached) " >&6
10447 lt_cv_shlibpath_overrides_runpath
=no
10448 save_LDFLAGS
=$LDFLAGS
10449 save_libdir
=$libdir
10450 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10451 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10463 if ac_fn_c_try_link
"$LINENO"; then :
10464 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10465 lt_cv_shlibpath_overrides_runpath
=yes
10468 rm -f core conftest.err conftest.
$ac_objext \
10469 conftest
$ac_exeext conftest.
$ac_ext
10470 LDFLAGS
=$save_LDFLAGS
10471 libdir
=$save_libdir
10475 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10477 # This implies no fast_install, which is unacceptable.
10478 # Some rework will be needed to allow for fast_install
10479 # before this can be enabled.
10480 hardcode_into_libs
=yes
10482 # Append ld.so.conf contents to the search path
10483 if test -f /etc
/ld.so.conf
; then
10484 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' ' '`
10485 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10488 # We used to test for /lib/ld.so.1 and disable shared libraries on
10489 # powerpc, because MkLinux only supported shared libraries with the
10490 # GNU dynamic linker. Since this was broken with cross compilers,
10491 # most powerpc-linux boxes support dynamic linking these days and
10492 # people can always --disable-shared, the test was removed, and we
10493 # assume the GNU/Linux dynamic linker is in use.
10494 dynamic_linker
='GNU/Linux ld.so'
10501 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10504 dynamic_linker
='NetBSD (a.out) ld.so'
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10507 soname_spec
='${libname}${release}${shared_ext}$major'
10508 dynamic_linker
='NetBSD ld.elf_so'
10510 shlibpath_var
=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath
=yes
10512 hardcode_into_libs
=yes
10517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath
=yes
10526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec
='${libname}${release}${shared_ext}$major'
10528 shlibpath_var
=LD_LIBRARY_PATH
10529 shlibpath_overrides_runpath
=no
10530 hardcode_into_libs
=yes
10531 dynamic_linker
='ldqnx.so'
10536 sys_lib_dlsearch_path_spec
="/usr/lib"
10538 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10540 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10541 *) need_version
=no
;;
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10544 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10548 openbsd2.
[89] | openbsd2.
[89].
*)
10549 shlibpath_overrides_runpath
=no
10552 shlibpath_overrides_runpath
=yes
10556 shlibpath_overrides_runpath
=yes
10561 libname_spec
='$name'
10564 library_names_spec
='$libname${shared_ext} $libname.a'
10565 dynamic_linker
='OS/2 ld.exe'
10566 shlibpath_var
=LIBPATH
10569 osf3
* | osf4
* | osf5
*)
10573 soname_spec
='${libname}${release}${shared_ext}$major'
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10577 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589 soname_spec
='${libname}${release}${shared_ext}$major'
10590 shlibpath_var
=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath
=yes
10592 hardcode_into_libs
=yes
10593 # ldd complains unless libraries are executable
10594 postinstall_cmds
='chmod +x $lib'
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10600 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath
=yes
10603 if test "$with_gnu_ld" = yes; then
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 soname_spec
='${libname}${release}${shared_ext}$major'
10613 shlibpath_var
=LD_LIBRARY_PATH
10614 case $host_vendor in
10616 shlibpath_overrides_runpath
=no
10618 runpath_var
=LD_RUN_PATH
10626 shlibpath_overrides_runpath
=no
10627 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10633 if test -d /usr
/nec
;then
10635 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10636 soname_spec
='$libname${shared_ext}.$major'
10637 shlibpath_var
=LD_LIBRARY_PATH
10641 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10642 version_type
=freebsd-elf
10645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646 soname_spec
='${libname}${release}${shared_ext}$major'
10647 shlibpath_var
=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath
=yes
10649 hardcode_into_libs
=yes
10650 if test "$with_gnu_ld" = yes; then
10651 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10653 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10656 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10660 sys_lib_dlsearch_path_spec
='/usr/lib'
10664 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 shlibpath_var
=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath
=no
10671 hardcode_into_libs
=yes
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec
='${libname}${release}${shared_ext}$major'
10678 shlibpath_var
=LD_LIBRARY_PATH
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10686 $as_echo "$dynamic_linker" >&6; }
10687 test "$dynamic_linker" = no
&& can_build_shared
=no
10689 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10690 if test "$GCC" = yes; then
10691 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10695 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10698 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10795 if test -n "$hardcode_libdir_flag_spec" ||
10796 test -n "$runpath_var" ||
10797 test "X$hardcode_automatic" = "Xyes" ; then
10799 # We can hardcode non-existent directories.
10800 if test "$hardcode_direct" != no
&&
10801 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10802 # have to relink, otherwise we might link with an installed library
10803 # when we should be linking with a yet-to-be-installed one
10804 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10805 test "$hardcode_minus_L" != no
; then
10806 # Linking always hardcodes the temporary library directory.
10807 hardcode_action
=relink
10809 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10810 hardcode_action
=immediate
10813 # We cannot hardcode anything, or else we can only hardcode existing
10815 hardcode_action
=unsupported
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10818 $as_echo "$hardcode_action" >&6; }
10820 if test "$hardcode_action" = relink ||
10821 test "$inherit_rpath" = yes; then
10822 # Fast installation is not supported
10823 enable_fast_install
=no
10824 elif test "$shlibpath_overrides_runpath" = yes ||
10825 test "$enable_shared" = no
; then
10826 # Fast installation is not necessary
10827 enable_fast_install
=needless
10835 if test "x$enable_dlopen" != xyes
; then
10836 enable_dlopen
=unknown
10837 enable_dlopen_self
=unknown
10838 enable_dlopen_self_static
=unknown
10845 lt_cv_dlopen
="load_add_on"
10847 lt_cv_dlopen_self
=yes
10850 mingw
* | pw32
* | cegcc
*)
10851 lt_cv_dlopen
="LoadLibrary"
10856 lt_cv_dlopen
="dlopen"
10861 # if libdl is installed we need to link against it
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10864 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10865 $as_echo_n "(cached) " >&6
10867 ac_check_lib_save_LIBS
=$LIBS
10869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10872 /* Override any GCC internal prototype to avoid an error.
10873 Use char because int might match the return type of a GCC
10874 builtin and then its argument prototype would still apply. */
10887 if ac_fn_c_try_link
"$LINENO"; then :
10888 ac_cv_lib_dl_dlopen
=yes
10890 ac_cv_lib_dl_dlopen
=no
10892 rm -f core conftest.err conftest.
$ac_objext \
10893 conftest
$ac_exeext conftest.
$ac_ext
10894 LIBS
=$ac_check_lib_save_LIBS
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10898 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10899 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10902 lt_cv_dlopen
="dyld"
10904 lt_cv_dlopen_self
=yes
10911 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10912 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10913 lt_cv_dlopen
="shl_load"
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10916 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10917 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10918 $as_echo_n "(cached) " >&6
10920 ac_check_lib_save_LIBS
=$LIBS
10922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10935 return shl_load ();
10940 if ac_fn_c_try_link
"$LINENO"; then :
10941 ac_cv_lib_dld_shl_load
=yes
10943 ac_cv_lib_dld_shl_load
=no
10945 rm -f core conftest.err conftest.
$ac_objext \
10946 conftest
$ac_exeext conftest.
$ac_ext
10947 LIBS
=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10950 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10951 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10952 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10954 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10955 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10956 lt_cv_dlopen
="dlopen"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10959 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10960 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS
=$LIBS
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10983 if ac_fn_c_try_link
"$LINENO"; then :
10984 ac_cv_lib_dl_dlopen
=yes
10986 ac_cv_lib_dl_dlopen
=no
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LIBS
=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10993 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10994 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10995 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10998 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10999 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_lib_save_LIBS
=$LIBS
11003 LIBS
="-lsvld $LIBS"
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11022 if ac_fn_c_try_link
"$LINENO"; then :
11023 ac_cv_lib_svld_dlopen
=yes
11025 ac_cv_lib_svld_dlopen
=no
11027 rm -f core conftest.err conftest.
$ac_objext \
11028 conftest
$ac_exeext conftest.
$ac_ext
11029 LIBS
=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11032 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11033 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11034 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11037 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11038 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11039 $as_echo_n "(cached) " >&6
11041 ac_check_lib_save_LIBS
=$LIBS
11043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11056 return dld_link ();
11061 if ac_fn_c_try_link
"$LINENO"; then :
11062 ac_cv_lib_dld_dld_link
=yes
11064 ac_cv_lib_dld_dld_link
=no
11066 rm -f core conftest.err conftest.
$ac_objext \
11067 conftest
$ac_exeext conftest.
$ac_ext
11068 LIBS
=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11071 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11072 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11073 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11094 if test "x$lt_cv_dlopen" != xno
; then
11100 case $lt_cv_dlopen in
11102 save_CPPFLAGS
="$CPPFLAGS"
11103 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11105 save_LDFLAGS
="$LDFLAGS"
11106 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11109 LIBS
="$lt_cv_dlopen_libs $LIBS"
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11112 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11113 if test "${lt_cv_dlopen_self+set}" = set; then :
11114 $as_echo_n "(cached) " >&6
11116 if test "$cross_compiling" = yes; then :
11117 lt_cv_dlopen_self
=cross
11119 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11120 lt_status
=$lt_dlunknown
11121 cat > conftest.
$ac_ext <<_LT_EOF
11122 #line 11122 "configure"
11123 #include "confdefs.h"
11132 # define LT_DLGLOBAL RTLD_GLOBAL
11135 # define LT_DLGLOBAL DL_GLOBAL
11137 # define LT_DLGLOBAL 0
11141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11142 find out it does not work in some platform. */
11143 #ifndef LT_DLLAZY_OR_NOW
11145 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11148 # define LT_DLLAZY_OR_NOW DL_LAZY
11151 # define LT_DLLAZY_OR_NOW RTLD_NOW
11154 # define LT_DLLAZY_OR_NOW DL_NOW
11156 # define LT_DLLAZY_OR_NOW 0
11163 /* When -fvisbility=hidden is used, assume the code has been annotated
11164 correspondingly for the symbols needed. */
11165 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11166 void fnord () __attribute__((visibility("default")));
11169 void fnord () { int i=42; }
11172 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11173 int status = $lt_dlunknown;
11177 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11180 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11181 else puts (dlerror ());
11183 /* dlclose (self); */
11191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11192 (eval $ac_link) 2>&5
11194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11196 (.
/conftest
; exit; ) >&5 2>/dev
/null
11198 case x
$lt_status in
11199 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11200 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11201 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11204 # compilation failed
11205 lt_cv_dlopen_self
=no
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11213 $as_echo "$lt_cv_dlopen_self" >&6; }
11215 if test "x$lt_cv_dlopen_self" = xyes
; then
11216 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11218 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11219 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11222 if test "$cross_compiling" = yes; then :
11223 lt_cv_dlopen_self_static
=cross
11225 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11226 lt_status
=$lt_dlunknown
11227 cat > conftest.
$ac_ext <<_LT_EOF
11228 #line 11228 "configure"
11229 #include "confdefs.h"
11238 # define LT_DLGLOBAL RTLD_GLOBAL
11241 # define LT_DLGLOBAL DL_GLOBAL
11243 # define LT_DLGLOBAL 0
11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11248 find out it does not work in some platform. */
11249 #ifndef LT_DLLAZY_OR_NOW
11251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11254 # define LT_DLLAZY_OR_NOW DL_LAZY
11257 # define LT_DLLAZY_OR_NOW RTLD_NOW
11260 # define LT_DLLAZY_OR_NOW DL_NOW
11262 # define LT_DLLAZY_OR_NOW 0
11269 /* When -fvisbility=hidden is used, assume the code has been annotated
11270 correspondingly for the symbols needed. */
11271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11272 void fnord () __attribute__((visibility("default")));
11275 void fnord () { int i=42; }
11278 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11279 int status = $lt_dlunknown;
11283 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11286 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11287 else puts (dlerror ());
11289 /* dlclose (self); */
11297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11298 (eval $ac_link) 2>&5
11300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11301 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11302 (.
/conftest
; exit; ) >&5 2>/dev
/null
11304 case x
$lt_status in
11305 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11306 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11307 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11310 # compilation failed
11311 lt_cv_dlopen_self_static
=no
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11319 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11322 CPPFLAGS
="$save_CPPFLAGS"
11323 LDFLAGS
="$save_LDFLAGS"
11328 case $lt_cv_dlopen_self in
11329 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11330 *) enable_dlopen_self
=unknown
;;
11333 case $lt_cv_dlopen_self_static in
11334 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11335 *) enable_dlopen_self_static
=unknown
;;
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11358 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11359 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11360 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11361 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11365 # FIXME - insert some real tests, host_os isn't really good enough
11368 if test -n "$STRIP" ; then
11369 striplib
="$STRIP -x"
11370 old_striplib
="$STRIP -S"
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11375 $as_echo "no" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11380 $as_echo "no" >&6; }
11396 # Report which library types will actually be built
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11398 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11400 $as_echo "$can_build_shared" >&6; }
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11403 $as_echo_n "checking whether to build shared libraries... " >&6; }
11404 test "$can_build_shared" = "no" && enable_shared
=no
11406 # On AIX, shared libraries and static libraries use the same namespace, and
11407 # are all built from PIC.
11410 test "$enable_shared" = yes && enable_static
=no
11411 if test -n "$RANLIB"; then
11412 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11413 postinstall_cmds
='$RANLIB $lib'
11418 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11419 test "$enable_shared" = yes && enable_static
=no
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11424 $as_echo "$enable_shared" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11427 $as_echo_n "checking whether to build static libraries... " >&6; }
11428 # Make sure either enable_shared or enable_static is yes.
11429 test "$enable_shared" = yes || enable_static
=yes
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11431 $as_echo "$enable_static" >&6; }
11438 ac_cpp
='$CPP $CPPFLAGS'
11439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11457 # Source file extension for Go test sources.
11460 # Object file extension for compiled Go test sources.
11464 # Code to be used in simple compile tests
11465 lt_simple_compile_test_code
="package main; func main() { }"
11467 # Code to be used in simple link tests
11468 lt_simple_link_test_code
='package main; func main() { }'
11470 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11477 # If no C compiler was specified, use CC.
11480 # If no C compiler flags were specified, use CFLAGS.
11481 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11483 # Allow CC to be a program name with arguments.
11487 # save warnings/boilerplate of simple test code
11488 ac_outfile
=conftest.
$ac_objext
11489 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11490 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11491 _lt_compiler_boilerplate
=`cat conftest.err`
11494 ac_outfile
=conftest.
$ac_objext
11495 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11496 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11497 _lt_linker_boilerplate
=`cat conftest.err`
11501 # Allow CC to be a program name with arguments.
11509 for cc_temp
in $compiler""; do
11511 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11512 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11517 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11520 # Go did not exist at the time GCC didn't implicitly link libc in.
11521 archive_cmds_need_lc_GO
=no
11523 old_archive_cmds_GO
=$old_archive_cmds
11526 ## There is no encapsulation within the following macros, do not change
11527 ## the running order or otherwise move them around unless you know exactly
11528 ## what you are doing...
11529 if test -n "$compiler"; then
11531 lt_prog_compiler_no_builtin_flag_GO
=
11533 if test "$GCC" = yes; then
11534 case $cc_basename in
11536 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11538 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11542 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11543 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11544 $as_echo_n "(cached) " >&6
11546 lt_cv_prog_compiler_rtti_exceptions
=no
11547 ac_outfile
=conftest.
$ac_objext
11548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11549 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11550 # Insert the option either (1) after the last *FLAGS variable, or
11551 # (2) before a word containing "conftest.", or (3) at the end.
11552 # Note that $ac_compile itself does not contain backslashes and begins
11553 # with a dollar sign (not a hyphen), so the echo should work correctly.
11554 # The option is referenced via a variable to avoid confusing sed.
11555 lt_compile
=`echo "$ac_compile" | $SED \
11556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11558 -e 's:$: $lt_compiler_flag:'`
11559 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11560 (eval "$lt_compile" 2>conftest.err
)
11562 cat conftest.err
>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 if (exit $ac_status) && test -s "$ac_outfile"; then
11565 # The compiler can only warn and ignore the option if not recognized
11566 # So say no if there are warnings other than the usual output.
11567 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11568 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11569 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11570 lt_cv_prog_compiler_rtti_exceptions
=yes
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11577 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11579 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11580 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11589 lt_prog_compiler_wl_GO
=
11590 lt_prog_compiler_pic_GO
=
11591 lt_prog_compiler_static_GO
=
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11594 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11596 if test "$GCC" = yes; then
11597 lt_prog_compiler_wl_GO
='-Wl,'
11598 lt_prog_compiler_static_GO
='-static'
11602 # All AIX code is PIC.
11603 if test "$host_cpu" = ia64
; then
11604 # AIX 5 now supports IA64 processor
11605 lt_prog_compiler_static_GO
='-Bstatic'
11607 lt_prog_compiler_pic_GO
='-fPIC'
11613 # see comment about AmigaOS4 .so support
11614 lt_prog_compiler_pic_GO
='-fPIC'
11617 # FIXME: we need at least 68020 code to build shared libraries, but
11618 # adding the `-m68020' flag to GCC prevents building anything better,
11620 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11625 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11626 # PIC is the default for these OSes.
11629 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11630 # This hack is so that the source file can tell whether it is being
11631 # built for inclusion in a dll (and should export symbols for example).
11632 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11633 # (--disable-auto-import) libraries
11634 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11637 darwin
* | rhapsody
*)
11638 # PIC is the default on this platform
11639 # Common symbols not allowed in MH_DYLIB files
11640 lt_prog_compiler_pic_GO
='-fno-common'
11644 # PIC is the default for Haiku.
11645 # The "-static" flag exists, but is broken.
11646 lt_prog_compiler_static_GO
=
11650 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11651 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11652 # sets the default TLS model and affects inlining.
11658 lt_prog_compiler_pic_GO
='-fPIC'
11664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11665 # Instead, we relocate shared libraries at runtime.
11669 # Just because we use GCC doesn't mean we suddenly get shared libraries
11670 # on systems that don't support them.
11671 lt_prog_compiler_can_build_shared_GO
=no
11676 # QNX uses GNU C++, but need to define -shared option too, otherwise
11677 # it will coredump.
11678 lt_prog_compiler_pic_GO
='-fPIC -shared'
11682 if test -d /usr
/nec
; then
11683 lt_prog_compiler_pic_GO
=-Kconform_pic
11688 lt_prog_compiler_pic_GO
='-fPIC'
11692 case $cc_basename in
11693 nvcc
*) # Cuda Compiler Driver 2.2
11694 lt_prog_compiler_wl_GO
='-Xlinker '
11695 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11699 # PORTME Check for flag to pass linker flags through the system compiler.
11702 lt_prog_compiler_wl_GO
='-Wl,'
11703 if test "$host_cpu" = ia64
; then
11704 # AIX 5 now supports IA64 processor
11705 lt_prog_compiler_static_GO
='-Bstatic'
11707 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11711 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11712 # This hack is so that the source file can tell whether it is being
11713 # built for inclusion in a dll (and should export symbols for example).
11714 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11717 hpux9
* | hpux10
* | hpux11
*)
11718 lt_prog_compiler_wl_GO
='-Wl,'
11719 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11720 # not for PA HP-UX.
11726 lt_prog_compiler_pic_GO
='+Z'
11729 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11730 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11733 irix5
* | irix6
* | nonstopux
*)
11734 lt_prog_compiler_wl_GO
='-Wl,'
11735 # PIC (with -KPIC) is the default.
11736 lt_prog_compiler_static_GO
='-non_shared'
11739 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11740 case $cc_basename in
11741 # old Intel for x86_64 which still supported -KPIC.
11743 lt_prog_compiler_wl_GO
='-Wl,'
11744 lt_prog_compiler_pic_GO
='-KPIC'
11745 lt_prog_compiler_static_GO
='-static'
11747 # icc used to be incompatible with GCC.
11748 # ICC 10 doesn't accept -KPIC any more.
11750 lt_prog_compiler_wl_GO
='-Wl,'
11751 lt_prog_compiler_pic_GO
='-fPIC'
11752 lt_prog_compiler_static_GO
='-static'
11754 # Lahey Fortran 8.1.
11756 lt_prog_compiler_wl_GO
='-Wl,'
11757 lt_prog_compiler_pic_GO
='--shared'
11758 lt_prog_compiler_static_GO
='--static'
11760 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11761 # Portland Group compilers (*not* the Pentium gcc compiler,
11762 # which looks to be a dead project)
11763 lt_prog_compiler_wl_GO
='-Wl,'
11764 lt_prog_compiler_pic_GO
='-fpic'
11765 lt_prog_compiler_static_GO
='-Bstatic'
11768 lt_prog_compiler_wl_GO
='-Wl,'
11769 # All Alpha code is PIC.
11770 lt_prog_compiler_static_GO
='-non_shared'
11772 xl
* | bgxl
* | bgf
* | mpixl
*)
11773 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11774 lt_prog_compiler_wl_GO
='-Wl,'
11775 lt_prog_compiler_pic_GO
='-qpic'
11776 lt_prog_compiler_static_GO
='-qstaticlink'
11779 case `$CC -V 2>&1 | sed 5q` in
11780 *Sun\ F
* |
*Sun
*Fortran
*)
11781 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11782 lt_prog_compiler_pic_GO
='-KPIC'
11783 lt_prog_compiler_static_GO
='-Bstatic'
11784 lt_prog_compiler_wl_GO
=''
11788 lt_prog_compiler_pic_GO
='-KPIC'
11789 lt_prog_compiler_static_GO
='-Bstatic'
11790 lt_prog_compiler_wl_GO
='-Wl,'
11798 lt_prog_compiler_pic_GO
='-KPIC'
11799 lt_prog_compiler_static_GO
='-Bstatic'
11803 # QNX uses GNU C++, but need to define -shared option too, otherwise
11804 # it will coredump.
11805 lt_prog_compiler_pic_GO
='-fPIC -shared'
11808 osf3
* | osf4
* | osf5
*)
11809 lt_prog_compiler_wl_GO
='-Wl,'
11810 # All OSF/1 code is PIC.
11811 lt_prog_compiler_static_GO
='-non_shared'
11815 lt_prog_compiler_static_GO
='-non_shared'
11819 lt_prog_compiler_pic_GO
='-KPIC'
11820 lt_prog_compiler_static_GO
='-Bstatic'
11821 case $cc_basename in
11822 f77
* | f90
* | f95
*)
11823 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11825 lt_prog_compiler_wl_GO
='-Wl,';;
11830 lt_prog_compiler_wl_GO
='-Qoption ld '
11831 lt_prog_compiler_pic_GO
='-PIC'
11832 lt_prog_compiler_static_GO
='-Bstatic'
11835 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11836 lt_prog_compiler_wl_GO
='-Wl,'
11837 lt_prog_compiler_pic_GO
='-KPIC'
11838 lt_prog_compiler_static_GO
='-Bstatic'
11842 if test -d /usr
/nec
;then
11843 lt_prog_compiler_pic_GO
='-Kconform_pic'
11844 lt_prog_compiler_static_GO
='-Bstatic'
11848 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11849 lt_prog_compiler_wl_GO
='-Wl,'
11850 lt_prog_compiler_pic_GO
='-KPIC'
11851 lt_prog_compiler_static_GO
='-Bstatic'
11855 lt_prog_compiler_wl_GO
='-Wl,'
11856 lt_prog_compiler_can_build_shared_GO
=no
11860 lt_prog_compiler_pic_GO
='-pic'
11861 lt_prog_compiler_static_GO
='-Bstatic'
11865 lt_prog_compiler_can_build_shared_GO
=no
11871 # For platforms which do not support PIC, -DPIC is meaningless:
11873 lt_prog_compiler_pic_GO
=
11876 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11880 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11885 # Check to make sure the PIC flag actually works.
11887 if test -n "$lt_prog_compiler_pic_GO"; then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11889 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11890 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11891 $as_echo_n "(cached) " >&6
11893 lt_cv_prog_compiler_pic_works_GO
=no
11894 ac_outfile
=conftest.
$ac_objext
11895 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11896 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11897 # Insert the option either (1) after the last *FLAGS variable, or
11898 # (2) before a word containing "conftest.", or (3) at the end.
11899 # Note that $ac_compile itself does not contain backslashes and begins
11900 # with a dollar sign (not a hyphen), so the echo should work correctly.
11901 # The option is referenced via a variable to avoid confusing sed.
11902 lt_compile
=`echo "$ac_compile" | $SED \
11903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11905 -e 's:$: $lt_compiler_flag:'`
11906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11907 (eval "$lt_compile" 2>conftest.err
)
11909 cat conftest.err
>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 if (exit $ac_status) && test -s "$ac_outfile"; then
11912 # The compiler can only warn and ignore the option if not recognized
11913 # So say no if there are warnings other than the usual output.
11914 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11915 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11916 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11917 lt_cv_prog_compiler_pic_works_GO
=yes
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11924 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11926 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11927 case $lt_prog_compiler_pic_GO in
11929 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11932 lt_prog_compiler_pic_GO
=
11933 lt_prog_compiler_can_build_shared_GO
=no
11941 # Check to make sure the static flag actually works.
11943 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11945 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11946 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11947 $as_echo_n "(cached) " >&6
11949 lt_cv_prog_compiler_static_works_GO
=no
11950 save_LDFLAGS
="$LDFLAGS"
11951 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11952 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11953 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11954 # The linker can only warn and ignore the option if not recognized
11955 # So say no if there are warnings
11956 if test -s conftest.err
; then
11957 # Append any errors to the config.log.
11958 cat conftest.err
1>&5
11959 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11960 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11961 if diff conftest.exp conftest.er2
>/dev
/null
; then
11962 lt_cv_prog_compiler_static_works_GO
=yes
11965 lt_cv_prog_compiler_static_works_GO
=yes
11969 LDFLAGS
="$save_LDFLAGS"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11973 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11975 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11978 lt_prog_compiler_static_GO
=
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11986 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11987 $as_echo_n "(cached) " >&6
11989 lt_cv_prog_compiler_c_o_GO
=no
11990 $RM -r conftest
2>/dev
/null
11994 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11996 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11997 # Insert the option either (1) after the last *FLAGS variable, or
11998 # (2) before a word containing "conftest.", or (3) at the end.
11999 # Note that $ac_compile itself does not contain backslashes and begins
12000 # with a dollar sign (not a hyphen), so the echo should work correctly.
12001 lt_compile
=`echo "$ac_compile" | $SED \
12002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12004 -e 's:$: $lt_compiler_flag:'`
12005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12006 (eval "$lt_compile" 2>out
/conftest.err
)
12008 cat out
/conftest.err
>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12012 # The compiler can only warn and ignore the option if not recognized
12013 # So say no if there are warnings
12014 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12015 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12016 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12017 lt_cv_prog_compiler_c_o_GO
=yes
12022 # SGI C++ compiler will create directory out/ii_files/ for
12023 # template instantiation
12024 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12025 $RM out
/* && rmdir out
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12032 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12037 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12038 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12039 $as_echo_n "(cached) " >&6
12041 lt_cv_prog_compiler_c_o_GO
=no
12042 $RM -r conftest
2>/dev
/null
12046 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12048 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12049 # Insert the option either (1) after the last *FLAGS variable, or
12050 # (2) before a word containing "conftest.", or (3) at the end.
12051 # Note that $ac_compile itself does not contain backslashes and begins
12052 # with a dollar sign (not a hyphen), so the echo should work correctly.
12053 lt_compile
=`echo "$ac_compile" | $SED \
12054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12056 -e 's:$: $lt_compiler_flag:'`
12057 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12058 (eval "$lt_compile" 2>out
/conftest.err
)
12060 cat out
/conftest.err
>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12064 # The compiler can only warn and ignore the option if not recognized
12065 # So say no if there are warnings
12066 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12067 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12068 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12069 lt_cv_prog_compiler_c_o_GO
=yes
12074 # SGI C++ compiler will create directory out/ii_files/ for
12075 # template instantiation
12076 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12077 $RM out
/* && rmdir out
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12084 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12089 hard_links
="nottested"
12090 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12091 # do not overwrite the value of need_locks provided by the user
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12093 $as_echo_n "checking if we can lock with hard links... " >&6; }
12096 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12098 ln conftest.a conftest.b
2>&5 || hard_links
=no
12099 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12101 $as_echo "$hard_links" >&6; }
12102 if test "$hard_links" = no
; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12104 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12114 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12117 allow_undefined_flag_GO
=
12118 always_export_symbols_GO
=no
12120 archive_expsym_cmds_GO
=
12121 compiler_needs_object_GO
=no
12122 enable_shared_with_static_runtimes_GO
=no
12123 export_dynamic_flag_spec_GO
=
12124 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12125 hardcode_automatic_GO
=no
12126 hardcode_direct_GO
=no
12127 hardcode_direct_absolute_GO
=no
12128 hardcode_libdir_flag_spec_GO
=
12129 hardcode_libdir_flag_spec_ld_GO
=
12130 hardcode_libdir_separator_GO
=
12131 hardcode_minus_L_GO
=no
12132 hardcode_shlibpath_var_GO
=unsupported
12133 inherit_rpath_GO
=no
12134 link_all_deplibs_GO
=unknown
12136 module_expsym_cmds_GO
=
12137 old_archive_from_new_cmds_GO
=
12138 old_archive_from_expsyms_cmds_GO
=
12139 thread_safe_flag_spec_GO
=
12140 whole_archive_flag_spec_GO
=
12141 # include_expsyms should be a list of space-separated symbols to be *always*
12142 # included in the symbol list
12143 include_expsyms_GO
=
12144 # exclude_expsyms can be an extended regexp of symbols to exclude
12145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12147 # as well as any symbol that contains `d'.
12148 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12150 # platforms (ab)use it in PIC code, but their linkers get confused if
12151 # the symbol is explicitly referenced. Since portable code cannot
12152 # rely on this symbol name, it's probably fine to never include it in
12153 # preloaded symbol tables.
12154 # Exclude shared library initialization/finalization symbols.
12155 extract_expsyms_cmds
=
12158 cygwin
* | mingw
* | pw32
* | cegcc
*)
12159 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12160 # When not using gcc, we currently assume that we are using
12161 # Microsoft Visual C++.
12162 if test "$GCC" != yes; then
12167 # we just hope/assume this is gcc and not c89 (= MSVC++)
12177 # On some targets, GNU ld is compatible enough with the native linker
12178 # that we're better off using the native interface for both.
12179 lt_use_gnu_ld_interface
=no
12180 if test "$with_gnu_ld" = yes; then
12183 # The AIX port of GNU ld has always aspired to compatibility
12184 # with the native linker. However, as the warning in the GNU ld
12185 # block says, versions before 2.19.5* couldn't really create working
12186 # shared libraries, regardless of the interface used.
12187 case `$LD -v 2>&1` in
12188 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12189 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12190 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12192 lt_use_gnu_ld_interface
=yes
12197 lt_use_gnu_ld_interface
=yes
12202 if test "$lt_use_gnu_ld_interface" = yes; then
12203 # If archive_cmds runs LD, not CC, wlarc should be empty
12206 # Set some defaults for GNU ld with shared library support. These
12207 # are reset later if shared libraries are not supported. Putting them
12208 # here allows them to be overridden if necessary.
12209 runpath_var
=LD_RUN_PATH
12210 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12211 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12212 # ancient GNU ld didn't support --whole-archive et. al.
12213 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12214 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12216 whole_archive_flag_spec_GO
=
12218 supports_anon_versioning
=no
12219 case `$LD -v 2>&1` in
12220 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12221 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12222 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12223 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12224 *\
2.11.
*) ;; # other 2.11 versions
12225 *) supports_anon_versioning
=yes ;;
12228 # See if GNU ld supports shared libraries.
12231 # On AIX/PPC, the GNU linker is very broken
12232 if test "$host_cpu" != ia64
; then
12236 *** Warning: the GNU linker, at least up to release 2.19, is reported
12237 *** to be unable to reliably create shared libraries on AIX.
12238 *** Therefore, libtool is disabling shared libraries support. If you
12239 *** really care for shared libraries, you may want to install binutils
12240 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12241 *** You will then need to restart the configuration process.
12250 # see comment about AmigaOS4 .so support
12251 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12252 archive_expsym_cmds_GO
=''
12255 archive_cmds_GO
='$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)'
12256 hardcode_libdir_flag_spec_GO
='-L$libdir'
12257 hardcode_minus_L_GO
=yes
12263 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12264 allow_undefined_flag_GO
=unsupported
12265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12266 # support --undefined. This deserves some investigation. FIXME
12267 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12273 cygwin
* | mingw
* | pw32
* | cegcc
*)
12274 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12275 # as there is no search path for DLLs.
12276 hardcode_libdir_flag_spec_GO
='-L$libdir'
12277 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12278 allow_undefined_flag_GO
=unsupported
12279 always_export_symbols_GO
=no
12280 enable_shared_with_static_runtimes_GO
=yes
12281 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12283 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12284 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12285 # If the export-symbols file already is a .def file (1st line
12286 # is EXPORTS), use it as is; otherwise, prepend...
12287 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12288 cp $export_symbols $output_objdir/$soname.def;
12290 echo EXPORTS > $output_objdir/$soname.def;
12291 cat $export_symbols >> $output_objdir/$soname.def;
12293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12300 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 link_all_deplibs_GO
=yes
12305 hardcode_direct_GO
=no
12306 hardcode_shlibpath_var_GO
=no
12307 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12308 export_dynamic_flag_spec_GO
='${wl}-E'
12309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12310 # Instead, shared libraries are loaded at an image base (0x10000000 by
12311 # default) and relocated if they conflict, which is a slow very memory
12312 # consuming and fragmenting process. To avoid this, we pick a random,
12313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12315 archive_cmds_GO
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12316 archive_expsym_cmds_GO
='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'
12319 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12321 if test "$host_os" = linux-dietlibc
; then
12322 case $cc_basename in
12323 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12326 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12327 && test "$tmp_diet" = no
12330 tmp_sharedflag
='-shared'
12331 case $cc_basename,$host_cpu in
12332 pgcc
*) # Portland Group C compiler
12333 whole_archive_flag_spec_GO
='${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'
12334 tmp_addflag
=' $pic_flag'
12336 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12337 # Portland Group f77 and f90 compilers
12338 whole_archive_flag_spec_GO
='${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'
12339 tmp_addflag
=' $pic_flag -Mnomain' ;;
12340 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12341 tmp_addflag
=' -i_dynamic' ;;
12342 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12343 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12344 ifc
* | ifort
*) # Intel Fortran compiler
12345 tmp_addflag
=' -nofor_main' ;;
12346 lf95
*) # Lahey Fortran 8.1
12347 whole_archive_flag_spec_GO
=
12348 tmp_sharedflag
='--shared' ;;
12349 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12350 tmp_sharedflag
='-qmkshrobj'
12352 nvcc
*) # Cuda Compiler Driver 2.2
12353 whole_archive_flag_spec_GO
='${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'
12354 compiler_needs_object_GO
=yes
12357 case `$CC -V 2>&1 | sed 5q` in
12358 *Sun\ C
*) # Sun C 5.9
12359 whole_archive_flag_spec_GO
='${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'
12360 compiler_needs_object_GO
=yes
12361 tmp_sharedflag
='-G' ;;
12362 *Sun\ F
*) # Sun Fortran 8.3
12363 tmp_sharedflag
='-G' ;;
12365 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12367 if test "x$supports_anon_versioning" = xyes
; then
12368 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12370 echo "local: *; };" >> $output_objdir/$libname.ver~
12371 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12374 case $cc_basename in
12375 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12376 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12377 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12378 hardcode_libdir_flag_spec_GO
=
12379 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12380 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12381 if test "x$supports_anon_versioning" = xyes
; then
12382 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12384 echo "local: *; };" >> $output_objdir/$libname.ver~
12385 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12395 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12396 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12399 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12400 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12405 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12409 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12410 *** create shared libraries on Solaris systems. Therefore, libtool
12411 *** is disabling shared libraries support. We urge you to upgrade GNU
12412 *** binutils to release 2.9.1 or newer. Another option is to modify
12413 *** your PATH or compiler configuration so that the native linker is
12414 *** used, and then restart.
12417 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12418 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12419 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12425 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12426 case `$LD -v 2>&1` in
12427 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12431 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12432 *** reliably create shared libraries on SCO systems. Therefore, libtool
12433 *** is disabling shared libraries support. We urge you to upgrade GNU
12434 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12435 *** your PATH or compiler configuration so that the native linker is
12436 *** used, and then restart.
12441 # For security reasons, it is highly recommended that you always
12442 # use absolute paths for naming shared libraries, and exclude the
12443 # DT_RUNPATH tag from executables and libraries. But doing so
12444 # requires that you compile everything twice, which is a pain.
12445 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12446 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12447 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12448 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12457 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12459 hardcode_direct_GO
=yes
12460 hardcode_shlibpath_var_GO
=no
12464 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12465 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12466 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12473 if test "$ld_shlibs_GO" = no
; then
12475 hardcode_libdir_flag_spec_GO
=
12476 export_dynamic_flag_spec_GO
=
12477 whole_archive_flag_spec_GO
=
12480 # PORTME fill in a description of your system's linker (not GNU ld)
12483 allow_undefined_flag_GO
=unsupported
12484 always_export_symbols_GO
=yes
12485 archive_expsym_cmds_GO
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12486 # Note: this linker hardcodes the directories in LIBPATH if there
12487 # are no directories specified by -L.
12488 hardcode_minus_L_GO
=yes
12489 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12490 # Neither direct hardcoding nor static linking is supported with a
12492 hardcode_direct_GO
=unsupported
12497 if test "$host_cpu" = ia64
; then
12498 # On IA64, the linker does run time linking by default, so we don't
12499 # have to do anything special.
12500 aix_use_runtimelinking
=no
12501 exp_sym_flag
='-Bexport'
12504 # If we're using GNU nm, then we don't want the "-C" option.
12505 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12506 # Also, AIX nm treats weak defined symbols like other global
12507 # defined symbols, whereas GNU nm marks them as "W".
12508 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12509 export_symbols_cmds_GO
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12511 export_symbols_cmds_GO
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12513 aix_use_runtimelinking
=no
12515 # Test if we are trying to use run time linking or normal
12516 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12517 # need to do runtime linking.
12518 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12519 for ld_flag
in $LDFLAGS; do
12520 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12521 aix_use_runtimelinking
=yes
12528 exp_sym_flag
='-bexport'
12529 no_entry_flag
='-bnoentry'
12532 # When large executables or shared objects are built, AIX ld can
12533 # have problems creating the table of contents. If linking a library
12534 # or program results in "error TOC overflow" add -mminimal-toc to
12535 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12536 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12539 hardcode_direct_GO
=yes
12540 hardcode_direct_absolute_GO
=yes
12541 hardcode_libdir_separator_GO
=':'
12542 link_all_deplibs_GO
=yes
12543 file_list_spec_GO
='${wl}-f,'
12545 if test "$GCC" = yes; then
12546 case $host_os in aix4.
[012]|aix4.
[012].
*)
12547 # We only want to do this on AIX 4.2 and lower, the check
12548 # below for broken collect2 doesn't work under 4.3+
12549 collect2name
=`${CC} -print-prog-name=collect2`
12550 if test -f "$collect2name" &&
12551 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12553 # We have reworked collect2
12556 # We have old collect2
12557 hardcode_direct_GO
=unsupported
12558 # It fails to find uninstalled libraries when the uninstalled
12559 # path is not listed in the libpath. Setting hardcode_minus_L
12560 # to unsupported forces relinking
12561 hardcode_minus_L_GO
=yes
12562 hardcode_libdir_flag_spec_GO
='-L$libdir'
12563 hardcode_libdir_separator_GO
=
12567 shared_flag
='-shared'
12568 if test "$aix_use_runtimelinking" = yes; then
12569 shared_flag
="$shared_flag "'${wl}-G'
12573 if test "$host_cpu" = ia64
; then
12574 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12575 # chokes on -Wl,-G. The following line is correct:
12578 if test "$aix_use_runtimelinking" = yes; then
12579 shared_flag
='${wl}-G'
12581 shared_flag
='${wl}-bM:SRE'
12586 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12587 # It seems that -bexpall does not export symbols beginning with
12588 # underscore (_), so it is better to generate a list of symbols to export.
12589 always_export_symbols_GO
=yes
12590 if test "$aix_use_runtimelinking" = yes; then
12591 # Warning - without using the other runtime loading flags (-brtl),
12592 # -berok will link without error, but may produce a broken library.
12593 allow_undefined_flag_GO
='-berok'
12594 # Determine the default libpath from the value encoded in an
12595 # empty executable.
12596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12607 if ac_fn_c_try_link
"$LINENO"; then :
12609 lt_aix_libpath_sed
='
12610 /Import File Strings/,/^$/ {
12616 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12617 # Check for a 64-bit object if we didn't find anything.
12618 if test -z "$aix_libpath"; then
12619 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12622 rm -f core conftest.err conftest.
$ac_objext \
12623 conftest
$ac_exeext conftest.
$ac_ext
12624 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12626 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12627 archive_expsym_cmds_GO
='$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"
12629 if test "$host_cpu" = ia64
; then
12630 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12631 allow_undefined_flag_GO
="-z nodefs"
12632 archive_expsym_cmds_GO
="\$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"
12634 # Determine the default libpath from the value encoded in an
12635 # empty executable.
12636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12647 if ac_fn_c_try_link
"$LINENO"; then :
12649 lt_aix_libpath_sed
='
12650 /Import File Strings/,/^$/ {
12656 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12657 # Check for a 64-bit object if we didn't find anything.
12658 if test -z "$aix_libpath"; then
12659 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12662 rm -f core conftest.err conftest.
$ac_objext \
12663 conftest
$ac_exeext conftest.
$ac_ext
12664 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12666 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12667 # Warning - without using the other run time loading flags,
12668 # -berok will link without error, but may produce a broken library.
12669 no_undefined_flag_GO
=' ${wl}-bernotok'
12670 allow_undefined_flag_GO
=' ${wl}-berok'
12671 if test "$with_gnu_ld" = yes; then
12672 # We only use this code for GNU lds that support --whole-archive.
12673 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12675 # Exported symbols can be pulled into shared objects from archives
12676 whole_archive_flag_spec_GO
='$convenience'
12678 archive_cmds_need_lc_GO
=yes
12679 # This is similar to how AIX traditionally builds its shared libraries.
12680 archive_expsym_cmds_GO
="\$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'
12688 # see comment about AmigaOS4 .so support
12689 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12690 archive_expsym_cmds_GO
=''
12693 archive_cmds_GO
='$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)'
12694 hardcode_libdir_flag_spec_GO
='-L$libdir'
12695 hardcode_minus_L_GO
=yes
12701 export_dynamic_flag_spec_GO
=-rdynamic
12704 cygwin
* | mingw
* | pw32
* | cegcc
*)
12705 # When not using gcc, we currently assume that we are using
12706 # Microsoft Visual C++.
12707 # hardcode_libdir_flag_spec is actually meaningless, as there is
12708 # no search path for DLLs.
12709 hardcode_libdir_flag_spec_GO
=' '
12710 allow_undefined_flag_GO
=unsupported
12711 # Tell ltmain to make .lib files, not .a files.
12713 # Tell ltmain to make .dll files, not .so files.
12715 # FIXME: Setting linknames here is a bad hack.
12716 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12717 # The linker will automatically build a .lib file if we build a DLL.
12718 old_archive_from_new_cmds_GO
='true'
12719 # FIXME: Should let the user specify the lib program.
12720 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12721 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12722 enable_shared_with_static_runtimes_GO
=yes
12725 darwin
* | rhapsody
*)
12728 archive_cmds_need_lc_GO
=no
12729 hardcode_direct_GO
=no
12730 hardcode_automatic_GO
=yes
12731 hardcode_shlibpath_var_GO
=unsupported
12732 if test "$lt_cv_ld_force_load" = "yes"; then
12733 whole_archive_flag_spec_GO
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12735 whole_archive_flag_spec_GO
=''
12737 link_all_deplibs_GO
=yes
12738 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12739 case $cc_basename in
12740 ifort
*) _lt_dar_can_shared
=yes ;;
12741 *) _lt_dar_can_shared
=$GCC ;;
12743 if test "$_lt_dar_can_shared" = "yes"; then
12744 output_verbose_link_cmd
=func_echo_all
12745 archive_cmds_GO
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12746 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12747 archive_expsym_cmds_GO
="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}"
12748 module_expsym_cmds_GO
="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}"
12757 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12758 hardcode_libdir_flag_spec_GO
='-L$libdir'
12759 hardcode_shlibpath_var_GO
=no
12762 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12763 # support. Future versions do this automatically, but an explicit c++rt0.o
12764 # does not break anything, and helps significantly (at the cost of a little
12767 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12768 hardcode_libdir_flag_spec_GO
='-R$libdir'
12769 hardcode_direct_GO
=yes
12770 hardcode_shlibpath_var_GO
=no
12773 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12775 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12776 hardcode_direct_GO
=yes
12777 hardcode_minus_L_GO
=yes
12778 hardcode_shlibpath_var_GO
=no
12781 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12782 freebsd
* | dragonfly
*)
12783 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12784 hardcode_libdir_flag_spec_GO
='-R$libdir'
12785 hardcode_direct_GO
=yes
12786 hardcode_shlibpath_var_GO
=no
12790 if test "$GCC" = yes; then
12791 archive_cmds_GO
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12793 archive_cmds_GO
='$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'
12795 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12796 hardcode_libdir_separator_GO
=:
12797 hardcode_direct_GO
=yes
12799 # hardcode_minus_L: Not really in the search PATH,
12800 # but as the default location of the library.
12801 hardcode_minus_L_GO
=yes
12802 export_dynamic_flag_spec_GO
='${wl}-E'
12806 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12807 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12809 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12811 if test "$with_gnu_ld" = no
; then
12812 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12813 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12814 hardcode_libdir_separator_GO
=:
12815 hardcode_direct_GO
=yes
12816 hardcode_direct_absolute_GO
=yes
12817 export_dynamic_flag_spec_GO
='${wl}-E'
12818 # hardcode_minus_L: Not really in the search PATH,
12819 # but as the default location of the library.
12820 hardcode_minus_L_GO
=yes
12825 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12828 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12831 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12834 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12840 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12843 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12846 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12850 if test "$with_gnu_ld" = no
; then
12851 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12852 hardcode_libdir_separator_GO
=:
12856 hardcode_direct_GO
=no
12857 hardcode_shlibpath_var_GO
=no
12860 hardcode_direct_GO
=yes
12861 hardcode_direct_absolute_GO
=yes
12862 export_dynamic_flag_spec_GO
='${wl}-E'
12864 # hardcode_minus_L: Not really in the search PATH,
12865 # but as the default location of the library.
12866 hardcode_minus_L_GO
=yes
12872 irix5
* | irix6
* | nonstopux
*)
12873 if test "$GCC" = yes; then
12874 archive_cmds_GO
='$CC -shared $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'
12875 # Try to use the -exported_symbol ld option, if it does not
12876 # work, assume that -exports_file does not work either and
12877 # implicitly export all symbols.
12878 save_LDFLAGS
="$LDFLAGS"
12879 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12884 if ac_fn_c_try_link
"$LINENO"; then :
12885 archive_expsym_cmds_GO
='$CC -shared $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'
12888 rm -f core conftest.err conftest.
$ac_objext \
12889 conftest
$ac_exeext conftest.
$ac_ext
12890 LDFLAGS
="$save_LDFLAGS"
12892 archive_cmds_GO
='$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'
12893 archive_expsym_cmds_GO
='$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'
12895 archive_cmds_need_lc_GO
='no'
12896 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12897 hardcode_libdir_separator_GO
=:
12898 inherit_rpath_GO
=yes
12899 link_all_deplibs_GO
=yes
12903 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12904 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12906 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12908 hardcode_libdir_flag_spec_GO
='-R$libdir'
12909 hardcode_direct_GO
=yes
12910 hardcode_shlibpath_var_GO
=no
12914 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12915 hardcode_direct_GO
=yes
12916 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12917 hardcode_libdir_separator_GO
=:
12918 hardcode_shlibpath_var_GO
=no
12925 if test -f /usr
/libexec
/ld.so
; then
12926 hardcode_direct_GO
=yes
12927 hardcode_shlibpath_var_GO
=no
12928 hardcode_direct_absolute_GO
=yes
12929 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12930 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12931 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12932 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12933 export_dynamic_flag_spec_GO
='${wl}-E'
12936 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12937 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12938 hardcode_libdir_flag_spec_GO
='-R$libdir'
12941 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12942 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12952 hardcode_libdir_flag_spec_GO
='-L$libdir'
12953 hardcode_minus_L_GO
=yes
12954 allow_undefined_flag_GO
=unsupported
12955 archive_cmds_GO
='$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'
12956 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12960 if test "$GCC" = yes; then
12961 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12962 archive_cmds_GO
='$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'
12964 allow_undefined_flag_GO
=' -expect_unresolved \*'
12965 archive_cmds_GO
='$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'
12967 archive_cmds_need_lc_GO
='no'
12968 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12969 hardcode_libdir_separator_GO
=:
12972 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12973 if test "$GCC" = yes; then
12974 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12975 archive_cmds_GO
='$CC -shared${allow_undefined_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'
12976 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12978 allow_undefined_flag_GO
=' -expect_unresolved \*'
12979 archive_cmds_GO
='$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'
12980 archive_expsym_cmds_GO
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12981 $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'
12983 # Both c and cxx compiler support -rpath directly
12984 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12986 archive_cmds_need_lc_GO
='no'
12987 hardcode_libdir_separator_GO
=:
12991 no_undefined_flag_GO
=' -z defs'
12992 if test "$GCC" = yes; then
12994 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12995 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12996 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12998 case `$CC -V 2>&1` in
13001 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13002 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13003 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13007 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13008 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13009 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13013 hardcode_libdir_flag_spec_GO
='-R$libdir'
13014 hardcode_shlibpath_var_GO
=no
13016 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13018 # The compiler driver will combine and reorder linker options,
13019 # but understands `-z linker_flag'. GCC discards it without `$wl',
13020 # but is careful enough not to reorder.
13021 # Supported since Solaris 2.6 (maybe 2.5.1?)
13022 if test "$GCC" = yes; then
13023 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13025 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13029 link_all_deplibs_GO
=yes
13033 if test "x$host_vendor" = xsequent
; then
13034 # Use $CC to link under sequent, because it throws in some extra .o
13035 # files that make .init and .fini sections work.
13036 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13038 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13040 hardcode_libdir_flag_spec_GO
='-L$libdir'
13041 hardcode_direct_GO
=yes
13042 hardcode_minus_L_GO
=yes
13043 hardcode_shlibpath_var_GO
=no
13047 case $host_vendor in
13049 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13050 hardcode_direct_GO
=yes # is this really true???
13053 ## LD is ld it makes a PLAMLIB
13054 ## CC just makes a GrossModule.
13055 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13056 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13057 hardcode_direct_GO
=no
13060 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13061 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13064 runpath_var
='LD_RUN_PATH'
13065 hardcode_shlibpath_var_GO
=no
13069 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13070 hardcode_shlibpath_var_GO
=no
13071 export_dynamic_flag_spec_GO
='-Bexport'
13075 if test -d /usr
/nec
; then
13076 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13077 hardcode_shlibpath_var_GO
=no
13078 runpath_var
=LD_RUN_PATH
13079 hardcode_runpath_var
=yes
13084 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13085 no_undefined_flag_GO
='${wl}-z,text'
13086 archive_cmds_need_lc_GO
=no
13087 hardcode_shlibpath_var_GO
=no
13088 runpath_var
='LD_RUN_PATH'
13090 if test "$GCC" = yes; then
13091 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13092 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13095 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13099 sysv5
* | sco3.2v5
* | sco5v6
*)
13100 # Note: We can NOT use -z defs as we might desire, because we do not
13101 # link with -lc, and that would cause any symbols used from libc to
13102 # always be unresolved, which means just about no library would
13103 # ever link correctly. If we're not using GNU ld we use -z text
13104 # though, which does catch some bad symbols but isn't as heavy-handed
13106 no_undefined_flag_GO
='${wl}-z,text'
13107 allow_undefined_flag_GO
='${wl}-z,nodefs'
13108 archive_cmds_need_lc_GO
=no
13109 hardcode_shlibpath_var_GO
=no
13110 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13111 hardcode_libdir_separator_GO
=':'
13112 link_all_deplibs_GO
=yes
13113 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13114 runpath_var
='LD_RUN_PATH'
13116 if test "$GCC" = yes; then
13117 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13127 hardcode_libdir_flag_spec_GO
='-L$libdir'
13128 hardcode_shlibpath_var_GO
=no
13136 if test x
$host_vendor = xsni
; then
13138 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13139 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13146 $as_echo "$ld_shlibs_GO" >&6; }
13147 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13149 with_gnu_ld_GO
=$with_gnu_ld
13157 # Do we need to explicitly link libc?
13159 case "x$archive_cmds_need_lc_GO" in
13161 # Assume -lc should be added
13162 archive_cmds_need_lc_GO
=yes
13164 if test "$enable_shared" = yes && test "$GCC" = yes; then
13165 case $archive_cmds_GO in
13167 # FIXME: we may have to deal with multi-command sequences.
13170 # Test whether the compiler implicitly links with -lc since on some
13171 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13172 # to ld, don't add -lc before -lgcc.
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13174 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13175 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13176 $as_echo_n "(cached) " >&6
13179 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13182 (eval $ac_compile) 2>&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 test $ac_status = 0; } 2>conftest.err
; then
13188 libobjs
=conftest.
$ac_objext
13190 wl
=$lt_prog_compiler_wl_GO
13191 pic_flag
=$lt_prog_compiler_pic_GO
13197 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13198 allow_undefined_flag_GO
=
13199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13200 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13203 test $ac_status = 0; }
13205 lt_cv_archive_cmds_need_lc_GO
=no
13207 lt_cv_archive_cmds_need_lc_GO
=yes
13209 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13211 cat conftest.err
1>&5
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13217 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13218 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13289 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13290 hardcode_action_GO
=
13291 if test -n "$hardcode_libdir_flag_spec_GO" ||
13292 test -n "$runpath_var_GO" ||
13293 test "X$hardcode_automatic_GO" = "Xyes" ; then
13295 # We can hardcode non-existent directories.
13296 if test "$hardcode_direct_GO" != no
&&
13297 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13298 # have to relink, otherwise we might link with an installed library
13299 # when we should be linking with a yet-to-be-installed one
13300 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13301 test "$hardcode_minus_L_GO" != no
; then
13302 # Linking always hardcodes the temporary library directory.
13303 hardcode_action_GO
=relink
13305 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13306 hardcode_action_GO
=immediate
13309 # We cannot hardcode anything, or else we can only hardcode existing
13311 hardcode_action_GO
=unsupported
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13314 $as_echo "$hardcode_action_GO" >&6; }
13316 if test "$hardcode_action_GO" = relink ||
13317 test "$inherit_rpath_GO" = yes; then
13318 # Fast installation is not supported
13319 enable_fast_install
=no
13320 elif test "$shlibpath_overrides_runpath" = yes ||
13321 test "$enable_shared" = no
; then
13322 # Fast installation is not necessary
13323 enable_fast_install
=needless
13335 ac_cpp
='$CPP $CPPFLAGS'
13336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13347 ac_config_commands
="$ac_config_commands libtool"
13352 # Only expand once:
13358 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13361 for ac_prog
in gawk mawk nawk
awk
13363 # Extract the first word of "$ac_prog", so it can be a program name with args.
13364 set dummy
$ac_prog; ac_word
=$2
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13366 $as_echo_n "checking for $ac_word... " >&6; }
13367 if test "${ac_cv_prog_AWK+set}" = set; then :
13368 $as_echo_n "(cached) " >&6
13370 if test -n "$AWK"; then
13371 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13374 for as_dir
in $PATH
13377 test -z "$as_dir" && as_dir
=.
13378 for ac_exec_ext
in '' $ac_executable_extensions; do
13379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13380 ac_cv_prog_AWK
="$ac_prog"
13381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13390 AWK
=$ac_cv_prog_AWK
13391 if test -n "$AWK"; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13393 $as_echo "$AWK" >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13396 $as_echo "no" >&6; }
13400 test -n "$AWK" && break
13404 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13407 # Check whether --enable-werror was given.
13408 if test "${enable_werror+set}" = set; then :
13409 enableval
=$enable_werror;
13412 if test "x$enable_werror" != "xno"; then
13417 glibgo_toolexecdir
=no
13418 glibgo_toolexeclibdir
=no
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13421 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13422 # Check whether --enable-version-specific-runtime-libs was given.
13423 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13424 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13425 yes) version_specific_libs
=yes ;;
13426 no
) version_specific_libs
=no
;;
13427 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13430 version_specific_libs
=no
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13434 $as_echo "$version_specific_libs" >&6; }
13436 # Version-specific runtime libs processing.
13437 if test $version_specific_libs = yes; then
13438 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13439 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13442 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13443 # Install a library built with a cross compiler in tooldir, not libdir.
13444 if test -n "$with_cross_host" &&
13445 test x
"$with_cross_host" != x
"no"; then
13446 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13447 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13449 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13450 nover_glibgo_toolexeclibdir
='${libdir}'
13452 multi_os_directory
=`$GOC -print-multi-os-directory`
13453 case $multi_os_directory in
13454 .
) ;; # Avoid trailing /.
13455 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13458 if test x
"$glibgo_toolexecdir" = x
"no"; then
13459 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13460 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13467 # See if the user wants to configure without libffi. Some
13468 # architectures don't support it. FIXME: We should set a default
13469 # based on the host.
13471 # Check whether --with-libffi was given.
13472 if test "${with_libffi+set}" = set; then :
13473 withval
=$with_libffi; :
13475 with_libffi
=${with_libffi_default-yes}
13481 if test "$with_libffi" != no
; then
13483 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13485 LIBFFI
=..
/libffi
/libffi_convenience.la
13486 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13491 # See if the user wants to configure without libatomic. This is useful if we are
13492 # on an architecture for which libgo does not need an atomic support library and
13493 # libatomic does not support our C compiler.
13495 # Check whether --with-libatomic was given.
13496 if test "${with_libatomic+set}" = set; then :
13497 withval
=$with_libatomic; :
13499 with_libatomic
=${with_libatomic_default-yes}
13504 if test "$with_libatomic" != no
; then
13505 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13509 # Used to tell GNU make to include a file without telling automake to
13511 go_include
="-include"
13525 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13526 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13527 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13528 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13529 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13530 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13531 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13532 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13533 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13535 if test $is_darwin = yes; then
13536 LIBGO_IS_DARWIN_TRUE
=
13537 LIBGO_IS_DARWIN_FALSE
='#'
13539 LIBGO_IS_DARWIN_TRUE
='#'
13540 LIBGO_IS_DARWIN_FALSE
=
13543 if test $is_freebsd = yes; then
13544 LIBGO_IS_FREEBSD_TRUE
=
13545 LIBGO_IS_FREEBSD_FALSE
='#'
13547 LIBGO_IS_FREEBSD_TRUE
='#'
13548 LIBGO_IS_FREEBSD_FALSE
=
13551 if test $is_irix = yes; then
13552 LIBGO_IS_IRIX_TRUE
=
13553 LIBGO_IS_IRIX_FALSE
='#'
13555 LIBGO_IS_IRIX_TRUE
='#'
13556 LIBGO_IS_IRIX_FALSE
=
13559 if test $is_linux = yes; then
13560 LIBGO_IS_LINUX_TRUE
=
13561 LIBGO_IS_LINUX_FALSE
='#'
13563 LIBGO_IS_LINUX_TRUE
='#'
13564 LIBGO_IS_LINUX_FALSE
=
13567 if test $is_netbsd = yes; then
13568 LIBGO_IS_NETBSD_TRUE
=
13569 LIBGO_IS_NETBSD_FALSE
='#'
13571 LIBGO_IS_NETBSD_TRUE
='#'
13572 LIBGO_IS_NETBSD_FALSE
=
13575 if test $is_openbsd = yes; then
13576 LIBGO_IS_OPENBSD_TRUE
=
13577 LIBGO_IS_OPENBSD_FALSE
='#'
13579 LIBGO_IS_OPENBSD_TRUE
='#'
13580 LIBGO_IS_OPENBSD_FALSE
=
13583 if test $is_dragonfly = yes; then
13584 LIBGO_IS_DRAGONFLY_TRUE
=
13585 LIBGO_IS_DRAGONFLY_FALSE
='#'
13587 LIBGO_IS_DRAGONFLY_TRUE
='#'
13588 LIBGO_IS_DRAGONFLY_FALSE
=
13591 if test $is_rtems = yes; then
13592 LIBGO_IS_RTEMS_TRUE
=
13593 LIBGO_IS_RTEMS_FALSE
='#'
13595 LIBGO_IS_RTEMS_TRUE
='#'
13596 LIBGO_IS_RTEMS_FALSE
=
13599 if test $is_solaris = yes; then
13600 LIBGO_IS_SOLARIS_TRUE
=
13601 LIBGO_IS_SOLARIS_FALSE
='#'
13603 LIBGO_IS_SOLARIS_TRUE
='#'
13604 LIBGO_IS_SOLARIS_FALSE
=
13611 *-*-rtems*) USE_DEJAGNU
=yes ;;
13613 *) USE_DEJAGNU
=yes ;;
13640 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13644 i
[34567]86-*-* | x86_64-
*-*)
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13652 if ac_fn_c_try_compile
"$LINENO"; then :
13657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13658 if test "$is_386" = "yes"; then
13669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13672 #if _MIPS_SIM != _ABIO32
13676 if ac_fn_c_try_compile
"$LINENO"; then :
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13682 #if _MIPS_SIM != _ABIN32
13686 if ac_fn_c_try_compile
"$LINENO"; then :
13689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13692 #if _MIPS_SIM != _ABI64
13696 if ac_fn_c_try_compile
"$LINENO"; then :
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 #if _MIPS_SIM != _ABIO64
13706 if ac_fn_c_try_compile
"$LINENO"; then :
13709 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13719 case "$mips_abi" in
13720 "o32") GOARCH
=mipso32
;;
13721 "n32") GOARCH
=mipsn32
;;
13722 "n64") GOARCH
=mipsn64
;;
13723 "o64") GOARCH
=mipso64
;;
13726 rs6000
*-*-* | powerpc
*-*-*)
13727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13734 if ac_fn_c_try_compile
"$LINENO"; then :
13739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13740 if test "$is_ppc" = "yes"; then
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 #if defined(__s390x__)
13754 if ac_fn_c_try_compile
"$LINENO"; then :
13759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13760 if test "$is_s390" = "yes"; then
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 #if defined(__sparcv9) || defined(__arch64__)
13774 if ac_fn_c_try_compile
"$LINENO"; then :
13779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13780 if test "$is_sparc" = "yes"; then
13787 if test $is_386 = yes; then
13789 LIBGO_IS_386_FALSE
='#'
13791 LIBGO_IS_386_TRUE
='#'
13792 LIBGO_IS_386_FALSE
=
13795 if test $is_alpha = yes; then
13796 LIBGO_IS_ALPHA_TRUE
=
13797 LIBGO_IS_ALPHA_FALSE
='#'
13799 LIBGO_IS_ALPHA_TRUE
='#'
13800 LIBGO_IS_ALPHA_FALSE
=
13803 if test $is_arm = yes; then
13805 LIBGO_IS_ARM_FALSE
='#'
13807 LIBGO_IS_ARM_TRUE
='#'
13808 LIBGO_IS_ARM_FALSE
=
13811 if test $is_arm64 = yes; then
13812 LIBGO_IS_ARM64_TRUE
=
13813 LIBGO_IS_ARM64_FALSE
='#'
13815 LIBGO_IS_ARM64_TRUE
='#'
13816 LIBGO_IS_ARM64_FALSE
=
13819 if test $is_m68k = yes; then
13820 LIBGO_IS_M68K_TRUE
=
13821 LIBGO_IS_M68K_FALSE
='#'
13823 LIBGO_IS_M68K_TRUE
='#'
13824 LIBGO_IS_M68K_FALSE
=
13827 if test $mips_abi != unknown
; then
13828 LIBGO_IS_MIPS_TRUE
=
13829 LIBGO_IS_MIPS_FALSE
='#'
13831 LIBGO_IS_MIPS_TRUE
='#'
13832 LIBGO_IS_MIPS_FALSE
=
13835 if test $mips_abi = o32
; then
13836 LIBGO_IS_MIPSO32_TRUE
=
13837 LIBGO_IS_MIPSO32_FALSE
='#'
13839 LIBGO_IS_MIPSO32_TRUE
='#'
13840 LIBGO_IS_MIPSO32_FALSE
=
13843 if test $mips_abi = n32
; then
13844 LIBGO_IS_MIPSN32_TRUE
=
13845 LIBGO_IS_MIPSN32_FALSE
='#'
13847 LIBGO_IS_MIPSN32_TRUE
='#'
13848 LIBGO_IS_MIPSN32_FALSE
=
13851 if test $mips_abi = n64
; then
13852 LIBGO_IS_MIPSN64_TRUE
=
13853 LIBGO_IS_MIPSN64_FALSE
='#'
13855 LIBGO_IS_MIPSN64_TRUE
='#'
13856 LIBGO_IS_MIPSN64_FALSE
=
13859 if test $mips_abi = o64
; then
13860 LIBGO_IS_MIPSO64_TRUE
=
13861 LIBGO_IS_MIPSO64_FALSE
='#'
13863 LIBGO_IS_MIPSO64_TRUE
='#'
13864 LIBGO_IS_MIPSO64_FALSE
=
13867 if test $is_ppc = yes; then
13869 LIBGO_IS_PPC_FALSE
='#'
13871 LIBGO_IS_PPC_TRUE
='#'
13872 LIBGO_IS_PPC_FALSE
=
13875 if test $is_ppc64 = yes; then
13876 LIBGO_IS_PPC64_TRUE
=
13877 LIBGO_IS_PPC64_FALSE
='#'
13879 LIBGO_IS_PPC64_TRUE
='#'
13880 LIBGO_IS_PPC64_FALSE
=
13883 if test $is_s390 = yes; then
13884 LIBGO_IS_S390_TRUE
=
13885 LIBGO_IS_S390_FALSE
='#'
13887 LIBGO_IS_S390_TRUE
='#'
13888 LIBGO_IS_S390_FALSE
=
13891 if test $is_s390x = yes; then
13892 LIBGO_IS_S390X_TRUE
=
13893 LIBGO_IS_S390X_FALSE
='#'
13895 LIBGO_IS_S390X_TRUE
='#'
13896 LIBGO_IS_S390X_FALSE
=
13899 if test $is_sparc = yes; then
13900 LIBGO_IS_SPARC_TRUE
=
13901 LIBGO_IS_SPARC_FALSE
='#'
13903 LIBGO_IS_SPARC_TRUE
='#'
13904 LIBGO_IS_SPARC_FALSE
=
13907 if test $is_sparc64 = yes; then
13908 LIBGO_IS_SPARC64_TRUE
=
13909 LIBGO_IS_SPARC64_FALSE
='#'
13911 LIBGO_IS_SPARC64_TRUE
='#'
13912 LIBGO_IS_SPARC64_FALSE
=
13915 if test $is_x86_64 = yes; then
13916 LIBGO_IS_X86_64_TRUE
=
13917 LIBGO_IS_X86_64_FALSE
='#'
13919 LIBGO_IS_X86_64_TRUE
='#'
13920 LIBGO_IS_X86_64_FALSE
=
13925 GO_LIBCALL_OS_FILE
=
13926 GO_LIBCALL_OS_ARCH_FILE
=
13927 GO_SYSCALL_OS_FILE
=
13928 GO_SYSCALL_OS_ARCH_FILE
=
13929 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
13930 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
13932 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
13933 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
13935 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
13936 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
13938 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
13939 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
13946 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13949 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13950 # msghdr in <sys/socket.h>.
13951 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13953 *-*-solaris2.1
[01])
13954 # Solaris 10+ needs this so struct msghdr gets the msg_control
13955 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13956 # above doesn't work with C99.
13957 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13963 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13964 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13965 $as_echo_n "(cached) " >&6
13967 CFLAGS_hold
=$CFLAGS
13968 CFLAGS
="$CFLAGS -fsplit-stack"
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13973 if ac_fn_c_try_compile
"$LINENO"; then :
13974 libgo_cv_c_split_stack_supported
=yes
13976 libgo_cv_c_split_stack_supported
=no
13978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13979 CFLAGS
=$CFLAGS_hold
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13982 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13983 if test "$libgo_cv_c_split_stack_supported" = yes; then
13984 SPLIT_STACK
=-fsplit-stack
13986 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13992 if test "$libgo_cv_c_split_stack_supported" = yes; then
13993 USING_SPLIT_STACK_TRUE
=
13994 USING_SPLIT_STACK_FALSE
='#'
13996 USING_SPLIT_STACK_TRUE
='#'
13997 USING_SPLIT_STACK_FALSE
=
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14002 $as_echo_n "checking whether linker supports split stack... " >&6; }
14003 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
14004 $as_echo_n "(cached) " >&6
14006 libgo_cv_c_linker_supports_split_stack
=no
14007 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14008 libgo_cv_c_linker_supports_split_stack
=yes
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14012 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14013 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14015 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14020 $as_echo_n "checking whether compiler is llgo... " >&6; }
14021 if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
14022 $as_echo_n "(cached) " >&6
14024 libgo_cv_c_goc_is_llgo
=no
14025 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14026 libgo_cv_c_goc_is_llgo
=yes
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14030 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14031 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14033 GOC_IS_LLGO_FALSE
='#'
14035 GOC_IS_LLGO_TRUE
='#'
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14042 $as_echo_n "checking for sqrt in -lm... " >&6; }
14043 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14046 ac_check_lib_save_LIBS
=$LIBS
14048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14066 if ac_fn_c_try_link
"$LINENO"; then :
14067 ac_cv_lib_m_sqrt
=yes
14069 ac_cv_lib_m_sqrt
=no
14071 rm -f core conftest.err conftest.
$ac_objext \
14072 conftest
$ac_exeext conftest.
$ac_ext
14073 LIBS
=$ac_check_lib_save_LIBS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14076 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14077 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14084 $as_echo_n "checking for socket libraries... " >&6; }
14085 if test "${libgo_cv_lib_sockets+set}" = set; then :
14086 $as_echo_n "(cached) " >&6
14088 libgo_cv_lib_sockets
=
14089 libgo_check_both
=no
14090 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14091 if test "x$ac_cv_func_connect" = x
""yes; then :
14092 libgo_check_socket
=no
14094 libgo_check_socket
=yes
14097 if test "$libgo_check_socket" = "yes"; then
14098 unset ac_cv_func_connect
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14100 $as_echo_n "checking for main in -lsocket... " >&6; }
14101 if test "${ac_cv_lib_socket_main+set}" = set; then :
14102 $as_echo_n "(cached) " >&6
14104 ac_check_lib_save_LIBS
=$LIBS
14105 LIBS
="-lsocket $LIBS"
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_lib_socket_main
=yes
14121 ac_cv_lib_socket_main
=no
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14125 LIBS
=$ac_check_lib_save_LIBS
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14128 $as_echo "$ac_cv_lib_socket_main" >&6; }
14129 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14130 libgo_cv_lib_sockets
="-lsocket"
14132 libgo_check_both
=yes
14136 if test "$libgo_check_both" = "yes"; then
14137 libgo_old_libs
=$LIBS
14138 LIBS
="$LIBS -lsocket -lnsl"
14139 unset ac_cv_func_accept
14140 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14141 if test "x$ac_cv_func_accept" = x
""yes; then :
14143 libgo_cv_lib_sockets
="-lsocket -lnsl"
14146 unset ac_cv_func_accept
14147 LIBS
=$libgo_old_libs
14149 unset ac_cv_func_gethostbyname
14150 libgo_old_libs
="$LIBS"
14151 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14152 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14156 $as_echo_n "checking for main in -lnsl... " >&6; }
14157 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14158 $as_echo_n "(cached) " >&6
14160 ac_check_lib_save_LIBS
=$LIBS
14162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14174 if ac_fn_c_try_link
"$LINENO"; then :
14175 ac_cv_lib_nsl_main
=yes
14177 ac_cv_lib_nsl_main
=no
14179 rm -f core conftest.err conftest.
$ac_objext \
14180 conftest
$ac_exeext conftest.
$ac_ext
14181 LIBS
=$ac_check_lib_save_LIBS
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14184 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14185 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14186 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14191 unset ac_cv_func_gethostbyname
14192 LIBS
=$libgo_old_libs
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14196 $as_echo "$libgo_cv_lib_sockets" >&6; }
14197 NET_LIBS
="$libgo_cv_lib_sockets"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14201 $as_echo_n "checking whether -pthread is supported... " >&6; }
14202 if test "${libgo_cv_lib_pthread+set}" = set; then :
14203 $as_echo_n "(cached) " >&6
14205 CFLAGS_hold
=$CFLAGS
14206 CFLAGS
="$CFLAGS -pthread"
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14211 if ac_fn_c_try_compile
"$LINENO"; then :
14212 libgo_cv_lib_pthread
=yes
14214 libgo_cv_lib_pthread
=no
14216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 CFLAGS
=$CFLAGS_hold
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14220 $as_echo "$libgo_cv_lib_pthread" >&6; }
14222 if test "$libgo_cv_lib_pthread" = yes; then
14223 PTHREAD_CFLAGS
=-pthread
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14229 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14230 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14231 $as_echo_n "(cached) " >&6
14233 ac_check_lib_save_LIBS
=$LIBS
14234 LIBS
="-lpthread $LIBS"
14235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14238 /* Override any GCC internal prototype to avoid an error.
14239 Use char because int might match the return type of a GCC
14240 builtin and then its argument prototype would still apply. */
14244 char pthread_create ();
14248 return pthread_create ();
14253 if ac_fn_c_try_link
"$LINENO"; then :
14254 ac_cv_lib_pthread_pthread_create
=yes
14256 ac_cv_lib_pthread_pthread_create
=no
14258 rm -f core conftest.err conftest.
$ac_objext \
14259 conftest
$ac_exeext conftest.
$ac_ext
14260 LIBS
=$ac_check_lib_save_LIBS
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14263 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14264 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14265 PTHREAD_LIBS
=-lpthread
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14271 $as_echo_n "checking for library containing sched_yield... " >&6; }
14272 if test "${ac_cv_search_sched_yield+set}" = set; then :
14273 $as_echo_n "(cached) " >&6
14275 ac_func_search_save_LIBS
=$LIBS
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14285 char sched_yield ();
14289 return sched_yield ();
14294 for ac_lib
in '' rt
; do
14295 if test -z "$ac_lib"; then
14296 ac_res
="none required"
14299 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14301 if ac_fn_c_try_link
"$LINENO"; then :
14302 ac_cv_search_sched_yield
=$ac_res
14304 rm -f core conftest.err conftest.
$ac_objext \
14306 if test "${ac_cv_search_sched_yield+set}" = set; then :
14310 if test "${ac_cv_search_sched_yield+set}" = set; then :
14313 ac_cv_search_sched_yield
=no
14315 rm conftest.
$ac_ext
14316 LIBS
=$ac_func_search_save_LIBS
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14319 $as_echo "$ac_cv_search_sched_yield" >&6; }
14320 ac_res
=$ac_cv_search_sched_yield
14321 if test "$ac_res" != no
; then :
14322 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14327 $as_echo_n "checking for library containing nanosleep... " >&6; }
14328 if test "${ac_cv_search_nanosleep+set}" = set; then :
14329 $as_echo_n "(cached) " >&6
14331 ac_func_search_save_LIBS
=$LIBS
14332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14335 /* Override any GCC internal prototype to avoid an error.
14336 Use char because int might match the return type of a GCC
14337 builtin and then its argument prototype would still apply. */
14345 return nanosleep ();
14350 for ac_lib
in '' rt
; do
14351 if test -z "$ac_lib"; then
14352 ac_res
="none required"
14355 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14357 if ac_fn_c_try_link
"$LINENO"; then :
14358 ac_cv_search_nanosleep
=$ac_res
14360 rm -f core conftest.err conftest.
$ac_objext \
14362 if test "${ac_cv_search_nanosleep+set}" = set; then :
14366 if test "${ac_cv_search_nanosleep+set}" = set; then :
14369 ac_cv_search_nanosleep
=no
14371 rm conftest.
$ac_ext
14372 LIBS
=$ac_func_search_save_LIBS
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14375 $as_echo "$ac_cv_search_nanosleep" >&6; }
14376 ac_res
=$ac_cv_search_nanosleep
14377 if test "$ac_res" != no
; then :
14378 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14384 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14385 if test "${ac_cv_c_bigendian+set}" = set; then :
14386 $as_echo_n "(cached) " >&6
14388 ac_cv_c_bigendian
=unknown
14389 # See if we're dealing with a universal compiler.
14390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 #ifndef __APPLE_CC__
14393 not a universal capable compiler
14398 if ac_fn_c_try_compile
"$LINENO"; then :
14400 # Check for potential -arch flags. It is not universal unless
14401 # there are at least two -arch flags with different values.
14404 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14405 if test -n "$ac_prev"; then
14407 i?
86 | x86_64 | ppc | ppc64
)
14408 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14411 ac_cv_c_bigendian
=universal
14417 elif test "x$ac_word" = "x-arch"; then
14422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14423 if test $ac_cv_c_bigendian = unknown
; then
14424 # See if sys/param.h defines the BYTE_ORDER macro.
14425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #include <sys/types.h>
14428 #include <sys/param.h>
14433 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14434 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14436 bogus endian macros
14443 if ac_fn_c_try_compile
"$LINENO"; then :
14444 # It does; now see whether it defined to BIG_ENDIAN or not.
14445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 #include <sys/types.h>
14448 #include <sys/param.h>
14453 #if BYTE_ORDER != BIG_ENDIAN
14461 if ac_fn_c_try_compile
"$LINENO"; then :
14462 ac_cv_c_bigendian
=yes
14464 ac_cv_c_bigendian
=no
14466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14470 if test $ac_cv_c_bigendian = unknown
; then
14471 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 #include <limits.h>
14479 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14480 bogus endian macros
14487 if ac_fn_c_try_compile
"$LINENO"; then :
14488 # It does; now see whether it defined to _BIG_ENDIAN or not.
14489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 #include <limits.h>
14496 #ifndef _BIG_ENDIAN
14504 if ac_fn_c_try_compile
"$LINENO"; then :
14505 ac_cv_c_bigendian
=yes
14507 ac_cv_c_bigendian
=no
14509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14513 if test $ac_cv_c_bigendian = unknown
; then
14514 # Compile a test program.
14515 if test "$cross_compiling" = yes; then :
14516 # Try to guess by grepping values from an object file.
14517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14519 short int ascii_mm[] =
14520 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14521 short int ascii_ii[] =
14522 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14523 int use_ascii (int i) {
14524 return ascii_mm[i] + ascii_ii[i];
14526 short int ebcdic_ii[] =
14527 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14528 short int ebcdic_mm[] =
14529 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14530 int use_ebcdic (int i) {
14531 return ebcdic_mm[i] + ebcdic_ii[i];
14538 return use_ascii (foo) == use_ebcdic (foo);
14543 if ac_fn_c_try_compile
"$LINENO"; then :
14544 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14545 ac_cv_c_bigendian
=yes
14547 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14548 if test "$ac_cv_c_bigendian" = unknown
; then
14549 ac_cv_c_bigendian
=no
14551 # finding both strings is unlikely to happen, but who knows?
14552 ac_cv_c_bigendian
=unknown
14556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 $ac_includes_default
14565 /* Are we little or big endian? From Harbison&Steele. */
14569 char c[sizeof (long int)];
14572 return u.c[sizeof (long int) - 1] == 1;
14578 if ac_fn_c_try_run
"$LINENO"; then :
14579 ac_cv_c_bigendian
=no
14581 ac_cv_c_bigendian
=yes
14583 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14584 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14590 $as_echo "$ac_cv_c_bigendian" >&6; }
14591 case $ac_cv_c_bigendian in #(
14593 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14599 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14603 as_fn_error
"unknown endianness
14604 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14610 # Check whether --with-system-libunwind was given.
14611 if test "${with_system_libunwind+set}" = set; then :
14612 withval
=$with_system_libunwind;
14615 # If system-libunwind was not specifically set, pick a default setting.
14616 if test x
$with_system_libunwind = x
; then
14618 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14619 *) with_system_libunwind
=no
;;
14622 # Based on system-libunwind and target, do we have ipinfo?
14623 if test x
$with_system_libunwind = xyes
; then
14625 ia64-
*-*) have_unwind_getipinfo
=no
;;
14626 *) have_unwind_getipinfo
=yes ;;
14629 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14632 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14633 *) have_unwind_getipinfo
=yes ;;
14638 if test x
$have_unwind_getipinfo = xyes
; then
14640 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14645 # Check whether --enable-sjlj-exceptions was given.
14646 if test "${enable_sjlj_exceptions+set}" = set; then :
14647 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14649 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14652 enable_sjlj_exceptions
=auto
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14657 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14658 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14659 $as_echo_n "(cached) " >&6
14661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14665 void clean (int *);
14668 int i __attribute__ ((cleanup (clean)));
14673 CFLAGS_hold
=$CFLAGS
14674 CFLAGS
="--save-temps -fexceptions"
14675 libgo_cv_lib_sjlj_exceptions
=unknown
14676 if ac_fn_c_try_compile
; then :
14677 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14678 libgo_cv_lib_sjlj_exceptions
=yes
14679 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14680 libgo_cv_lib_sjlj_exceptions
=no
14683 CFLAGS
=$CFLAGS_hold
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14688 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14690 if test "$enable_sjlj_exceptions" = "auto"; then
14691 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14694 case $enable_sjlj_exceptions in
14697 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14703 as_fn_error
"unable to detect exception model" "$LINENO" 5
14707 for ac_header
in sched.h sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/reboot.h netinet
/icmp6.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14709 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14710 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14711 eval as_val
=\$
$as_ac_Header
14712 if test "x$as_val" = x
""yes; then :
14713 cat >>confdefs.h
<<_ACEOF
14714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14722 for ac_header
in linux
/filter.h linux
/if_addr.h linux
/if_ether.h linux
/if_tun.h linux
/netlink.h linux
/rtnetlink.h
14724 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14725 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14726 #include <sys/socket.h>
14730 eval as_val
=\$
$as_ac_Header
14731 if test "x$as_val" = x
""yes; then :
14732 cat >>confdefs.h
<<_ACEOF
14733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14742 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14743 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14744 $as_echo_n "(cached) " >&6
14746 CFLAGS_hold
=$CFLAGS
14747 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 #include <sys/types.h>
14752 #ifdef HAVE_LINUX_FILTER_H
14753 #include <linux/filter.h>
14758 if ac_fn_c_try_compile
"$LINENO"; then :
14759 libgo_cv_c_ustat_h
=yes
14761 libgo_cv_c_ustat_h
=no
14763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14764 CFLAGS
=$CFLAGS_hold
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14767 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14768 if test $libgo_cv_c_ustat_h = yes; then
14770 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14774 if test "$ac_cv_header_sys_mman_h" = yes; then
14775 HAVE_SYS_MMAN_H_TRUE
=
14776 HAVE_SYS_MMAN_H_FALSE
='#'
14778 HAVE_SYS_MMAN_H_TRUE
='#'
14779 HAVE_SYS_MMAN_H_FALSE
=
14783 for ac_func
in strerror_r strsignal wait4 mincore setenv dl_iterate_phdr
14785 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14786 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14787 eval as_val
=\$
$as_ac_var
14788 if test "x$as_val" = x
""yes; then :
14789 cat >>confdefs.h
<<_ACEOF
14790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14796 if test "$ac_cv_func_strerror_r" = yes; then
14797 HAVE_STRERROR_R_TRUE
=
14798 HAVE_STRERROR_R_FALSE
='#'
14800 HAVE_STRERROR_R_TRUE
='#'
14801 HAVE_STRERROR_R_FALSE
=
14804 if test "$ac_cv_func_wait4" = yes; then
14806 HAVE_WAIT4_FALSE
='#'
14808 HAVE_WAIT4_TRUE
='#'
14813 for ac_func
in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat open64 openat pipe2 removexattr renameat setxattr sync_file_range splice
tee unlinkat unshare utimensat
14815 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14816 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14817 eval as_val
=\$
$as_ac_var
14818 if test "x$as_val" = x
""yes; then :
14819 cat >>confdefs.h
<<_ACEOF
14820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14826 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14827 if test "x$ac_cv_type_off_t" = x
""yes; then :
14831 cat >>confdefs.h
<<_ACEOF
14832 #define off_t long int
14837 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14838 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14840 cat >>confdefs.h
<<_ACEOF
14841 #define HAVE_LOFF_T 1
14850 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14852 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14853 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14854 eval as_val
=\$
$as_ac_var
14855 if test "x$as_val" = x
""yes; then :
14856 cat >>confdefs.h
<<_ACEOF
14857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14865 CFLAGS_hold
="$CFLAGS"
14866 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14868 LIBS
="$LIBS $PTHREAD_LIBS"
14869 for ac_func
in sem_timedwait
14871 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14872 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14873 cat >>confdefs.h
<<_ACEOF
14874 #define HAVE_SEM_TIMEDWAIT 1
14880 CFLAGS
="$CFLAGS_hold"
14884 LIBS
="$LIBS $MATH_LIBS"
14885 for ac_func
in matherr
14887 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14888 if test "x$ac_cv_func_matherr" = x
""yes; then :
14889 cat >>confdefs.h
<<_ACEOF
14890 #define HAVE_MATHERR 1
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14899 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14900 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14901 $as_echo_n "(cached) " >&6
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14906 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14908 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14911 if ac_fn_c_try_link
"$LINENO"; then :
14912 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14914 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14916 rm -f core conftest.err conftest.
$ac_objext \
14917 conftest
$ac_exeext conftest.
$ac_ext
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14920 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14921 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14923 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14928 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14929 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14930 $as_echo_n "(cached) " >&6
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14937 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14940 if ac_fn_c_try_link
"$LINENO"; then :
14941 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14943 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14945 rm -f core conftest.err conftest.
$ac_objext \
14946 conftest
$ac_exeext conftest.
$ac_ext
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14949 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14950 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14952 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14957 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14958 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14959 $as_echo_n "(cached) " >&6
14961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14966 int main() { return __sync_fetch_and_add (&i, 1); }
14969 if ac_fn_c_try_link
"$LINENO"; then :
14970 libgo_cv_func___sync_fetch_and_add_4
=yes
14972 libgo_cv_func___sync_fetch_and_add_4
=no
14974 rm -f core conftest.err conftest.
$ac_objext \
14975 conftest
$ac_exeext conftest.
$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14978 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14979 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14981 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14986 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14987 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14988 $as_echo_n "(cached) " >&6
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14995 int main() { return __sync_add_and_fetch (&i, 1); }
14998 if ac_fn_c_try_link
"$LINENO"; then :
14999 libgo_cv_func___sync_add_and_fetch_8
=yes
15001 libgo_cv_func___sync_add_and_fetch_8
=no
15003 rm -f core conftest.err conftest.
$ac_objext \
15004 conftest
$ac_exeext conftest.
$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
15007 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
15008 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
15010 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15015 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15016 if test "${libgo_cv_c_stringops+set}" = set; then :
15017 $as_echo_n "(cached) " >&6
15019 CFLAGS_hold
=$CFLAGS
15020 CFLAGS
="$CFLAGS -minline-all-stringops"
15021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15025 if ac_fn_c_try_compile
"$LINENO"; then :
15026 libgo_cv_c_stringops
=yes
15028 libgo_cv_c_stringops
=no
15030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15031 CFLAGS
=$CFLAGS_hold
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15034 $as_echo "$libgo_cv_c_stringops" >&6; }
15036 if test "$libgo_cv_c_stringops" = yes; then
15037 STRINGOPS_FLAG
=-minline-all-stringops
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15042 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15043 if test "${libgo_cv_c_fancymath+set}" = set; then :
15044 $as_echo_n "(cached) " >&6
15046 CFLAGS_hold
=$CFLAGS
15047 CFLAGS
="$CFLAGS -mfancy-math-387"
15048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15052 if ac_fn_c_try_compile
"$LINENO"; then :
15053 libgo_cv_c_fancymath
=yes
15055 libgo_cv_c_fancymath
=no
15057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 CFLAGS
=$CFLAGS_hold
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15061 $as_echo "$libgo_cv_c_fancymath" >&6; }
15063 if test "$libgo_cv_c_fancymath" = yes; then
15064 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
15066 MATH_FLAG
="-ffp-contract=off"
15070 CFLAGS_hold
=$CFLAGS
15071 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15072 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15073 if test "x$ac_cv_type_off64_t" = x
""yes; then :
15075 cat >>confdefs.h
<<_ACEOF
15076 #define HAVE_OFF64_T 1
15082 CFLAGS
=$CFLAGS_hold
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15085 $as_echo_n "checking epoll_event size... " >&6; }
15086 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15087 $as_echo_n "(cached) " >&6
15089 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15092 libgo_cv_c_epoll_event_size
=0
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15097 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15098 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15102 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15103 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15104 $as_echo_n "(cached) " >&6
15106 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15107 #include <sys/epoll.h>"; then :
15110 libgo_cv_c_epoll_event_fd_offset
=0
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15115 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15116 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15119 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15121 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15122 libgo_has_struct_exception
=yes
15124 libgo_has_struct_exception
=no
15127 if test "$libgo_has_struct_exception" = "yes"; then
15129 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15134 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15135 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15136 $as_echo_n "(cached) " >&6
15138 CFLAGS_hold
="$CFLAGS"
15139 CFLAGS
="$PTHREAD_CFLAGS"
15141 LIBS
="$LIBS $PTHREAD_LIBS"
15142 # The cast to long int works around a bug in the HP C Compiler
15143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15145 # This bug is HP SR number 8606223364.
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15147 $as_echo_n "checking size of void *... " >&6; }
15148 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15149 $as_echo_n "(cached) " >&6
15151 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15154 if test "$ac_cv_type_void_p" = yes; then
15155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15157 { as_fn_set_status
77
15158 as_fn_error
"cannot compute sizeof (void *)
15159 See \`config.log' for more details." "$LINENO" 5; }; }
15161 ac_cv_sizeof_void_p
=0
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15167 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15171 cat >>confdefs.h
<<_ACEOF
15172 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15176 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15177 if test "$cross_compiling" = yes; then :
15178 case "$target:$ptr_type_size" in
15179 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15180 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15182 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15189 #include <pthread.h>
15190 #include <stdlib.h>
15191 #include <ucontext.h>
15192 #include <unistd.h>
15196 static char stack[10 * 1024 * 1024];
15197 static ucontext_t c;
15199 /* Called via makecontext/setcontext. */
15207 /* Called via pthread_create. */
15212 /* The thread should still see this value after calling
15218 /* The call to setcontext should not return. */
15227 /* The thread should not see this value. */
15230 if (getcontext (&c) < 0)
15233 c.uc_stack.ss_sp = stack;
15234 #ifdef MAKECONTEXT_STACK_TOP
15235 c.uc_stack.ss_sp += sizeof stack;
15237 c.uc_stack.ss_flags = 0;
15238 c.uc_stack.ss_size = sizeof stack;
15240 makecontext (&c, cfn, 0);
15242 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15245 if (pthread_join (tid, NULL) != 0)
15248 /* The thread should have called exit. */
15253 if ac_fn_c_try_run
"$LINENO"; then :
15254 libgo_cv_lib_setcontext_clobbers_tls
=no
15256 libgo_cv_lib_setcontext_clobbers_tls
=yes
15258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15262 CFLAGS
="$CFLAGS_hold"
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15267 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15268 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15270 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15275 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15276 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15277 $as_echo_n "(cached) " >&6
15280 libgo_cv_ro_eh_frame
=no
15281 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15282 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15283 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15284 libgo_cv_ro_eh_frame
=yes
15285 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15286 |
grep -v '#write' > /dev
/null
; then
15287 libgo_cv_ro_eh_frame
=yes
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15294 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15295 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15297 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15301 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15306 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15307 if test "${libgo_cv_c_unused_arguments+set}" = set; then :
15308 $as_echo_n "(cached) " >&6
15310 CFLAGS_hold
=$CFLAGS
15311 CFLAGS
="$CFLAGS -Qunused-arguments"
15312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15316 if ac_fn_c_try_compile
"$LINENO"; then :
15317 libgo_cv_c_unused_arguments
=yes
15319 libgo_cv_c_unused_arguments
=no
15321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15322 CFLAGS
=$CFLAGS_hold
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15325 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15328 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15329 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15330 $as_echo_n "(cached) " >&6
15333 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15334 CFLAGS_hold
=$CFLAGS
15335 if test "$libgo_cv_c_unused_arguments" = yes; then
15336 CFLAGS
="$CFLAGS -Qunused-arguments"
15338 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15339 libgo_cv_as_comdat_gnu
=yes
15341 libgo_cv_as_comdat_gnu
=no
15343 CFLAGS
=$CFLAGS_hold
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15347 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15348 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15350 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15355 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15356 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15357 $as_echo_n "(cached) " >&6
15360 libgo_cv_as_x86_pcrel
=yes
15361 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15362 CFLAGS_hold
=$CFLAGS
15363 if test "$libgo_cv_c_unused_arguments" = yes; then
15364 CFLAGS
="$CFLAGS -Qunused-arguments"
15366 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15367 libgo_cv_as_x86_pcrel
=no
15369 CFLAGS
=$CFLAGS_hold
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15373 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15374 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15376 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15381 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15382 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15386 libgo_cv_as_x86_64_unwind_section_type
=yes
15387 echo '.section .eh_frame,"a",@unwind' > conftest.s
15388 CFLAGS_hold
=$CFLAGS
15389 if test "$libgo_cv_c_unused_arguments" = yes; then
15390 CFLAGS
="$CFLAGS -Qunused-arguments"
15392 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15393 libgo_cv_as_x86_64_unwind_section_type
=no
15395 CFLAGS
=$CFLAGS_hold
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15399 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15400 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15402 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15406 cat >confcache
<<\_ACEOF
15407 # This file is a shell script that caches the results of configure
15408 # tests run on this system so they can be shared between configure
15409 # scripts and configure runs, see configure's option --config-cache.
15410 # It is not useful on other systems. If it contains results you don't
15411 # want to keep, you may remove or edit it.
15413 # config.status only pays attention to the cache file if you give it
15414 # the --recheck option to rerun configure.
15416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15418 # following values.
15422 # The following way of writing the cache mishandles newlines in values,
15423 # but we know of no workaround that is simple, portable, and efficient.
15424 # So, we kill variables containing newlines.
15425 # Ultrix sh set writes to stderr and can't be redirected directly,
15426 # and sets the high bit in the cache file unless we assign to the vars.
15428 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15429 eval ac_val
=\$
$ac_var
15433 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15437 _ | IFS | as_nl
) ;; #(
15438 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15439 *) { eval $ac_var=; unset $ac_var;} ;;
15445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15446 *${as_nl}ac_space
=\
*)
15447 # `set' does not quote correctly, so add quotes: double-quote
15448 # substitution turns \\\\ into \\, and sed turns \\ into \.
15451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15454 # `set' quotes correctly as required by POSIX, so do not add quotes.
15455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15468 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15469 if test -w "$cache_file"; then
15470 test "x$cache_file" != "x/dev/null" &&
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15472 $as_echo "$as_me: updating cache $cache_file" >&6;}
15473 cat confcache
>$cache_file
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15476 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15481 if test ${multilib} = yes; then
15482 multilib_arg
="--enable-multilib"
15487 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15490 ac_config_commands
="$ac_config_commands default"
15493 cat >confcache
<<\_ACEOF
15494 # This file is a shell script that caches the results of configure
15495 # tests run on this system so they can be shared between configure
15496 # scripts and configure runs, see configure's option --config-cache.
15497 # It is not useful on other systems. If it contains results you don't
15498 # want to keep, you may remove or edit it.
15500 # config.status only pays attention to the cache file if you give it
15501 # the --recheck option to rerun configure.
15503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15505 # following values.
15509 # The following way of writing the cache mishandles newlines in values,
15510 # but we know of no workaround that is simple, portable, and efficient.
15511 # So, we kill variables containing newlines.
15512 # Ultrix sh set writes to stderr and can't be redirected directly,
15513 # and sets the high bit in the cache file unless we assign to the vars.
15515 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15516 eval ac_val
=\$
$ac_var
15520 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15524 _ | IFS | as_nl
) ;; #(
15525 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15526 *) { eval $ac_var=; unset $ac_var;} ;;
15532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15533 *${as_nl}ac_space
=\
*)
15534 # `set' does not quote correctly, so add quotes: double-quote
15535 # substitution turns \\\\ into \\, and sed turns \\ into \.
15538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15541 # `set' quotes correctly as required by POSIX, so do not add quotes.
15542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15555 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15556 if test -w "$cache_file"; then
15557 test "x$cache_file" != "x/dev/null" &&
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15559 $as_echo "$as_me: updating cache $cache_file" >&6;}
15560 cat confcache
>$cache_file
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15568 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15569 # Let make expand exec_prefix.
15570 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15572 DEFS
=-DHAVE_CONFIG_H
15576 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15577 # 1. Remove the extension, and $U if already installed.
15578 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15579 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15581 # will be set to the directory where LIBOBJS objects are built.
15582 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15583 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15585 LIBOBJS
=$ac_libobjs
15587 LTLIBOBJS
=$ac_ltlibobjs
15590 if test -n "$EXEEXT"; then
15592 am__EXEEXT_FALSE
='#'
15594 am__EXEEXT_TRUE
='#'
15598 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15599 as_fn_error
"conditional \"AMDEP\" was never defined.
15600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15603 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15607 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15611 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15615 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15619 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15623 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15627 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15631 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15635 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15639 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15643 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15647 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15651 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15655 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15659 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15663 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15667 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15671 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15675 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15679 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15682 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15683 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15686 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15687 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15690 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15691 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15694 if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
15695 as_fn_error
"conditional \"LIBGO_IS_S390\" was never defined.
15696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698 if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
15699 as_fn_error
"conditional \"LIBGO_IS_S390X\" was never defined.
15700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15702 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15703 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15706 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15707 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15710 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15711 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15714 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15715 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15718 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
15719 as_fn_error
"conditional \"GOC_IS_LLGO\" was never defined.
15720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15723 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15724 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15727 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15728 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15731 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15732 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15736 : ${CONFIG_STATUS=./config.status}
15738 ac_clean_files_save
=$ac_clean_files
15739 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15741 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15743 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15745 # Generated by $as_me.
15746 # Run this file to recreate the current configuration.
15747 # Compiler output produced by configure, useful for debugging
15748 # configure, is in config.log if it exists.
15751 ac_cs_recheck=false
15754 SHELL=\${CONFIG_SHELL-$SHELL}
15757 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15758 ## -------------------- ##
15759 ## M4sh Initialization. ##
15760 ## -------------------- ##
15762 # Be more Bourne compatible
15763 DUALCASE
=1; export DUALCASE
# for MKS sh
15764 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15767 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15768 # is contrary to our usage. Disable this feature.
15769 alias -g '${1+"$@"}'='"$@"'
15770 setopt NO_GLOB_SUBST
15772 case `(set -o) 2>/dev/null` in #(
15784 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15785 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15786 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15788 # Prefer a ksh shell builtin over an external printf program on Solaris,
15789 # but without wasting forks for bash or zsh.
15790 if test -z "$BASH_VERSION$ZSH_VERSION" \
15791 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15792 as_echo='print
-r --'
15793 as_echo_n='print
-rn --'
15794 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15795 as_echo='printf %s
\n'
15796 as_echo_n='printf %s
'
15798 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15799 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15800 as_echo_n='/usr
/ucb
/echo -n'
15802 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15803 as_echo_n_body='eval
15807 expr "X$arg" : "X\\(.*\\)$as_nl";
15808 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15810 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15812 export as_echo_n_body
15813 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15815 export as_echo_body
15816 as_echo='sh
-c $as_echo_body as_echo
'
15819 # The user is always right.
15820 if test "${PATH_SEPARATOR+set}" != set; then
15822 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15823 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15830 # We need space, tab and new line, in precisely that order. Quoting is
15831 # there to prevent editors from complaining about space-tab.
15832 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15833 # splitting by setting IFS to empty value.)
15836 # Find who we are. Look in the path if we contain no directory separator.
15838 *[\\/]* ) as_myself=$0 ;;
15839 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15840 for as_dir in $PATH
15843 test -z "$as_dir" && as_dir=.
15844 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15850 # We did not find ourselves, most probably we were run as `sh COMMAND'
15851 # in which case we are not to be found in the path.
15852 if test "x$as_myself" = x
; then
15855 if test ! -f "$as_myself"; then
15856 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15860 # Unset variables that we do not need and which cause bugs (e.g. in
15861 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15862 # suppresses any "Segmentation fault" message there. '((' could
15863 # trigger a bug in pdksh 5.2.14.
15864 for as_var
in BASH_ENV ENV MAIL MAILPATH
15865 do eval test x\
${$as_var+set} = xset \
15866 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15879 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15882 # as_fn_error ERROR [LINENO LOG_FD]
15883 # ---------------------------------
15884 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15885 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15886 # script with status $?, using 1 if that was 0.
15889 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15891 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15892 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15894 $as_echo "$as_me: error: $1" >&2
15895 as_fn_exit
$as_status
15899 # as_fn_set_status STATUS
15900 # -----------------------
15901 # Set $? to STATUS, without forking.
15902 as_fn_set_status
()
15905 } # as_fn_set_status
15907 # as_fn_exit STATUS
15908 # -----------------
15909 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15913 as_fn_set_status
$1
15919 # Portably unset VAR.
15922 { eval $1=; unset $1;}
15924 as_unset
=as_fn_unset
15925 # as_fn_append VAR VALUE
15926 # ----------------------
15927 # Append the text in VALUE to the end of the definition contained in VAR. Take
15928 # advantage of any shell optimizations that allow amortized linear growth over
15929 # repeated appends, instead of the typical quadratic growth present in naive
15931 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15932 eval 'as_fn_append ()
15943 # as_fn_arith ARG...
15944 # ------------------
15945 # Perform arithmetic evaluation on the ARGs, and store the result in the
15946 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15947 # must be portable across $(()) and expr.
15948 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15949 eval 'as_fn_arith ()
15956 as_val
=`expr "$@" || test $? -eq 1`
15961 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15962 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15968 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15969 as_basename
=basename
15974 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15980 as_me
=`$as_basename -- "$0" ||
15981 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15982 X"$0" : 'X\(//\)$' \| \
15983 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15985 sed '/^.*\/\([^/][^/]*\)\/*$/{
15999 # Avoid depending upon Character Ranges.
16000 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16001 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16002 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16003 as_cr_digits
='0123456789'
16004 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16006 ECHO_C
= ECHO_N
= ECHO_T
=
16007 case `echo -n x` in #(((((
16009 case `echo 'xy\c'` in
16010 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16012 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16019 rm -f conf$$ conf$$.exe conf$$.
file
16020 if test -d conf$$.dir
; then
16021 rm -f conf$$.dir
/conf$$.
file
16024 mkdir conf$$.dir
2>/dev
/null
16026 if (echo >conf$$.
file) 2>/dev
/null
; then
16027 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16029 # ... but there are two gotchas:
16030 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16031 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16032 # In both cases, we have to default to `cp -p'.
16033 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16035 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16043 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16044 rmdir conf$$.dir
2>/dev
/null
16049 # Create "$as_dir" as a directory, including parents if necessary.
16054 -*) as_dir
=.
/$as_dir;;
16056 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16060 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16061 *) as_qdir
=$as_dir;;
16063 as_dirs
="'$as_qdir' $as_dirs"
16064 as_dir
=`$as_dirname -- "$as_dir" ||
16065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16066 X"$as_dir" : 'X\(//\)[^/]' \| \
16067 X"$as_dir" : 'X\(//\)$' \| \
16068 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16069 $as_echo X"$as_dir" |
16070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16074 /^X\(\/\/\)[^/].*/{
16087 test -d "$as_dir" && break
16089 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16090 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16094 if mkdir
-p .
2>/dev
/null
; then
16095 as_mkdir_p
='mkdir -p "$as_dir"'
16097 test -d .
/-p && rmdir .
/-p
16101 if test -x / >/dev
/null
2>&1; then
16102 as_test_x
='test -x'
16104 if ls -dL / >/dev
/null
2>&1; then
16111 if test -d "$1"; then
16117 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16118 ???[sx]*):;;*)false;;esac;fi
16122 as_executable_p
=$as_test_x
16124 # Sed expression to map a string onto a valid CPP name.
16125 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16127 # Sed expression to map a string onto a valid variable name.
16128 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16132 ## ----------------------------------- ##
16133 ## Main body of $CONFIG_STATUS script. ##
16134 ## ----------------------------------- ##
16136 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16139 # Save the log message, to keep $0 and so on meaningful, and to
16140 # report actual input values of CONFIG_FILES etc. instead of their
16141 # values after options handling.
16143 This file was extended by package-unused $as_me version-unused, which was
16144 generated by GNU Autoconf 2.64. Invocation command line was
16146 CONFIG_FILES = $CONFIG_FILES
16147 CONFIG_HEADERS = $CONFIG_HEADERS
16148 CONFIG_LINKS = $CONFIG_LINKS
16149 CONFIG_COMMANDS = $CONFIG_COMMANDS
16152 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16157 case $ac_config_files in *"
16158 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16161 case $ac_config_headers in *"
16162 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16167 # Files that config.status was made for.
16168 config_files="$ac_config_files"
16169 config_headers="$ac_config_headers"
16170 config_commands="$ac_config_commands"
16174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16176 \`$as_me' instantiates files and other configuration actions
16177 from templates according to the current configuration. Unless the files
16178 and actions are specified as TAGs, all are instantiated by default.
16180 Usage: $0 [OPTION]... [TAG]...
16182 -h, --help print this help, then exit
16183 -V, --version print version number and configuration settings, then exit
16184 -q, --quiet, --silent
16185 do not print progress messages
16186 -d, --debug don't remove temporary files
16187 --recheck update $as_me by reconfiguring in the same conditions
16188 --file=FILE[:TEMPLATE]
16189 instantiate the configuration file FILE
16190 --header=FILE[:TEMPLATE]
16191 instantiate the configuration header FILE
16193 Configuration files:
16196 Configuration headers:
16199 Configuration commands:
16202 Report bugs to the package provider."
16205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16207 package-unused config.status version-unused
16208 configured by $0, generated by GNU Autoconf 2.64,
16209 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16211 Copyright (C) 2009 Free Software Foundation, Inc.
16212 This config.status script is free software; the Free Software Foundation
16213 gives unlimited permission to copy, distribute and modify it."
16220 test -n "\$AWK" || AWK=awk
16223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16224 # The default lists apply if the user does not specify any file.
16230 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16231 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16242 # Handling of the options.
16243 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16245 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16246 $as_echo "$ac_cs_version"; exit ;;
16247 --debug |
--debu |
--deb |
--de |
--d |
-d )
16249 --file |
--fil |
--fi |
--f )
16252 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16254 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16255 ac_need_defaults
=false
;;
16256 --header |
--heade |
--head |
--hea )
16259 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16261 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16262 ac_need_defaults
=false
;;
16264 # Conflict between --help and --header
16265 as_fn_error
"ambiguous option: \`$1'
16266 Try \`$0 --help' for more information.";;
16267 --help |
--hel |
-h )
16268 $as_echo "$ac_cs_usage"; exit ;;
16269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16270 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16273 # This is an error.
16274 -*) as_fn_error
"unrecognized option: \`$1'
16275 Try \`$0 --help' for more information." ;;
16277 *) as_fn_append ac_config_targets
" $1"
16278 ac_need_defaults
=false
;;
16284 ac_configure_extra_args
=
16286 if $ac_cs_silent; then
16288 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16293 if \$ac_cs_recheck; then
16294 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16296 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16297 CONFIG_SHELL='$SHELL'
16298 export CONFIG_SHELL
16303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16307 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16308 ## Running $as_me. ##
16314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16322 with_multisubdir="$with_multisubdir"
16323 with_multisrctop="$with_multisrctop"
16324 with_target_subdir="$with_target_subdir"
16325 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16326 multi_basedir="$multi_basedir"
16327 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16330 GFORTRAN="$GFORTRAN"
16332 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16335 # The HP-UX ksh and POSIX shell print the target directory to stdout
16336 # if CDPATH is set.
16337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16339 sed_quote_subst='$sed_quote_subst'
16340 double_quote_subst='$double_quote_subst'
16341 delay_variable_subst='$delay_variable_subst'
16342 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16343 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16344 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16345 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16346 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16347 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16348 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16349 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16350 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16351 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16352 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16353 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16354 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16355 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16356 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16357 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16358 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16359 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16360 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16361 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16362 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16363 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16364 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16365 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16366 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16367 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16368 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16369 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16370 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16371 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16372 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16373 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16374 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16375 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16376 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16377 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16378 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16379 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16380 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16381 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16382 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16383 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16384 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16385 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16386 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16387 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16388 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16389 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16390 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"`'
16391 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16392 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16393 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16394 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16395 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16396 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16397 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16398 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16399 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16400 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16401 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16402 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16403 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16404 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16405 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16406 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16407 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16408 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16409 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16410 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16411 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16412 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16413 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16414 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16415 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16416 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16417 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16418 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16419 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16420 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16421 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16422 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16423 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16424 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16425 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16426 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16427 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16428 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16429 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16430 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16431 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16432 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16433 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16434 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16435 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16436 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16437 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16438 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16439 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16440 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16441 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16442 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16443 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16444 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16445 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16446 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16447 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16448 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16449 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16450 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16451 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16452 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16453 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16454 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16455 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16456 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16457 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16458 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16459 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16460 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16461 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16462 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16463 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16464 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16465 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16466 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16467 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16468 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16469 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16470 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16471 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16472 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16473 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16474 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16475 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16476 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16477 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16478 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16479 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16480 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16481 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16482 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16483 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16484 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16485 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16486 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16487 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16488 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16489 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16490 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16491 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16492 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16493 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16494 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16495 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16496 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16497 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16498 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16499 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16500 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16501 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16502 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16503 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16504 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16507 LTCFLAGS='$LTCFLAGS'
16508 compiler='$compiler_DEFAULT'
16510 # A function that is used when there is no print builtin or printf.
16511 func_fallback_echo ()
16513 eval 'cat <<_LTECHO_EOF
16518 # Quote evaled strings.
16532 deplibs_check_method \
16541 lt_cv_sys_global_symbol_pipe \
16542 lt_cv_sys_global_symbol_to_cdecl \
16543 lt_cv_sys_global_symbol_to_c_name_address \
16544 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16545 lt_prog_compiler_no_builtin_flag \
16546 lt_prog_compiler_wl \
16547 lt_prog_compiler_pic \
16548 lt_prog_compiler_static \
16549 lt_cv_prog_compiler_c_o \
16557 export_dynamic_flag_spec \
16558 whole_archive_flag_spec \
16559 compiler_needs_object \
16561 allow_undefined_flag \
16562 no_undefined_flag \
16563 hardcode_libdir_flag_spec \
16564 hardcode_libdir_flag_spec_ld \
16565 hardcode_libdir_separator \
16570 variables_saved_for_relink \
16572 library_names_spec \
16574 install_override_mode \
16581 lt_prog_compiler_no_builtin_flag_GO \
16582 lt_prog_compiler_wl_GO \
16583 lt_prog_compiler_pic_GO \
16584 lt_prog_compiler_static_GO \
16585 lt_cv_prog_compiler_c_o_GO \
16586 export_dynamic_flag_spec_GO \
16587 whole_archive_flag_spec_GO \
16588 compiler_needs_object_GO \
16590 allow_undefined_flag_GO \
16591 no_undefined_flag_GO \
16592 hardcode_libdir_flag_spec_GO \
16593 hardcode_libdir_flag_spec_ld_GO \
16594 hardcode_libdir_separator_GO \
16595 fix_srcfile_path_GO \
16596 exclude_expsyms_GO \
16597 include_expsyms_GO \
16598 file_list_spec_GO; do
16599 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16600 *[\\\\\\\`\\"\\\$]*)
16601 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16604 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16609 # Double-quote double-evaled strings.
16610 for var in reload_cmds \
16611 old_postinstall_cmds \
16612 old_postuninstall_cmds \
16614 extract_expsyms_cmds \
16615 old_archive_from_new_cmds \
16616 old_archive_from_expsyms_cmds \
16618 archive_expsym_cmds \
16620 module_expsym_cmds \
16621 export_symbols_cmds \
16624 postuninstall_cmds \
16626 sys_lib_search_path_spec \
16627 sys_lib_dlsearch_path_spec \
16629 old_archive_cmds_GO \
16630 old_archive_from_new_cmds_GO \
16631 old_archive_from_expsyms_cmds_GO \
16633 archive_expsym_cmds_GO \
16635 module_expsym_cmds_GO \
16636 export_symbols_cmds_GO \
16637 prelink_cmds_GO; do
16638 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16639 *[\\\\\\\`\\"\\\$]*)
16640 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16643 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16648 ac_aux_dir='$ac_aux_dir'
16649 xsi_shell='$xsi_shell'
16650 lt_shell_append='$lt_shell_append'
16652 # See if we are running on zsh, and set the options which allow our
16653 # commands through without removal of \ escapes INIT.
16654 if test -n "\${ZSH_VERSION+set}" ; then
16655 setopt NO_GLOB_SUBST
16661 TIMESTAMP='$TIMESTAMP'
16670 # Variables needed in config.status (file generation) which aren't already
16671 # passed by autoconf.
16677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16679 # Handling of arguments.
16680 for ac_config_target
in $ac_config_targets
16682 case $ac_config_target in
16683 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16684 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16685 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16686 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16687 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16688 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16689 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16691 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16696 # If the user did not use the arguments to specify the items to instantiate,
16697 # then the envvar interface is used. Set only those that are not.
16698 # We use the long form for the default assignment because of an extremely
16699 # bizarre bug on SunOS 4.1.3.
16700 if $ac_need_defaults; then
16701 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16702 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16706 # Have a temporary directory for convenience. Make it in the build tree
16707 # simply because there is no reason against having it here, and in addition,
16708 # creating and moving files from /tmp can sometimes cause problems.
16709 # Hook for its removal unless debugging.
16710 # Note that there is a small window in which the directory will not be cleaned:
16711 # after its creation but before its name has been assigned to `$tmp'.
16715 trap 'exit_status=$?
16716 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16718 trap 'as_fn_exit 1' 1 2 13 15
16720 # Create a (secure) tmp directory for tmp files.
16723 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16724 test -n "$tmp" && test -d "$tmp"
16727 tmp
=.
/conf$$
-$RANDOM
16728 (umask 077 && mkdir
"$tmp")
16729 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16731 # Set up the scripts for CONFIG_FILES section.
16732 # No need to generate them if there are no CONFIG_FILES.
16733 # This happens for instance with `./config.status config.h'.
16734 if test -n "$CONFIG_FILES"; then
16737 ac_cr
=`echo X | tr X '\015'`
16738 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16739 # But we know of no other shell where ac_cr would be empty at this
16740 # point, so we can use a bashism as a fallback.
16741 if test "x$ac_cr" = x
; then
16742 eval ac_cr
=\$
\'\\r
\'
16744 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16745 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16748 ac_cs_awk_cr
=$ac_cr
16751 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16756 echo "cat >conf$$subs.awk <<_ACEOF" &&
16757 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16759 } >conf$$subs.sh ||
16760 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16761 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16763 for ac_last_try in false false false false false :; do
16764 . ./conf$$subs.sh ||
16765 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16767 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16768 if test $ac_delim_n = $ac_delim_num; then
16770 elif $ac_last_try; then
16771 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16773 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16776 rm -f conf$$subs.sh
16778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16779 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16783 s/^/S["/; s
/!.
*/"]=/
16793 s/\(.\{148\}\).*/\1/
16795 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16800 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16807 s/\(.\{148\}\).*/\1/
16809 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16813 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16818 ' <conf$$subs.awk | sed '
16823 ' >>$CONFIG_STATUS || ac_write_fail=1
16824 rm -f conf$$subs.awk
16825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16827 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16828 for (key in S) S_is_set[key] = 1
16834 nfields = split(line, field, "@
")
16836 len = length(field[1])
16837 for (i = 2; i < nfields; i++) {
16839 keylen = length(key)
16840 if (S_is_set[key]) {
16842 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16843 len += length(value) + length(field[++i])
16854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16855 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16856 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16859 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16860 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16863 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16864 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16865 # trailing colons and then remove the whole line if VPATH becomes empty
16866 # (actually we leave an empty line to preserve line numbers).
16867 if test "x
$srcdir" = x.; then
16868 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16869 s/:*\$(srcdir):*/:/
16870 s/:*\${srcdir}:*/:/
16872 s/^\([^=]*=[ ]*\):*/\1/
16878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16879 fi # test -n "$CONFIG_FILES"
16881 # Set up the scripts for CONFIG_HEADERS section.
16882 # No need to generate them if there are no CONFIG_HEADERS.
16883 # This happens for instance with `./config.status Makefile'.
16884 if test -n "$CONFIG_HEADERS"; then
16885 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16889 # Transform confdefs.h into an awk script `defines.awk', embedded as
16890 # here-document in config.status, that substitutes the proper values into
16891 # config.h.in to produce config.h.
16893 # Create a delimiter string that does not exist in confdefs.h, to ease
16894 # handling of long lines.
16896 for ac_last_try in false false :; do
16897 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16898 if test -z "$ac_t"; then
16900 elif $ac_last_try; then
16901 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16903 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16907 # For the awk script, D is an array of macro values keyed by name,
16908 # likewise P contains macro parameters if any. Preserve backslash
16909 # newline sequences.
16911 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16913 s/.\{148\}/&'"$ac_delim"'/g
16916 s/^[ ]*#[ ]*define[ ][ ]*/ /
16923 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16925 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16930 D["\
1"]=" \
3\\\\\\n
"\\/p
16932 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16937 s/.\{148\}/&'"$ac_delim"'/g
16942 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16945 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16947 ' <confdefs.h | sed '
16948 s/'"$ac_delim"'/"\\\
16949 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16952 for (key in D) D_is_set[key] = 1
16955 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16957 split(line, arg, " ")
16958 if (arg[1] == "#") {
16962 defundef
= substr
(arg
[1], 2)
16965 split(mac1
, mac2
, "(") #)
16967 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16968 if (D_is_set
[macro
]) {
16969 # Preserve the white space surrounding the "#".
16970 print prefix
"define", macro P
[macro
] D
[macro
]
16973 # Replace #undef with comments. This is necessary, for example,
16974 # in the case of _POSIX_SOURCE, which is predefined and required
16975 # on some systems where configure will not decide to define it.
16976 if (defundef
== "undef") {
16977 print
"/*", prefix defundef
, macro
, "*/"
16985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16986 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16987 fi # test -n "$CONFIG_HEADERS"
16990 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16995 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16997 case $ac_mode$ac_tag in
16999 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17000 :[FH
]-) ac_tag
=-:-;;
17001 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17018 -) ac_f
="$tmp/stdin";;
17019 *) # Look for the file first in the build tree, then in the source tree
17020 # (if the path is not absolute). The absolute path cannot be DOS-style,
17021 # because $ac_f cannot contain `:'.
17025 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17027 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17029 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17030 as_fn_append ac_file_inputs
" '$ac_f'"
17033 # Let's still pretend it is `configure' which instantiates (i.e., don't
17034 # use $as_me), people would be surprised to read:
17035 # /* config.h. Generated by config.status. */
17036 configure_input
='Generated from '`
17037 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17039 if test x
"$ac_file" != x-
; then
17040 configure_input
="$ac_file. $configure_input"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17042 $as_echo "$as_me: creating $ac_file" >&6;}
17044 # Neutralize special characters interpreted by sed in replacement strings.
17045 case $configure_input in #(
17046 *\
&* |
*\|
* |
*\\* )
17047 ac_sed_conf_input
=`$as_echo "$configure_input" |
17048 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17049 *) ac_sed_conf_input
=$configure_input;;
17053 *:-:* |
*:-) cat >"$tmp/stdin" \
17054 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17059 ac_dir
=`$as_dirname -- "$ac_file" ||
17060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17061 X"$ac_file" : 'X\(//\)[^/]' \| \
17062 X"$ac_file" : 'X\(//\)$' \| \
17063 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17064 $as_echo X"$ac_file" |
17065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17069 /^X\(\/\/\)[^/].*/{
17082 as_dir
="$ac_dir"; as_fn_mkdir_p
17086 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17088 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17089 # A ".." for each directory in $ac_dir_suffix.
17090 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17091 case $ac_top_builddir_sub in
17092 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17093 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17096 ac_abs_top_builddir
=$ac_pwd
17097 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17098 # for backward compatibility:
17099 ac_top_builddir
=$ac_top_build_prefix
17102 .
) # We are building in place.
17104 ac_top_srcdir
=$ac_top_builddir_sub
17105 ac_abs_top_srcdir
=$ac_pwd ;;
17106 [\\/]* | ?
:[\\/]* ) # Absolute name.
17107 ac_srcdir
=$srcdir$ac_dir_suffix;
17108 ac_top_srcdir
=$srcdir
17109 ac_abs_top_srcdir
=$srcdir ;;
17110 *) # Relative name.
17111 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17112 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17113 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17115 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17125 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17126 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17128 ac_MKDIR_P
=$MKDIR_P
17130 [\\/$
]* | ?
:[\\/]* ) ;;
17131 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17136 # If the template does not know about datarootdir, expand it.
17137 # FIXME: This hack should be removed a few years after 2.60.
17138 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17149 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17150 *datarootdir
*) ac_datarootdir_seen
=yes;;
17151 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17153 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17156 ac_datarootdir_hack='
17157 s&@datadir@&$datadir&g
17158 s&@docdir@&$docdir&g
17159 s&@infodir@&$infodir&g
17160 s&@localedir@&$localedir&g
17161 s&@mandir@&$mandir&g
17162 s&\\\${datarootdir}&$datarootdir&g' ;;
17166 # Neutralize VPATH when `$srcdir' = `.'.
17167 # Shell code in configure.ac might set extrasub.
17168 # FIXME: do we really want to maintain this feature?
17169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17170 ac_sed_extra="$ac_vpsub
17173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17175 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17176 s|@configure_input@|
$ac_sed_conf_input|
;t t
17177 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17178 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17179 s
&@srcdir@
&$ac_srcdir&;t t
17180 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17181 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17182 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17183 s
&@builddir@
&$ac_builddir&;t t
17184 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17185 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17186 s
&@INSTALL@
&$ac_INSTALL&;t t
17187 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17188 $ac_datarootdir_hack
17190 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17191 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17193 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17194 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17195 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17197 which seems to be undefined. Please make sure it is defined." >&5
17198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17199 which seems to be undefined. Please make sure it is defined." >&2;}
17203 -) cat "$tmp/out" && rm -f "$tmp/out";;
17204 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17206 || as_fn_error "could not create $ac_file" "$LINENO" 5
17212 if test x"$ac_file" != x-; then
17214 $as_echo "/* $configure_input */" \
17215 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17216 } >"$tmp/config.h" \
17217 || as_fn_error "could not create $ac_file" "$LINENO" 5
17218 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17220 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17223 mv "$tmp/config.h" "$ac_file" \
17224 || as_fn_error "could not create $ac_file" "$LINENO" 5
17227 $as_echo "/* $configure_input */" \
17228 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17229 || as_fn_error "could not create -" "$LINENO" 5
17231 # Compute "$ac_file"'s index
in $config_headers.
17234 for _am_header
in $config_headers :; do
17235 case $_am_header in
17236 $_am_arg |
$_am_arg:* )
17239 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17242 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17243 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17244 X"$_am_arg" : 'X\(//\)[^/]' \| \
17245 X"$_am_arg" : 'X\(//\)$' \| \
17246 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17247 $as_echo X"$_am_arg" |
17248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17252 /^X\(\/\/\)[^/].*/{
17264 s/.*/./; q'`/stamp-h
$_am_stamp_count
17267 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17268 $as_echo "$as_me: executing $ac_file commands" >&6;}
17273 case $ac_file$ac_mode in
17275 # Only add multilib support code if we just rebuilt the top-level
17277 case " $CONFIG_FILES " in
17279 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17282 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17283 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17284 # are listed without --file. Let's play safe and only enable the eval
17285 # if we detect the quoting.
17286 case $CONFIG_FILES in
17287 *\'*) eval set x
"$CONFIG_FILES" ;;
17288 *) set x
$CONFIG_FILES ;;
17293 # Strip MF so we end up with the name of the file.
17294 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17295 # Check whether this is an Automake generated Makefile or not.
17296 # We used to match only the files named `Makefile.in', but
17297 # some people rename them; so instead we look at the file content.
17298 # Grep'ing the first line is not enough: some people post-process
17299 # each Makefile.in and add a new line on top of each file to say so.
17300 # Grep'ing the whole file is not good either: AIX grep has a line
17301 # limit of 2048, but all sed's we know have understand at least 4000.
17302 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17303 dirpart
=`$as_dirname -- "$mf" ||
17304 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17305 X"$mf" : 'X\(//\)[^/]' \| \
17306 X"$mf" : 'X\(//\)$' \| \
17307 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17313 /^X\(\/\/\)[^/].*/{
17329 # Extract the definition of DEPDIR, am__include, and am__quote
17330 # from the Makefile without running `make'.
17331 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17332 test -z "$DEPDIR" && continue
17333 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17334 test -z "am__include" && continue
17335 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17336 # When using ansi2knr, U may be empty or an underscore; expand it
17337 U
=`sed -n 's/^U = //p' < "$mf"`
17338 # Find all dependency output files, they are included files with
17339 # $(DEPDIR) in their names. We invoke sed twice because it is the
17340 # simplest approach to changing $(DEPDIR) to its actual value in the
17342 for file in `sed -n "
17343 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17344 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17345 # Make sure the directory exists.
17346 test -f "$dirpart/$file" && continue
17347 fdir
=`$as_dirname -- "$file" ||
17348 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17349 X"$file" : 'X\(//\)[^/]' \| \
17350 X"$file" : 'X\(//\)$' \| \
17351 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17352 $as_echo X"$file" |
17353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17357 /^X\(\/\/\)[^/].*/{
17370 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17371 # echo "creating $dirpart/$file"
17372 echo '# dummy' > "$dirpart/$file"
17379 # See if we are running on zsh, and set the options which allow our
17380 # commands through without removal of \ escapes.
17381 if test -n "${ZSH_VERSION+set}" ; then
17382 setopt NO_GLOB_SUBST
17385 cfgfile
="${ofile}T"
17386 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17389 cat <<_LT_EOF >> "$cfgfile"
17392 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17393 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17394 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17395 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17397 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17398 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17399 # Written by Gordon Matzigkeit, 1996
17401 # This file is part of GNU Libtool.
17403 # GNU Libtool is free software; you can redistribute it and/or
17404 # modify it under the terms of the GNU General Public License as
17405 # published by the Free Software Foundation; either version 2 of
17406 # the License, or (at your option) any later version.
17408 # As a special exception to the GNU General Public License,
17409 # if you distribute this file as part of a program or library that
17410 # is built using GNU Libtool, you may include this file under the
17411 # same distribution terms that you use for the rest of that program.
17413 # GNU Libtool is distributed in the hope that it will be useful,
17414 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17416 # GNU General Public License for more details.
17418 # You should have received a copy of the GNU General Public License
17419 # along with GNU Libtool; see the file COPYING. If not, a copy
17420 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17421 # obtained by writing to the Free Software Foundation, Inc.,
17422 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17425 # The names of the tagged configurations supported by this script.
17426 available_tags="GO "
17428 # ### BEGIN LIBTOOL CONFIG
17430 # A sed program that does not truncate output.
17433 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17434 Xsed="\$SED -e 1s/^X//"
17436 # A grep program that handles long lines.
17442 # A literal string matcher.
17445 # Shell to use when invoking shell scripts.
17448 # An echo program that protects backslashes.
17451 # Which release of libtool.m4 was used?
17452 macro_version=$macro_version
17453 macro_revision=$macro_revision
17455 # Whether or not to build shared libraries.
17456 build_libtool_libs=$enable_shared
17458 # Whether or not to build static libraries.
17459 build_old_libs=$enable_static
17461 # What type of objects to build.
17464 # Whether or not to optimize for fast installation.
17465 fast_install=$enable_fast_install
17468 host_alias=$host_alias
17472 # The build system.
17473 build_alias=$build_alias
17477 # A BSD- or MS-compatible name lister.
17480 # Whether we need soft or hard links.
17483 # What is the maximum length of a command?
17484 max_cmd_len=$max_cmd_len
17486 # Object file suffix (normally "o").
17489 # Executable file suffix (normally "").
17492 # whether the shell understands "unset".
17495 # turn spaces into newlines.
17498 # turn newlines into spaces.
17501 # An object symbol dumper.
17502 OBJDUMP=$lt_OBJDUMP
17504 # Method to check whether dependent libraries are shared objects.
17505 deplibs_check_method=$lt_deplibs_check_method
17507 # Command to use when deplibs_check_method == "file_magic".
17508 file_magic_cmd=$lt_file_magic_cmd
17512 AR_FLAGS=$lt_AR_FLAGS
17514 # A symbol stripping program.
17517 # Commands used to install an old-style archive.
17519 old_postinstall_cmds=$lt_old_postinstall_cmds
17520 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17522 # Whether to use a lock for old archive extraction.
17523 lock_old_archive_extraction=$lock_old_archive_extraction
17528 # LTCC compiler flags.
17529 LTCFLAGS=$lt_CFLAGS
17531 # Take the output of nm and produce a listing of raw symbols and C names.
17532 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17534 # Transform the output of nm in a proper C declaration.
17535 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17537 # Transform the output of nm in a C name address pair.
17538 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17540 # Transform the output of nm in a C name address pair when lib prefix is needed.
17541 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17543 # The name of the directory that contains temporary libtool files.
17546 # Used to examine libraries when file_magic_cmd begins with "file".
17547 MAGIC_CMD=$MAGIC_CMD
17549 # Must we lock files when doing compilation?
17550 need_locks=$lt_need_locks
17552 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17553 DSYMUTIL=$lt_DSYMUTIL
17555 # Tool to change global to local symbols on Mac OS X.
17558 # Tool to manipulate fat objects and archives on Mac OS X.
17561 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17564 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17565 OTOOL64=$lt_OTOOL64
17567 # Old archive suffix (normally "a").
17570 # Shared library suffix (normally ".so").
17571 shrext_cmds=$lt_shrext_cmds
17573 # The commands to extract the exported symbol list from a shared archive.
17574 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17576 # Variables whose values should be saved in libtool wrapper scripts and
17577 # restored at link time.
17578 variables_saved_for_relink=$lt_variables_saved_for_relink
17580 # Do we need the "lib" prefix for modules?
17581 need_lib_prefix=$need_lib_prefix
17583 # Do we need a version for libraries?
17584 need_version=$need_version
17586 # Library versioning type.
17587 version_type=$version_type
17589 # Shared library runtime path variable.
17590 runpath_var=$runpath_var
17592 # Shared library path variable.
17593 shlibpath_var=$shlibpath_var
17595 # Is shlibpath searched before the hard-coded library search path?
17596 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17598 # Format of library name prefix.
17599 libname_spec=$lt_libname_spec
17601 # List of archive names. First name is the real one, the rest are links.
17602 # The last name is the one that the linker finds with -lNAME
17603 library_names_spec=$lt_library_names_spec
17605 # The coded name of the library, if different from the real name.
17606 soname_spec=$lt_soname_spec
17608 # Permission mode override for installation of shared libraries.
17609 install_override_mode=$lt_install_override_mode
17611 # Command to use after installation of a shared archive.
17612 postinstall_cmds=$lt_postinstall_cmds
17614 # Command to use after uninstallation of a shared archive.
17615 postuninstall_cmds=$lt_postuninstall_cmds
17617 # Commands used to finish a libtool library installation in a directory.
17618 finish_cmds=$lt_finish_cmds
17620 # As "finish_cmds", except a single script fragment to be evaled but
17622 finish_eval=$lt_finish_eval
17624 # Whether we should hardcode library paths into libraries.
17625 hardcode_into_libs=$hardcode_into_libs
17627 # Compile-time system search path for libraries.
17628 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17630 # Run-time system search path for libraries.
17631 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17633 # Whether dlopen is supported.
17634 dlopen_support=$enable_dlopen
17636 # Whether dlopen of programs is supported.
17637 dlopen_self=$enable_dlopen_self
17639 # Whether dlopen of statically linked programs is supported.
17640 dlopen_self_static=$enable_dlopen_self_static
17642 # Commands to strip libraries.
17643 old_striplib=$lt_old_striplib
17644 striplib=$lt_striplib
17647 # The linker used to build libraries.
17650 # How to create reloadable object files.
17651 reload_flag=$lt_reload_flag
17652 reload_cmds=$lt_reload_cmds
17654 # Commands used to build an old-style archive.
17655 old_archive_cmds=$lt_old_archive_cmds
17657 # A language specific compiler.
17660 # Is the compiler the GNU compiler?
17663 # Compiler flag to turn off builtin functions.
17664 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17666 # How to pass a linker flag through the compiler.
17667 wl=$lt_lt_prog_compiler_wl
17669 # Additional compiler flags for building library objects.
17670 pic_flag=$lt_lt_prog_compiler_pic
17672 # Compiler flag to prevent dynamic linking.
17673 link_static_flag=$lt_lt_prog_compiler_static
17675 # Does compiler simultaneously support -c and -o options?
17676 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17678 # Whether or not to add -lc for building shared libraries.
17679 build_libtool_need_lc=$archive_cmds_need_lc
17681 # Whether or not to disallow shared libs when runtime libs are static.
17682 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17684 # Compiler flag to allow reflexive dlopens.
17685 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17687 # Compiler flag to generate shared objects directly from archives.
17688 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17690 # Whether the compiler copes with passing no objects directly.
17691 compiler_needs_object=$lt_compiler_needs_object
17693 # Create an old-style archive from a shared archive.
17694 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17696 # Create a temporary old-style archive to link instead of a shared archive.
17697 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17699 # Commands used to build a shared archive.
17700 archive_cmds=$lt_archive_cmds
17701 archive_expsym_cmds=$lt_archive_expsym_cmds
17703 # Commands used to build a loadable module if different from building
17704 # a shared archive.
17705 module_cmds=$lt_module_cmds
17706 module_expsym_cmds=$lt_module_expsym_cmds
17708 # Whether we are building with GNU ld or not.
17709 with_gnu_ld=$lt_with_gnu_ld
17711 # Flag that allows shared libraries with undefined symbols to be built.
17712 allow_undefined_flag=$lt_allow_undefined_flag
17714 # Flag that enforces no undefined symbols.
17715 no_undefined_flag=$lt_no_undefined_flag
17717 # Flag to hardcode \$libdir into a binary during linking.
17718 # This must work even if \$libdir does not exist
17719 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17721 # If ld is used when linking, flag to hardcode \$libdir into a binary
17722 # during linking. This must work even if \$libdir does not exist.
17723 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17725 # Whether we need a single "-rpath" flag with a separated argument.
17726 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17728 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17729 # DIR into the resulting binary.
17730 hardcode_direct=$hardcode_direct
17732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17733 # DIR into the resulting binary and the resulting library dependency is
17734 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17735 # library is relocated.
17736 hardcode_direct_absolute=$hardcode_direct_absolute
17738 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17739 # into the resulting binary.
17740 hardcode_minus_L=$hardcode_minus_L
17742 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17743 # into the resulting binary.
17744 hardcode_shlibpath_var=$hardcode_shlibpath_var
17746 # Set to "yes" if building a shared library automatically hardcodes DIR
17747 # into the library and all subsequent libraries and executables linked
17749 hardcode_automatic=$hardcode_automatic
17751 # Set to yes if linker adds runtime paths of dependent libraries
17752 # to runtime path list.
17753 inherit_rpath=$inherit_rpath
17755 # Whether libtool must link a program against all its dependency libraries.
17756 link_all_deplibs=$link_all_deplibs
17758 # Fix the shell variable \$srcfile for the compiler.
17759 fix_srcfile_path=$lt_fix_srcfile_path
17761 # Set to "yes" if exported symbols are required.
17762 always_export_symbols=$always_export_symbols
17764 # The commands to list exported symbols.
17765 export_symbols_cmds=$lt_export_symbols_cmds
17767 # Symbols that should not be listed in the preloaded symbols.
17768 exclude_expsyms=$lt_exclude_expsyms
17770 # Symbols that must always be exported.
17771 include_expsyms=$lt_include_expsyms
17773 # Commands necessary for linking programs (against libraries) with templates.
17774 prelink_cmds=$lt_prelink_cmds
17776 # Specify filename containing input files.
17777 file_list_spec=$lt_file_list_spec
17779 # How to hardcode a shared library path into an executable.
17780 hardcode_action=$hardcode_action
17782 # ### END LIBTOOL CONFIG
17788 cat <<\_LT_EOF
>> "$cfgfile"
17789 # AIX sometimes has problems with the GCC collect2 program. For some
17790 # reason, if we set the COLLECT_NAMES environment variable, the problems
17791 # vanish in a puff of smoke.
17792 if test "X${COLLECT_NAMES+set}" != Xset
; then
17794 export COLLECT_NAMES
17801 ltmain
="$ac_aux_dir/ltmain.sh"
17804 # We use sed instead of cat because bash on DJGPP gets confused if
17805 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17806 # text mode, it properly converts lines to CR/LF. This bash problem
17807 # is reportedly fixed, but why not run on old versions too?
17808 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17809 ||
(rm -f "$cfgfile"; exit 1)
17813 cat << \_LT_EOF
>> "$cfgfile"
17815 # func_dirname file append nondir_replacement
17816 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17817 # otherwise set result to NONDIR_REPLACEMENT.
17821 */*) func_dirname_result
="${1%/*}${2}" ;;
17822 * ) func_dirname_result
="${3}" ;;
17826 # func_basename file
17829 func_basename_result
="${1##*/}"
17832 # func_dirname_and_basename file append nondir_replacement
17833 # perform func_basename and func_dirname in a single function
17835 # dirname: Compute the dirname of FILE. If nonempty,
17836 # add APPEND to the result, otherwise set result
17837 # to NONDIR_REPLACEMENT.
17838 # value returned in "$func_dirname_result"
17839 # basename: Compute filename of FILE.
17840 # value retuned in "$func_basename_result"
17841 # Implementation must be kept synchronized with func_dirname
17842 # and func_basename. For efficiency, we do not delegate to
17843 # those functions but instead duplicate the functionality here.
17844 func_dirname_and_basename
()
17847 */*) func_dirname_result
="${1%/*}${2}" ;;
17848 * ) func_dirname_result
="${3}" ;;
17850 func_basename_result
="${1##*/}"
17853 # func_stripname prefix suffix name
17854 # strip PREFIX and SUFFIX off of NAME.
17855 # PREFIX and SUFFIX must not contain globbing or regex special
17856 # characters, hashes, percent signs, but SUFFIX may contain a leading
17857 # dot (in which case that matches only a dot).
17860 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17861 # positional parameters, so assign one to ordinary parameter first.
17862 func_stripname_result
=${3}
17863 func_stripname_result
=${func_stripname_result#"${1}"}
17864 func_stripname_result
=${func_stripname_result%"${2}"}
17870 func_opt_split_opt
=${1%%=*}
17871 func_opt_split_arg
=${1#*=}
17878 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17879 *) func_lo2o_result
=${1} ;;
17883 # func_xform libobj-or-source
17886 func_xform_result
=${1%.*}.lo
17889 # func_arith arithmetic-term...
17892 func_arith_result
=$
(( $
* ))
17896 # STRING may not start with a hyphen.
17899 func_len_result
=${#1}
17904 *) # Bourne compatible functions.
17905 cat << \_LT_EOF
>> "$cfgfile"
17907 # func_dirname file append nondir_replacement
17908 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17909 # otherwise set result to NONDIR_REPLACEMENT.
17912 # Extract subdirectory from the argument.
17913 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17914 if test "X$func_dirname_result" = "X${1}"; then
17915 func_dirname_result
="${3}"
17917 func_dirname_result
="$func_dirname_result${2}"
17921 # func_basename file
17924 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17928 # func_stripname prefix suffix name
17929 # strip PREFIX and SUFFIX off of NAME.
17930 # PREFIX and SUFFIX must not contain globbing or regex special
17931 # characters, hashes, percent signs, but SUFFIX may contain a leading
17932 # dot (in which case that matches only a dot).
17933 # func_strip_suffix prefix name
17937 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17938 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17943 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17944 my_sed_long_arg
='1s/^-[^=]*=//'
17949 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17950 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17956 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17959 # func_xform libobj-or-source
17962 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17965 # func_arith arithmetic-term...
17968 func_arith_result
=`expr "$@"`
17972 # STRING may not start with a hyphen.
17975 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17981 case $lt_shell_append in
17983 cat << \_LT_EOF
>> "$cfgfile"
17985 # func_append var value
17986 # Append VALUE to the end of shell variable VAR.
17994 cat << \_LT_EOF
>> "$cfgfile"
17996 # func_append var value
17997 # Append VALUE to the end of shell variable VAR.
18008 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18009 ||
(rm -f "$cfgfile"; exit 1)
18011 mv -f "$cfgfile" "$ofile" ||
18012 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18016 cat <<_LT_EOF >> "$ofile"
18018 # ### BEGIN LIBTOOL TAG CONFIG: GO
18020 # The linker used to build libraries.
18023 # How to create reloadable object files.
18024 reload_flag=$lt_reload_flag_GO
18025 reload_cmds=$lt_reload_cmds_GO
18027 # Commands used to build an old-style archive.
18028 old_archive_cmds=$lt_old_archive_cmds_GO
18030 # A language specific compiler.
18033 # Is the compiler the GNU compiler?
18036 # Compiler flag to turn off builtin functions.
18037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18039 # How to pass a linker flag through the compiler.
18040 wl=$lt_lt_prog_compiler_wl_GO
18042 # Additional compiler flags for building library objects.
18043 pic_flag=$lt_lt_prog_compiler_pic_GO
18045 # Compiler flag to prevent dynamic linking.
18046 link_static_flag=$lt_lt_prog_compiler_static_GO
18048 # Does compiler simultaneously support -c and -o options?
18049 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18051 # Whether or not to add -lc for building shared libraries.
18052 build_libtool_need_lc=$archive_cmds_need_lc_GO
18054 # Whether or not to disallow shared libs when runtime libs are static.
18055 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18057 # Compiler flag to allow reflexive dlopens.
18058 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18060 # Compiler flag to generate shared objects directly from archives.
18061 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18063 # Whether the compiler copes with passing no objects directly.
18064 compiler_needs_object=$lt_compiler_needs_object_GO
18066 # Create an old-style archive from a shared archive.
18067 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18069 # Create a temporary old-style archive to link instead of a shared archive.
18070 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18072 # Commands used to build a shared archive.
18073 archive_cmds=$lt_archive_cmds_GO
18074 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18076 # Commands used to build a loadable module if different from building
18077 # a shared archive.
18078 module_cmds=$lt_module_cmds_GO
18079 module_expsym_cmds=$lt_module_expsym_cmds_GO
18081 # Whether we are building with GNU ld or not.
18082 with_gnu_ld=$lt_with_gnu_ld_GO
18084 # Flag that allows shared libraries with undefined symbols to be built.
18085 allow_undefined_flag=$lt_allow_undefined_flag_GO
18087 # Flag that enforces no undefined symbols.
18088 no_undefined_flag=$lt_no_undefined_flag_GO
18090 # Flag to hardcode \$libdir into a binary during linking.
18091 # This must work even if \$libdir does not exist
18092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18094 # If ld is used when linking, flag to hardcode \$libdir into a binary
18095 # during linking. This must work even if \$libdir does not exist.
18096 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18098 # Whether we need a single "-rpath" flag with a separated argument.
18099 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18102 # DIR into the resulting binary.
18103 hardcode_direct=$hardcode_direct_GO
18105 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18106 # DIR into the resulting binary and the resulting library dependency is
18107 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18108 # library is relocated.
18109 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18111 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18112 # into the resulting binary.
18113 hardcode_minus_L=$hardcode_minus_L_GO
18115 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18116 # into the resulting binary.
18117 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18119 # Set to "yes" if building a shared library automatically hardcodes DIR
18120 # into the library and all subsequent libraries and executables linked
18122 hardcode_automatic=$hardcode_automatic_GO
18124 # Set to yes if linker adds runtime paths of dependent libraries
18125 # to runtime path list.
18126 inherit_rpath=$inherit_rpath_GO
18128 # Whether libtool must link a program against all its dependency libraries.
18129 link_all_deplibs=$link_all_deplibs_GO
18131 # Fix the shell variable \$srcfile for the compiler.
18132 fix_srcfile_path=$lt_fix_srcfile_path_GO
18134 # Set to "yes" if exported symbols are required.
18135 always_export_symbols=$always_export_symbols_GO
18137 # The commands to list exported symbols.
18138 export_symbols_cmds=$lt_export_symbols_cmds_GO
18140 # Symbols that should not be listed in the preloaded symbols.
18141 exclude_expsyms=$lt_exclude_expsyms_GO
18143 # Symbols that must always be exported.
18144 include_expsyms=$lt_include_expsyms_GO
18146 # Commands necessary for linking programs (against libraries) with templates.
18147 prelink_cmds=$lt_prelink_cmds_GO
18149 # Specify filename containing input files.
18150 file_list_spec=$lt_file_list_spec_GO
18152 # How to hardcode a shared library path into an executable.
18153 hardcode_action=$hardcode_action_GO
18155 # ### END LIBTOOL TAG CONFIG: GO
18159 "default":C
) if test -n "$CONFIG_FILES"; then
18160 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18161 # that multilib installs will end up installed in the correct place.
18162 # The testsuite needs it for multilib-aware ABI baseline files.
18163 # To work around this not being passed down from config-ml.in ->
18164 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18165 # append it here. Only modify Makefiles that have just been created.
18167 # Also, get rid of this simulated-VPATH thing that automake does.
18168 cat > vpsed
<< \_EOF
18169 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18171 for i
in $SUBDIRS; do
18172 case $CONFIG_FILES in
18174 #echo "Adding MULTISUBDIR to $i/Makefile"
18175 sed -f vpsed
$i/Makefile
> tmp
18176 grep '^MULTISUBDIR =' Makefile
>> tmp
18191 ac_clean_files
=$ac_clean_files_save
18193 test $ac_write_fail = 0 ||
18194 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18197 # configure is writing to config.log, and then calls config.status.
18198 # config.status does its own redirection, appending to config.log.
18199 # Unfortunately, on DOS this fails, as config.log is still kept open
18200 # by configure, so config.status won't be able to write to it; its
18201 # output is simply discarded. So we exec the FD to /dev/null,
18202 # effectively closing config.log, so it can be properly (re)opened and
18203 # appended to by config.status. When coming back to configure, we
18204 # need to make the FD available again.
18205 if test "$no_create" != yes; then
18207 ac_config_status_args
=
18208 test "$silent" = yes &&
18209 ac_config_status_args
="$ac_config_status_args --quiet"
18211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18214 # would make configure fail if this is the last instruction.
18215 $ac_cs_success || as_fn_exit $?
18217 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18219 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}