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
640 LIBGO_IS_PPC64LE_FALSE
641 LIBGO_IS_PPC64LE_TRUE
646 LIBGO_IS_MIPSO64_FALSE
647 LIBGO_IS_MIPSO64_TRUE
648 LIBGO_IS_MIPSN64_FALSE
649 LIBGO_IS_MIPSN64_TRUE
650 LIBGO_IS_MIPSN32_FALSE
651 LIBGO_IS_MIPSN32_TRUE
652 LIBGO_IS_MIPSO32_FALSE
653 LIBGO_IS_MIPSO32_TRUE
668 LIBGO_IS_SOLARIS_FALSE
669 LIBGO_IS_SOLARIS_TRUE
672 LIBGO_IS_DRAGONFLY_FALSE
673 LIBGO_IS_DRAGONFLY_TRUE
674 LIBGO_IS_OPENBSD_FALSE
675 LIBGO_IS_OPENBSD_TRUE
676 LIBGO_IS_NETBSD_FALSE
682 LIBGO_IS_FREEBSD_FALSE
683 LIBGO_IS_FREEBSD_TRUE
684 LIBGO_IS_DARWIN_FALSE
690 nover_glibgo_toolexeclibdir
691 glibgo_toolexeclibdir
719 MAINTAINER_MODE_FALSE
747 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_dependency_tracking
819 enable_maintainer_mode
827 enable_version_specific_runtime_libs
830 with_system_libunwind
832 ac_precious_vars
='build_alias
839 # Initialize some variables set by options.
841 ac_init_version
=false
842 ac_unrecognized_opts
=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name
=s
,x
,x
,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir
='${exec_prefix}/bin'
868 sbindir
='${exec_prefix}/sbin'
869 libexecdir
='${exec_prefix}/libexec'
870 datarootdir
='${prefix}/share'
871 datadir
='${datarootdir}'
872 sysconfdir
='${prefix}/etc'
873 sharedstatedir
='${prefix}/com'
874 localstatedir
='${prefix}/var'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 # Accept the important Cygnus configure options, so we can diagnose typos.
905 case $ac_dashdash$ac_option in
909 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
911 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
914 -build |
--build |
--buil |
--bui |
--bu)
915 ac_prev
=build_alias
;;
916 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
917 build_alias
=$ac_optarg ;;
919 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
920 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
921 ac_prev
=cache_file
;;
922 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
923 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
924 cache_file
=$ac_optarg ;;
927 cache_file
=config.cache
;;
929 -datadir |
--datadir |
--datadi |
--datad)
931 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
932 datadir
=$ac_optarg ;;
934 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
935 |
--dataroo |
--dataro |
--datar)
936 ac_prev
=datarootdir
;;
937 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
938 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
939 datarootdir
=$ac_optarg ;;
941 -disable-* |
--disable-*)
942 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
945 as_fn_error
"invalid feature name: $ac_useropt"
946 ac_useropt_orig
=$ac_useropt
947 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
952 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953 ac_unrecognized_sep
=', ';;
955 eval enable_
$ac_useropt=no
;;
957 -docdir |
--docdir |
--docdi |
--doc |
--do)
959 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
962 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
964 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
967 -enable-* |
--enable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=\
$ac_optarg ;;
983 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
984 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
985 |
--exec |
--exe |
--ex)
986 ac_prev
=exec_prefix
;;
987 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
988 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
989 |
--exec=* |
--exe=* |
--ex=*)
990 exec_prefix
=$ac_optarg ;;
992 -gas |
--gas |
--ga |
--g)
993 # Obsolete; use --with-gas.
996 -help |
--help |
--hel |
--he |
-h)
998 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
999 ac_init_help
=recursive
;;
1000 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1001 ac_init_help
=short
;;
1003 -host |
--host |
--hos |
--ho)
1004 ac_prev
=host_alias
;;
1005 -host=* |
--host=* |
--hos=* |
--ho=*)
1006 host_alias
=$ac_optarg ;;
1008 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1010 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1012 htmldir
=$ac_optarg ;;
1014 -includedir |
--includedir |
--includedi |
--included |
--include \
1015 |
--includ |
--inclu |
--incl |
--inc)
1016 ac_prev
=includedir
;;
1017 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1018 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1019 includedir
=$ac_optarg ;;
1021 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1023 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1024 infodir
=$ac_optarg ;;
1026 -libdir |
--libdir |
--libdi |
--libd)
1028 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1029 libdir
=$ac_optarg ;;
1031 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1032 |
--libexe |
--libex |
--libe)
1033 ac_prev
=libexecdir
;;
1034 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1035 |
--libexe=* |
--libex=* |
--libe=*)
1036 libexecdir
=$ac_optarg ;;
1038 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1039 ac_prev
=localedir
;;
1040 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1041 localedir
=$ac_optarg ;;
1043 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1044 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1045 ac_prev
=localstatedir
;;
1046 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1047 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1048 localstatedir
=$ac_optarg ;;
1050 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1052 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1053 mandir
=$ac_optarg ;;
1055 -nfp |
--nfp |
--nf)
1056 # Obsolete; use --without-fp.
1059 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1060 |
--no-cr |
--no-c |
-n)
1063 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1064 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1067 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1068 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1069 |
--oldin |
--oldi |
--old |
--ol |
--o)
1070 ac_prev
=oldincludedir
;;
1071 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1072 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1073 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1074 oldincludedir
=$ac_optarg ;;
1076 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1078 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1079 prefix
=$ac_optarg ;;
1081 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1082 |
--program-pre |
--program-pr |
--program-p)
1083 ac_prev
=program_prefix
;;
1084 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1085 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1086 program_prefix
=$ac_optarg ;;
1088 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1089 |
--program-suf |
--program-su |
--program-s)
1090 ac_prev
=program_suffix
;;
1091 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1092 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1093 program_suffix
=$ac_optarg ;;
1095 -program-transform-name |
--program-transform-name \
1096 |
--program-transform-nam |
--program-transform-na \
1097 |
--program-transform-n |
--program-transform- \
1098 |
--program-transform |
--program-transfor \
1099 |
--program-transfo |
--program-transf \
1100 |
--program-trans |
--program-tran \
1101 |
--progr-tra |
--program-tr |
--program-t)
1102 ac_prev
=program_transform_name
;;
1103 -program-transform-name=* |
--program-transform-name=* \
1104 |
--program-transform-nam=* |
--program-transform-na=* \
1105 |
--program-transform-n=* |
--program-transform-=* \
1106 |
--program-transform=* |
--program-transfor=* \
1107 |
--program-transfo=* |
--program-transf=* \
1108 |
--program-trans=* |
--program-tran=* \
1109 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1110 program_transform_name
=$ac_optarg ;;
1112 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1114 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1115 pdfdir
=$ac_optarg ;;
1117 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1119 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1123 |
-silent |
--silent |
--silen |
--sile |
--sil)
1126 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1128 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1130 sbindir
=$ac_optarg ;;
1132 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1133 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1134 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1136 ac_prev
=sharedstatedir
;;
1137 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1138 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1139 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1141 sharedstatedir
=$ac_optarg ;;
1143 -site |
--site |
--sit)
1145 -site=* |
--site=* |
--sit=*)
1148 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1150 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1151 srcdir
=$ac_optarg ;;
1153 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1154 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1155 ac_prev
=sysconfdir
;;
1156 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1157 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1158 sysconfdir
=$ac_optarg ;;
1160 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1161 ac_prev
=target_alias
;;
1162 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1163 target_alias
=$ac_optarg ;;
1165 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1168 -version |
--version |
--versio |
--versi |
--vers |
-V)
1169 ac_init_version
=: ;;
1172 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=\
$ac_optarg ;;
1187 -without-* |
--without-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=no
;;
1204 # Obsolete; use --with-x.
1207 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1208 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1209 ac_prev
=x_includes
;;
1210 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1211 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1212 x_includes
=$ac_optarg ;;
1214 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1215 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1216 ac_prev
=x_libraries
;;
1217 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1218 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1219 x_libraries
=$ac_optarg ;;
1221 -*) as_fn_error
"unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information."
1226 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1230 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\
$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1246 if test -n "$ac_prev"; then
1247 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error
"missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir
1265 eval ac_val
=\$
$ac_var
1266 # Remove trailing slashes.
1269 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\
$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$
]* | ?
:[\\/]* ) continue;;
1275 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1277 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target
=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x
; then
1289 if test "x$build_alias" = x
; then
1290 cross_compiling
=maybe
1291 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1292 If a cross compiler is detected then cross compile mode will be used." >&2
1293 elif test "x$build_alias" != "x$host_alias"; then
1299 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1301 test "$silent" = yes && exec 6>/dev
/null
1304 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di
=`ls -di .` &&
1306 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1307 as_fn_error
"working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 as_fn_error
"pwd does not report name of working directory"
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted
=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir
=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted
=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1348 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1350 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1362 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 for ac_var
in $ac_precious_vars; do
1365 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1367 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1436 --program-prefix=PREFIX prepend PREFIX to installed program names
1437 --program-suffix=SUFFIX append SUFFIX to installed program names
1438 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1441 --build=BUILD configure
for building on BUILD
[guessed
]
1442 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1443 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive
) echo "Configuration of package-unused version-unused:";;
1454 --disable-option-checking ignore unrecognized
--enable/--with options
1455 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1456 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1457 --enable-multilib build many library versions
(default
)
1458 --disable-dependency-tracking speeds up one-time build
1459 --enable-dependency-tracking do not reject slow dependency extractors
1460 --enable-maintainer-mode enable make rules and dependencies not useful
1461 (and sometimes confusing
) to the casual installer
1462 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1463 --enable-static[=PKGS
] build static libraries
[default
=yes]
1464 --enable-fast-install[=PKGS
]
1465 optimize
for fast installation
[default
=yes]
1466 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1467 --enable-werror turns on
-Werror [default
=yes]
1468 --enable-version-specific-runtime-libs
1469 Specify that runtime libraries should be installed
1470 in a compiler-specific directory
1473 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1474 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1475 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1476 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1478 --without-libffi don
't use libffi
1479 --without-libatomic don't use libatomic
1480 --with-system-libunwind use installed libunwind
1482 Some influential environment variables
:
1483 CC C compiler
command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1486 nonstandard directory
<lib dir
>
1487 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1488 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1489 you have headers
in a nonstandard directory
<include dir
>
1490 GOC Go compiler
command
1491 GOCFLAGS Go compiler flags
1494 Use these variables to override the choices made by
`configure' or to help
1495 it to find libraries and programs with nonstandard names/locations.
1497 Report bugs to the package provider.
1502 if test "$ac_init_help" = "recursive"; then
1503 # If there are subdirs, report their specific --help.
1504 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1505 test -d "$ac_dir" ||
1506 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1514 # A ".." for each directory in $ac_dir_suffix.
1515 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1516 case $ac_top_builddir_sub in
1517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1521 ac_abs_top_builddir=$ac_pwd
1522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523 # for backward compatibility:
1524 ac_top_builddir=$ac_top_build_prefix
1527 .) # We are building in place.
1529 ac_top_srcdir=$ac_top_builddir_sub
1530 ac_abs_top_srcdir=$ac_pwd ;;
1531 [\\/]* | ?:[\\/]* ) # Absolute name.
1532 ac_srcdir=$srcdir$ac_dir_suffix;
1533 ac_top_srcdir=$srcdir
1534 ac_abs_top_srcdir=$srcdir ;;
1536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537 ac_top_srcdir=$ac_top_build_prefix$srcdir
1538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1542 cd "$ac_dir" || { ac_status=$?; continue; }
1543 # Check for guested configure.
1544 if test -f "$ac_srcdir/configure.gnu"; then
1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547 elif test -f "$ac_srcdir/configure"; then
1549 $SHELL "$ac_srcdir/configure" --help=recursive
1551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1553 cd "$ac_pwd" || { ac_status=$?; break; }
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1560 package-unused configure version-unused
1561 generated by GNU Autoconf 2.64
1563 Copyright (C) 2009 Free Software Foundation, Inc.
1564 This configure script is free software; the Free Software Foundation
1565 gives unlimited permission to copy, distribute and modify it.
1570 ## ------------------------ ##
1571 ## Autoconf initialization. ##
1572 ## ------------------------ ##
1574 # ac_fn_c_try_compile LINENO
1575 # --------------------------
1576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_c_try_compile ()
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 rm -f conftest.$ac_objext
1581 if { { ac_try="$ac_compile"
1583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1584 *) ac_try_echo
=$ac_try;;
1586 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_compile") 2>conftest.err
1590 if test -s conftest.err
; then
1591 grep -v '^ *+' conftest.err
>conftest.er1
1592 cat conftest.er1
>&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest.
$ac_objext; then :
1602 $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.
$ac_ext >&5
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1610 } # ac_fn_c_try_compile
1612 # ac_fn_c_try_link LINENO
1613 # -----------------------
1614 # Try to link conftest.$ac_ext, and return whether this succeeded.
1617 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1618 rm -f conftest.
$ac_objext conftest
$ac_exeext
1619 if { { ac_try
="$ac_link"
1621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_link") 2>conftest.err
1628 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && {
1635 test -z "$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1637 } && test -s conftest$ac_exeext && {
1638 test "$cross_compiling" = yes ||
1639 $as_test_x conftest$ac_exeext
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1650 # interfere with the next link command; also delete a directory that is
1651 # left behind by Apple's compiler. We do this before executing the actions.
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 } # ac_fn_c_try_link
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile "$LINENO"; then :
1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_compile
1689 # ac_fn_c_try_cpp LINENO
1690 # ----------------------
1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 if { { ac_try="$ac_cpp conftest.$ac_ext"
1697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704 if test -s conftest.err
; then
1705 grep -v '^ *+' conftest.err
>conftest.er1
1706 cat conftest.er1
>&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } >/dev
/null
&& {
1711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.
$ac_ext >&5
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1733 if { { ac_try
="$ac_link"
1735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1746 *) ac_try_echo
=$ac_try;;
1748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.
$ac_ext >&5
1760 ac_retval
=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1768 # ac_fn_c_check_func LINENO FUNC VAR
1769 # ----------------------------------
1770 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1771 ac_fn_c_check_func
()
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775 $as_echo_n "checking for $2... " >&6; }
1776 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777 $as_echo_n "(cached) " >&6
1779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1781 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1783 #define $2 innocuous_$2
1785 /* System header to define __stub macros and hopefully few prototypes,
1786 which can conflict with char $2 (); below.
1787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1788 <limits.h> exists even on freestanding compilers. */
1791 # include <limits.h>
1793 # include <assert.h>
1798 /* Override any GCC internal prototype to avoid an error.
1799 Use char because int might match the return type of a GCC
1800 builtin and then its argument prototype would still apply. */
1805 /* The GNU C library defines this for functions which it implements
1806 to always fail with ENOSYS. Some functions are actually named
1807 something starting with __ and the normal name is an alias. */
1808 #if defined __stub_$2 || defined __stub___$2
1820 if ac_fn_c_try_link
"$LINENO"; then :
1825 rm -f core conftest.err conftest.
$ac_objext \
1826 conftest
$ac_exeext conftest.
$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1833 } # ac_fn_c_check_func
1835 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1836 # -------------------------------------------------------
1837 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1838 # the include files in INCLUDES and setting the cache variable VAR
1840 ac_fn_c_check_header_mongrel
()
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 $as_echo_n "(cached) " >&6
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1853 # Is the header compilable?
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1855 $as_echo_n "checking $2 usability... " >&6; }
1856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1861 if ac_fn_c_try_compile
"$LINENO"; then :
1862 ac_header_compiler
=yes
1864 ac_header_compiler
=no
1866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1868 $as_echo "$ac_header_compiler" >&6; }
1870 # Is the header present?
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1872 $as_echo_n "checking $2 presence... " >&6; }
1873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1877 if ac_fn_c_try_cpp
"$LINENO"; then :
1878 ac_header_preproc
=yes
1880 ac_header_preproc
=no
1882 rm -f conftest.err conftest.
$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1884 $as_echo "$ac_header_preproc" >&6; }
1886 # So? What about this header?
1887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1890 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1892 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1896 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1898 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1900 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1902 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1904 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1910 $as_echo_n "(cached) " >&6
1912 eval "$3=\$ac_header_compiler"
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1920 } # ac_fn_c_check_header_mongrel
1922 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1923 # -------------------------------------------
1924 # Tests whether TYPE exists after having included INCLUDES, setting cache
1925 # variable VAR accordingly.
1926 ac_fn_c_check_type
()
1928 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1947 if ac_fn_c_try_compile
"$LINENO"; then :
1948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1960 if ac_fn_c_try_compile
"$LINENO"; then :
1965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1974 } # ac_fn_c_check_type
1976 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1977 # --------------------------------------------
1978 # Tries to find the compile-time value of EXPR in a program that includes
1979 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1981 ac_fn_c_compute_int
()
1983 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1984 if test "$cross_compiling" = yes; then
1985 # Depending upon the size, compute the lo and hi bounds.
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1992 static int test_array [1 - 2 * !(($2) >= 0)];
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2008 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2015 if ac_fn_c_try_compile
"$LINENO"; then :
2016 ac_hi
=$ac_mid; break
2018 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2019 if test $ac_lo -le $ac_mid; then
2023 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) < 0)];
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2050 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2058 ac_lo
=$ac_mid; break
2060 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2061 if test $ac_mid -le $ac_hi; then
2065 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 # Binary search between lo and hi bounds.
2076 while test "x$ac_lo" != "x$ac_hi"; do
2077 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2084 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2094 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2099 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2106 static long int longval () { return $2; }
2107 static unsigned long int ulongval () { return $2; }
2114 FILE *f = fopen ("conftest.val", "w");
2119 long int i = longval ();
2122 fprintf (f, "%ld", i);
2126 unsigned long int i = ulongval ();
2129 fprintf (f, "%lu", i);
2131 /* Do not output a trailing newline, as this causes \r\n confusion
2132 on some platforms. */
2133 return ferror (f) || fclose (f) != 0;
2139 if ac_fn_c_try_run
"$LINENO"; then :
2140 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2149 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2152 } # ac_fn_c_compute_int
2153 cat >config.log
<<_ACEOF
2154 This file contains any messages produced by compilers while
2155 running configure, to aid debugging if configure makes a mistake.
2157 It was created by package-unused $as_me version-unused, which was
2158 generated by GNU Autoconf 2.64. Invocation command line was
2170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir
=.
2194 $as_echo "PATH: $as_dir"
2210 # Keep a trace of the command line.
2211 # Strip out --no-create and --no-recursion so they do not pile up.
2212 # Strip out --silent because we don't want to record it for future runs.
2213 # Also quote any args containing shell meta-characters.
2214 # Make two passes to allow for proper duplicate-argument suppression.
2218 ac_must_keep_next
=false
2224 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2226 |
-silent |
--silent |
--silen |
--sile |
--sil)
2229 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2232 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2234 as_fn_append ac_configure_args1
" '$ac_arg'"
2235 if test $ac_must_keep_next = true
; then
2236 ac_must_keep_next
=false
# Got value, back to normal.
2239 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2240 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2241 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2242 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2243 case "$ac_configure_args0 " in
2244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2247 -* ) ac_must_keep_next
=true
;;
2250 as_fn_append ac_configure_args
" '$ac_arg'"
2255 { ac_configure_args0
=; unset ac_configure_args0
;}
2256 { ac_configure_args1
=; unset ac_configure_args1
;}
2258 # When interrupted or exit'd, cleanup temporary files, and complete
2259 # config.log. We remove comments because anyway the quotes in there
2260 # would cause problems or look ugly.
2261 # WARNING: Use '\'' to represent an apostrophe within the trap.
2262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2263 trap 'exit_status=$?
2264 # Save into config.log some information that might help in debugging.
2269 ## ---------------- ##
2270 ## Cache variables. ##
2271 ## ---------------- ##
2274 # The following way of writing the cache mishandles newlines in values,
2276 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2277 eval ac_val=\$$ac_var
2281 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2285 _ | IFS | as_nl) ;; #(
2286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2287 *) { eval $ac_var=; unset $ac_var;} ;;
2292 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2293 *${as_nl}ac_space=\ *)
2295 "s/'\''/'\''\\\\'\'''\''/g;
2296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307 ## ----------------- ##
2308 ## Output variables. ##
2309 ## ----------------- ##
2312 for ac_var in $ac_subst_vars
2314 eval ac_val=\$$ac_var
2316 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318 $as_echo "$ac_var='\''$ac_val'\''"
2322 if test -n "$ac_subst_files"; then
2324 ## ------------------- ##
2325 ## File substitutions. ##
2326 ## ------------------- ##
2329 for ac_var
in $ac_subst_files
2331 eval ac_val
=\$
$ac_var
2333 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335 $as_echo "$ac_var='\''$ac_val'\''"
2340 if test -s confdefs.h; then
2350 test "$ac_signal" != 0 &&
2351 $as_echo "$as_me: caught signal $ac_signal"
2352 $as_echo "$as_me: exit $exit_status"
2354 rm -f core *.core core.conftest.* &&
2355 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2358 for ac_signal
in 1 2 13 15; do
2359 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2364 rm -f -r conftest
* confdefs.h
2366 $as_echo "/* confdefs.h */" > confdefs.h
2368 # Predefined preprocessor variables.
2370 cat >>confdefs.h
<<_ACEOF
2371 #define PACKAGE_NAME "$PACKAGE_NAME"
2374 cat >>confdefs.h
<<_ACEOF
2375 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_STRING "$PACKAGE_STRING"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_URL "$PACKAGE_URL"
2395 # Let the site file select an alternate cache file if it wants to.
2396 # Prefer an explicitly selected file to automatically selected ones.
2399 if test -n "$CONFIG_SITE"; then
2400 ac_site_file1
=$CONFIG_SITE
2401 elif test "x$prefix" != xNONE
; then
2402 ac_site_file1
=$prefix/share
/config.site
2403 ac_site_file2
=$prefix/etc
/config.site
2405 ac_site_file1
=$ac_default_prefix/share
/config.site
2406 ac_site_file2
=$ac_default_prefix/etc
/config.site
2408 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2410 test "x$ac_site_file" = xNONE
&& continue
2411 if test -r "$ac_site_file"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2413 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2424 $as_echo "$as_me: loading cache $cache_file" >&6;}
2426 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2427 *) .
"./$cache_file";;
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2432 $as_echo "$as_me: creating cache $cache_file" >&6;}
2436 # Check that the precious variables saved in the cache have kept the same
2438 ac_cache_corrupted
=false
2439 for ac_var
in $ac_precious_vars; do
2440 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2441 eval ac_new_set
=\
$ac_env_${ac_var}_set
2442 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2443 eval ac_new_val
=\
$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted
=: ;;
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2451 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted
=: ;;
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 # differences in whitespace do not lead to failure.
2457 ac_old_val_w
=`echo x $ac_old_val`
2458 ac_new_val_w
=`echo x $ac_new_val`
2459 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2461 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2462 ac_cache_corrupted
=:
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2465 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2466 eval $ac_var=\
$ac_old_val
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2469 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2471 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2474 # Pass precious variables to config.status.
2475 if test "$ac_new_set" = set; then
2477 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2478 *) ac_arg
=$ac_var=$ac_new_val ;;
2480 case " $ac_configure_args " in
2481 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2482 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2486 if $ac_cache_corrupted; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2490 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2491 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2493 ## -------------------- ##
2494 ## Main body of script. ##
2495 ## -------------------- ##
2498 ac_cpp
='$CPP $CPPFLAGS'
2499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2508 ac_config_headers
="$ac_config_headers config.h"
2511 libtool_VERSION
=7:0:0
2514 # Default to --enable-multilib
2515 # Check whether --enable-multilib was given.
2516 if test "${enable_multilib+set}" = set; then :
2517 enableval
=$enable_multilib; case "$enableval" in
2518 yes) multilib
=yes ;;
2520 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2527 # We may get other options which we leave undocumented:
2528 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2529 # See config-ml.in if you want the gory details.
2531 if test "$srcdir" = "."; then
2532 if test "$with_target_subdir" != "."; then
2533 multi_basedir
="$srcdir/$with_multisrctop../.."
2535 multi_basedir
="$srcdir/$with_multisrctop.."
2538 multi_basedir
="$srcdir/.."
2542 # Even if the default multilib is not a cross compilation,
2543 # it may be that some of the other multilibs are.
2544 if test $cross_compiling = no
&& test $multilib = yes \
2545 && test "x${with_multisubdir}" != x
; then
2546 cross_compiling
=maybe
2549 ac_config_commands
="$ac_config_commands default-1"
2553 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2554 for ac_t
in install-sh
install.sh shtool
; do
2555 if test -f "$ac_dir/$ac_t"; then
2557 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2562 if test -z "$ac_aux_dir"; then
2563 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2566 # These three variables are undocumented and unsupported,
2567 # and are intended to be withdrawn in a future Autoconf release.
2568 # They can cause serious problems if a builder's source tree is in a directory
2569 # whose full name contains unusual characters.
2570 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2571 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2572 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 # Make sure we can run config.sub.
2576 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2577 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2580 $as_echo_n "checking build system type... " >&6; }
2581 if test "${ac_cv_build+set}" = set; then :
2582 $as_echo_n "(cached) " >&6
2584 ac_build_alias
=$build_alias
2585 test "x$ac_build_alias" = x
&&
2586 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2587 test "x$ac_build_alias" = x
&&
2588 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2589 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2590 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2594 $as_echo "$ac_cv_build" >&6; }
2595 case $ac_cv_build in
2597 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2600 ac_save_IFS
=$IFS; IFS
='-'
2606 # Remember, the first character of IFS is used to create $*,
2607 # except with old shells:
2610 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2614 $as_echo_n "checking host system type... " >&6; }
2615 if test "${ac_cv_host+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 if test "x$host_alias" = x
; then
2619 ac_cv_host
=$ac_cv_build
2621 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2622 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2627 $as_echo "$ac_cv_host" >&6; }
2630 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2633 ac_save_IFS
=$IFS; IFS
='-'
2639 # Remember, the first character of IFS is used to create $*,
2640 # except with old shells:
2643 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2647 $as_echo_n "checking target system type... " >&6; }
2648 if test "${ac_cv_target+set}" = set; then :
2649 $as_echo_n "(cached) " >&6
2651 if test "x$target_alias" = x
; then
2652 ac_cv_target
=$ac_cv_host
2654 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2655 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2660 $as_echo "$ac_cv_target" >&6; }
2661 case $ac_cv_target in
2663 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2665 target
=$ac_cv_target
2666 ac_save_IFS
=$IFS; IFS
='-'
2672 # Remember, the first character of IFS is used to create $*,
2673 # except with old shells:
2676 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2679 # The aliases save the names the user supplied, while $host etc.
2680 # will get canonicalized.
2681 test -n "$target_alias" &&
2682 test "$program_prefix$program_suffix$program_transform_name" = \
2684 program_prefix
=${target_alias}-
2686 target_alias
=${target_alias-$host_alias}
2688 am__api_version
='1.11'
2690 # Find a good install program. We prefer a C program (faster),
2691 # so one script is as good as another. But avoid the broken or
2692 # incompatible versions:
2693 # SysV /etc/install, /usr/sbin/install
2694 # SunOS /usr/etc/install
2695 # IRIX /sbin/install
2697 # AmigaOS /C/install, which installs bootblocks on floppy discs
2698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2701 # OS/2's system install, which has a completely different semantic
2702 # ./install, which can be erroneously created by make from ./install.sh.
2703 # Reject install programs that cannot install multiple files.
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2705 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2706 if test -z "$INSTALL"; then
2707 if test "${ac_cv_path_install+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 # Account for people who put trailing slashes in PATH elements.
2716 case $as_dir/ in #((
2717 .
/ | .
// |
/[cC
]/* | \
2718 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2719 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2722 # OSF1 and SCO ODT 3.0 have their own names for install.
2723 # Don't use installbsd from OSF since it installs stuff as root
2725 for ac_prog
in ginstall scoinst
install; do
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2728 if test $ac_prog = install &&
2729 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2730 # AIX install. It has an incompatible calling convention.
2732 elif test $ac_prog = install &&
2733 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2734 # program-specific install script used by HP pwplus--don't use.
2737 rm -rf conftest.one conftest.two conftest.dir
2738 echo one
> conftest.one
2739 echo two
> conftest.two
2741 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2742 test -s conftest.one
&& test -s conftest.two
&&
2743 test -s conftest.dir
/conftest.one
&&
2744 test -s conftest.dir
/conftest.two
2746 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2759 rm -rf conftest.one conftest.two conftest.dir
2762 if test "${ac_cv_path_install+set}" = set; then
2763 INSTALL
=$ac_cv_path_install
2765 # As a last resort, use the slow shell script. Don't cache a
2766 # value for INSTALL within a source directory, because that will
2767 # break other packages using the cache if that directory is
2768 # removed, or if the value is a relative name.
2769 INSTALL
=$ac_install_sh
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2773 $as_echo "$INSTALL" >&6; }
2775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2776 # It thinks the first close brace ends the variable substitution.
2777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2781 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2784 $as_echo_n "checking whether build environment is sane... " >&6; }
2787 echo timestamp
> conftest.
file
2788 # Reject unsafe characters in $srcdir or the absolute working directory
2789 # name. Accept space and tab only in the latter.
2793 *[\\\"\
#\$\&\'\`$am_lf]*)
2794 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2797 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2798 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2801 # Do `set' in a subshell so we don't clobber the current shell's
2802 # arguments. Must try -L first in case configure is actually a
2803 # symlink; some systems play weird games with the mod time of symlinks
2804 # (eg FreeBSD returns the mod time of the symlink's containing
2807 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2808 if test "$*" = "X"; then
2810 set X
`ls -t "$srcdir/configure" conftest.file`
2813 if test "$*" != "X $srcdir/configure conftest.file" \
2814 && test "$*" != "X conftest.file $srcdir/configure"; then
2816 # If neither matched, then we have a broken ls. This can happen
2817 # if, for instance, CONFIG_SHELL is bash and it inherits a
2818 # broken ls alias from the environment. This has actually
2819 # happened. Such a system could not be considered "sane".
2820 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2821 alias in your environment" "$LINENO" 5
2824 test "$2" = conftest.
file
2830 as_fn_error
"newly created file is older than distributed files!
2831 Check your system clock" "$LINENO" 5
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2835 test "$program_prefix" != NONE
&&
2836 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2837 # Use a double $ so make ignores it.
2838 test "$program_suffix" != NONE
&&
2839 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2840 # Double any \ or $.
2841 # By default was `s,x,x', remove it if useless.
2842 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2843 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2845 # expand $ac_aux_dir to an absolute path
2846 am_aux_dir
=`cd $ac_aux_dir && pwd`
2848 if test x
"${MISSING+set}" != xset
; then
2851 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2853 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2856 # Use eval to expand $SHELL
2857 if eval "$MISSING --run true"; then
2858 am_missing_run
="$MISSING --run "
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2862 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2865 if test x
"${install_sh}" != xset
; then
2868 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2870 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2874 # Installed binaries are usually stripped using `strip' when the user
2875 # run `make install-strip'. However `strip' might not be the right
2876 # tool to use in cross-compilation environments, therefore Automake
2877 # will honor the `STRIP' environment variable to overrule this program.
2878 if test "$cross_compiling" != no
; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2881 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if test "${ac_cv_prog_STRIP+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$STRIP"; then
2888 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 STRIP
=$ac_cv_prog_STRIP
2908 if test -n "$STRIP"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2910 $as_echo "$STRIP" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2918 if test -z "$ac_cv_prog_STRIP"; then
2920 # Extract the first word of "strip", so it can be a program name with args.
2921 set dummy strip
; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_STRIP"; then
2928 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_ac_ct_STRIP
="strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2948 if test -n "$ac_ct_STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2950 $as_echo "$ac_ct_STRIP" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2956 if test "x$ac_ct_STRIP" = x
; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned
=yes ;;
2968 STRIP
="$ac_cv_prog_STRIP"
2972 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976 if test -z "$MKDIR_P"; then
2977 if test "${ac_cv_path_mkdir+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2981 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_prog
in mkdir gmkdir
; do
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2989 'mkdir (GNU coreutils) '* | \
2990 'mkdir (coreutils) '* | \
2991 'mkdir (fileutils) '4.1*)
2992 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3002 if test "${ac_cv_path_mkdir+set}" = set; then
3003 MKDIR_P
="$ac_cv_path_mkdir -p"
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for MKDIR_P within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 test -d .
/--version && rmdir .
/--version
3010 MKDIR_P
="$ac_install_sh -d"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3014 $as_echo "$MKDIR_P" >&6; }
3018 [\\/$
]* | ?
:[\\/]*) ;;
3019 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3022 for ac_prog
in gawk mawk nawk
awk
3024 # Extract the first word of "$ac_prog", so it can be a program name with args.
3025 set dummy
$ac_prog; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if test "${ac_cv_prog_AWK+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$AWK"; then
3032 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_AWK
="$ac_prog"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$AWK"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3054 $as_echo "$AWK" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3061 test -n "$AWK" && break
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3065 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3067 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3068 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3069 $as_echo_n "(cached) " >&6
3071 cat >conftest.
make <<\_ACEOF
3074 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3076 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3077 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3079 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3081 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3085 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3092 SET_MAKE
="MAKE=${MAKE-make}"
3095 rm -rf .tst
2>/dev
/null
3096 mkdir .tst
2>/dev
/null
3097 if test -d .tst
; then
3102 rmdir .tst
2>/dev
/null
3104 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3105 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3106 # is not polluted with repeated "-I."
3107 am__isrc
=' -I$(srcdir)'
3108 # test to see if srcdir already configured
3109 if test -f $srcdir/config.status
; then
3110 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3114 # test whether we have cygpath
3115 if test -z "$CYGPATH_W"; then
3116 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3117 CYGPATH_W
='cygpath -w'
3124 # Define the identity of the package.
3126 VERSION
='version-unused'
3129 # Some tools Automake needs.
3131 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3134 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3137 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3140 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3143 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3145 # We need awk for the "check" target. The system "awk" is bad on
3147 # Always define AMTAR for backward compatibility.
3149 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3151 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3163 ac_cpp
='$CPP $CPPFLAGS'
3164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3167 if test -n "$ac_tool_prefix"; then
3168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3169 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if test "${ac_cv_prog_CC+set}" = set; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -n "$CC"; then
3176 ac_cv_prog_CC
="$CC" # Let the user override the test.
3178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir
=.
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 if test -n "$CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3198 $as_echo "$CC" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3206 if test -z "$ac_cv_prog_CC"; then
3208 # Extract the first word of "gcc", so it can be a program name with args.
3209 set dummy gcc
; ac_word
=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -n "$ac_ct_CC"; then
3216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_ac_ct_CC
="gcc"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3236 if test -n "$ac_ct_CC"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3238 $as_echo "$ac_ct_CC" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3244 if test "x$ac_ct_CC" = x
; then
3247 case $cross_compiling:$ac_tool_warned in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3251 ac_tool_warned
=yes ;;
3259 if test -z "$CC"; then
3260 if test -n "$ac_tool_prefix"; then
3261 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3262 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if test "${ac_cv_prog_CC+set}" = set; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$CC"; then
3269 ac_cv_prog_CC
="$CC" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 if test -n "$CC"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3291 $as_echo "$CC" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3300 if test -z "$CC"; then
3301 # Extract the first word of "cc", so it can be a program name with args.
3302 set dummy cc
; ac_word
=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_CC+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC
="$CC" # Let the user override the test.
3312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir
=.
3317 for ac_exec_ext
in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3320 ac_prog_rejected
=yes
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test $ac_prog_rejected = yes; then
3332 # We found a bogon in the path, so make sure we never use it.
3333 set dummy
$ac_cv_prog_CC
3335 if test $# != 0; then
3336 # We chose a different compiler from the bogus one.
3337 # However, it has the same basename, so the bogon will be chosen
3338 # first if we set CC to just the basename; use the full file name.
3340 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3346 if test -n "$CC"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3348 $as_echo "$CC" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3356 if test -z "$CC"; then
3357 if test -n "$ac_tool_prefix"; then
3358 for ac_prog
in cl.exe
3360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3361 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_CC+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$CC"; then
3368 ac_cv_prog_CC
="$CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390 $as_echo "$CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$CC" && break
3400 if test -z "$CC"; then
3402 for ac_prog
in cl.exe
3404 # Extract the first word of "$ac_prog", so it can be a program name with args.
3405 set dummy
$ac_prog; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$ac_ct_CC"; then
3412 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_ac_ct_CC
="$ac_prog"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3432 if test -n "$ac_ct_CC"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3434 $as_echo "$ac_ct_CC" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3441 test -n "$ac_ct_CC" && break
3444 if test "x$ac_ct_CC" = x
; then
3447 case $cross_compiling:$ac_tool_warned in
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3451 ac_tool_warned
=yes ;;
3460 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462 as_fn_error
"no acceptable C compiler found in \$PATH
3463 See \`config.log' for more details." "$LINENO" 5; }
3465 # Provide some information about the compiler.
3466 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3469 for ac_option
in --version -v -V -qversion; do
3470 { { ac_try
="$ac_compiler $ac_option >&5"
3472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3479 if test -s conftest.err; then
3481 ... rest of stderr output deleted ...
3482 10q' conftest.err >conftest.er1
3483 cat conftest.er1 >&5
3484 rm -f conftest.er1 conftest.err
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 ac_clean_files_save=$ac_clean_files
3502 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3503 # Try to create an executable without -o first, disregard a.out.
3504 # It will help us diagnose broken compilers, and finding out an intuition
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3507 $as_echo_n "checking for C compiler default output file name... " >&6; }
3508 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3510 # The possible output files:
3511 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3514 for ac_file in $ac_files
3517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3523 if { { ac_try="$ac_link_default"
3525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3526 *) ac_try_echo
=$ac_try;;
3528 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530 (eval "$ac_link_default") 2>&5
3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533 test $ac_status = 0; }; then :
3534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3535 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3536 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3537 # so that the user can short-circuit this test for compilers unknown to
3539 for ac_file
in $ac_files ''
3541 test -f "$ac_file" ||
continue
3543 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3546 # We found the default executable, but exeext='' is most
3550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3552 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3554 # We set ac_cv_exeext here because the later test for it is not
3555 # safe: cross compilers may not add the suffix if given an `-o'
3556 # argument, so we may need to know it at that point already.
3557 # Even if this section looks crufty: it has the advantage of
3564 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3570 $as_echo "$ac_file" >&6; }
3571 if test -z "$ac_file"; then :
3572 $as_echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.
$ac_ext >&5
3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 { as_fn_set_status
77
3578 as_fn_error
"C compiler cannot create executables
3579 See \`config.log' for more details." "$LINENO" 5; }; }
3581 ac_exeext
=$ac_cv_exeext
3583 # Check that the compiler produces executables we can run. If not, either
3584 # the compiler is broken, or we cross compile.
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3586 $as_echo_n "checking whether the C compiler works... " >&6; }
3587 # If not cross compiling, check that we can run a simple program.
3588 if test "$cross_compiling" != yes; then
3589 if { ac_try
='./$ac_file'
3590 { { case "(($ac_try" in
3591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3595 $as_echo "$ac_try_echo"; } >&5
3596 (eval "$ac_try") 2>&5
3598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3599 test $ac_status = 0; }; }; then
3602 if test "$cross_compiling" = maybe; then
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error "cannot run C compiled programs.
3608 If you meant to cross compile
, use \
`--host'.
3609 See \`config.log
' for more details." "$LINENO" 5; }
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 $as_echo "yes" >&6; }
3616 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3617 ac_clean_files=$ac_clean_files_save
3618 # Check that the compiler produces executables we can run. If not, either
3619 # the compiler is broken, or we cross compile.
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621 $as_echo_n "checking whether we are cross compiling... " >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3623 $as_echo "$cross_compiling" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3626 $as_echo_n "checking for suffix of executables... " >&6; }
3627 if { { ac_try="$ac_link"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3633 $as_echo "$ac_try_echo"; } >&5
3634 (eval "$ac_link") 2>&5
3636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3637 test $ac_status = 0; }; then :
3638 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3639 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3640 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3642 for ac_file
in conftest.exe conftest conftest.
*; do
3643 test -f "$ac_file" ||
continue
3645 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3646 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3655 See \`config.log' for more details." "$LINENO" 5; }
3657 rm -f conftest
$ac_cv_exeext
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3659 $as_echo "$ac_cv_exeext" >&6; }
3661 rm -f conftest.
$ac_ext
3662 EXEEXT
=$ac_cv_exeext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3665 $as_echo_n "checking for suffix of object files... " >&6; }
3666 if test "${ac_cv_objext+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 rm -f conftest.o conftest.obj
3681 if { { ac_try
="$ac_compile"
3683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_compile") 2>&5
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }; then :
3692 for ac_file in conftest.o conftest.obj conftest.*; do
3693 test -f "$ac_file" || continue;
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3701 $as_echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error "cannot compute suffix of object files
: cannot compile
3707 See \
`config.log' for more details." "$LINENO" 5; }
3709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3712 $as_echo "$ac_cv_objext" >&6; }
3713 OBJEXT=$ac_cv_objext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3716 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3717 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3734 if ac_fn_c_try_compile "$LINENO"; then :
3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3744 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3745 if test $ac_compiler_gnu = yes; then
3750 ac_test_CFLAGS=${CFLAGS+set}
3751 ac_save_CFLAGS=$CFLAGS
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3753 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3754 if test "${ac_cv_prog_cc_g+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3757 ac_save_c_werror_flag=$ac_c_werror_flag
3758 ac_c_werror_flag=yes
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3803 if ac_fn_c_try_compile "$LINENO"; then :
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 ac_c_werror_flag=$ac_save_c_werror_flag
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3814 $as_echo "$ac_cv_prog_cc_g" >&6; }
3815 if test "$ac_test_CFLAGS" = set; then
3816 CFLAGS=$ac_save_CFLAGS
3817 elif test $ac_cv_prog_cc_g = yes; then
3818 if test "$GCC" = yes; then
3824 if test "$GCC" = yes; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3832 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_cv_prog_cc_c89=no
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3841 #include <sys/types.h>
3842 #include <sys/stat.h>
3843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3844 struct buf { int x; };
3845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3846 static char *e (p, i)
3852 static char *f (char * (*g) (char **, int), char **p, ...)
3857 s = g (p, va_arg (v,int));
3862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3863 function prototypes and stuff, but not '\xHH' hex character constants.
3864 These don't provoke an error unfortunately, instead are silently treated
3865 as 'x'. The following induces an error, until -std is added to get
3866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3867 array size at least. It's necessary to write '\x00'==0 to get something
3868 that's true only with -std. */
3869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3872 inside strings and character constants. */
3874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3876 int test (int i, double x);
3877 struct s1 {int (*f) (int a);};
3878 struct s2 {int (*f) (double a);};
3879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3893 CC="$ac_save_CC $ac_arg"
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 ac_cv_prog_cc_c89=$ac_arg
3897 rm -f core conftest.err conftest.$ac_objext
3898 test "x$ac_cv_prog_cc_c89" != "xno" && break
3900 rm -f conftest.$ac_ext
3905 case "x$ac_cv_prog_cc_c89" in
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3913 CC="$CC $ac_cv_prog_cc_c89"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3917 if test "x$ac_cv_prog_cc_c89" != xno; then :
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3926 DEPDIR="${am__leading_dot}deps"
3928 ac_config_commands="$ac_config_commands depfiles"
3931 am_make=${MAKE-make}
3932 cat > confinc << 'END'
3934 @echo this is the am__doit target
3937 # If we don't find an include directive, just comment out the code.
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3939 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3943 # First try GNU make style include.
3944 echo "include confinc" > confmf
3945 # Ignore all kinds of additional output from `make'.
3946 case `$am_make -s -f confmf 2> /dev/null` in #(
3947 *the\ am__doit\ target*)
3953 # Now try BSD make style include.
3954 if test "$am__include" = "#"; then
3955 echo '.include
"confinc"' > confmf
3956 case `$am_make -s -f confmf 2> /dev/null` in #(
3957 *the\ am__doit\ target*)
3958 am__include=.include
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3967 $as_echo "$_am_result" >&6; }
3968 rm -f confinc confmf
3970 # Check whether --enable-dependency-tracking was given.
3971 if test "${enable_dependency_tracking+set}" = set; then :
3972 enableval=$enable_dependency_tracking;
3975 if test "x$enable_dependency_tracking" != xno; then
3976 am_depcomp="$ac_aux_dir/depcomp"
3979 if test "x$enable_dependency_tracking" != xno
; then
3989 depcc
="$CC" am_compiler_list
=
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3992 $as_echo_n "checking dependency style of $depcc... " >&6; }
3993 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3997 # We make a subdir and do the tests there. Otherwise we can end up
3998 # making bogus files that we don't know about and never remove. For
3999 # instance it was reported that on HP-UX the gcc test will end up
4000 # making a dummy file named `D' -- because `-MD' means `put the output
4003 # Copy depcomp to subdir because otherwise we won't find it if we're
4004 # using a relative directory.
4005 cp "$am_depcomp" conftest.dir
4007 # We will build objects and dependencies in a subdirectory because
4008 # it helps to detect inapplicable dependency modes. For instance
4009 # both Tru64's cc and ICC support -MD to output dependencies as a
4010 # side effect of compilation, but ICC will put the dependencies in
4011 # the current directory while Tru64 will put them in the object
4015 am_cv_CC_dependencies_compiler_type
=none
4016 if test "$am_compiler_list" = ""; then
4017 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4020 case " $depcc " in #(
4021 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4024 for depmode
in $am_compiler_list; do
4025 # Setup a source with many dependencies, because some compilers
4026 # like to wrap large dependency lists on column 80 (with \), and
4027 # we should not choose a depcomp mode which is confused by this.
4029 # We need to recreate these files for each test, as the compiler may
4030 # overwrite some of them when testing with obscure command lines.
4031 # This happens at least with the AIX C compiler.
4033 for i
in 1 2 3 4 5 6; do
4034 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4035 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4036 # Solaris 8's {/usr,}/bin/sh.
4037 touch sub
/conftst
$i.h
4039 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4041 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4042 # mode. It turns out that the SunPro C++ compiler does not properly
4043 # handle `-M -o', and we need to detect this. Also, some Intel
4044 # versions had trouble with output in subdirs
4045 am__obj
=sub
/conftest.
${OBJEXT-o}
4046 am__minus_obj
="-o $am__obj"
4049 # This depmode causes a compiler race in universal mode.
4050 test "$am__universal" = false ||
continue
4053 # after this tag, mechanisms are not by side-effect, so they'll
4054 # only be used when explicitly requested
4055 if test "x$enable_dependency_tracking" = xyes
; then
4061 msvisualcpp | msvcmsys
)
4062 # This compiler won't grok `-c -o', but also, the minuso test has
4063 # not run yet. These depmodes are late enough in the game, and
4064 # so weak that their functioning should not be impacted.
4065 am__obj
=conftest.
${OBJEXT-o}
4070 if depmode
=$depmode \
4071 source=sub
/conftest.c object
=$am__obj \
4072 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4073 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4074 >/dev
/null
2>conftest.err
&&
4075 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4076 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4077 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4078 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4079 # icc doesn't choke on unknown options, it will just issue warnings
4080 # or remarks (even with -Werror). So we grep stderr for any message
4081 # that says an option was ignored or not supported.
4082 # When given -MP, icc 7.0 and 7.1 complain thusly:
4083 # icc: Command line warning: ignoring option '-M'; no argument required
4084 # The diagnosis changed in icc 8.0:
4085 # icc: Command line remark: option '-MP' not supported
4086 if (grep 'ignoring option' conftest.err ||
4087 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4088 am_cv_CC_dependencies_compiler_type
=$depmode
4097 am_cv_CC_dependencies_compiler_type
=none
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4102 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4103 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4106 test "x$enable_dependency_tracking" != xno \
4107 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4109 am__fastdepCC_FALSE
='#'
4111 am__fastdepCC_TRUE
='#'
4112 am__fastdepCC_FALSE
=
4117 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 if test -n "$ac_tool_prefix"; then
4121 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4122 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if test "${ac_cv_prog_GOC+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -n "$GOC"; then
4129 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 if test -n "$GOC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4151 $as_echo "$GOC" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4159 if test -z "$ac_cv_prog_GOC"; then
4161 # Extract the first word of "gccgo", so it can be a program name with args.
4162 set dummy gccgo
; ac_word
=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164 $as_echo_n "checking for $ac_word... " >&6; }
4165 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4168 if test -n "$ac_ct_GOC"; then
4169 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir
=.
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4178 ac_cv_prog_ac_ct_GOC
="gccgo"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4189 if test -n "$ac_ct_GOC"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4191 $as_echo "$ac_ct_GOC" >&6; }
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 $as_echo "no" >&6; }
4197 if test "x$ac_ct_GOC" = x
; then
4200 case $cross_compiling:$ac_tool_warned in
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4204 ac_tool_warned
=yes ;;
4209 GOC
="$ac_cv_prog_GOC"
4212 if test -z "$GOC"; then
4213 if test -n "$ac_tool_prefix"; then
4214 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4215 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if test "${ac_cv_prog_GOC+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$GOC"; then
4222 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4231 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 if test -n "$GOC"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4244 $as_echo "$GOC" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4253 if test -z "$GOC"; then
4254 # Extract the first word of "gccgo", so it can be a program name with args.
4255 set dummy gccgo
; ac_word
=$2
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257 $as_echo_n "checking for $ac_word... " >&6; }
4258 if test "${ac_cv_prog_GOC+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$GOC"; then
4262 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir
=.
4270 for ac_exec_ext
in '' $ac_executable_extensions; do
4271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4273 ac_prog_rejected
=yes
4276 ac_cv_prog_GOC
="gccgo"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 if test $ac_prog_rejected = yes; then
4285 # We found a bogon in the path, so make sure we never use it.
4286 set dummy
$ac_cv_prog_GOC
4288 if test $# != 0; then
4289 # We chose a different compiler from the bogus one.
4290 # However, it has the same basename, so the bogon will be chosen
4291 # first if we set GOC to just the basename; use the full file name.
4293 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4299 if test -n "$GOC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4301 $as_echo "$GOC" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4311 # Provide some information about the compiler.
4312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4315 { { ac_try
="$ac_compiler --version >&5"
4317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_compiler --version >&5") 2>conftest.err
4324 if test -s conftest.err; then
4326 ... rest of stderr output deleted ...
4327 10q' conftest.err >conftest.er1
4328 cat conftest.er1 >&5
4329 rm -f conftest.er1 conftest.err
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4346 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4347 # Check whether --enable-maintainer-mode was given.
4348 if test "${enable_maintainer_mode+set}" = set; then :
4349 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4351 USE_MAINTAINER_MODE=no
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4355 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4356 if test $USE_MAINTAINER_MODE = yes; then
4357 MAINTAINER_MODE_TRUE=
4358 MAINTAINER_MODE_FALSE='#'
4360 MAINTAINER_MODE_TRUE='#'
4361 MAINTAINER_MODE_FALSE=
4364 MAINT=$MAINTAINER_MODE_TRUE
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4369 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4370 if test "${ac_cv_path_SED+set}" = set; then :
4371 $as_echo_n "(cached) " >&6
4373 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4374 for ac_i in 1 2 3 4 5 6 7; do
4375 ac_script="$ac_script$as_nl$ac_script"
4377 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4378 { ac_script=; unset ac_script;}
4379 if test -z "$SED"; then
4380 ac_path_SED_found=false
4381 # Loop through the user's path and test for each of PROGNAME-LIST
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir=.
4387 for ac_prog in sed gsed; do
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4390 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4391 # Check for GNU ac_path_SED and select it if it is found.
4392 # Check for GNU $ac_path_SED
4393 case `"$ac_path_SED" --version 2>&1` in
4395 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4398 $as_echo_n 0123456789 >"conftest.in"
4401 cat "conftest.in" "conftest.in" >"conftest.tmp"
4402 mv "conftest.tmp" "conftest.in"
4403 cp "conftest.in" "conftest.nl"
4404 $as_echo '' >> "conftest.nl"
4405 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4406 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4407 as_fn_arith $ac_count + 1 && ac_count=$as_val
4408 if test $ac_count -gt ${ac_path_SED_max-0}; then
4409 # Best one so far, save it but keep looking for a better one
4410 ac_cv_path_SED="$ac_path_SED"
4411 ac_path_SED_max=$ac_count
4413 # 10*(2^10) chars as input seems more than enough
4414 test $ac_count -gt 10 && break
4416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4419 $ac_path_SED_found && break 3
4424 if test -z "$ac_cv_path_SED"; then
4425 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4433 $as_echo "$ac_cv_path_SED" >&6; }
4434 SED="$ac_cv_path_SED"
4437 test -z "$SED" && SED=sed
4438 Xsed="$SED -e 1s/^X//"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4452 if test "${ac_cv_path_GREP+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -z "$GREP"; then
4456 ac_path_GREP_found=false
4457 # Loop through the user's path and test for each of PROGNAME-LIST
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4462 test -z "$as_dir" && as_dir=.
4463 for ac_prog in grep ggrep; do
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4466 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4467 # Check for GNU ac_path_GREP and select it if it is found.
4468 # Check for GNU $ac_path_GREP
4469 case `"$ac_path_GREP" --version 2>&1` in
4471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4474 $as_echo_n 0123456789 >"conftest.in"
4477 cat "conftest.in" "conftest.in" >"conftest.tmp"
4478 mv "conftest.tmp" "conftest.in"
4479 cp "conftest.in" "conftest.nl"
4480 $as_echo 'GREP' >> "conftest.nl"
4481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4483 as_fn_arith $ac_count + 1 && ac_count=$as_val
4484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4485 # Best one so far, save it but keep looking for a better one
4486 ac_cv_path_GREP="$ac_path_GREP"
4487 ac_path_GREP_max=$ac_count
4489 # 10*(2^10) chars as input seems more than enough
4490 test $ac_count -gt 10 && break
4492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4495 $ac_path_GREP_found && break 3
4500 if test -z "$ac_cv_path_GREP"; then
4501 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4504 ac_cv_path_GREP=$GREP
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4509 $as_echo "$ac_cv_path_GREP" >&6; }
4510 GREP="$ac_cv_path_GREP"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4514 $as_echo_n "checking for egrep... " >&6; }
4515 if test "${ac_cv_path_EGREP+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4519 then ac_cv_path_EGREP="$GREP -E"
4521 if test -z "$EGREP"; then
4522 ac_path_EGREP_found=false
4523 # Loop through the user's path and test for each of PROGNAME-LIST
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 test -z "$as_dir" && as_dir=.
4529 for ac_prog in egrep; do
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4532 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4533 # Check for GNU ac_path_EGREP and select it if it is found.
4534 # Check for GNU $ac_path_EGREP
4535 case `"$ac_path_EGREP" --version 2>&1` in
4537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4540 $as_echo_n 0123456789 >"conftest.in"
4543 cat "conftest.in" "conftest.in" >"conftest.tmp"
4544 mv "conftest.tmp" "conftest.in"
4545 cp "conftest.in" "conftest.nl"
4546 $as_echo 'EGREP' >> "conftest.nl"
4547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4549 as_fn_arith $ac_count + 1 && ac_count=$as_val
4550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4551 # Best one so far, save it but keep looking for a better one
4552 ac_cv_path_EGREP="$ac_path_EGREP"
4553 ac_path_EGREP_max=$ac_count
4555 # 10*(2^10) chars as input seems more than enough
4556 test $ac_count -gt 10 && break
4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 $ac_path_EGREP_found && break 3
4566 if test -z "$ac_cv_path_EGREP"; then
4567 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 ac_cv_path_EGREP=$EGREP
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4576 $as_echo "$ac_cv_path_EGREP" >&6; }
4577 EGREP="$ac_cv_path_EGREP"
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4581 $as_echo_n "checking for fgrep... " >&6; }
4582 if test "${ac_cv_path_FGREP+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4586 then ac_cv_path_FGREP="$GREP -F"
4588 if test -z "$FGREP"; then
4589 ac_path_FGREP_found=false
4590 # Loop through the user's path and test for each of PROGNAME-LIST
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4595 test -z "$as_dir" && as_dir=.
4596 for ac_prog in fgrep; do
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4599 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4600 # Check for GNU ac_path_FGREP and select it if it is found.
4601 # Check for GNU $ac_path_FGREP
4602 case `"$ac_path_FGREP" --version 2>&1` in
4604 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4607 $as_echo_n 0123456789 >"conftest.in"
4610 cat "conftest.in" "conftest.in" >"conftest.tmp"
4611 mv "conftest.tmp" "conftest.in"
4612 cp "conftest.in" "conftest.nl"
4613 $as_echo 'FGREP' >> "conftest.nl"
4614 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4615 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4616 as_fn_arith $ac_count + 1 && ac_count=$as_val
4617 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4618 # Best one so far, save it but keep looking for a better one
4619 ac_cv_path_FGREP="$ac_path_FGREP"
4620 ac_path_FGREP_max=$ac_count
4622 # 10*(2^10) chars as input seems more than enough
4623 test $ac_count -gt 10 && break
4625 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4628 $ac_path_FGREP_found && break 3
4633 if test -z "$ac_cv_path_FGREP"; then
4634 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4637 ac_cv_path_FGREP=$FGREP
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4643 $as_echo "$ac_cv_path_FGREP" >&6; }
4644 FGREP="$ac_cv_path_FGREP"
4647 test -z "$GREP" && GREP=grep
4665 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4666 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4670 $as_echo_n "checking how to print strings... " >&6; }
4671 # Test print first, because it will be a builtin if present.
4672 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4673 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4675 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4678 # Use this function as a fallback that always works.
4679 func_fallback_echo ()
4681 eval 'cat <<_LTECHO_EOF
4685 ECHO='func_fallback_echo'
4688 # func_echo_all arg...
4689 # Invoke $ECHO with all args, space-separated.
4696 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4697 $as_echo "printf" >&6; } ;;
4698 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4699 $as_echo "print -r" >&6; } ;;
4700 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4701 $as_echo "cat" >&6; } ;;
4719 # Check whether --with-gnu-ld was given.
4720 if test "${with_gnu_ld+set}" = set; then :
4721 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4727 if test "$GCC" = yes; then
4728 # Check if gcc -print-prog-name=ld gives a path.
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4730 $as_echo_n "checking for ld used by $CC... " >&6; }
4733 # gcc leaves a trailing carriage return which upsets mingw
4734 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4736 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4739 # Accept absolute paths.
4741 re_direlt='/[^/][^/]*/\.\./'
4742 # Canonicalize the pathname of ld
4743 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4744 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4745 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4747 test -z "$LD" && LD="$ac_prog"
4750 # If it fails, then pretend we aren't using GCC.
4754 # If it is relative, then search for the first ld in PATH.
4758 elif test "$with_gnu_ld" = yes; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4760 $as_echo_n "checking for GNU ld... " >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4763 $as_echo_n "checking for non-GNU ld... " >&6; }
4765 if test "${lt_cv_path_LD+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -z "$LD"; then
4769 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4770 for ac_dir in $PATH; do
4772 test -z "$ac_dir" && ac_dir=.
4773 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4774 lt_cv_path_LD="$ac_dir/$ac_prog"
4775 # Check to see if the program is GNU ld. I'd rather use --version,
4776 # but apparently some variants of GNU ld only accept -v.
4777 # Break only if it was the GNU/non-GNU ld that we prefer.
4778 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4779 *GNU* | *'with BFD'*)
4780 test "$with_gnu_ld" != no && break
4783 test "$with_gnu_ld" != yes && break
4790 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4795 if test -n "$LD"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4797 $as_echo "$LD" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4802 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4804 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4805 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4806 $as_echo_n "(cached) " >&6
4808 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4809 case `$LD -v 2>&1 </dev
/null
` in
4810 *GNU* | *'with BFD'*)
4811 lt_cv_prog_gnu_ld=yes
4814 lt_cv_prog_gnu_ld=no
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4819 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4820 with_gnu_ld=$lt_cv_prog_gnu_ld
4830 if test -n "$ac_tool_prefix"; then
4831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$RANLIB"; then
4839 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir=.
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 RANLIB=$ac_cv_prog_RANLIB
4859 if test -n "$RANLIB"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4861 $as_echo "$RANLIB" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4869 if test -z "$ac_cv_prog_RANLIB"; then
4870 ac_ct_RANLIB=$RANLIB
4871 # Extract the first word of "ranlib", so it can be a program name with args.
4872 set dummy ranlib; ac_word=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$ac_ct_RANLIB"; then
4879 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_ac_ct_RANLIB="ranlib"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4899 if test -n "$ac_ct_RANLIB"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4901 $as_echo "$ac_ct_RANLIB" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4907 if test "x$ac_ct_RANLIB" = x; then
4910 case $cross_compiling:$ac_tool_warned in
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4916 RANLIB=$ac_ct_RANLIB
4919 RANLIB="$ac_cv_prog_RANLIB"
4922 if test -n "$ac_tool_prefix"; then
4923 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4924 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$OBJCOPY"; then
4931 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 OBJCOPY=$ac_cv_prog_OBJCOPY
4951 if test -n "$OBJCOPY"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4953 $as_echo "$OBJCOPY" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4961 if test -z "$ac_cv_prog_OBJCOPY"; then
4962 ac_ct_OBJCOPY=$OBJCOPY
4963 # Extract the first word of "objcopy", so it can be a program name with args.
4964 set dummy objcopy; ac_word=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$ac_ct_OBJCOPY"; then
4971 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir=.
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4980 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4991 if test -n "$ac_ct_OBJCOPY"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4993 $as_echo "$ac_ct_OBJCOPY" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
4999 if test "x$ac_ct_OBJCOPY" = x; then
5000 OBJCOPY="missing-objcopy"
5002 case $cross_compiling:$ac_tool_warned in
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned=yes ;;
5008 OBJCOPY=$ac_ct_OBJCOPY
5011 OBJCOPY="$ac_cv_prog_OBJCOPY"
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5022 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5027 macro_version='2.2.7a'
5028 macro_revision='1.3134'
5042 ltmain="$ac_aux_dir/ltmain.sh"
5044 # Backslashify metacharacters that are still active within
5045 # double-quoted strings.
5046 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5048 # Same as above, but do not quote variable references.
5049 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5051 # Sed substitution to delay expansion of an escaped shell variable in a
5052 # double_quote_subst'ed string.
5053 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5055 # Sed substitution to delay expansion of an escaped single quote.
5056 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5058 # Sed substitution to avoid accidental globbing in evaled expressions
5059 no_glob_subst='s/\*/\\\*/g'
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5062 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5063 if test "${lt_cv_path_NM+set}" = set; then :
5064 $as_echo_n "(cached
) " >&6
5066 if test -n "$NM"; then
5067 # Let the user override the test.
5070 lt_nm_to_check="${ac_tool_prefix}nm
"
5071 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5072 lt_nm_to_check="$lt_nm_to_check nm
"
5074 for lt_tmp_nm in $lt_nm_to_check; do
5075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5076 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5078 test -z "$ac_dir" && ac_dir=.
5079 tmp_nm="$ac_dir/$lt_tmp_nm"
5080 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5081 # Check to see if the nm accepts a BSD-compat flag.
5082 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5083 # nm: unknown option "B
" ignored
5084 # Tru64's nm complains that /dev/null is an invalid object file
5085 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5086 */dev/null* | *'Invalid file or object type'*)
5087 lt_cv_path_NM="$tmp_nm -B"
5091 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5093 lt_cv_path_NM="$tmp_nm -p"
5097 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5098 continue # so that we can try to find one that supports BSD flags
5107 : ${lt_cv_path_NM=no}
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5111 $as_echo "$lt_cv_path_NM" >&6; }
5112 if test "$lt_cv_path_NM" != "no
"; then
5115 # Didn't find any BSD compatible name lister, look for dumpbin.
5116 if test -n "$DUMPBIN"; then :
5117 # Let the user override the test.
5119 if test -n "$ac_tool_prefix"; then
5120 for ac_prog in dumpbin "link
-dump"
5122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5125 $as_echo_n "checking
for $ac_word...
" >&6; }
5126 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5127 $as_echo_n "(cached
) " >&6
5129 if test -n "$DUMPBIN"; then
5130 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5149 DUMPBIN=$ac_cv_prog_DUMPBIN
5150 if test -n "$DUMPBIN"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5152 $as_echo "$DUMPBIN" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5155 $as_echo "no
" >&6; }
5159 test -n "$DUMPBIN" && break
5162 if test -z "$DUMPBIN"; then
5163 ac_ct_DUMPBIN=$DUMPBIN
5164 for ac_prog in dumpbin "link
-dump"
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167 set dummy $ac_prog; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5169 $as_echo_n "checking
for $ac_word...
" >&6; }
5170 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5171 $as_echo_n "(cached
) " >&6
5173 if test -n "$ac_ct_DUMPBIN"; then
5174 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5193 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5194 if test -n "$ac_ct_DUMPBIN"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5196 $as_echo "$ac_ct_DUMPBIN" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5199 $as_echo "no
" >&6; }
5203 test -n "$ac_ct_DUMPBIN" && break
5206 if test "x
$ac_ct_DUMPBIN" = x; then
5209 case $cross_compiling:$ac_tool_warned in
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5212 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5213 ac_tool_warned=yes ;;
5215 DUMPBIN=$ac_ct_DUMPBIN
5219 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5221 DUMPBIN="$DUMPBIN -symbols"
5229 if test "$DUMPBIN" != ":"; then
5233 test -z "$NM" && NM=nm
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5241 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5242 if test "${lt_cv_nm_interface+set}" = set; then :
5243 $as_echo_n "(cached
) " >&6
5245 lt_cv_nm_interface="BSD nm
"
5246 echo "int some_variable
= 0;" > conftest.$ac_ext
5247 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5248 (eval "$ac_compile" 2>conftest.err)
5249 cat conftest.err >&5
5250 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5251 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5252 cat conftest.err >&5
5253 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5254 cat conftest.out >&5
5255 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5256 lt_cv_nm_interface="MS dumpbin
"
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5261 $as_echo "$lt_cv_nm_interface" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5264 $as_echo_n "checking whether
ln -s works...
" >&6; }
5266 if test "$LN_S" = "ln -s"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5268 $as_echo "yes" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5271 $as_echo "no
, using
$LN_S" >&6; }
5274 # find the maximum length of command line arguments
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5276 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5277 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5278 $as_echo_n "(cached
) " >&6
5285 # On DJGPP, this test can blow up pretty badly due to problems in libc
5286 # (any single argument exceeding 2000 bytes causes a buffer overrun
5287 # during glob expansion). Even if it were fixed, the result of this
5288 # check would be larger than it should be.
5289 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5293 # Under GNU Hurd, this test is not required because there is
5294 # no limit to the length of command line arguments.
5295 # Libtool will interpret -1 as no limit whatsoever
5296 lt_cv_sys_max_cmd_len=-1;
5299 cygwin* | mingw* | cegcc*)
5300 # On Win9x/ME, this test blows up -- it succeeds, but takes
5301 # about 5 minutes as the teststring grows exponentially.
5302 # Worse, since 9x/ME are not pre-emptively multitasking,
5303 # you end up with a "frozen
" computer, even though with patience
5304 # the test eventually succeeds (with a max line length of 256k).
5305 # Instead, let's just punt: use the minimum linelength reported by
5306 # all of the supported platforms: 8192 (on NT/2K/XP).
5307 lt_cv_sys_max_cmd_len=8192;
5311 # On MiNT this can take a long time and run out of memory.
5312 lt_cv_sys_max_cmd_len=8192;
5316 # On AmigaOS with pdksh, this test takes hours, literally.
5317 # So we just punt and use a minimum line length of 8192.
5318 lt_cv_sys_max_cmd_len=8192;
5321 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5322 # This has been around since 386BSD, at least. Likely further.
5323 if test -x /sbin/sysctl; then
5324 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5325 elif test -x /usr/sbin/sysctl; then
5326 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5328 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5330 # And add a safety zone
5331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5336 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5337 lt_cv_sys_max_cmd_len=196608
5341 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5342 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5343 # nice to cause kernel panics so lets avoid the loop below.
5344 # First set a reasonable default.
5345 lt_cv_sys_max_cmd_len=16384
5347 if test -x /sbin/sysconfig; then
5348 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5349 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5354 lt_cv_sys_max_cmd_len=102400
5356 sysv5* | sco5v6* | sysv4.2uw2*)
5357 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5358 if test -n "$kargmax"; then
5359 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5361 lt_cv_sys_max_cmd_len=32768
5365 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5366 if test -n "$lt_cv_sys_max_cmd_len"; then
5367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5368 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5370 # Make teststring a little bigger before we do anything with it.
5371 # a 1K string should be a reasonable start.
5372 for i in 1 2 3 4 5 6 7 8 ; do
5373 teststring=$teststring$teststring
5375 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5376 # If test is not a shell built-in, we'll probably end up computing a
5377 # maximum length that is only half of the actual maximum length, but
5379 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5380 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5381 test $i != 17 # 1/2 MB should be enough
5384 teststring=$teststring$teststring
5386 # Only check the string length outside the loop.
5387 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5389 # Add a significant safety factor because C++ compilers can tack on
5390 # massive amounts of additional arguments before passing them to the
5391 # linker. It appears as though 1/2 is a usable value.
5392 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5399 if test -n $lt_cv_sys_max_cmd_len ; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5401 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5404 $as_echo "none
" >&6; }
5406 max_cmd_len=$lt_cv_sys_max_cmd_len
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5418 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5419 # Try some XSI features
5422 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5424 && eval 'test $(( 1 + 1 )) -eq 2 \
5425 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5428 $as_echo "$xsi_shell" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5432 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5434 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5436 && lt_shell_append
=yes
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5438 $as_echo "$lt_shell_append" >&6; }
5441 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5451 # test EBCDIC or ASCII
5452 case `echo X|tr X '\101'` in
5453 A
) # ASCII based system
5454 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5455 lt_SP2NL
='tr \040 \012'
5456 lt_NL2SP
='tr \015\012 \040\040'
5458 *) # EBCDIC based system
5459 lt_SP2NL
='tr \100 \n'
5460 lt_NL2SP
='tr \r\n \100\100'
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5473 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5474 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5475 $as_echo_n "(cached) " >&6
5477 lt_cv_ld_reload_flag
='-r'
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5480 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5481 reload_flag
=$lt_cv_ld_reload_flag
5482 case $reload_flag in
5484 *) reload_flag
=" $reload_flag" ;;
5486 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5489 if test "$GCC" = yes; then
5490 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5492 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5505 if test -n "$ac_tool_prefix"; then
5506 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5507 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$OBJDUMP"; then
5514 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 OBJDUMP
=$ac_cv_prog_OBJDUMP
5534 if test -n "$OBJDUMP"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5536 $as_echo "$OBJDUMP" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5544 if test -z "$ac_cv_prog_OBJDUMP"; then
5545 ac_ct_OBJDUMP
=$OBJDUMP
5546 # Extract the first word of "objdump", so it can be a program name with args.
5547 set dummy objdump
; ac_word
=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$ac_ct_OBJDUMP"; then
5554 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5574 if test -n "$ac_ct_OBJDUMP"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5576 $as_echo "$ac_ct_OBJDUMP" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5582 if test "x$ac_ct_OBJDUMP" = x
; then
5585 case $cross_compiling:$ac_tool_warned in
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5589 ac_tool_warned
=yes ;;
5591 OBJDUMP
=$ac_ct_OBJDUMP
5594 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5597 test -z "$OBJDUMP" && OBJDUMP
=objdump
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5608 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5609 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5610 $as_echo_n "(cached) " >&6
5612 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5613 lt_cv_file_magic_test_file
=
5614 lt_cv_deplibs_check_method
='unknown'
5615 # Need to set the preceding variable on all platforms that support
5616 # interlibrary dependencies.
5617 # 'none' -- dependencies not supported.
5618 # `unknown' -- same as none, but documents that we really don't know.
5619 # 'pass_all' -- all dependencies passed with no checks.
5620 # 'test_compile' -- check by making test program.
5621 # 'file_magic [[regex]]' -- check by looking for files in library path
5622 # which responds to the $file_magic_cmd with a given extended regex.
5623 # If you have `file' or equivalent on your system and you're not sure
5624 # whether `pass_all' will *always* work, you probably want this one.
5628 lt_cv_deplibs_check_method
=pass_all
5632 lt_cv_deplibs_check_method
=pass_all
5636 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5637 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5638 lt_cv_file_magic_test_file
=/shlib
/libc.so
5642 # func_win32_libid is a shell function defined in ltmain.sh
5643 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5644 lt_cv_file_magic_cmd
='func_win32_libid'
5648 # Base MSYS/MinGW do not provide the 'file' command needed by
5649 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5650 # unless we find 'file', for example because we are cross-compiling.
5651 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5652 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5653 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5654 lt_cv_file_magic_cmd
='func_win32_libid'
5656 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5657 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5662 # use the weaker test based on 'objdump'. See mingw*.
5663 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5664 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5667 darwin
* | rhapsody
*)
5668 lt_cv_deplibs_check_method
=pass_all
5671 freebsd
* | dragonfly
*)
5672 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5675 # Not sure whether the presence of OpenBSD here was a mistake.
5676 # Let's accept both of them until this is cleared up.
5677 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5678 lt_cv_file_magic_cmd
=/usr
/bin
/file
5679 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5683 lt_cv_deplibs_check_method
=pass_all
5688 lt_cv_deplibs_check_method
=pass_all
5692 lt_cv_deplibs_check_method
=pass_all
5695 hpux10.20
* | hpux11
*)
5696 lt_cv_file_magic_cmd
=/usr
/bin
/file
5699 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5700 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5703 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]'
5704 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5707 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5708 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5714 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5715 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5718 irix5
* | irix6
* | nonstopux
*)
5720 *-32|
*"-32 ") libmagic
=32-bit;;
5721 *-n32|
*"-n32 ") libmagic
=N32
;;
5722 *-64|
*"-64 ") libmagic
=64-bit;;
5723 *) libmagic
=never-match
;;
5725 lt_cv_deplibs_check_method
=pass_all
5728 # This must be Linux ELF.
5729 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5730 lt_cv_deplibs_check_method
=pass_all
5734 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5735 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5737 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5742 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5743 lt_cv_file_magic_cmd
=/usr
/bin
/file
5744 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5748 lt_cv_deplibs_check_method
=pass_all
5752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5753 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5755 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5759 osf3
* | osf4
* | osf5
*)
5760 lt_cv_deplibs_check_method
=pass_all
5764 lt_cv_deplibs_check_method
=pass_all
5768 lt_cv_deplibs_check_method
=pass_all
5771 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5772 lt_cv_deplibs_check_method
=pass_all
5776 case $host_vendor in
5778 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]'
5779 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5782 lt_cv_deplibs_check_method
=pass_all
5785 lt_cv_file_magic_cmd
='/bin/file'
5786 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5789 lt_cv_file_magic_cmd
='/bin/file'
5790 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5791 lt_cv_file_magic_test_file
=/lib
/libc.so
5794 lt_cv_deplibs_check_method
=pass_all
5797 lt_cv_deplibs_check_method
=pass_all
5803 lt_cv_deplibs_check_method
=pass_all
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5809 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5810 file_magic_cmd
=$lt_cv_file_magic_cmd
5811 deplibs_check_method
=$lt_cv_deplibs_check_method
5812 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5827 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if test "${ac_cv_prog_AR+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$AR"; then
5834 ac_cv_prog_AR
="$AR" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 if test -n "$AR"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5856 $as_echo "$AR" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5864 if test -z "$ac_cv_prog_AR"; then
5866 # Extract the first word of "ar", so it can be a program name with args.
5867 set dummy
ar; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ac_ct_AR"; then
5874 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_AR
="ar"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5894 if test -n "$ac_ct_AR"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5896 $as_echo "$ac_ct_AR" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5902 if test "x$ac_ct_AR" = x
; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned
=yes ;;
5917 test -z "$AR" && AR
=ar
5918 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5930 if test -n "$ac_tool_prefix"; then
5931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5932 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if test "${ac_cv_prog_STRIP+set}" = set; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$STRIP"; then
5939 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5948 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 STRIP
=$ac_cv_prog_STRIP
5959 if test -n "$STRIP"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5961 $as_echo "$STRIP" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5969 if test -z "$ac_cv_prog_STRIP"; then
5971 # Extract the first word of "strip", so it can be a program name with args.
5972 set dummy strip
; ac_word
=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$ac_ct_STRIP"; then
5979 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir
=.
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988 ac_cv_prog_ac_ct_STRIP
="strip"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5999 if test -n "$ac_ct_STRIP"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6001 $as_echo "$ac_ct_STRIP" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6007 if test "x$ac_ct_STRIP" = x
; then
6010 case $cross_compiling:$ac_tool_warned in
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6014 ac_tool_warned
=yes ;;
6019 STRIP
="$ac_cv_prog_STRIP"
6022 test -z "$STRIP" && STRIP
=:
6029 if test -n "$ac_tool_prefix"; then
6030 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6031 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 $as_echo_n "checking for $ac_word... " >&6; }
6034 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6035 $as_echo_n "(cached) " >&6
6037 if test -n "$RANLIB"; then
6038 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6044 test -z "$as_dir" && as_dir
=.
6045 for ac_exec_ext
in '' $ac_executable_extensions; do
6046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6047 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 RANLIB
=$ac_cv_prog_RANLIB
6058 if test -n "$RANLIB"; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6060 $as_echo "$RANLIB" >&6; }
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063 $as_echo "no" >&6; }
6068 if test -z "$ac_cv_prog_RANLIB"; then
6069 ac_ct_RANLIB
=$RANLIB
6070 # Extract the first word of "ranlib", so it can be a program name with args.
6071 set dummy ranlib
; ac_word
=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6075 $as_echo_n "(cached) " >&6
6077 if test -n "$ac_ct_RANLIB"; then
6078 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6084 test -z "$as_dir" && as_dir
=.
6085 for ac_exec_ext
in '' $ac_executable_extensions; do
6086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6087 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6097 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6098 if test -n "$ac_ct_RANLIB"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6100 $as_echo "$ac_ct_RANLIB" >&6; }
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6106 if test "x$ac_ct_RANLIB" = x
; then
6109 case $cross_compiling:$ac_tool_warned in
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113 ac_tool_warned
=yes ;;
6115 RANLIB
=$ac_ct_RANLIB
6118 RANLIB
="$ac_cv_prog_RANLIB"
6121 test -z "$RANLIB" && RANLIB
=:
6128 # Determine commands to create old-style static archives.
6129 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6130 old_postinstall_cmds
='chmod 644 $oldlib'
6131 old_postuninstall_cmds
=
6133 if test -n "$RANLIB"; then
6136 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6139 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6142 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6147 lock_old_archive_extraction
=yes ;;
6149 lock_old_archive_extraction
=no
;;
6190 # If no C compiler was specified, use CC.
6193 # If no C compiler flags were specified, use CFLAGS.
6194 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6196 # Allow CC to be a program name with arguments.
6200 # Check for command to grab the raw symbol name followed by C symbol from nm.
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6202 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6203 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6207 # These are sane defaults that work on at least a few old systems.
6208 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6210 # Character class describing NM global symbol codes.
6211 symcode
='[BCDEGRST]'
6213 # Regexp to match symbols that can be accessed directly from C.
6214 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6216 # Define system-specific variables.
6221 cygwin
* | mingw
* | pw32
* | cegcc
*)
6222 symcode
='[ABCDGISTW]'
6225 if test "$host_cpu" = ia64
; then
6226 symcode
='[ABCDEGRST]'
6230 symcode
='[BCDEGRST]'
6233 symcode
='[BCDEGQRST]'
6244 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6252 # If we're using GNU nm, then use its standard symbol codes.
6253 case `$NM -V 2>&1` in
6254 *GNU
* |
*'with BFD'*)
6255 symcode
='[ABCDGIRSTW]' ;;
6258 # Transform an extracted symbol line into a proper C declaration.
6259 # Some systems (esp. on ia64) link data and code symbols differently,
6260 # so use this general approach.
6261 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6263 # Transform an extracted symbol line into symbol name and symbol address
6264 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6265 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'"
6267 # Handle CRLF in mingw tool chain
6271 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6275 # Try without a prefix underscore, then with it.
6276 for ac_symprfx
in "" "_"; do
6278 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6279 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6281 # Write the raw and C identifiers.
6282 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6283 # Fake it for dumpbin and say T for any non-static function
6284 # and D for any global variable.
6285 # Also find C++ and __fastcall symbols from MSVC++,
6286 # which start with @ or ?.
6287 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6288 " {last_section=section; section=\$ 3};"\
6289 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6290 " \$ 0!~/External *\|/{next};"\
6291 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6292 " {if(hide[section]) next};"\
6293 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6294 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6295 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6296 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6297 " ' prfx=^$ac_symprfx"
6299 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6302 # Check to see that the pipe works correctly.
6306 cat > conftest.
$ac_ext <<_LT_EOF
6311 void nm_test_func(void);
6312 void nm_test_func(void){}
6316 int main(){nm_test_var='a';nm_test_func();return(0);}
6319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6320 (eval $ac_compile) 2>&5
6322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6323 test $ac_status = 0; }; then
6324 # Now try to grab the symbols.
6326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6327 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330 test $ac_status = 0; } && test -s "$nlist"; then
6331 # Try sorting and uniquifying the output.
6332 if sort "$nlist" |
uniq > "$nlist"T
; then
6333 mv -f "$nlist"T
"$nlist"
6338 # Make sure that we snagged all the symbols we need.
6339 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6340 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6341 cat <<_LT_EOF > conftest.$ac_ext
6347 # Now generate the symbol file.
6348 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6350 cat <<_LT_EOF >> conftest.$ac_ext
6352 /* The mapping between symbol names and symbols. */
6357 lt__PROGRAM__LTX_preloaded_symbols[] =
6359 { "@PROGRAM@", (void *) 0 },
6361 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6362 cat <<\_LT_EOF
>> conftest.
$ac_ext
6366 /* This works around a problem
in FreeBSD linker
*/
6367 #ifdef FREEBSD_WORKAROUND
6368 static const void
*lt_preloaded_setup
() {
6369 return lt__PROGRAM__LTX_preloaded_symbols
;
6377 # Now try linking the two files.
6378 mv conftest.
$ac_objext conftstm.
$ac_objext
6379 lt_save_LIBS
="$LIBS"
6380 lt_save_CFLAGS
="$CFLAGS"
6381 LIBS
="conftstm.$ac_objext"
6382 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6384 (eval $ac_link) 2>&5
6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6390 LIBS
="$lt_save_LIBS"
6391 CFLAGS
="$lt_save_CFLAGS"
6393 echo "cannot find nm_test_func in $nlist" >&5
6396 echo "cannot find nm_test_var in $nlist" >&5
6399 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6402 echo "$progname: failed program was:" >&5
6403 cat conftest.
$ac_ext >&5
6405 rm -rf conftest
* conftst
*
6407 # Do not use the global_symbol_pipe unless it works.
6408 if test "$pipe_works" = yes; then
6411 lt_cv_sys_global_symbol_pipe
=
6417 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6418 lt_cv_sys_global_symbol_to_cdecl
=
6420 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6422 $as_echo "failed" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6425 $as_echo "ok" >&6; }
6450 # Check whether --enable-libtool-lock was given.
6451 if test "${enable_libtool_lock+set}" = set; then :
6452 enableval
=$enable_libtool_lock;
6455 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6457 # Some flags need to be propagated to the compiler or linker for good
6461 # Find out which ABI we are using.
6462 echo 'int i;' > conftest.
$ac_ext
6463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6464 (eval $ac_compile) 2>&5
6466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6467 test $ac_status = 0; }; then
6468 case `/usr/bin/file conftest.$ac_objext` in
6480 # Find out which ABI we are using.
6481 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6483 (eval $ac_compile) 2>&5
6485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486 test $ac_status = 0; }; then
6487 if test "$lt_cv_prog_gnu_ld" = yes; then
6488 case `/usr/bin/file conftest.$ac_objext` in
6490 LD
="${LD-ld} -melf32bsmip"
6493 LD
="${LD-ld} -melf32bmipn32"
6496 LD
="${LD-ld} -melf64bmip"
6500 case `/usr/bin/file conftest.$ac_objext` in
6516 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6517 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6518 # Find out which ABI we are using.
6519 echo 'int i;' > conftest.
$ac_ext
6520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6521 (eval $ac_compile) 2>&5
6523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6524 test $ac_status = 0; }; then
6525 case `/usr/bin/file conftest.o` in
6528 x86_64-
*kfreebsd
*-gnu)
6529 LD
="${LD-ld} -m elf_i386_fbsd"
6532 case `/usr/bin/file conftest.o` in
6534 LD
="${LD-ld} -m elf32_x86_64"
6537 LD
="${LD-ld} -m elf_i386"
6541 powerpc64le-
*linux
*)
6542 LD
="${LD-ld} -m elf32lppclinux"
6545 LD
="${LD-ld} -m elf32ppclinux"
6548 LD
="${LD-ld} -m elf_s390"
6551 LD
="${LD-ld} -m elf32_sparc"
6557 x86_64-
*kfreebsd
*-gnu)
6558 LD
="${LD-ld} -m elf_x86_64_fbsd"
6561 LD
="${LD-ld} -m elf_x86_64"
6564 LD
="${LD-ld} -m elf64lppc"
6567 LD
="${LD-ld} -m elf64ppc"
6569 s390
*-*linux
*|s390
*-*tpf
*)
6570 LD
="${LD-ld} -m elf64_s390"
6573 LD
="${LD-ld} -m elf64_sparc"
6583 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6584 SAVE_CFLAGS
="$CFLAGS"
6585 CFLAGS
="$CFLAGS -belf"
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6587 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6588 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6589 $as_echo_n "(cached) " >&6
6592 ac_cpp
='$CPP $CPPFLAGS'
6593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6608 if ac_fn_c_try_link
"$LINENO"; then :
6609 lt_cv_cc_needs_belf
=yes
6611 lt_cv_cc_needs_belf
=no
6613 rm -f core conftest.err conftest.
$ac_objext \
6614 conftest
$ac_exeext conftest.
$ac_ext
6616 ac_cpp
='$CPP $CPPFLAGS'
6617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6623 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6624 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6625 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6626 CFLAGS
="$SAVE_CFLAGS"
6630 # Find out which ABI we are using.
6631 echo 'int i;' > conftest.
$ac_ext
6632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6633 (eval $ac_compile) 2>&5
6635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636 test $ac_status = 0; }; then
6637 case `/usr/bin/file conftest.o` in
6639 case $lt_cv_prog_gnu_ld in
6640 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6642 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6654 need_locks
="$enable_libtool_lock"
6658 rhapsody
* | darwin
*)
6659 if test -n "$ac_tool_prefix"; then
6660 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6661 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6665 $as_echo_n "(cached) " >&6
6667 if test -n "$DSYMUTIL"; then
6668 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir
=.
6675 for ac_exec_ext
in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6688 if test -n "$DSYMUTIL"; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6690 $as_echo "$DSYMUTIL" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6698 if test -z "$ac_cv_prog_DSYMUTIL"; then
6699 ac_ct_DSYMUTIL
=$DSYMUTIL
6700 # Extract the first word of "dsymutil", so it can be a program name with args.
6701 set dummy dsymutil
; ac_word
=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6705 $as_echo_n "(cached) " >&6
6707 if test -n "$ac_ct_DSYMUTIL"; then
6708 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6714 test -z "$as_dir" && as_dir
=.
6715 for ac_exec_ext
in '' $ac_executable_extensions; do
6716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6728 if test -n "$ac_ct_DSYMUTIL"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6730 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6736 if test "x$ac_ct_DSYMUTIL" = x
; then
6739 case $cross_compiling:$ac_tool_warned in
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743 ac_tool_warned
=yes ;;
6745 DSYMUTIL
=$ac_ct_DSYMUTIL
6748 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6753 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6757 $as_echo_n "(cached) " >&6
6759 if test -n "$NMEDIT"; then
6760 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir
=.
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 NMEDIT
=$ac_cv_prog_NMEDIT
6780 if test -n "$NMEDIT"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6782 $as_echo "$NMEDIT" >&6; }
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6790 if test -z "$ac_cv_prog_NMEDIT"; then
6791 ac_ct_NMEDIT
=$NMEDIT
6792 # Extract the first word of "nmedit", so it can be a program name with args.
6793 set dummy nmedit
; ac_word
=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6797 $as_echo_n "(cached) " >&6
6799 if test -n "$ac_ct_NMEDIT"; then
6800 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir
=.
6807 for ac_exec_ext
in '' $ac_executable_extensions; do
6808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6820 if test -n "$ac_ct_NMEDIT"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6822 $as_echo "$ac_ct_NMEDIT" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6828 if test "x$ac_ct_NMEDIT" = x
; then
6831 case $cross_compiling:$ac_tool_warned in
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6835 ac_tool_warned
=yes ;;
6837 NMEDIT
=$ac_ct_NMEDIT
6840 NMEDIT
="$ac_cv_prog_NMEDIT"
6843 if test -n "$ac_tool_prefix"; then
6844 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6845 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if test "${ac_cv_prog_LIPO+set}" = set; then :
6849 $as_echo_n "(cached) " >&6
6851 if test -n "$LIPO"; then
6852 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6858 test -z "$as_dir" && as_dir
=.
6859 for ac_exec_ext
in '' $ac_executable_extensions; do
6860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 LIPO
=$ac_cv_prog_LIPO
6872 if test -n "$LIPO"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6874 $as_echo "$LIPO" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6882 if test -z "$ac_cv_prog_LIPO"; then
6884 # Extract the first word of "lipo", so it can be a program name with args.
6885 set dummy lipo
; ac_word
=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6889 $as_echo_n "(cached) " >&6
6891 if test -n "$ac_ct_LIPO"; then
6892 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir
=.
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_prog_ac_ct_LIPO
="lipo"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6912 if test -n "$ac_ct_LIPO"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6914 $as_echo "$ac_ct_LIPO" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
6920 if test "x$ac_ct_LIPO" = x
; then
6923 case $cross_compiling:$ac_tool_warned in
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned
=yes ;;
6932 LIPO
="$ac_cv_prog_LIPO"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6937 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6941 $as_echo_n "(cached) " >&6
6943 if test -n "$OTOOL"; then
6944 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir
=.
6951 for ac_exec_ext
in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 OTOOL
=$ac_cv_prog_OTOOL
6964 if test -n "$OTOOL"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6966 $as_echo "$OTOOL" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6974 if test -z "$ac_cv_prog_OTOOL"; then
6976 # Extract the first word of "otool", so it can be a program name with args.
6977 set dummy otool
; ac_word
=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$ac_ct_OTOOL"; then
6984 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_ac_ct_OTOOL
="otool"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7004 if test -n "$ac_ct_OTOOL"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7006 $as_echo "$ac_ct_OTOOL" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7012 if test "x$ac_ct_OTOOL" = x
; then
7015 case $cross_compiling:$ac_tool_warned in
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7019 ac_tool_warned
=yes ;;
7024 OTOOL
="$ac_cv_prog_OTOOL"
7027 if test -n "$ac_tool_prefix"; then
7028 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7029 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$OTOOL64"; then
7036 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 OTOOL64
=$ac_cv_prog_OTOOL64
7056 if test -n "$OTOOL64"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7058 $as_echo "$OTOOL64" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7066 if test -z "$ac_cv_prog_OTOOL64"; then
7067 ac_ct_OTOOL64
=$OTOOL64
7068 # Extract the first word of "otool64", so it can be a program name with args.
7069 set dummy otool64
; ac_word
=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7073 $as_echo_n "(cached) " >&6
7075 if test -n "$ac_ct_OTOOL64"; then
7076 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7096 if test -n "$ac_ct_OTOOL64"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7098 $as_echo "$ac_ct_OTOOL64" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7104 if test "x$ac_ct_OTOOL64" = x
; then
7107 case $cross_compiling:$ac_tool_warned in
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7111 ac_tool_warned
=yes ;;
7113 OTOOL64
=$ac_ct_OTOOL64
7116 OTOOL64
="$ac_cv_prog_OTOOL64"
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7146 $as_echo_n "checking for -single_module linker flag... " >&6; }
7147 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7148 $as_echo_n "(cached) " >&6
7150 lt_cv_apple_cc_single_mod
=no
7151 if test -z "${LT_MULTI_MODULE}"; then
7152 # By default we will add the -single_module flag. You can override
7153 # by either setting the environment variable LT_MULTI_MODULE
7154 # non-empty at configure time, or by adding -multi_module to the
7156 rm -rf libconftest.dylib
*
7157 echo "int foo(void){return 1;}" > conftest.c
7158 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7159 -dynamiclib -Wl,-single_module conftest.c" >&5
7160 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7161 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7163 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7164 lt_cv_apple_cc_single_mod
=yes
7166 cat conftest.err
>&5
7168 rm -rf libconftest.dylib
*
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7173 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7175 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7176 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7177 $as_echo_n "(cached) " >&6
7179 lt_cv_ld_exported_symbols_list
=no
7180 save_LDFLAGS
=$LDFLAGS
7181 echo "_main" > conftest.sym
7182 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7194 if ac_fn_c_try_link
"$LINENO"; then :
7195 lt_cv_ld_exported_symbols_list
=yes
7197 lt_cv_ld_exported_symbols_list
=no
7199 rm -f core conftest.err conftest.
$ac_objext \
7200 conftest
$ac_exeext conftest.
$ac_ext
7201 LDFLAGS
="$save_LDFLAGS"
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7205 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7207 $as_echo_n "checking for -force_load linker flag... " >&6; }
7208 if test "${lt_cv_ld_force_load+set}" = set; then :
7209 $as_echo_n "(cached) " >&6
7211 lt_cv_ld_force_load
=no
7212 cat > conftest.c
<< _LT_EOF
7213 int forced_loaded() { return 2;}
7215 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7216 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7217 echo "$AR cru libconftest.a conftest.o" >&5
7218 $AR cru libconftest.a conftest.o
2>&5
7219 cat > conftest.c
<< _LT_EOF
7220 int main() { return 0;}
7222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7225 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7226 lt_cv_ld_force_load
=yes
7228 cat conftest.err
>&5
7230 rm -f conftest.err libconftest.a conftest conftest.c
7231 rm -rf conftest.dSYM
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7235 $as_echo "$lt_cv_ld_force_load" >&6; }
7237 rhapsody
* | darwin1.
[012])
7238 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7240 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7241 darwin
*) # darwin 5.x on
7242 # if running on 10.5 or later, the deployment target defaults
7243 # to the OS version, if on x86, and 10.4, the deployment
7244 # target defaults to 10.4. Don't you love it?
7245 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7246 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7247 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7249 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7251 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7255 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7256 _lt_dar_single_mod
='$single_module'
7258 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7259 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7261 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7263 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7264 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7272 ac_cpp
='$CPP $CPPFLAGS'
7273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7277 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7278 # On Suns, sometimes $CPP names a directory.
7279 if test -n "$CPP" && test -d "$CPP"; then
7282 if test -z "$CPP"; then
7283 if test "${ac_cv_prog_CPP+set}" = set; then :
7284 $as_echo_n "(cached) " >&6
7286 # Double quotes because CPP needs to be expanded
7287 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7290 for ac_c_preproc_warn_flag
in '' yes
7292 # Use a header file that comes with gcc, so configuring glibc
7293 # with a fresh cross-compiler works.
7294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7295 # <limits.h> exists even on freestanding compilers.
7296 # On the NeXT, cc -E runs the code through the compiler's parser,
7297 # not just through cpp. "Syntax error" is here to catch this case.
7298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7301 # include <limits.h>
7303 # include <assert.h>
7307 if ac_fn_c_try_cpp
"$LINENO"; then :
7310 # Broken: fails on valid input.
7313 rm -f conftest.err conftest.
$ac_ext
7315 # OK, works on sane cases. Now check whether nonexistent headers
7316 # can be detected and how.
7317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7318 /* end confdefs.h. */
7319 #include <ac_nonexistent.h>
7321 if ac_fn_c_try_cpp
"$LINENO"; then :
7322 # Broken: success on invalid input.
7325 # Passes both tests.
7329 rm -f conftest.err conftest.
$ac_ext
7332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7333 rm -f conftest.err conftest.
$ac_ext
7334 if $ac_preproc_ok; then :
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7347 $as_echo "$CPP" >&6; }
7349 for ac_c_preproc_warn_flag
in '' yes
7351 # Use a header file that comes with gcc, so configuring glibc
7352 # with a fresh cross-compiler works.
7353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7354 # <limits.h> exists even on freestanding compilers.
7355 # On the NeXT, cc -E runs the code through the compiler's parser,
7356 # not just through cpp. "Syntax error" is here to catch this case.
7357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7360 # include <limits.h>
7362 # include <assert.h>
7366 if ac_fn_c_try_cpp
"$LINENO"; then :
7369 # Broken: fails on valid input.
7372 rm -f conftest.err conftest.
$ac_ext
7374 # OK, works on sane cases. Now check whether nonexistent headers
7375 # can be detected and how.
7376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7378 #include <ac_nonexistent.h>
7380 if ac_fn_c_try_cpp
"$LINENO"; then :
7381 # Broken: success on invalid input.
7384 # Passes both tests.
7388 rm -f conftest.err conftest.
$ac_ext
7391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7392 rm -f conftest.err conftest.
$ac_ext
7393 if $ac_preproc_ok; then :
7396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7398 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7399 See \`config.log' for more details." "$LINENO" 5; }
7403 ac_cpp
='$CPP $CPPFLAGS'
7404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7410 $as_echo_n "checking for ANSI C header files... " >&6; }
7411 if test "${ac_cv_header_stdc+set}" = set; then :
7412 $as_echo_n "(cached) " >&6
7414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7429 if ac_fn_c_try_compile
"$LINENO"; then :
7430 ac_cv_header_stdc
=yes
7432 ac_cv_header_stdc
=no
7434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7436 if test $ac_cv_header_stdc = yes; then
7437 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7444 $EGREP "memchr" >/dev
/null
2>&1; then :
7447 ac_cv_header_stdc
=no
7453 if test $ac_cv_header_stdc = yes; then
7454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h. */
7460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7461 $EGREP "free" >/dev
/null
2>&1; then :
7464 ac_cv_header_stdc
=no
7470 if test $ac_cv_header_stdc = yes; then
7471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7472 if test "$cross_compiling" = yes; then :
7475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7479 #if ((' ' & 0x0FF) == 0x020)
7480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7483 # define ISLOWER(c) \
7484 (('a' <= (c) && (c) <= 'i') \
7485 || ('j' <= (c) && (c) <= 'r') \
7486 || ('s' <= (c) && (c) <= 'z'))
7487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7495 for (i = 0; i < 256; i++)
7496 if (XOR (islower (i), ISLOWER (i))
7497 || toupper (i) != TOUPPER (i))
7502 if ac_fn_c_try_run
"$LINENO"; then :
7505 ac_cv_header_stdc
=no
7507 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7508 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7514 $as_echo "$ac_cv_header_stdc" >&6; }
7515 if test $ac_cv_header_stdc = yes; then
7517 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7521 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7522 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7523 inttypes.h stdint.h unistd.h
7525 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7528 eval as_val
=\$
$as_ac_Header
7529 if test "x$as_val" = x
""yes; then :
7530 cat >>confdefs.h
<<_ACEOF
7531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7539 for ac_header
in dlfcn.h
7541 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7543 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7544 cat >>confdefs.h
<<_ACEOF
7545 #define HAVE_DLFCN_H 1
7552 if test -n "$ac_tool_prefix"; then
7553 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7554 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556 $as_echo_n "checking for $ac_word... " >&6; }
7557 if test "${ac_cv_prog_GOC+set}" = set; then :
7558 $as_echo_n "(cached) " >&6
7560 if test -n "$GOC"; then
7561 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir
=.
7568 for ac_exec_ext
in '' $ac_executable_extensions; do
7569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 if test -n "$GOC"; then
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7583 $as_echo "$GOC" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586 $as_echo "no" >&6; }
7591 if test -z "$ac_cv_prog_GOC"; then
7593 # Extract the first word of "gccgo", so it can be a program name with args.
7594 set dummy gccgo
; ac_word
=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596 $as_echo_n "checking for $ac_word... " >&6; }
7597 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7600 if test -n "$ac_ct_GOC"; then
7601 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir
=.
7608 for ac_exec_ext
in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_ac_ct_GOC
="gccgo"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7621 if test -n "$ac_ct_GOC"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7623 $as_echo "$ac_ct_GOC" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7629 if test "x$ac_ct_GOC" = x
; then
7632 case $cross_compiling:$ac_tool_warned in
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7636 ac_tool_warned
=yes ;;
7641 GOC
="$ac_cv_prog_GOC"
7657 # Check whether --enable-shared was given.
7658 if test "${enable_shared+set}" = set; then :
7659 enableval
=$enable_shared; p
=${PACKAGE-default}
7661 yes) enable_shared
=yes ;;
7662 no
) enable_shared
=no
;;
7665 # Look at the argument we got. We use all the common list separators.
7666 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7667 for pkg
in $enableval; do
7669 if test "X$pkg" = "X$p"; then
7688 # Check whether --enable-static was given.
7689 if test "${enable_static+set}" = set; then :
7690 enableval
=$enable_static; p
=${PACKAGE-default}
7692 yes) enable_static
=yes ;;
7693 no
) enable_static
=no
;;
7696 # Look at the argument we got. We use all the common list separators.
7697 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7698 for pkg
in $enableval; do
7700 if test "X$pkg" = "X$p"; then
7720 # Check whether --with-pic was given.
7721 if test "${with_pic+set}" = set; then :
7722 withval
=$with_pic; pic_mode
="$withval"
7728 test -z "$pic_mode" && pic_mode
=default
7736 # Check whether --enable-fast-install was given.
7737 if test "${enable_fast_install+set}" = set; then :
7738 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7740 yes) enable_fast_install
=yes ;;
7741 no
) enable_fast_install
=no
;;
7743 enable_fast_install
=no
7744 # Look at the argument we got. We use all the common list separators.
7745 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7746 for pkg
in $enableval; do
7748 if test "X$pkg" = "X$p"; then
7749 enable_fast_install
=yes
7756 enable_fast_install
=yes
7769 # This can be used to rebuild libtool when needed
7770 LIBTOOL_DEPS
="$ltmain"
7772 # Always use our own libtool.
7773 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7800 test -z "$LN_S" && LN_S
="ln -s"
7815 if test -n "${ZSH_VERSION+set}" ; then
7816 setopt NO_GLOB_SUBST
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7820 $as_echo_n "checking for objdir... " >&6; }
7821 if test "${lt_cv_objdir+set}" = set; then :
7822 $as_echo_n "(cached) " >&6
7824 rm -f .libs
2>/dev
/null
7825 mkdir .libs
2>/dev
/null
7826 if test -d .libs
; then
7829 # MS-DOS does not allow filenames that begin with a dot.
7832 rmdir .libs
2>/dev
/null
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7835 $as_echo "$lt_cv_objdir" >&6; }
7836 objdir
=$lt_cv_objdir
7842 cat >>confdefs.h
<<_ACEOF
7843 #define LT_OBJDIR "$lt_cv_objdir/"
7851 # AIX sometimes has problems with the GCC collect2 program. For some
7852 # reason, if we set the COLLECT_NAMES environment variable, the problems
7853 # vanish in a puff of smoke.
7854 if test "X${COLLECT_NAMES+set}" != Xset
; then
7856 export COLLECT_NAMES
7863 can_build_shared
=yes
7865 # All known linkers require a `.a' archive for static linking (except MSVC,
7866 # which needs '.lib').
7869 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7872 old_CFLAGS
="$CFLAGS"
7874 # Set sane defaults for various variables
7875 test -z "$CC" && CC
=cc
7876 test -z "$LTCC" && LTCC
=$CC
7877 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7878 test -z "$LD" && LD
=ld
7879 test -z "$ac_objext" && ac_objext
=o
7881 for cc_temp
in $compiler""; do
7883 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7884 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7889 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7892 # Only perform the check for file, if the check method requires it
7893 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7894 case $deplibs_check_method in
7896 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7898 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7899 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7900 $as_echo_n "(cached) " >&6
7904 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7907 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7908 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7909 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7910 for ac_dir
in $ac_dummy; do
7912 test -z "$ac_dir" && ac_dir
=.
7913 if test -f $ac_dir/${ac_tool_prefix}file; then
7914 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7915 if test -n "$file_magic_test_file"; then
7916 case $deplibs_check_method in
7918 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7919 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7920 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7921 $EGREP "$file_magic_regex" > /dev
/null
; then
7926 *** Warning: the command libtool uses to detect shared libraries,
7927 *** $file_magic_cmd, produces output that libtool cannot recognize.
7928 *** The result is that libtool may fail to recognize shared libraries
7929 *** as such. This will affect the creation of libtool libraries that
7930 *** depend on shared libraries, but programs linked with such libtool
7931 *** libraries will work regardless of this problem. Nevertheless, you
7932 *** may want to report the problem to your system manager and/or to
7933 *** bug-libtool@gnu.org
7943 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7948 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7949 if test -n "$MAGIC_CMD"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7951 $as_echo "$MAGIC_CMD" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7961 if test -z "$lt_cv_path_MAGIC_CMD"; then
7962 if test -n "$ac_tool_prefix"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7964 $as_echo_n "checking for file... " >&6; }
7965 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7970 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7973 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7974 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7975 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7976 for ac_dir
in $ac_dummy; do
7978 test -z "$ac_dir" && ac_dir
=.
7979 if test -f $ac_dir/file; then
7980 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7981 if test -n "$file_magic_test_file"; then
7982 case $deplibs_check_method in
7984 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7985 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7986 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7987 $EGREP "$file_magic_regex" > /dev
/null
; then
7992 *** Warning: the command libtool uses to detect shared libraries,
7993 *** $file_magic_cmd, produces output that libtool cannot recognize.
7994 *** The result is that libtool may fail to recognize shared libraries
7995 *** as such. This will affect the creation of libtool libraries that
7996 *** depend on shared libraries, but programs linked with such libtool
7997 *** libraries will work regardless of this problem. Nevertheless, you
7998 *** may want to report the problem to your system manager and/or to
7999 *** bug-libtool@gnu.org
8009 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8014 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8015 if test -n "$MAGIC_CMD"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8017 $as_echo "$MAGIC_CMD" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8033 # Use C for the default configuration in the libtool script
8037 ac_cpp
='$CPP $CPPFLAGS'
8038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8043 # Source file extension for C test sources.
8046 # Object file extension for compiled C test sources.
8050 # Code to be used in simple compile tests
8051 lt_simple_compile_test_code
="int some_variable = 0;"
8053 # Code to be used in simple link tests
8054 lt_simple_link_test_code
='int main(){return(0);}'
8062 # If no C compiler was specified, use CC.
8065 # If no C compiler flags were specified, use CFLAGS.
8066 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8068 # Allow CC to be a program name with arguments.
8071 # Save the default compiler, since it gets overwritten when the other
8072 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8073 compiler_DEFAULT
=$CC
8075 # save warnings/boilerplate of simple test code
8076 ac_outfile
=conftest.
$ac_objext
8077 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8078 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8079 _lt_compiler_boilerplate
=`cat conftest.err`
8082 ac_outfile
=conftest.
$ac_objext
8083 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8084 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8085 _lt_linker_boilerplate
=`cat conftest.err`
8090 ## There is no encapsulation within the following macros, do not change
8091 ## the running order or otherwise move them around unless you know exactly
8092 ## what you are doing...
8093 if test -n "$compiler"; then
8095 lt_prog_compiler_no_builtin_flag
=
8097 if test "$GCC" = yes; then
8098 case $cc_basename in
8100 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8102 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8106 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8107 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8108 $as_echo_n "(cached) " >&6
8110 lt_cv_prog_compiler_rtti_exceptions
=no
8111 ac_outfile
=conftest.
$ac_objext
8112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8113 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8114 # Insert the option either (1) after the last *FLAGS variable, or
8115 # (2) before a word containing "conftest.", or (3) at the end.
8116 # Note that $ac_compile itself does not contain backslashes and begins
8117 # with a dollar sign (not a hyphen), so the echo should work correctly.
8118 # The option is referenced via a variable to avoid confusing sed.
8119 lt_compile
=`echo "$ac_compile" | $SED \
8120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8122 -e 's:$: $lt_compiler_flag:'`
8123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8124 (eval "$lt_compile" 2>conftest.err
)
8126 cat conftest.err
>&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 if (exit $ac_status) && test -s "$ac_outfile"; then
8129 # The compiler can only warn and ignore the option if not recognized
8130 # So say no if there are warnings other than the usual output.
8131 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8132 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8133 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8134 lt_cv_prog_compiler_rtti_exceptions
=yes
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8141 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8143 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8144 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8156 lt_prog_compiler_wl
=
8157 lt_prog_compiler_pic
=
8158 lt_prog_compiler_static
=
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8161 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8163 if test "$GCC" = yes; then
8164 lt_prog_compiler_wl
='-Wl,'
8165 lt_prog_compiler_static
='-static'
8169 # All AIX code is PIC.
8170 if test "$host_cpu" = ia64
; then
8171 # AIX 5 now supports IA64 processor
8172 lt_prog_compiler_static
='-Bstatic'
8174 lt_prog_compiler_pic
='-fPIC'
8180 # see comment about AmigaOS4 .so support
8181 lt_prog_compiler_pic
='-fPIC'
8184 # FIXME: we need at least 68020 code to build shared libraries, but
8185 # adding the `-m68020' flag to GCC prevents building anything better,
8187 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8192 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8193 # PIC is the default for these OSes.
8196 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8197 # This hack is so that the source file can tell whether it is being
8198 # built for inclusion in a dll (and should export symbols for example).
8199 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8200 # (--disable-auto-import) libraries
8201 lt_prog_compiler_pic
='-DDLL_EXPORT'
8204 darwin
* | rhapsody
*)
8205 # PIC is the default on this platform
8206 # Common symbols not allowed in MH_DYLIB files
8207 lt_prog_compiler_pic
='-fno-common'
8211 # PIC is the default for Haiku.
8212 # The "-static" flag exists, but is broken.
8213 lt_prog_compiler_static
=
8217 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8218 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8219 # sets the default TLS model and affects inlining.
8225 lt_prog_compiler_pic
='-fPIC'
8231 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8232 # Instead, we relocate shared libraries at runtime.
8236 # Just because we use GCC doesn't mean we suddenly get shared libraries
8237 # on systems that don't support them.
8238 lt_prog_compiler_can_build_shared
=no
8243 # QNX uses GNU C++, but need to define -shared option too, otherwise
8245 lt_prog_compiler_pic
='-fPIC -shared'
8249 if test -d /usr
/nec
; then
8250 lt_prog_compiler_pic
=-Kconform_pic
8255 lt_prog_compiler_pic
='-fPIC'
8259 case $cc_basename in
8260 nvcc
*) # Cuda Compiler Driver 2.2
8261 lt_prog_compiler_wl
='-Xlinker '
8262 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8266 # PORTME Check for flag to pass linker flags through the system compiler.
8269 lt_prog_compiler_wl
='-Wl,'
8270 if test "$host_cpu" = ia64
; then
8271 # AIX 5 now supports IA64 processor
8272 lt_prog_compiler_static
='-Bstatic'
8274 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8278 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8279 # This hack is so that the source file can tell whether it is being
8280 # built for inclusion in a dll (and should export symbols for example).
8281 lt_prog_compiler_pic
='-DDLL_EXPORT'
8284 hpux9
* | hpux10
* | hpux11
*)
8285 lt_prog_compiler_wl
='-Wl,'
8286 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8293 lt_prog_compiler_pic
='+Z'
8296 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8297 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8300 irix5
* | irix6
* | nonstopux
*)
8301 lt_prog_compiler_wl
='-Wl,'
8302 # PIC (with -KPIC) is the default.
8303 lt_prog_compiler_static
='-non_shared'
8306 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8307 case $cc_basename in
8308 # old Intel for x86_64 which still supported -KPIC.
8310 lt_prog_compiler_wl
='-Wl,'
8311 lt_prog_compiler_pic
='-KPIC'
8312 lt_prog_compiler_static
='-static'
8314 # icc used to be incompatible with GCC.
8315 # ICC 10 doesn't accept -KPIC any more.
8317 lt_prog_compiler_wl
='-Wl,'
8318 lt_prog_compiler_pic
='-fPIC'
8319 lt_prog_compiler_static
='-static'
8321 # Lahey Fortran 8.1.
8323 lt_prog_compiler_wl
='-Wl,'
8324 lt_prog_compiler_pic
='--shared'
8325 lt_prog_compiler_static
='--static'
8327 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8328 # Portland Group compilers (*not* the Pentium gcc compiler,
8329 # which looks to be a dead project)
8330 lt_prog_compiler_wl
='-Wl,'
8331 lt_prog_compiler_pic
='-fpic'
8332 lt_prog_compiler_static
='-Bstatic'
8335 lt_prog_compiler_wl
='-Wl,'
8336 # All Alpha code is PIC.
8337 lt_prog_compiler_static
='-non_shared'
8339 xl
* | bgxl
* | bgf
* | mpixl
*)
8340 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8341 lt_prog_compiler_wl
='-Wl,'
8342 lt_prog_compiler_pic
='-qpic'
8343 lt_prog_compiler_static
='-qstaticlink'
8346 case `$CC -V 2>&1 | sed 5q` in
8347 *Sun\ F
* |
*Sun
*Fortran
*)
8348 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8349 lt_prog_compiler_pic
='-KPIC'
8350 lt_prog_compiler_static
='-Bstatic'
8351 lt_prog_compiler_wl
=''
8355 lt_prog_compiler_pic
='-KPIC'
8356 lt_prog_compiler_static
='-Bstatic'
8357 lt_prog_compiler_wl
='-Wl,'
8365 lt_prog_compiler_pic
='-KPIC'
8366 lt_prog_compiler_static
='-Bstatic'
8370 # QNX uses GNU C++, but need to define -shared option too, otherwise
8372 lt_prog_compiler_pic
='-fPIC -shared'
8375 osf3
* | osf4
* | osf5
*)
8376 lt_prog_compiler_wl
='-Wl,'
8377 # All OSF/1 code is PIC.
8378 lt_prog_compiler_static
='-non_shared'
8382 lt_prog_compiler_static
='-non_shared'
8386 lt_prog_compiler_pic
='-KPIC'
8387 lt_prog_compiler_static
='-Bstatic'
8388 case $cc_basename in
8390 lt_prog_compiler_wl
='-Qoption ld ';;
8392 lt_prog_compiler_wl
='-Wl,';;
8397 lt_prog_compiler_wl
='-Qoption ld '
8398 lt_prog_compiler_pic
='-PIC'
8399 lt_prog_compiler_static
='-Bstatic'
8402 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8403 lt_prog_compiler_wl
='-Wl,'
8404 lt_prog_compiler_pic
='-KPIC'
8405 lt_prog_compiler_static
='-Bstatic'
8409 if test -d /usr
/nec
;then
8410 lt_prog_compiler_pic
='-Kconform_pic'
8411 lt_prog_compiler_static
='-Bstatic'
8415 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8416 lt_prog_compiler_wl
='-Wl,'
8417 lt_prog_compiler_pic
='-KPIC'
8418 lt_prog_compiler_static
='-Bstatic'
8422 lt_prog_compiler_wl
='-Wl,'
8423 lt_prog_compiler_can_build_shared
=no
8427 lt_prog_compiler_pic
='-pic'
8428 lt_prog_compiler_static
='-Bstatic'
8432 lt_prog_compiler_can_build_shared
=no
8438 # For platforms which do not support PIC, -DPIC is meaningless:
8440 lt_prog_compiler_pic
=
8443 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8447 $as_echo "$lt_prog_compiler_pic" >&6; }
8455 # Check to make sure the PIC flag actually works.
8457 if test -n "$lt_prog_compiler_pic"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8459 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8460 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8461 $as_echo_n "(cached) " >&6
8463 lt_cv_prog_compiler_pic_works
=no
8464 ac_outfile
=conftest.
$ac_objext
8465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8466 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8467 # Insert the option either (1) after the last *FLAGS variable, or
8468 # (2) before a word containing "conftest.", or (3) at the end.
8469 # Note that $ac_compile itself does not contain backslashes and begins
8470 # with a dollar sign (not a hyphen), so the echo should work correctly.
8471 # The option is referenced via a variable to avoid confusing sed.
8472 lt_compile
=`echo "$ac_compile" | $SED \
8473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8475 -e 's:$: $lt_compiler_flag:'`
8476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8477 (eval "$lt_compile" 2>conftest.err
)
8479 cat conftest.err
>&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 if (exit $ac_status) && test -s "$ac_outfile"; then
8482 # The compiler can only warn and ignore the option if not recognized
8483 # So say no if there are warnings other than the usual output.
8484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8487 lt_cv_prog_compiler_pic_works
=yes
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8494 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8496 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8497 case $lt_prog_compiler_pic in
8499 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8502 lt_prog_compiler_pic
=
8503 lt_prog_compiler_can_build_shared
=no
8514 # Check to make sure the static flag actually works.
8516 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8518 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8519 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8520 $as_echo_n "(cached) " >&6
8522 lt_cv_prog_compiler_static_works
=no
8523 save_LDFLAGS
="$LDFLAGS"
8524 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8525 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8526 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8527 # The linker can only warn and ignore the option if not recognized
8528 # So say no if there are warnings
8529 if test -s conftest.err
; then
8530 # Append any errors to the config.log.
8531 cat conftest.err
1>&5
8532 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8533 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8534 if diff conftest.exp conftest.er2
>/dev
/null
; then
8535 lt_cv_prog_compiler_static_works
=yes
8538 lt_cv_prog_compiler_static_works
=yes
8542 LDFLAGS
="$save_LDFLAGS"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8546 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8548 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8551 lt_prog_compiler_static
=
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8561 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8562 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8563 $as_echo_n "(cached) " >&6
8565 lt_cv_prog_compiler_c_o
=no
8566 $RM -r conftest
2>/dev
/null
8570 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8572 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8573 # Insert the option either (1) after the last *FLAGS variable, or
8574 # (2) before a word containing "conftest.", or (3) at the end.
8575 # Note that $ac_compile itself does not contain backslashes and begins
8576 # with a dollar sign (not a hyphen), so the echo should work correctly.
8577 lt_compile
=`echo "$ac_compile" | $SED \
8578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8580 -e 's:$: $lt_compiler_flag:'`
8581 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8582 (eval "$lt_compile" 2>out
/conftest.err
)
8584 cat out
/conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8588 # The compiler can only warn and ignore the option if not recognized
8589 # So say no if there are warnings
8590 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8591 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8592 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8593 lt_cv_prog_compiler_c_o
=yes
8598 # SGI C++ compiler will create directory out/ii_files/ for
8599 # template instantiation
8600 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8601 $RM out
/* && rmdir out
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8608 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8616 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8617 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8618 $as_echo_n "(cached) " >&6
8620 lt_cv_prog_compiler_c_o
=no
8621 $RM -r conftest
2>/dev
/null
8625 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8627 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8628 # Insert the option either (1) after the last *FLAGS variable, or
8629 # (2) before a word containing "conftest.", or (3) at the end.
8630 # Note that $ac_compile itself does not contain backslashes and begins
8631 # with a dollar sign (not a hyphen), so the echo should work correctly.
8632 lt_compile
=`echo "$ac_compile" | $SED \
8633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8635 -e 's:$: $lt_compiler_flag:'`
8636 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8637 (eval "$lt_compile" 2>out
/conftest.err
)
8639 cat out
/conftest.err
>&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8643 # The compiler can only warn and ignore the option if not recognized
8644 # So say no if there are warnings
8645 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8646 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8647 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8648 lt_cv_prog_compiler_c_o
=yes
8653 # SGI C++ compiler will create directory out/ii_files/ for
8654 # template instantiation
8655 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8656 $RM out
/* && rmdir out
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8663 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8668 hard_links
="nottested"
8669 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8670 # do not overwrite the value of need_locks provided by the user
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8672 $as_echo_n "checking if we can lock with hard links... " >&6; }
8675 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8677 ln conftest.a conftest.b
2>&5 || hard_links
=no
8678 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8680 $as_echo "$hard_links" >&6; }
8681 if test "$hard_links" = no
; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8683 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8696 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8699 allow_undefined_flag
=
8700 always_export_symbols
=no
8702 archive_expsym_cmds
=
8703 compiler_needs_object
=no
8704 enable_shared_with_static_runtimes
=no
8705 export_dynamic_flag_spec
=
8706 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8707 hardcode_automatic
=no
8709 hardcode_direct_absolute
=no
8710 hardcode_libdir_flag_spec
=
8711 hardcode_libdir_flag_spec_ld
=
8712 hardcode_libdir_separator
=
8714 hardcode_shlibpath_var
=unsupported
8716 link_all_deplibs
=unknown
8719 old_archive_from_new_cmds
=
8720 old_archive_from_expsyms_cmds
=
8721 thread_safe_flag_spec
=
8722 whole_archive_flag_spec
=
8723 # include_expsyms should be a list of space-separated symbols to be *always*
8724 # included in the symbol list
8726 # exclude_expsyms can be an extended regexp of symbols to exclude
8727 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8728 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8729 # as well as any symbol that contains `d'.
8730 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8731 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8732 # platforms (ab)use it in PIC code, but their linkers get confused if
8733 # the symbol is explicitly referenced. Since portable code cannot
8734 # rely on this symbol name, it's probably fine to never include it in
8735 # preloaded symbol tables.
8736 # Exclude shared library initialization/finalization symbols.
8737 extract_expsyms_cmds
=
8740 cygwin
* | mingw
* | pw32
* | cegcc
*)
8741 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8742 # When not using gcc, we currently assume that we are using
8743 # Microsoft Visual C++.
8744 if test "$GCC" != yes; then
8749 # we just hope/assume this is gcc and not c89 (= MSVC++)
8759 # On some targets, GNU ld is compatible enough with the native linker
8760 # that we're better off using the native interface for both.
8761 lt_use_gnu_ld_interface
=no
8762 if test "$with_gnu_ld" = yes; then
8765 # The AIX port of GNU ld has always aspired to compatibility
8766 # with the native linker. However, as the warning in the GNU ld
8767 # block says, versions before 2.19.5* couldn't really create working
8768 # shared libraries, regardless of the interface used.
8769 case `$LD -v 2>&1` in
8770 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8771 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8772 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8774 lt_use_gnu_ld_interface
=yes
8779 lt_use_gnu_ld_interface
=yes
8784 if test "$lt_use_gnu_ld_interface" = yes; then
8785 # If archive_cmds runs LD, not CC, wlarc should be empty
8788 # Set some defaults for GNU ld with shared library support. These
8789 # are reset later if shared libraries are not supported. Putting them
8790 # here allows them to be overridden if necessary.
8791 runpath_var
=LD_RUN_PATH
8792 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8793 export_dynamic_flag_spec
='${wl}--export-dynamic'
8794 # ancient GNU ld didn't support --whole-archive et. al.
8795 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8796 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8798 whole_archive_flag_spec
=
8800 supports_anon_versioning
=no
8801 case `$LD -v 2>&1` in
8802 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8803 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8804 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8805 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8806 *\
2.11.
*) ;; # other 2.11 versions
8807 *) supports_anon_versioning
=yes ;;
8810 # See if GNU ld supports shared libraries.
8813 # On AIX/PPC, the GNU linker is very broken
8814 if test "$host_cpu" != ia64
; then
8818 *** Warning: the GNU linker, at least up to release 2.19, is reported
8819 *** to be unable to reliably create shared libraries on AIX.
8820 *** Therefore, libtool is disabling shared libraries support. If you
8821 *** really care for shared libraries, you may want to install binutils
8822 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8823 *** You will then need to restart the configuration process.
8832 # see comment about AmigaOS4 .so support
8833 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8834 archive_expsym_cmds
=''
8837 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)'
8838 hardcode_libdir_flag_spec
='-L$libdir'
8839 hardcode_minus_L
=yes
8845 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8846 allow_undefined_flag
=unsupported
8847 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8848 # support --undefined. This deserves some investigation. FIXME
8849 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855 cygwin
* | mingw
* | pw32
* | cegcc
*)
8856 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8857 # as there is no search path for DLLs.
8858 hardcode_libdir_flag_spec
='-L$libdir'
8859 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8860 allow_undefined_flag
=unsupported
8861 always_export_symbols
=no
8862 enable_shared_with_static_runtimes
=yes
8863 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8865 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8866 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8867 # If the export-symbols file already is a .def file (1st line
8868 # is EXPORTS), use it as is; otherwise, prepend...
8869 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8870 cp $export_symbols $output_objdir/$soname.def;
8872 echo EXPORTS > $output_objdir/$soname.def;
8873 cat $export_symbols >> $output_objdir/$soname.def;
8875 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8882 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 link_all_deplibs
=yes
8888 hardcode_shlibpath_var
=no
8889 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8890 export_dynamic_flag_spec
='${wl}-E'
8891 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8892 # Instead, shared libraries are loaded at an image base (0x10000000 by
8893 # default) and relocated if they conflict, which is a slow very memory
8894 # consuming and fragmenting process. To avoid this, we pick a random,
8895 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8896 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8897 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8898 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'
8901 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8903 if test "$host_os" = linux-dietlibc
; then
8904 case $cc_basename in
8905 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8908 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8909 && test "$tmp_diet" = no
8912 tmp_sharedflag
='-shared'
8913 case $cc_basename,$host_cpu in
8914 pgcc
*) # Portland Group C compiler
8915 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'
8916 tmp_addflag
=' $pic_flag'
8918 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8919 # Portland Group f77 and f90 compilers
8920 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'
8921 tmp_addflag
=' $pic_flag -Mnomain' ;;
8922 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8923 tmp_addflag
=' -i_dynamic' ;;
8924 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8925 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8926 ifc
* | ifort
*) # Intel Fortran compiler
8927 tmp_addflag
=' -nofor_main' ;;
8928 lf95
*) # Lahey Fortran 8.1
8929 whole_archive_flag_spec
=
8930 tmp_sharedflag
='--shared' ;;
8931 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8932 tmp_sharedflag
='-qmkshrobj'
8934 nvcc
*) # Cuda Compiler Driver 2.2
8935 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'
8936 compiler_needs_object
=yes
8939 case `$CC -V 2>&1 | sed 5q` in
8940 *Sun\ C
*) # Sun C 5.9
8941 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'
8942 compiler_needs_object
=yes
8943 tmp_sharedflag
='-G' ;;
8944 *Sun\ F
*) # Sun Fortran 8.3
8945 tmp_sharedflag
='-G' ;;
8947 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949 if test "x$supports_anon_versioning" = xyes
; then
8950 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8951 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8952 echo "local: *; };" >> $output_objdir/$libname.ver~
8953 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8956 case $cc_basename in
8957 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8958 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8959 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8960 hardcode_libdir_flag_spec
=
8961 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8962 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8963 if test "x$supports_anon_versioning" = xyes
; then
8964 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8965 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8966 echo "local: *; };" >> $output_objdir/$libname.ver~
8967 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8977 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8978 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8987 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8991 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8992 *** create shared libraries on Solaris systems. Therefore, libtool
8993 *** is disabling shared libraries support. We urge you to upgrade GNU
8994 *** binutils to release 2.9.1 or newer. Another option is to modify
8995 *** your PATH or compiler configuration so that the native linker is
8996 *** used, and then restart.
8999 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9000 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9007 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9008 case `$LD -v 2>&1` in
9009 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9013 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9014 *** reliably create shared libraries on SCO systems. Therefore, libtool
9015 *** is disabling shared libraries support. We urge you to upgrade GNU
9016 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9017 *** your PATH or compiler configuration so that the native linker is
9018 *** used, and then restart.
9023 # For security reasons, it is highly recommended that you always
9024 # use absolute paths for naming shared libraries, and exclude the
9025 # DT_RUNPATH tag from executables and libraries. But doing so
9026 # requires that you compile everything twice, which is a pain.
9027 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9028 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9029 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9039 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_shlibpath_var
=no
9046 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9055 if test "$ld_shlibs" = no
; then
9057 hardcode_libdir_flag_spec
=
9058 export_dynamic_flag_spec
=
9059 whole_archive_flag_spec
=
9062 # PORTME fill in a description of your system's linker (not GNU ld)
9065 allow_undefined_flag
=unsupported
9066 always_export_symbols
=yes
9067 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'
9068 # Note: this linker hardcodes the directories in LIBPATH if there
9069 # are no directories specified by -L.
9070 hardcode_minus_L
=yes
9071 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9072 # Neither direct hardcoding nor static linking is supported with a
9074 hardcode_direct
=unsupported
9079 if test "$host_cpu" = ia64
; then
9080 # On IA64, the linker does run time linking by default, so we don't
9081 # have to do anything special.
9082 aix_use_runtimelinking
=no
9083 exp_sym_flag
='-Bexport'
9086 # If we're using GNU nm, then we don't want the "-C" option.
9087 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9088 # Also, AIX nm treats weak defined symbols like other global
9089 # defined symbols, whereas GNU nm marks them as "W".
9090 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9091 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'
9093 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'
9095 aix_use_runtimelinking
=no
9097 # Test if we are trying to use run time linking or normal
9098 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9099 # need to do runtime linking.
9100 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9101 for ld_flag
in $LDFLAGS; do
9102 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9103 aix_use_runtimelinking
=yes
9110 exp_sym_flag
='-bexport'
9111 no_entry_flag
='-bnoentry'
9114 # When large executables or shared objects are built, AIX ld can
9115 # have problems creating the table of contents. If linking a library
9116 # or program results in "error TOC overflow" add -mminimal-toc to
9117 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9118 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9122 hardcode_direct_absolute
=yes
9123 hardcode_libdir_separator
=':'
9124 link_all_deplibs
=yes
9125 file_list_spec
='${wl}-f,'
9127 if test "$GCC" = yes; then
9128 case $host_os in aix4.
[012]|aix4.
[012].
*)
9129 # We only want to do this on AIX 4.2 and lower, the check
9130 # below for broken collect2 doesn't work under 4.3+
9131 collect2name
=`${CC} -print-prog-name=collect2`
9132 if test -f "$collect2name" &&
9133 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9135 # We have reworked collect2
9138 # We have old collect2
9139 hardcode_direct
=unsupported
9140 # It fails to find uninstalled libraries when the uninstalled
9141 # path is not listed in the libpath. Setting hardcode_minus_L
9142 # to unsupported forces relinking
9143 hardcode_minus_L
=yes
9144 hardcode_libdir_flag_spec
='-L$libdir'
9145 hardcode_libdir_separator
=
9149 shared_flag
='-shared'
9150 if test "$aix_use_runtimelinking" = yes; then
9151 shared_flag
="$shared_flag "'${wl}-G'
9155 if test "$host_cpu" = ia64
; then
9156 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9157 # chokes on -Wl,-G. The following line is correct:
9160 if test "$aix_use_runtimelinking" = yes; then
9161 shared_flag
='${wl}-G'
9163 shared_flag
='${wl}-bM:SRE'
9168 export_dynamic_flag_spec
='${wl}-bexpall'
9169 # It seems that -bexpall does not export symbols beginning with
9170 # underscore (_), so it is better to generate a list of symbols to export.
9171 always_export_symbols
=yes
9172 if test "$aix_use_runtimelinking" = yes; then
9173 # Warning - without using the other runtime loading flags (-brtl),
9174 # -berok will link without error, but may produce a broken library.
9175 allow_undefined_flag
='-berok'
9176 # Determine the default libpath from the value encoded in an
9178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9189 if ac_fn_c_try_link
"$LINENO"; then :
9191 lt_aix_libpath_sed
='
9192 /Import File Strings/,/^$/ {
9198 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9199 # Check for a 64-bit object if we didn't find anything.
9200 if test -z "$aix_libpath"; then
9201 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9204 rm -f core conftest.err conftest.
$ac_objext \
9205 conftest
$ac_exeext conftest.
$ac_ext
9206 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9208 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9209 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"
9211 if test "$host_cpu" = ia64
; then
9212 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9213 allow_undefined_flag
="-z nodefs"
9214 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"
9216 # Determine the default libpath from the value encoded in an
9218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9229 if ac_fn_c_try_link
"$LINENO"; then :
9231 lt_aix_libpath_sed
='
9232 /Import File Strings/,/^$/ {
9238 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9239 # Check for a 64-bit object if we didn't find anything.
9240 if test -z "$aix_libpath"; then
9241 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9248 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9249 # Warning - without using the other run time loading flags,
9250 # -berok will link without error, but may produce a broken library.
9251 no_undefined_flag
=' ${wl}-bernotok'
9252 allow_undefined_flag
=' ${wl}-berok'
9253 if test "$with_gnu_ld" = yes; then
9254 # We only use this code for GNU lds that support --whole-archive.
9255 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9257 # Exported symbols can be pulled into shared objects from archives
9258 whole_archive_flag_spec
='$convenience'
9260 archive_cmds_need_lc
=yes
9261 # This is similar to how AIX traditionally builds its shared libraries.
9262 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'
9270 # see comment about AmigaOS4 .so support
9271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272 archive_expsym_cmds
=''
9275 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)'
9276 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_minus_L
=yes
9283 export_dynamic_flag_spec
=-rdynamic
9286 cygwin
* | mingw
* | pw32
* | cegcc
*)
9287 # When not using gcc, we currently assume that we are using
9288 # Microsoft Visual C++.
9289 # hardcode_libdir_flag_spec is actually meaningless, as there is
9290 # no search path for DLLs.
9291 hardcode_libdir_flag_spec
=' '
9292 allow_undefined_flag
=unsupported
9293 # Tell ltmain to make .lib files, not .a files.
9295 # Tell ltmain to make .dll files, not .so files.
9297 # FIXME: Setting linknames here is a bad hack.
9298 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9299 # The linker will automatically build a .lib file if we build a DLL.
9300 old_archive_from_new_cmds
='true'
9301 # FIXME: Should let the user specify the lib program.
9302 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9303 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9304 enable_shared_with_static_runtimes
=yes
9307 darwin
* | rhapsody
*)
9310 archive_cmds_need_lc
=no
9312 hardcode_automatic
=yes
9313 hardcode_shlibpath_var
=unsupported
9314 if test "$lt_cv_ld_force_load" = "yes"; then
9315 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\"`'
9317 whole_archive_flag_spec
=''
9319 link_all_deplibs
=yes
9320 allow_undefined_flag
="$_lt_dar_allow_undefined"
9321 case $cc_basename in
9322 ifort
*) _lt_dar_can_shared
=yes ;;
9323 *) _lt_dar_can_shared
=$GCC ;;
9325 if test "$_lt_dar_can_shared" = "yes"; then
9326 output_verbose_link_cmd
=func_echo_all
9327 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9328 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9329 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}"
9330 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}"
9339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340 hardcode_libdir_flag_spec
='-L$libdir'
9341 hardcode_shlibpath_var
=no
9344 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9345 # support. Future versions do this automatically, but an explicit c++rt0.o
9346 # does not break anything, and helps significantly (at the cost of a little
9349 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9350 hardcode_libdir_flag_spec
='-R$libdir'
9352 hardcode_shlibpath_var
=no
9355 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9357 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9359 hardcode_minus_L
=yes
9360 hardcode_shlibpath_var
=no
9363 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9364 freebsd
* | dragonfly
*)
9365 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9366 hardcode_libdir_flag_spec
='-R$libdir'
9368 hardcode_shlibpath_var
=no
9372 if test "$GCC" = yes; then
9373 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'
9375 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'
9377 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9378 hardcode_libdir_separator
=:
9381 # hardcode_minus_L: Not really in the search PATH,
9382 # but as the default location of the library.
9383 hardcode_minus_L
=yes
9384 export_dynamic_flag_spec
='${wl}-E'
9388 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9389 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9393 if test "$with_gnu_ld" = no
; then
9394 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9395 hardcode_libdir_flag_spec_ld
='+b $libdir'
9396 hardcode_libdir_separator
=:
9398 hardcode_direct_absolute
=yes
9399 export_dynamic_flag_spec
='${wl}-E'
9400 # hardcode_minus_L: Not really in the search PATH,
9401 # but as the default location of the library.
9402 hardcode_minus_L
=yes
9407 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9410 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9422 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9429 # Older versions of the 11.00 compiler do not understand -b yet
9430 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9432 $as_echo_n "checking if $CC understands -b... " >&6; }
9433 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9434 $as_echo_n "(cached) " >&6
9436 lt_cv_prog_compiler__b
=no
9437 save_LDFLAGS
="$LDFLAGS"
9438 LDFLAGS
="$LDFLAGS -b"
9439 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9440 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9441 # The linker can only warn and ignore the option if not recognized
9442 # So say no if there are warnings
9443 if test -s conftest.err
; then
9444 # Append any errors to the config.log.
9445 cat conftest.err
1>&5
9446 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9447 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9448 if diff conftest.exp conftest.er2
>/dev
/null
; then
9449 lt_cv_prog_compiler__b
=yes
9452 lt_cv_prog_compiler__b
=yes
9456 LDFLAGS
="$save_LDFLAGS"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9460 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9462 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9463 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9471 if test "$with_gnu_ld" = no
; then
9472 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9473 hardcode_libdir_separator
=:
9478 hardcode_shlibpath_var
=no
9482 hardcode_direct_absolute
=yes
9483 export_dynamic_flag_spec
='${wl}-E'
9485 # hardcode_minus_L: Not really in the search PATH,
9486 # but as the default location of the library.
9487 hardcode_minus_L
=yes
9493 irix5
* | irix6
* | nonstopux
*)
9494 if test "$GCC" = yes; then
9495 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'
9496 # Try to use the -exported_symbol ld option, if it does not
9497 # work, assume that -exports_file does not work either and
9498 # implicitly export all symbols.
9499 save_LDFLAGS
="$LDFLAGS"
9500 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9505 if ac_fn_c_try_link
"$LINENO"; then :
9506 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'
9509 rm -f core conftest.err conftest.
$ac_objext \
9510 conftest
$ac_exeext conftest.
$ac_ext
9511 LDFLAGS
="$save_LDFLAGS"
9513 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'
9514 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'
9516 archive_cmds_need_lc
='no'
9517 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9518 hardcode_libdir_separator
=:
9520 link_all_deplibs
=yes
9524 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9525 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9527 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9529 hardcode_libdir_flag_spec
='-R$libdir'
9531 hardcode_shlibpath_var
=no
9535 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9537 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9538 hardcode_libdir_separator
=:
9539 hardcode_shlibpath_var
=no
9546 if test -f /usr
/libexec
/ld.so
; then
9548 hardcode_shlibpath_var
=no
9549 hardcode_direct_absolute
=yes
9550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9551 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9552 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9553 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9554 export_dynamic_flag_spec
='${wl}-E'
9557 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9558 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9559 hardcode_libdir_flag_spec
='-R$libdir'
9562 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9563 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9573 hardcode_libdir_flag_spec
='-L$libdir'
9574 hardcode_minus_L
=yes
9575 allow_undefined_flag
=unsupported
9576 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'
9577 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9581 if test "$GCC" = yes; then
9582 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9583 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'
9585 allow_undefined_flag
=' -expect_unresolved \*'
9586 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'
9588 archive_cmds_need_lc
='no'
9589 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9590 hardcode_libdir_separator
=:
9593 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9594 if test "$GCC" = yes; then
9595 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9596 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'
9597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9599 allow_undefined_flag
=' -expect_unresolved \*'
9600 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'
9601 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~
9602 $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'
9604 # Both c and cxx compiler support -rpath directly
9605 hardcode_libdir_flag_spec
='-rpath $libdir'
9607 archive_cmds_need_lc
='no'
9608 hardcode_libdir_separator
=:
9612 no_undefined_flag
=' -z defs'
9613 if test "$GCC" = yes; then
9615 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9617 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9619 case `$CC -V 2>&1` in
9622 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9623 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9624 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9628 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9630 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9634 hardcode_libdir_flag_spec
='-R$libdir'
9635 hardcode_shlibpath_var
=no
9637 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9639 # The compiler driver will combine and reorder linker options,
9640 # but understands `-z linker_flag'. GCC discards it without `$wl',
9641 # but is careful enough not to reorder.
9642 # Supported since Solaris 2.6 (maybe 2.5.1?)
9643 if test "$GCC" = yes; then
9644 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9646 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9650 link_all_deplibs
=yes
9654 if test "x$host_vendor" = xsequent
; then
9655 # Use $CC to link under sequent, because it throws in some extra .o
9656 # files that make .init and .fini sections work.
9657 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_libdir_flag_spec
='-L$libdir'
9663 hardcode_minus_L
=yes
9664 hardcode_shlibpath_var
=no
9668 case $host_vendor in
9670 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9671 hardcode_direct
=yes # is this really true???
9674 ## LD is ld it makes a PLAMLIB
9675 ## CC just makes a GrossModule.
9676 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9677 reload_cmds
='$CC -r -o $output$reload_objs'
9681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9685 runpath_var
='LD_RUN_PATH'
9686 hardcode_shlibpath_var
=no
9690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9691 hardcode_shlibpath_var
=no
9692 export_dynamic_flag_spec
='-Bexport'
9696 if test -d /usr
/nec
; then
9697 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698 hardcode_shlibpath_var
=no
9699 runpath_var
=LD_RUN_PATH
9700 hardcode_runpath_var
=yes
9705 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9706 no_undefined_flag
='${wl}-z,text'
9707 archive_cmds_need_lc
=no
9708 hardcode_shlibpath_var
=no
9709 runpath_var
='LD_RUN_PATH'
9711 if test "$GCC" = yes; then
9712 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 sysv5
* | sco3.2v5
* | sco5v6
*)
9721 # Note: We can NOT use -z defs as we might desire, because we do not
9722 # link with -lc, and that would cause any symbols used from libc to
9723 # always be unresolved, which means just about no library would
9724 # ever link correctly. If we're not using GNU ld we use -z text
9725 # though, which does catch some bad symbols but isn't as heavy-handed
9727 no_undefined_flag
='${wl}-z,text'
9728 allow_undefined_flag
='${wl}-z,nodefs'
9729 archive_cmds_need_lc
=no
9730 hardcode_shlibpath_var
=no
9731 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9732 hardcode_libdir_separator
=':'
9733 link_all_deplibs
=yes
9734 export_dynamic_flag_spec
='${wl}-Bexport'
9735 runpath_var
='LD_RUN_PATH'
9737 if test "$GCC" = yes; then
9738 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9741 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9748 hardcode_libdir_flag_spec
='-L$libdir'
9749 hardcode_shlibpath_var
=no
9757 if test x
$host_vendor = xsni
; then
9759 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9760 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9767 $as_echo "$ld_shlibs" >&6; }
9768 test "$ld_shlibs" = no
&& can_build_shared
=no
9770 with_gnu_ld
=$with_gnu_ld
9787 # Do we need to explicitly link libc?
9789 case "x$archive_cmds_need_lc" in
9791 # Assume -lc should be added
9792 archive_cmds_need_lc
=yes
9794 if test "$enable_shared" = yes && test "$GCC" = yes; then
9795 case $archive_cmds in
9797 # FIXME: we may have to deal with multi-command sequences.
9800 # Test whether the compiler implicitly links with -lc since on some
9801 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9802 # to ld, don't add -lc before -lgcc.
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9804 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9805 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9806 $as_echo_n "(cached) " >&6
9809 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9812 (eval $ac_compile) 2>&5
9814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9815 test $ac_status = 0; } 2>conftest.err
; then
9818 libobjs
=conftest.
$ac_objext
9820 wl
=$lt_prog_compiler_wl
9821 pic_flag
=$lt_prog_compiler_pic
9827 lt_save_allow_undefined_flag
=$allow_undefined_flag
9828 allow_undefined_flag
=
9829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9830 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9833 test $ac_status = 0; }
9835 lt_cv_archive_cmds_need_lc
=no
9837 lt_cv_archive_cmds_need_lc
=yes
9839 allow_undefined_flag
=$lt_save_allow_undefined_flag
9841 cat conftest.err
1>&5
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9847 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9848 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10012 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10014 if test "$GCC" = yes; then
10016 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10017 *) lt_awk_arg
="/^libraries:/" ;;
10020 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10021 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10023 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10024 case $lt_search_path_spec in
10026 # if the path contains ";" then we assume it to be the separator
10027 # otherwise default to the standard path separator (i.e. ":") - it is
10028 # assumed that no part of a normal pathname contains ";" but that should
10029 # okay in the real world where ";" in dirpaths is itself problematic.
10030 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10033 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10036 # Ok, now we have the path, separated by spaces, we can step through it
10037 # and add multilib dir if necessary.
10038 lt_tmp_lt_search_path_spec
=
10039 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10040 for lt_sys_path
in $lt_search_path_spec; do
10041 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10042 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10044 test -d "$lt_sys_path" && \
10045 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10048 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10049 BEGIN {RS=" "; FS="/|\n";} {
10052 for (lt_i = NF; lt_i > 0; lt_i--) {
10053 if ($lt_i != "" && $lt_i != ".") {
10054 if ($lt_i == "..") {
10057 if (lt_count == 0) {
10058 lt_foo="/" $lt_i lt_foo;
10065 if (lt_foo != "") { lt_freq[lt_foo]++; }
10066 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10068 # AWK program above erroneously prepends '/' to C:/dos/paths
10071 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10072 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10074 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10076 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10078 library_names_spec
=
10079 libname_spec
='lib$name'
10083 postuninstall_cmds
=
10087 shlibpath_overrides_runpath
=unknown
10089 dynamic_linker
="$host_os ld.so"
10090 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10091 need_lib_prefix
=unknown
10092 hardcode_into_libs
=no
10094 # when you set need_version to no, make sure it does not cause -set_version
10095 # flags to be left without arguments
10096 need_version
=unknown
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10102 shlibpath_var
=LIBPATH
10104 # AIX 3 has no versioning support, so we append a major version to the name.
10105 soname_spec
='${libname}${release}${shared_ext}$major'
10112 hardcode_into_libs
=yes
10113 if test "$host_cpu" = ia64
; then
10114 # AIX 5 supports IA64
10115 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10116 shlibpath_var
=LD_LIBRARY_PATH
10118 # With GCC up to 2.95.x, collect2 would create an import file
10119 # for dependence libraries. The import file would start with
10120 # the line `#! .'. This would cause the generated library to
10121 # depend on `.', always an invalid library. This was fixed in
10122 # development snapshots of GCC prior to 3.0.
10124 aix4 | aix4.
[01] | aix4.
[01].
*)
10125 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10127 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10130 can_build_shared
=no
10134 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10135 # soname into executable. Probably we can add versioning support to
10136 # collect2, so additional links can be useful in future.
10137 if test "$aix_use_runtimelinking" = yes; then
10138 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10139 # instead of lib<name>.a to let people know that these are not
10140 # typical AIX shared libraries.
10141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143 # We preserve .a as extension for shared libraries through AIX4.2
10144 # and later when we are not doing run time linking.
10145 library_names_spec
='${libname}${release}.a $libname.a'
10146 soname_spec
='${libname}${release}${shared_ext}$major'
10148 shlibpath_var
=LIBPATH
10155 # Since July 2007 AmigaOS4 officially supports .so libraries.
10156 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10160 library_names_spec
='$libname.ixlibrary $libname.a'
10161 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10162 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'
10168 library_names_spec
='${libname}${shared_ext}'
10169 dynamic_linker
="$host_os ld.so"
10170 shlibpath_var
=LIBRARY_PATH
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10177 soname_spec
='${libname}${release}${shared_ext}$major'
10178 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10179 shlibpath_var
=LD_LIBRARY_PATH
10180 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10181 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10182 # the default ld.so.conf also contains /usr/contrib/lib and
10183 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10184 # libtool to hard-code these into programs
10187 cygwin
* | mingw
* | pw32
* | cegcc
*)
10188 version_type
=windows
10193 case $GCC,$host_os in
10194 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10195 library_names_spec
='$libname.dll.a'
10196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10197 postinstall_cmds
='base_file=`basename \${file}`~
10198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10199 dldir=$destdir/`dirname \$dlpath`~
10200 test -d \$dldir || mkdir -p \$dldir~
10201 $install_prog $dir/$dlname \$dldir/$dlname~
10202 chmod a+x \$dldir/$dlname~
10203 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10204 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10206 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10207 dlpath=$dir/\$dldll~
10209 shlibpath_overrides_runpath
=yes
10213 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10214 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10219 # MinGW DLLs use traditional 'lib' prefix
10220 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10223 # pw32 DLLs use 'pw' prefix rather than 'lib'
10224 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10230 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10233 dynamic_linker
='Win32 ld.exe'
10234 # FIXME: first we should search . and the directory the executable is in
10238 darwin
* | rhapsody
*)
10239 dynamic_linker
="$host_os dyld"
10240 version_type
=darwin
10243 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10244 soname_spec
='${libname}${release}${major}$shared_ext'
10245 shlibpath_overrides_runpath
=yes
10246 shlibpath_var
=DYLD_LIBRARY_PATH
10247 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10249 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10250 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10258 soname_spec
='${libname}${release}${shared_ext}$major'
10259 shlibpath_var
=LD_LIBRARY_PATH
10262 freebsd
* | dragonfly
*)
10263 # DragonFly does not have aout. When/if they implement a new
10264 # versioning mechanism, adjust this.
10265 if test -x /usr
/bin
/objformat
; then
10266 objformat
=`/usr/bin/objformat`
10269 freebsd
[23].
*) objformat
=aout
;;
10270 *) objformat
=elf
;;
10273 version_type
=freebsd-
$objformat
10274 case $version_type in
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10281 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10285 shlibpath_var
=LD_LIBRARY_PATH
10288 shlibpath_overrides_runpath
=yes
10290 freebsd3.
[01]* | freebsdelf3.
[01]*)
10291 shlibpath_overrides_runpath
=yes
10292 hardcode_into_libs
=yes
10294 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10295 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10296 shlibpath_overrides_runpath
=no
10297 hardcode_into_libs
=yes
10299 *) # from 4.6 on, and DragonFly
10300 shlibpath_overrides_runpath
=yes
10301 hardcode_into_libs
=yes
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10311 soname_spec
='${libname}${release}${shared_ext}$major'
10312 shlibpath_var
=LD_LIBRARY_PATH
10313 hardcode_into_libs
=yes
10320 dynamic_linker
="$host_os runtime_loader"
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 shlibpath_var
=LIBRARY_PATH
10324 shlibpath_overrides_runpath
=yes
10325 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10326 hardcode_into_libs
=yes
10329 hpux9
* | hpux10
* | hpux11
*)
10330 # Give a soname corresponding to the major version so that dld.sl refuses to
10331 # link against other versions.
10338 hardcode_into_libs
=yes
10339 dynamic_linker
="$host_os dld.so"
10340 shlibpath_var
=LD_LIBRARY_PATH
10341 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 if test "X$HPUX_IA64_MODE" = X32
; then
10345 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10347 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10349 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10353 hardcode_into_libs
=yes
10354 dynamic_linker
="$host_os dld.sl"
10355 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10356 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10358 soname_spec
='${libname}${release}${shared_ext}$major'
10359 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10360 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10364 dynamic_linker
="$host_os dld.sl"
10365 shlibpath_var
=SHLIB_PATH
10366 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368 soname_spec
='${libname}${release}${shared_ext}$major'
10371 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10372 postinstall_cmds
='chmod 555 $lib'
10373 # or fails outright, so override atomically:
10374 install_override_mode
=555
10381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10382 soname_spec
='${libname}${release}${shared_ext}$major'
10383 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10384 shlibpath_var
=LD_LIBRARY_PATH
10385 shlibpath_overrides_runpath
=no
10386 hardcode_into_libs
=yes
10389 irix5
* | irix6
* | nonstopux
*)
10391 nonstopux
*) version_type
=nonstopux
;;
10393 if test "$lt_cv_prog_gnu_ld" = yes; then
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10404 irix5
* | nonstopux
*)
10405 libsuff
= shlibsuff
=
10408 case $LD in # libtool.m4 will add one of these switches to LD
10409 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10410 libsuff
= shlibsuff
= libmagic
=32-bit;;
10411 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10412 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10413 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10414 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10415 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10419 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10420 shlibpath_overrides_runpath
=no
10421 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10422 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10423 hardcode_into_libs
=yes
10426 # No shared lib support for Linux oldld, aout, or coff.
10427 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10431 # This must be Linux ELF.
10432 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437 soname_spec
='${libname}${release}${shared_ext}$major'
10438 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10439 shlibpath_var
=LD_LIBRARY_PATH
10440 shlibpath_overrides_runpath
=no
10442 # Some binutils ld are patched to set DT_RUNPATH
10443 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 lt_cv_shlibpath_overrides_runpath
=no
10447 save_LDFLAGS
=$LDFLAGS
10448 save_libdir
=$libdir
10449 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10450 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10462 if ac_fn_c_try_link
"$LINENO"; then :
10463 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10464 lt_cv_shlibpath_overrides_runpath
=yes
10467 rm -f core conftest.err conftest.
$ac_objext \
10468 conftest
$ac_exeext conftest.
$ac_ext
10469 LDFLAGS
=$save_LDFLAGS
10470 libdir
=$save_libdir
10474 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10476 # This implies no fast_install, which is unacceptable.
10477 # Some rework will be needed to allow for fast_install
10478 # before this can be enabled.
10479 hardcode_into_libs
=yes
10481 # Append ld.so.conf contents to the search path
10482 if test -f /etc
/ld.so.conf
; then
10483 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' ' '`
10484 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10487 # We used to test for /lib/ld.so.1 and disable shared libraries on
10488 # powerpc, because MkLinux only supported shared libraries with the
10489 # GNU dynamic linker. Since this was broken with cross compilers,
10490 # most powerpc-linux boxes support dynamic linking these days and
10491 # people can always --disable-shared, the test was removed, and we
10492 # assume the GNU/Linux dynamic linker is in use.
10493 dynamic_linker
='GNU/Linux ld.so'
10500 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10502 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10503 dynamic_linker
='NetBSD (a.out) ld.so'
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10506 soname_spec
='${libname}${release}${shared_ext}$major'
10507 dynamic_linker
='NetBSD ld.elf_so'
10509 shlibpath_var
=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath
=yes
10511 hardcode_into_libs
=yes
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 shlibpath_var
=LD_LIBRARY_PATH
10518 shlibpath_overrides_runpath
=yes
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec
='${libname}${release}${shared_ext}$major'
10527 shlibpath_var
=LD_LIBRARY_PATH
10528 shlibpath_overrides_runpath
=no
10529 hardcode_into_libs
=yes
10530 dynamic_linker
='ldqnx.so'
10535 sys_lib_dlsearch_path_spec
="/usr/lib"
10537 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10539 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10540 *) need_version
=no
;;
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10544 shlibpath_var
=LD_LIBRARY_PATH
10545 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10547 openbsd2.
[89] | openbsd2.
[89].
*)
10548 shlibpath_overrides_runpath
=no
10551 shlibpath_overrides_runpath
=yes
10555 shlibpath_overrides_runpath
=yes
10560 libname_spec
='$name'
10563 library_names_spec
='$libname${shared_ext} $libname.a'
10564 dynamic_linker
='OS/2 ld.exe'
10565 shlibpath_var
=LIBPATH
10568 osf3
* | osf4
* | osf5
*)
10572 soname_spec
='${libname}${release}${shared_ext}$major'
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10576 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 soname_spec
='${libname}${release}${shared_ext}$major'
10589 shlibpath_var
=LD_LIBRARY_PATH
10590 shlibpath_overrides_runpath
=yes
10591 hardcode_into_libs
=yes
10592 # ldd complains unless libraries are executable
10593 postinstall_cmds
='chmod +x $lib'
10598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10599 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10600 shlibpath_var
=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath
=yes
10602 if test "$with_gnu_ld" = yes; then
10610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611 soname_spec
='${libname}${release}${shared_ext}$major'
10612 shlibpath_var
=LD_LIBRARY_PATH
10613 case $host_vendor in
10615 shlibpath_overrides_runpath
=no
10617 runpath_var
=LD_RUN_PATH
10625 shlibpath_overrides_runpath
=no
10626 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10632 if test -d /usr
/nec
;then
10634 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10635 soname_spec
='$libname${shared_ext}.$major'
10636 shlibpath_var
=LD_LIBRARY_PATH
10640 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10641 version_type
=freebsd-elf
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10645 soname_spec
='${libname}${release}${shared_ext}$major'
10646 shlibpath_var
=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath
=yes
10648 hardcode_into_libs
=yes
10649 if test "$with_gnu_ld" = yes; then
10650 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10652 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10655 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10659 sys_lib_dlsearch_path_spec
='/usr/lib'
10663 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 shlibpath_var
=LD_LIBRARY_PATH
10669 shlibpath_overrides_runpath
=no
10670 hardcode_into_libs
=yes
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec
='${libname}${release}${shared_ext}$major'
10677 shlibpath_var
=LD_LIBRARY_PATH
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10685 $as_echo "$dynamic_linker" >&6; }
10686 test "$dynamic_linker" = no
&& can_build_shared
=no
10688 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10689 if test "$GCC" = yes; then
10690 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10693 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10694 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10696 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10697 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10792 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10794 if test -n "$hardcode_libdir_flag_spec" ||
10795 test -n "$runpath_var" ||
10796 test "X$hardcode_automatic" = "Xyes" ; then
10798 # We can hardcode non-existent directories.
10799 if test "$hardcode_direct" != no
&&
10800 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10801 # have to relink, otherwise we might link with an installed library
10802 # when we should be linking with a yet-to-be-installed one
10803 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10804 test "$hardcode_minus_L" != no
; then
10805 # Linking always hardcodes the temporary library directory.
10806 hardcode_action
=relink
10808 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10809 hardcode_action
=immediate
10812 # We cannot hardcode anything, or else we can only hardcode existing
10814 hardcode_action
=unsupported
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10817 $as_echo "$hardcode_action" >&6; }
10819 if test "$hardcode_action" = relink ||
10820 test "$inherit_rpath" = yes; then
10821 # Fast installation is not supported
10822 enable_fast_install
=no
10823 elif test "$shlibpath_overrides_runpath" = yes ||
10824 test "$enable_shared" = no
; then
10825 # Fast installation is not necessary
10826 enable_fast_install
=needless
10834 if test "x$enable_dlopen" != xyes
; then
10835 enable_dlopen
=unknown
10836 enable_dlopen_self
=unknown
10837 enable_dlopen_self_static
=unknown
10844 lt_cv_dlopen
="load_add_on"
10846 lt_cv_dlopen_self
=yes
10849 mingw
* | pw32
* | cegcc
*)
10850 lt_cv_dlopen
="LoadLibrary"
10855 lt_cv_dlopen
="dlopen"
10860 # if libdl is installed we need to link against it
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10862 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10863 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10864 $as_echo_n "(cached) " >&6
10866 ac_check_lib_save_LIBS
=$LIBS
10868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10871 /* Override any GCC internal prototype to avoid an error.
10872 Use char because int might match the return type of a GCC
10873 builtin and then its argument prototype would still apply. */
10886 if ac_fn_c_try_link
"$LINENO"; then :
10887 ac_cv_lib_dl_dlopen
=yes
10889 ac_cv_lib_dl_dlopen
=no
10891 rm -f core conftest.err conftest.
$ac_objext \
10892 conftest
$ac_exeext conftest.
$ac_ext
10893 LIBS
=$ac_check_lib_save_LIBS
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10896 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10897 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10898 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10901 lt_cv_dlopen
="dyld"
10903 lt_cv_dlopen_self
=yes
10910 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10911 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10912 lt_cv_dlopen
="shl_load"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10915 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10916 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10917 $as_echo_n "(cached) " >&6
10919 ac_check_lib_save_LIBS
=$LIBS
10921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10934 return shl_load ();
10939 if ac_fn_c_try_link
"$LINENO"; then :
10940 ac_cv_lib_dld_shl_load
=yes
10942 ac_cv_lib_dld_shl_load
=no
10944 rm -f core conftest.err conftest.
$ac_objext \
10945 conftest
$ac_exeext conftest.
$ac_ext
10946 LIBS
=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10949 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10950 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10951 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10953 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10954 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10955 lt_cv_dlopen
="dlopen"
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10958 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10959 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10960 $as_echo_n "(cached) " >&6
10962 ac_check_lib_save_LIBS
=$LIBS
10964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10982 if ac_fn_c_try_link
"$LINENO"; then :
10983 ac_cv_lib_dl_dlopen
=yes
10985 ac_cv_lib_dl_dlopen
=no
10987 rm -f core conftest.err conftest.
$ac_objext \
10988 conftest
$ac_exeext conftest.
$ac_ext
10989 LIBS
=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10992 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10993 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10994 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10997 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10998 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10999 $as_echo_n "(cached) " >&6
11001 ac_check_lib_save_LIBS
=$LIBS
11002 LIBS
="-lsvld $LIBS"
11003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11021 if ac_fn_c_try_link
"$LINENO"; then :
11022 ac_cv_lib_svld_dlopen
=yes
11024 ac_cv_lib_svld_dlopen
=no
11026 rm -f core conftest.err conftest.
$ac_objext \
11027 conftest
$ac_exeext conftest.
$ac_ext
11028 LIBS
=$ac_check_lib_save_LIBS
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11031 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11032 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11033 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11036 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11037 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11040 ac_check_lib_save_LIBS
=$LIBS
11042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11055 return dld_link ();
11060 if ac_fn_c_try_link
"$LINENO"; then :
11061 ac_cv_lib_dld_dld_link
=yes
11063 ac_cv_lib_dld_dld_link
=no
11065 rm -f core conftest.err conftest.
$ac_objext \
11066 conftest
$ac_exeext conftest.
$ac_ext
11067 LIBS
=$ac_check_lib_save_LIBS
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11070 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11071 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11072 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11093 if test "x$lt_cv_dlopen" != xno
; then
11099 case $lt_cv_dlopen in
11101 save_CPPFLAGS
="$CPPFLAGS"
11102 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11104 save_LDFLAGS
="$LDFLAGS"
11105 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11108 LIBS
="$lt_cv_dlopen_libs $LIBS"
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11111 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11112 if test "${lt_cv_dlopen_self+set}" = set; then :
11113 $as_echo_n "(cached) " >&6
11115 if test "$cross_compiling" = yes; then :
11116 lt_cv_dlopen_self
=cross
11118 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11119 lt_status
=$lt_dlunknown
11120 cat > conftest.
$ac_ext <<_LT_EOF
11121 #line 11121 "configure"
11122 #include "confdefs.h"
11131 # define LT_DLGLOBAL RTLD_GLOBAL
11134 # define LT_DLGLOBAL DL_GLOBAL
11136 # define LT_DLGLOBAL 0
11140 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11141 find out it does not work in some platform. */
11142 #ifndef LT_DLLAZY_OR_NOW
11144 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11147 # define LT_DLLAZY_OR_NOW DL_LAZY
11150 # define LT_DLLAZY_OR_NOW RTLD_NOW
11153 # define LT_DLLAZY_OR_NOW DL_NOW
11155 # define LT_DLLAZY_OR_NOW 0
11162 /* When -fvisbility=hidden is used, assume the code has been annotated
11163 correspondingly for the symbols needed. */
11164 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11165 void fnord () __attribute__((visibility("default")));
11168 void fnord () { int i=42; }
11171 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11172 int status = $lt_dlunknown;
11176 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11179 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11180 else puts (dlerror ());
11182 /* dlclose (self); */
11190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11191 (eval $ac_link) 2>&5
11193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11194 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11195 (.
/conftest
; exit; ) >&5 2>/dev
/null
11197 case x
$lt_status in
11198 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11199 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11200 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11203 # compilation failed
11204 lt_cv_dlopen_self
=no
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11212 $as_echo "$lt_cv_dlopen_self" >&6; }
11214 if test "x$lt_cv_dlopen_self" = xyes
; then
11215 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11217 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11218 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11221 if test "$cross_compiling" = yes; then :
11222 lt_cv_dlopen_self_static
=cross
11224 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11225 lt_status
=$lt_dlunknown
11226 cat > conftest.
$ac_ext <<_LT_EOF
11227 #line 11227 "configure"
11228 #include "confdefs.h"
11237 # define LT_DLGLOBAL RTLD_GLOBAL
11240 # define LT_DLGLOBAL DL_GLOBAL
11242 # define LT_DLGLOBAL 0
11246 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11247 find out it does not work in some platform. */
11248 #ifndef LT_DLLAZY_OR_NOW
11250 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11253 # define LT_DLLAZY_OR_NOW DL_LAZY
11256 # define LT_DLLAZY_OR_NOW RTLD_NOW
11259 # define LT_DLLAZY_OR_NOW DL_NOW
11261 # define LT_DLLAZY_OR_NOW 0
11268 /* When -fvisbility=hidden is used, assume the code has been annotated
11269 correspondingly for the symbols needed. */
11270 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11271 void fnord () __attribute__((visibility("default")));
11274 void fnord () { int i=42; }
11277 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11278 int status = $lt_dlunknown;
11282 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11285 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11286 else puts (dlerror ());
11288 /* dlclose (self); */
11296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11297 (eval $ac_link) 2>&5
11299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11300 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11301 (.
/conftest
; exit; ) >&5 2>/dev
/null
11303 case x
$lt_status in
11304 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11305 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11306 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11309 # compilation failed
11310 lt_cv_dlopen_self_static
=no
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11318 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11321 CPPFLAGS
="$save_CPPFLAGS"
11322 LDFLAGS
="$save_LDFLAGS"
11327 case $lt_cv_dlopen_self in
11328 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11329 *) enable_dlopen_self
=unknown
;;
11332 case $lt_cv_dlopen_self_static in
11333 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11334 *) enable_dlopen_self_static
=unknown
;;
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11357 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11358 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11359 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11360 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11362 $as_echo "yes" >&6; }
11364 # FIXME - insert some real tests, host_os isn't really good enough
11367 if test -n "$STRIP" ; then
11368 striplib
="$STRIP -x"
11369 old_striplib
="$STRIP -S"
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11371 $as_echo "yes" >&6; }
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11374 $as_echo "no" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11379 $as_echo "no" >&6; }
11395 # Report which library types will actually be built
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11397 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11399 $as_echo "$can_build_shared" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11402 $as_echo_n "checking whether to build shared libraries... " >&6; }
11403 test "$can_build_shared" = "no" && enable_shared
=no
11405 # On AIX, shared libraries and static libraries use the same namespace, and
11406 # are all built from PIC.
11409 test "$enable_shared" = yes && enable_static
=no
11410 if test -n "$RANLIB"; then
11411 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11412 postinstall_cmds
='$RANLIB $lib'
11417 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11418 test "$enable_shared" = yes && enable_static
=no
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11423 $as_echo "$enable_shared" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11426 $as_echo_n "checking whether to build static libraries... " >&6; }
11427 # Make sure either enable_shared or enable_static is yes.
11428 test "$enable_shared" = yes || enable_static
=yes
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11430 $as_echo "$enable_static" >&6; }
11437 ac_cpp
='$CPP $CPPFLAGS'
11438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11456 # Source file extension for Go test sources.
11459 # Object file extension for compiled Go test sources.
11463 # Code to be used in simple compile tests
11464 lt_simple_compile_test_code
="package main; func main() { }"
11466 # Code to be used in simple link tests
11467 lt_simple_link_test_code
='package main; func main() { }'
11469 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11476 # If no C compiler was specified, use CC.
11479 # If no C compiler flags were specified, use CFLAGS.
11480 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11482 # Allow CC to be a program name with arguments.
11486 # save warnings/boilerplate of simple test code
11487 ac_outfile
=conftest.
$ac_objext
11488 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11489 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11490 _lt_compiler_boilerplate
=`cat conftest.err`
11493 ac_outfile
=conftest.
$ac_objext
11494 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11495 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11496 _lt_linker_boilerplate
=`cat conftest.err`
11500 # Allow CC to be a program name with arguments.
11508 for cc_temp
in $compiler""; do
11510 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11511 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11516 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11519 # Go did not exist at the time GCC didn't implicitly link libc in.
11520 archive_cmds_need_lc_GO
=no
11522 old_archive_cmds_GO
=$old_archive_cmds
11525 ## There is no encapsulation within the following macros, do not change
11526 ## the running order or otherwise move them around unless you know exactly
11527 ## what you are doing...
11528 if test -n "$compiler"; then
11530 lt_prog_compiler_no_builtin_flag_GO
=
11532 if test "$GCC" = yes; then
11533 case $cc_basename in
11535 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11537 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11541 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11542 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11543 $as_echo_n "(cached) " >&6
11545 lt_cv_prog_compiler_rtti_exceptions
=no
11546 ac_outfile
=conftest.
$ac_objext
11547 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11548 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11549 # Insert the option either (1) after the last *FLAGS variable, or
11550 # (2) before a word containing "conftest.", or (3) at the end.
11551 # Note that $ac_compile itself does not contain backslashes and begins
11552 # with a dollar sign (not a hyphen), so the echo should work correctly.
11553 # The option is referenced via a variable to avoid confusing sed.
11554 lt_compile
=`echo "$ac_compile" | $SED \
11555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11557 -e 's:$: $lt_compiler_flag:'`
11558 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11559 (eval "$lt_compile" 2>conftest.err
)
11561 cat conftest.err
>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 if (exit $ac_status) && test -s "$ac_outfile"; then
11564 # The compiler can only warn and ignore the option if not recognized
11565 # So say no if there are warnings other than the usual output.
11566 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11567 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11568 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11569 lt_cv_prog_compiler_rtti_exceptions
=yes
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11576 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11578 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11579 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11588 lt_prog_compiler_wl_GO
=
11589 lt_prog_compiler_pic_GO
=
11590 lt_prog_compiler_static_GO
=
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11593 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11595 if test "$GCC" = yes; then
11596 lt_prog_compiler_wl_GO
='-Wl,'
11597 lt_prog_compiler_static_GO
='-static'
11601 # All AIX code is PIC.
11602 if test "$host_cpu" = ia64
; then
11603 # AIX 5 now supports IA64 processor
11604 lt_prog_compiler_static_GO
='-Bstatic'
11606 lt_prog_compiler_pic_GO
='-fPIC'
11612 # see comment about AmigaOS4 .so support
11613 lt_prog_compiler_pic_GO
='-fPIC'
11616 # FIXME: we need at least 68020 code to build shared libraries, but
11617 # adding the `-m68020' flag to GCC prevents building anything better,
11619 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11624 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11625 # PIC is the default for these OSes.
11628 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11629 # This hack is so that the source file can tell whether it is being
11630 # built for inclusion in a dll (and should export symbols for example).
11631 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11632 # (--disable-auto-import) libraries
11633 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11636 darwin
* | rhapsody
*)
11637 # PIC is the default on this platform
11638 # Common symbols not allowed in MH_DYLIB files
11639 lt_prog_compiler_pic_GO
='-fno-common'
11643 # PIC is the default for Haiku.
11644 # The "-static" flag exists, but is broken.
11645 lt_prog_compiler_static_GO
=
11649 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11650 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11651 # sets the default TLS model and affects inlining.
11657 lt_prog_compiler_pic_GO
='-fPIC'
11663 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11664 # Instead, we relocate shared libraries at runtime.
11668 # Just because we use GCC doesn't mean we suddenly get shared libraries
11669 # on systems that don't support them.
11670 lt_prog_compiler_can_build_shared_GO
=no
11675 # QNX uses GNU C++, but need to define -shared option too, otherwise
11676 # it will coredump.
11677 lt_prog_compiler_pic_GO
='-fPIC -shared'
11681 if test -d /usr
/nec
; then
11682 lt_prog_compiler_pic_GO
=-Kconform_pic
11687 lt_prog_compiler_pic_GO
='-fPIC'
11691 case $cc_basename in
11692 nvcc
*) # Cuda Compiler Driver 2.2
11693 lt_prog_compiler_wl_GO
='-Xlinker '
11694 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11698 # PORTME Check for flag to pass linker flags through the system compiler.
11701 lt_prog_compiler_wl_GO
='-Wl,'
11702 if test "$host_cpu" = ia64
; then
11703 # AIX 5 now supports IA64 processor
11704 lt_prog_compiler_static_GO
='-Bstatic'
11706 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11710 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11711 # This hack is so that the source file can tell whether it is being
11712 # built for inclusion in a dll (and should export symbols for example).
11713 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11716 hpux9
* | hpux10
* | hpux11
*)
11717 lt_prog_compiler_wl_GO
='-Wl,'
11718 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11719 # not for PA HP-UX.
11725 lt_prog_compiler_pic_GO
='+Z'
11728 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11729 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11732 irix5
* | irix6
* | nonstopux
*)
11733 lt_prog_compiler_wl_GO
='-Wl,'
11734 # PIC (with -KPIC) is the default.
11735 lt_prog_compiler_static_GO
='-non_shared'
11738 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11739 case $cc_basename in
11740 # old Intel for x86_64 which still supported -KPIC.
11742 lt_prog_compiler_wl_GO
='-Wl,'
11743 lt_prog_compiler_pic_GO
='-KPIC'
11744 lt_prog_compiler_static_GO
='-static'
11746 # icc used to be incompatible with GCC.
11747 # ICC 10 doesn't accept -KPIC any more.
11749 lt_prog_compiler_wl_GO
='-Wl,'
11750 lt_prog_compiler_pic_GO
='-fPIC'
11751 lt_prog_compiler_static_GO
='-static'
11753 # Lahey Fortran 8.1.
11755 lt_prog_compiler_wl_GO
='-Wl,'
11756 lt_prog_compiler_pic_GO
='--shared'
11757 lt_prog_compiler_static_GO
='--static'
11759 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11760 # Portland Group compilers (*not* the Pentium gcc compiler,
11761 # which looks to be a dead project)
11762 lt_prog_compiler_wl_GO
='-Wl,'
11763 lt_prog_compiler_pic_GO
='-fpic'
11764 lt_prog_compiler_static_GO
='-Bstatic'
11767 lt_prog_compiler_wl_GO
='-Wl,'
11768 # All Alpha code is PIC.
11769 lt_prog_compiler_static_GO
='-non_shared'
11771 xl
* | bgxl
* | bgf
* | mpixl
*)
11772 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11773 lt_prog_compiler_wl_GO
='-Wl,'
11774 lt_prog_compiler_pic_GO
='-qpic'
11775 lt_prog_compiler_static_GO
='-qstaticlink'
11778 case `$CC -V 2>&1 | sed 5q` in
11779 *Sun\ F
* |
*Sun
*Fortran
*)
11780 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11781 lt_prog_compiler_pic_GO
='-KPIC'
11782 lt_prog_compiler_static_GO
='-Bstatic'
11783 lt_prog_compiler_wl_GO
=''
11787 lt_prog_compiler_pic_GO
='-KPIC'
11788 lt_prog_compiler_static_GO
='-Bstatic'
11789 lt_prog_compiler_wl_GO
='-Wl,'
11797 lt_prog_compiler_pic_GO
='-KPIC'
11798 lt_prog_compiler_static_GO
='-Bstatic'
11802 # QNX uses GNU C++, but need to define -shared option too, otherwise
11803 # it will coredump.
11804 lt_prog_compiler_pic_GO
='-fPIC -shared'
11807 osf3
* | osf4
* | osf5
*)
11808 lt_prog_compiler_wl_GO
='-Wl,'
11809 # All OSF/1 code is PIC.
11810 lt_prog_compiler_static_GO
='-non_shared'
11814 lt_prog_compiler_static_GO
='-non_shared'
11818 lt_prog_compiler_pic_GO
='-KPIC'
11819 lt_prog_compiler_static_GO
='-Bstatic'
11820 case $cc_basename in
11821 f77
* | f90
* | f95
*)
11822 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11824 lt_prog_compiler_wl_GO
='-Wl,';;
11829 lt_prog_compiler_wl_GO
='-Qoption ld '
11830 lt_prog_compiler_pic_GO
='-PIC'
11831 lt_prog_compiler_static_GO
='-Bstatic'
11834 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11835 lt_prog_compiler_wl_GO
='-Wl,'
11836 lt_prog_compiler_pic_GO
='-KPIC'
11837 lt_prog_compiler_static_GO
='-Bstatic'
11841 if test -d /usr
/nec
;then
11842 lt_prog_compiler_pic_GO
='-Kconform_pic'
11843 lt_prog_compiler_static_GO
='-Bstatic'
11847 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11848 lt_prog_compiler_wl_GO
='-Wl,'
11849 lt_prog_compiler_pic_GO
='-KPIC'
11850 lt_prog_compiler_static_GO
='-Bstatic'
11854 lt_prog_compiler_wl_GO
='-Wl,'
11855 lt_prog_compiler_can_build_shared_GO
=no
11859 lt_prog_compiler_pic_GO
='-pic'
11860 lt_prog_compiler_static_GO
='-Bstatic'
11864 lt_prog_compiler_can_build_shared_GO
=no
11870 # For platforms which do not support PIC, -DPIC is meaningless:
11872 lt_prog_compiler_pic_GO
=
11875 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11879 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11884 # Check to make sure the PIC flag actually works.
11886 if test -n "$lt_prog_compiler_pic_GO"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11888 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11889 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11890 $as_echo_n "(cached) " >&6
11892 lt_cv_prog_compiler_pic_works_GO
=no
11893 ac_outfile
=conftest.
$ac_objext
11894 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11895 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11896 # Insert the option either (1) after the last *FLAGS variable, or
11897 # (2) before a word containing "conftest.", or (3) at the end.
11898 # Note that $ac_compile itself does not contain backslashes and begins
11899 # with a dollar sign (not a hyphen), so the echo should work correctly.
11900 # The option is referenced via a variable to avoid confusing sed.
11901 lt_compile
=`echo "$ac_compile" | $SED \
11902 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11904 -e 's:$: $lt_compiler_flag:'`
11905 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11906 (eval "$lt_compile" 2>conftest.err
)
11908 cat conftest.err
>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 if (exit $ac_status) && test -s "$ac_outfile"; then
11911 # The compiler can only warn and ignore the option if not recognized
11912 # So say no if there are warnings other than the usual output.
11913 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11914 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11915 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11916 lt_cv_prog_compiler_pic_works_GO
=yes
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11923 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11925 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11926 case $lt_prog_compiler_pic_GO in
11928 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11931 lt_prog_compiler_pic_GO
=
11932 lt_prog_compiler_can_build_shared_GO
=no
11940 # Check to make sure the static flag actually works.
11942 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11944 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11945 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11946 $as_echo_n "(cached) " >&6
11948 lt_cv_prog_compiler_static_works_GO
=no
11949 save_LDFLAGS
="$LDFLAGS"
11950 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11951 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11952 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11953 # The linker can only warn and ignore the option if not recognized
11954 # So say no if there are warnings
11955 if test -s conftest.err
; then
11956 # Append any errors to the config.log.
11957 cat conftest.err
1>&5
11958 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11960 if diff conftest.exp conftest.er2
>/dev
/null
; then
11961 lt_cv_prog_compiler_static_works_GO
=yes
11964 lt_cv_prog_compiler_static_works_GO
=yes
11968 LDFLAGS
="$save_LDFLAGS"
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11972 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11974 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11977 lt_prog_compiler_static_GO
=
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11985 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11986 $as_echo_n "(cached) " >&6
11988 lt_cv_prog_compiler_c_o_GO
=no
11989 $RM -r conftest
2>/dev
/null
11993 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11995 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11996 # Insert the option either (1) after the last *FLAGS variable, or
11997 # (2) before a word containing "conftest.", or (3) at the end.
11998 # Note that $ac_compile itself does not contain backslashes and begins
11999 # with a dollar sign (not a hyphen), so the echo should work correctly.
12000 lt_compile
=`echo "$ac_compile" | $SED \
12001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12003 -e 's:$: $lt_compiler_flag:'`
12004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12005 (eval "$lt_compile" 2>out
/conftest.err
)
12007 cat out
/conftest.err
>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12011 # The compiler can only warn and ignore the option if not recognized
12012 # So say no if there are warnings
12013 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12014 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12015 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12016 lt_cv_prog_compiler_c_o_GO
=yes
12021 # SGI C++ compiler will create directory out/ii_files/ for
12022 # template instantiation
12023 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12024 $RM out
/* && rmdir out
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12031 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12036 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12037 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12038 $as_echo_n "(cached) " >&6
12040 lt_cv_prog_compiler_c_o_GO
=no
12041 $RM -r conftest
2>/dev
/null
12045 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12047 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12048 # Insert the option either (1) after the last *FLAGS variable, or
12049 # (2) before a word containing "conftest.", or (3) at the end.
12050 # Note that $ac_compile itself does not contain backslashes and begins
12051 # with a dollar sign (not a hyphen), so the echo should work correctly.
12052 lt_compile
=`echo "$ac_compile" | $SED \
12053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12055 -e 's:$: $lt_compiler_flag:'`
12056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12057 (eval "$lt_compile" 2>out
/conftest.err
)
12059 cat out
/conftest.err
>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12063 # The compiler can only warn and ignore the option if not recognized
12064 # So say no if there are warnings
12065 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12066 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12067 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12068 lt_cv_prog_compiler_c_o_GO
=yes
12073 # SGI C++ compiler will create directory out/ii_files/ for
12074 # template instantiation
12075 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12076 $RM out
/* && rmdir out
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12083 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12088 hard_links
="nottested"
12089 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12090 # do not overwrite the value of need_locks provided by the user
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12092 $as_echo_n "checking if we can lock with hard links... " >&6; }
12095 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12097 ln conftest.a conftest.b
2>&5 || hard_links
=no
12098 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12100 $as_echo "$hard_links" >&6; }
12101 if test "$hard_links" = no
; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12103 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12113 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12116 allow_undefined_flag_GO
=
12117 always_export_symbols_GO
=no
12119 archive_expsym_cmds_GO
=
12120 compiler_needs_object_GO
=no
12121 enable_shared_with_static_runtimes_GO
=no
12122 export_dynamic_flag_spec_GO
=
12123 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12124 hardcode_automatic_GO
=no
12125 hardcode_direct_GO
=no
12126 hardcode_direct_absolute_GO
=no
12127 hardcode_libdir_flag_spec_GO
=
12128 hardcode_libdir_flag_spec_ld_GO
=
12129 hardcode_libdir_separator_GO
=
12130 hardcode_minus_L_GO
=no
12131 hardcode_shlibpath_var_GO
=unsupported
12132 inherit_rpath_GO
=no
12133 link_all_deplibs_GO
=unknown
12135 module_expsym_cmds_GO
=
12136 old_archive_from_new_cmds_GO
=
12137 old_archive_from_expsyms_cmds_GO
=
12138 thread_safe_flag_spec_GO
=
12139 whole_archive_flag_spec_GO
=
12140 # include_expsyms should be a list of space-separated symbols to be *always*
12141 # included in the symbol list
12142 include_expsyms_GO
=
12143 # exclude_expsyms can be an extended regexp of symbols to exclude
12144 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12145 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12146 # as well as any symbol that contains `d'.
12147 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12148 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12149 # platforms (ab)use it in PIC code, but their linkers get confused if
12150 # the symbol is explicitly referenced. Since portable code cannot
12151 # rely on this symbol name, it's probably fine to never include it in
12152 # preloaded symbol tables.
12153 # Exclude shared library initialization/finalization symbols.
12154 extract_expsyms_cmds
=
12157 cygwin
* | mingw
* | pw32
* | cegcc
*)
12158 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12159 # When not using gcc, we currently assume that we are using
12160 # Microsoft Visual C++.
12161 if test "$GCC" != yes; then
12166 # we just hope/assume this is gcc and not c89 (= MSVC++)
12176 # On some targets, GNU ld is compatible enough with the native linker
12177 # that we're better off using the native interface for both.
12178 lt_use_gnu_ld_interface
=no
12179 if test "$with_gnu_ld" = yes; then
12182 # The AIX port of GNU ld has always aspired to compatibility
12183 # with the native linker. However, as the warning in the GNU ld
12184 # block says, versions before 2.19.5* couldn't really create working
12185 # shared libraries, regardless of the interface used.
12186 case `$LD -v 2>&1` in
12187 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12188 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12189 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12191 lt_use_gnu_ld_interface
=yes
12196 lt_use_gnu_ld_interface
=yes
12201 if test "$lt_use_gnu_ld_interface" = yes; then
12202 # If archive_cmds runs LD, not CC, wlarc should be empty
12205 # Set some defaults for GNU ld with shared library support. These
12206 # are reset later if shared libraries are not supported. Putting them
12207 # here allows them to be overridden if necessary.
12208 runpath_var
=LD_RUN_PATH
12209 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12210 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12211 # ancient GNU ld didn't support --whole-archive et. al.
12212 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12213 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12215 whole_archive_flag_spec_GO
=
12217 supports_anon_versioning
=no
12218 case `$LD -v 2>&1` in
12219 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12220 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12221 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12222 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12223 *\
2.11.
*) ;; # other 2.11 versions
12224 *) supports_anon_versioning
=yes ;;
12227 # See if GNU ld supports shared libraries.
12230 # On AIX/PPC, the GNU linker is very broken
12231 if test "$host_cpu" != ia64
; then
12235 *** Warning: the GNU linker, at least up to release 2.19, is reported
12236 *** to be unable to reliably create shared libraries on AIX.
12237 *** Therefore, libtool is disabling shared libraries support. If you
12238 *** really care for shared libraries, you may want to install binutils
12239 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12240 *** You will then need to restart the configuration process.
12249 # see comment about AmigaOS4 .so support
12250 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12251 archive_expsym_cmds_GO
=''
12254 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)'
12255 hardcode_libdir_flag_spec_GO
='-L$libdir'
12256 hardcode_minus_L_GO
=yes
12262 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12263 allow_undefined_flag_GO
=unsupported
12264 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12265 # support --undefined. This deserves some investigation. FIXME
12266 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12272 cygwin
* | mingw
* | pw32
* | cegcc
*)
12273 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12274 # as there is no search path for DLLs.
12275 hardcode_libdir_flag_spec_GO
='-L$libdir'
12276 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12277 allow_undefined_flag_GO
=unsupported
12278 always_export_symbols_GO
=no
12279 enable_shared_with_static_runtimes_GO
=yes
12280 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12282 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12283 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12284 # If the export-symbols file already is a .def file (1st line
12285 # is EXPORTS), use it as is; otherwise, prepend...
12286 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12287 cp $export_symbols $output_objdir/$soname.def;
12289 echo EXPORTS > $output_objdir/$soname.def;
12290 cat $export_symbols >> $output_objdir/$soname.def;
12292 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12299 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12300 link_all_deplibs_GO
=yes
12304 hardcode_direct_GO
=no
12305 hardcode_shlibpath_var_GO
=no
12306 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12307 export_dynamic_flag_spec_GO
='${wl}-E'
12308 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12309 # Instead, shared libraries are loaded at an image base (0x10000000 by
12310 # default) and relocated if they conflict, which is a slow very memory
12311 # consuming and fragmenting process. To avoid this, we pick a random,
12312 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12313 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12314 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'
12315 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'
12318 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12320 if test "$host_os" = linux-dietlibc
; then
12321 case $cc_basename in
12322 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12325 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12326 && test "$tmp_diet" = no
12329 tmp_sharedflag
='-shared'
12330 case $cc_basename,$host_cpu in
12331 pgcc
*) # Portland Group C compiler
12332 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'
12333 tmp_addflag
=' $pic_flag'
12335 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12336 # Portland Group f77 and f90 compilers
12337 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'
12338 tmp_addflag
=' $pic_flag -Mnomain' ;;
12339 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12340 tmp_addflag
=' -i_dynamic' ;;
12341 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12342 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12343 ifc
* | ifort
*) # Intel Fortran compiler
12344 tmp_addflag
=' -nofor_main' ;;
12345 lf95
*) # Lahey Fortran 8.1
12346 whole_archive_flag_spec_GO
=
12347 tmp_sharedflag
='--shared' ;;
12348 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12349 tmp_sharedflag
='-qmkshrobj'
12351 nvcc
*) # Cuda Compiler Driver 2.2
12352 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'
12353 compiler_needs_object_GO
=yes
12356 case `$CC -V 2>&1 | sed 5q` in
12357 *Sun\ C
*) # Sun C 5.9
12358 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'
12359 compiler_needs_object_GO
=yes
12360 tmp_sharedflag
='-G' ;;
12361 *Sun\ F
*) # Sun Fortran 8.3
12362 tmp_sharedflag
='-G' ;;
12364 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12366 if test "x$supports_anon_versioning" = xyes
; then
12367 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12368 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12369 echo "local: *; };" >> $output_objdir/$libname.ver~
12370 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12373 case $cc_basename in
12374 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12375 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12376 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12377 hardcode_libdir_flag_spec_GO
=
12378 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12379 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12380 if test "x$supports_anon_versioning" = xyes
; then
12381 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12382 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12383 echo "local: *; };" >> $output_objdir/$libname.ver~
12384 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12394 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12395 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12398 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12399 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12404 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12408 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12409 *** create shared libraries on Solaris systems. Therefore, libtool
12410 *** is disabling shared libraries support. We urge you to upgrade GNU
12411 *** binutils to release 2.9.1 or newer. Another option is to modify
12412 *** your PATH or compiler configuration so that the native linker is
12413 *** used, and then restart.
12416 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12417 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12418 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12424 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12425 case `$LD -v 2>&1` in
12426 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12430 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12431 *** reliably create shared libraries on SCO systems. Therefore, libtool
12432 *** is disabling shared libraries support. We urge you to upgrade GNU
12433 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12434 *** your PATH or compiler configuration so that the native linker is
12435 *** used, and then restart.
12440 # For security reasons, it is highly recommended that you always
12441 # use absolute paths for naming shared libraries, and exclude the
12442 # DT_RUNPATH tag from executables and libraries. But doing so
12443 # requires that you compile everything twice, which is a pain.
12444 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12445 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12446 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12456 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12458 hardcode_direct_GO
=yes
12459 hardcode_shlibpath_var_GO
=no
12463 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12464 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12465 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12472 if test "$ld_shlibs_GO" = no
; then
12474 hardcode_libdir_flag_spec_GO
=
12475 export_dynamic_flag_spec_GO
=
12476 whole_archive_flag_spec_GO
=
12479 # PORTME fill in a description of your system's linker (not GNU ld)
12482 allow_undefined_flag_GO
=unsupported
12483 always_export_symbols_GO
=yes
12484 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'
12485 # Note: this linker hardcodes the directories in LIBPATH if there
12486 # are no directories specified by -L.
12487 hardcode_minus_L_GO
=yes
12488 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12489 # Neither direct hardcoding nor static linking is supported with a
12491 hardcode_direct_GO
=unsupported
12496 if test "$host_cpu" = ia64
; then
12497 # On IA64, the linker does run time linking by default, so we don't
12498 # have to do anything special.
12499 aix_use_runtimelinking
=no
12500 exp_sym_flag
='-Bexport'
12503 # If we're using GNU nm, then we don't want the "-C" option.
12504 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12505 # Also, AIX nm treats weak defined symbols like other global
12506 # defined symbols, whereas GNU nm marks them as "W".
12507 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12508 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'
12510 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'
12512 aix_use_runtimelinking
=no
12514 # Test if we are trying to use run time linking or normal
12515 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12516 # need to do runtime linking.
12517 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12518 for ld_flag
in $LDFLAGS; do
12519 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12520 aix_use_runtimelinking
=yes
12527 exp_sym_flag
='-bexport'
12528 no_entry_flag
='-bnoentry'
12531 # When large executables or shared objects are built, AIX ld can
12532 # have problems creating the table of contents. If linking a library
12533 # or program results in "error TOC overflow" add -mminimal-toc to
12534 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12535 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12538 hardcode_direct_GO
=yes
12539 hardcode_direct_absolute_GO
=yes
12540 hardcode_libdir_separator_GO
=':'
12541 link_all_deplibs_GO
=yes
12542 file_list_spec_GO
='${wl}-f,'
12544 if test "$GCC" = yes; then
12545 case $host_os in aix4.
[012]|aix4.
[012].
*)
12546 # We only want to do this on AIX 4.2 and lower, the check
12547 # below for broken collect2 doesn't work under 4.3+
12548 collect2name
=`${CC} -print-prog-name=collect2`
12549 if test -f "$collect2name" &&
12550 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12552 # We have reworked collect2
12555 # We have old collect2
12556 hardcode_direct_GO
=unsupported
12557 # It fails to find uninstalled libraries when the uninstalled
12558 # path is not listed in the libpath. Setting hardcode_minus_L
12559 # to unsupported forces relinking
12560 hardcode_minus_L_GO
=yes
12561 hardcode_libdir_flag_spec_GO
='-L$libdir'
12562 hardcode_libdir_separator_GO
=
12566 shared_flag
='-shared'
12567 if test "$aix_use_runtimelinking" = yes; then
12568 shared_flag
="$shared_flag "'${wl}-G'
12572 if test "$host_cpu" = ia64
; then
12573 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12574 # chokes on -Wl,-G. The following line is correct:
12577 if test "$aix_use_runtimelinking" = yes; then
12578 shared_flag
='${wl}-G'
12580 shared_flag
='${wl}-bM:SRE'
12585 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12586 # It seems that -bexpall does not export symbols beginning with
12587 # underscore (_), so it is better to generate a list of symbols to export.
12588 always_export_symbols_GO
=yes
12589 if test "$aix_use_runtimelinking" = yes; then
12590 # Warning - without using the other runtime loading flags (-brtl),
12591 # -berok will link without error, but may produce a broken library.
12592 allow_undefined_flag_GO
='-berok'
12593 # Determine the default libpath from the value encoded in an
12594 # empty executable.
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12606 if ac_fn_c_try_link
"$LINENO"; then :
12608 lt_aix_libpath_sed
='
12609 /Import File Strings/,/^$/ {
12615 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12616 # Check for a 64-bit object if we didn't find anything.
12617 if test -z "$aix_libpath"; then
12618 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12621 rm -f core conftest.err conftest.
$ac_objext \
12622 conftest
$ac_exeext conftest.
$ac_ext
12623 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12625 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12626 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"
12628 if test "$host_cpu" = ia64
; then
12629 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12630 allow_undefined_flag_GO
="-z nodefs"
12631 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"
12633 # Determine the default libpath from the value encoded in an
12634 # empty executable.
12635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12646 if ac_fn_c_try_link
"$LINENO"; then :
12648 lt_aix_libpath_sed
='
12649 /Import File Strings/,/^$/ {
12655 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12656 # Check for a 64-bit object if we didn't find anything.
12657 if test -z "$aix_libpath"; then
12658 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12661 rm -f core conftest.err conftest.
$ac_objext \
12662 conftest
$ac_exeext conftest.
$ac_ext
12663 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12665 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12666 # Warning - without using the other run time loading flags,
12667 # -berok will link without error, but may produce a broken library.
12668 no_undefined_flag_GO
=' ${wl}-bernotok'
12669 allow_undefined_flag_GO
=' ${wl}-berok'
12670 if test "$with_gnu_ld" = yes; then
12671 # We only use this code for GNU lds that support --whole-archive.
12672 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12674 # Exported symbols can be pulled into shared objects from archives
12675 whole_archive_flag_spec_GO
='$convenience'
12677 archive_cmds_need_lc_GO
=yes
12678 # This is similar to how AIX traditionally builds its shared libraries.
12679 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'
12687 # see comment about AmigaOS4 .so support
12688 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12689 archive_expsym_cmds_GO
=''
12692 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)'
12693 hardcode_libdir_flag_spec_GO
='-L$libdir'
12694 hardcode_minus_L_GO
=yes
12700 export_dynamic_flag_spec_GO
=-rdynamic
12703 cygwin
* | mingw
* | pw32
* | cegcc
*)
12704 # When not using gcc, we currently assume that we are using
12705 # Microsoft Visual C++.
12706 # hardcode_libdir_flag_spec is actually meaningless, as there is
12707 # no search path for DLLs.
12708 hardcode_libdir_flag_spec_GO
=' '
12709 allow_undefined_flag_GO
=unsupported
12710 # Tell ltmain to make .lib files, not .a files.
12712 # Tell ltmain to make .dll files, not .so files.
12714 # FIXME: Setting linknames here is a bad hack.
12715 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12716 # The linker will automatically build a .lib file if we build a DLL.
12717 old_archive_from_new_cmds_GO
='true'
12718 # FIXME: Should let the user specify the lib program.
12719 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12720 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12721 enable_shared_with_static_runtimes_GO
=yes
12724 darwin
* | rhapsody
*)
12727 archive_cmds_need_lc_GO
=no
12728 hardcode_direct_GO
=no
12729 hardcode_automatic_GO
=yes
12730 hardcode_shlibpath_var_GO
=unsupported
12731 if test "$lt_cv_ld_force_load" = "yes"; then
12732 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\"`'
12734 whole_archive_flag_spec_GO
=''
12736 link_all_deplibs_GO
=yes
12737 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12738 case $cc_basename in
12739 ifort
*) _lt_dar_can_shared
=yes ;;
12740 *) _lt_dar_can_shared
=$GCC ;;
12742 if test "$_lt_dar_can_shared" = "yes"; then
12743 output_verbose_link_cmd
=func_echo_all
12744 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}"
12745 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12746 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}"
12747 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}"
12756 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12757 hardcode_libdir_flag_spec_GO
='-L$libdir'
12758 hardcode_shlibpath_var_GO
=no
12761 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12762 # support. Future versions do this automatically, but an explicit c++rt0.o
12763 # does not break anything, and helps significantly (at the cost of a little
12766 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12767 hardcode_libdir_flag_spec_GO
='-R$libdir'
12768 hardcode_direct_GO
=yes
12769 hardcode_shlibpath_var_GO
=no
12772 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12774 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12775 hardcode_direct_GO
=yes
12776 hardcode_minus_L_GO
=yes
12777 hardcode_shlibpath_var_GO
=no
12780 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12781 freebsd
* | dragonfly
*)
12782 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12783 hardcode_libdir_flag_spec_GO
='-R$libdir'
12784 hardcode_direct_GO
=yes
12785 hardcode_shlibpath_var_GO
=no
12789 if test "$GCC" = yes; then
12790 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'
12792 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'
12794 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12795 hardcode_libdir_separator_GO
=:
12796 hardcode_direct_GO
=yes
12798 # hardcode_minus_L: Not really in the search PATH,
12799 # but as the default location of the library.
12800 hardcode_minus_L_GO
=yes
12801 export_dynamic_flag_spec_GO
='${wl}-E'
12805 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12806 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12808 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12810 if test "$with_gnu_ld" = no
; then
12811 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12812 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12813 hardcode_libdir_separator_GO
=:
12814 hardcode_direct_GO
=yes
12815 hardcode_direct_absolute_GO
=yes
12816 export_dynamic_flag_spec_GO
='${wl}-E'
12817 # hardcode_minus_L: Not really in the search PATH,
12818 # but as the default location of the library.
12819 hardcode_minus_L_GO
=yes
12824 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12827 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12830 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12833 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12839 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12842 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12845 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12849 if test "$with_gnu_ld" = no
; then
12850 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12851 hardcode_libdir_separator_GO
=:
12855 hardcode_direct_GO
=no
12856 hardcode_shlibpath_var_GO
=no
12859 hardcode_direct_GO
=yes
12860 hardcode_direct_absolute_GO
=yes
12861 export_dynamic_flag_spec_GO
='${wl}-E'
12863 # hardcode_minus_L: Not really in the search PATH,
12864 # but as the default location of the library.
12865 hardcode_minus_L_GO
=yes
12871 irix5
* | irix6
* | nonstopux
*)
12872 if test "$GCC" = yes; then
12873 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'
12874 # Try to use the -exported_symbol ld option, if it does not
12875 # work, assume that -exports_file does not work either and
12876 # implicitly export all symbols.
12877 save_LDFLAGS
="$LDFLAGS"
12878 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12883 if ac_fn_c_try_link
"$LINENO"; then :
12884 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'
12887 rm -f core conftest.err conftest.
$ac_objext \
12888 conftest
$ac_exeext conftest.
$ac_ext
12889 LDFLAGS
="$save_LDFLAGS"
12891 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'
12892 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'
12894 archive_cmds_need_lc_GO
='no'
12895 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12896 hardcode_libdir_separator_GO
=:
12897 inherit_rpath_GO
=yes
12898 link_all_deplibs_GO
=yes
12902 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12903 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12905 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12907 hardcode_libdir_flag_spec_GO
='-R$libdir'
12908 hardcode_direct_GO
=yes
12909 hardcode_shlibpath_var_GO
=no
12913 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12914 hardcode_direct_GO
=yes
12915 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12916 hardcode_libdir_separator_GO
=:
12917 hardcode_shlibpath_var_GO
=no
12924 if test -f /usr
/libexec
/ld.so
; then
12925 hardcode_direct_GO
=yes
12926 hardcode_shlibpath_var_GO
=no
12927 hardcode_direct_absolute_GO
=yes
12928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12929 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12930 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12931 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12932 export_dynamic_flag_spec_GO
='${wl}-E'
12935 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12936 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12937 hardcode_libdir_flag_spec_GO
='-R$libdir'
12940 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12941 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12951 hardcode_libdir_flag_spec_GO
='-L$libdir'
12952 hardcode_minus_L_GO
=yes
12953 allow_undefined_flag_GO
=unsupported
12954 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'
12955 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12959 if test "$GCC" = yes; then
12960 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12961 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'
12963 allow_undefined_flag_GO
=' -expect_unresolved \*'
12964 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'
12966 archive_cmds_need_lc_GO
='no'
12967 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12968 hardcode_libdir_separator_GO
=:
12971 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12972 if test "$GCC" = yes; then
12973 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12974 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'
12975 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12977 allow_undefined_flag_GO
=' -expect_unresolved \*'
12978 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'
12979 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~
12980 $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'
12982 # Both c and cxx compiler support -rpath directly
12983 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12985 archive_cmds_need_lc_GO
='no'
12986 hardcode_libdir_separator_GO
=:
12990 no_undefined_flag_GO
=' -z defs'
12991 if test "$GCC" = yes; then
12993 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12994 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12995 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12997 case `$CC -V 2>&1` in
13000 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13001 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13002 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13006 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13007 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13008 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13012 hardcode_libdir_flag_spec_GO
='-R$libdir'
13013 hardcode_shlibpath_var_GO
=no
13015 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13017 # The compiler driver will combine and reorder linker options,
13018 # but understands `-z linker_flag'. GCC discards it without `$wl',
13019 # but is careful enough not to reorder.
13020 # Supported since Solaris 2.6 (maybe 2.5.1?)
13021 if test "$GCC" = yes; then
13022 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13024 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13028 link_all_deplibs_GO
=yes
13032 if test "x$host_vendor" = xsequent
; then
13033 # Use $CC to link under sequent, because it throws in some extra .o
13034 # files that make .init and .fini sections work.
13035 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13037 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13039 hardcode_libdir_flag_spec_GO
='-L$libdir'
13040 hardcode_direct_GO
=yes
13041 hardcode_minus_L_GO
=yes
13042 hardcode_shlibpath_var_GO
=no
13046 case $host_vendor in
13048 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13049 hardcode_direct_GO
=yes # is this really true???
13052 ## LD is ld it makes a PLAMLIB
13053 ## CC just makes a GrossModule.
13054 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13055 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13056 hardcode_direct_GO
=no
13059 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13060 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13063 runpath_var
='LD_RUN_PATH'
13064 hardcode_shlibpath_var_GO
=no
13068 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13069 hardcode_shlibpath_var_GO
=no
13070 export_dynamic_flag_spec_GO
='-Bexport'
13074 if test -d /usr
/nec
; then
13075 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13076 hardcode_shlibpath_var_GO
=no
13077 runpath_var
=LD_RUN_PATH
13078 hardcode_runpath_var
=yes
13083 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13084 no_undefined_flag_GO
='${wl}-z,text'
13085 archive_cmds_need_lc_GO
=no
13086 hardcode_shlibpath_var_GO
=no
13087 runpath_var
='LD_RUN_PATH'
13089 if test "$GCC" = yes; then
13090 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13091 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13093 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13098 sysv5
* | sco3.2v5
* | sco5v6
*)
13099 # Note: We can NOT use -z defs as we might desire, because we do not
13100 # link with -lc, and that would cause any symbols used from libc to
13101 # always be unresolved, which means just about no library would
13102 # ever link correctly. If we're not using GNU ld we use -z text
13103 # though, which does catch some bad symbols but isn't as heavy-handed
13105 no_undefined_flag_GO
='${wl}-z,text'
13106 allow_undefined_flag_GO
='${wl}-z,nodefs'
13107 archive_cmds_need_lc_GO
=no
13108 hardcode_shlibpath_var_GO
=no
13109 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13110 hardcode_libdir_separator_GO
=':'
13111 link_all_deplibs_GO
=yes
13112 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13113 runpath_var
='LD_RUN_PATH'
13115 if test "$GCC" = yes; then
13116 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13126 hardcode_libdir_flag_spec_GO
='-L$libdir'
13127 hardcode_shlibpath_var_GO
=no
13135 if test x
$host_vendor = xsni
; then
13137 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13138 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13145 $as_echo "$ld_shlibs_GO" >&6; }
13146 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13148 with_gnu_ld_GO
=$with_gnu_ld
13156 # Do we need to explicitly link libc?
13158 case "x$archive_cmds_need_lc_GO" in
13160 # Assume -lc should be added
13161 archive_cmds_need_lc_GO
=yes
13163 if test "$enable_shared" = yes && test "$GCC" = yes; then
13164 case $archive_cmds_GO in
13166 # FIXME: we may have to deal with multi-command sequences.
13169 # Test whether the compiler implicitly links with -lc since on some
13170 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13171 # to ld, don't add -lc before -lgcc.
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13173 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13174 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13175 $as_echo_n "(cached) " >&6
13178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13181 (eval $ac_compile) 2>&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13184 test $ac_status = 0; } 2>conftest.err
; then
13187 libobjs
=conftest.
$ac_objext
13189 wl
=$lt_prog_compiler_wl_GO
13190 pic_flag
=$lt_prog_compiler_pic_GO
13196 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13197 allow_undefined_flag_GO
=
13198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13199 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202 test $ac_status = 0; }
13204 lt_cv_archive_cmds_need_lc_GO
=no
13206 lt_cv_archive_cmds_need_lc_GO
=yes
13208 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13210 cat conftest.err
1>&5
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13216 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13217 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13288 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13289 hardcode_action_GO
=
13290 if test -n "$hardcode_libdir_flag_spec_GO" ||
13291 test -n "$runpath_var_GO" ||
13292 test "X$hardcode_automatic_GO" = "Xyes" ; then
13294 # We can hardcode non-existent directories.
13295 if test "$hardcode_direct_GO" != no
&&
13296 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13297 # have to relink, otherwise we might link with an installed library
13298 # when we should be linking with a yet-to-be-installed one
13299 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13300 test "$hardcode_minus_L_GO" != no
; then
13301 # Linking always hardcodes the temporary library directory.
13302 hardcode_action_GO
=relink
13304 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13305 hardcode_action_GO
=immediate
13308 # We cannot hardcode anything, or else we can only hardcode existing
13310 hardcode_action_GO
=unsupported
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13313 $as_echo "$hardcode_action_GO" >&6; }
13315 if test "$hardcode_action_GO" = relink ||
13316 test "$inherit_rpath_GO" = yes; then
13317 # Fast installation is not supported
13318 enable_fast_install
=no
13319 elif test "$shlibpath_overrides_runpath" = yes ||
13320 test "$enable_shared" = no
; then
13321 # Fast installation is not necessary
13322 enable_fast_install
=needless
13334 ac_cpp
='$CPP $CPPFLAGS'
13335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13346 ac_config_commands
="$ac_config_commands libtool"
13351 # Only expand once:
13357 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13360 for ac_prog
in gawk mawk nawk
awk
13362 # Extract the first word of "$ac_prog", so it can be a program name with args.
13363 set dummy
$ac_prog; ac_word
=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if test "${ac_cv_prog_AWK+set}" = set; then :
13367 $as_echo_n "(cached) " >&6
13369 if test -n "$AWK"; then
13370 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13373 for as_dir
in $PATH
13376 test -z "$as_dir" && as_dir
=.
13377 for ac_exec_ext
in '' $ac_executable_extensions; do
13378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13379 ac_cv_prog_AWK
="$ac_prog"
13380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13389 AWK
=$ac_cv_prog_AWK
13390 if test -n "$AWK"; then
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13392 $as_echo "$AWK" >&6; }
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395 $as_echo "no" >&6; }
13399 test -n "$AWK" && break
13403 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13406 # Check whether --enable-werror was given.
13407 if test "${enable_werror+set}" = set; then :
13408 enableval
=$enable_werror;
13411 if test "x$enable_werror" != "xno"; then
13416 glibgo_toolexecdir
=no
13417 glibgo_toolexeclibdir
=no
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13420 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13421 # Check whether --enable-version-specific-runtime-libs was given.
13422 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13423 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13424 yes) version_specific_libs
=yes ;;
13425 no
) version_specific_libs
=no
;;
13426 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13429 version_specific_libs
=no
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13433 $as_echo "$version_specific_libs" >&6; }
13435 # Version-specific runtime libs processing.
13436 if test $version_specific_libs = yes; then
13437 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13438 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13441 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13442 # Install a library built with a cross compiler in tooldir, not libdir.
13443 if test -n "$with_cross_host" &&
13444 test x
"$with_cross_host" != x
"no"; then
13445 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13446 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13448 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13449 nover_glibgo_toolexeclibdir
='${libdir}'
13451 multi_os_directory
=`$GOC -print-multi-os-directory`
13452 case $multi_os_directory in
13453 .
) ;; # Avoid trailing /.
13454 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13457 if test x
"$glibgo_toolexecdir" = x
"no"; then
13458 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13459 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13466 # See if the user wants to configure without libffi. Some
13467 # architectures don't support it. FIXME: We should set a default
13468 # based on the host.
13470 # Check whether --with-libffi was given.
13471 if test "${with_libffi+set}" = set; then :
13472 withval
=$with_libffi; :
13474 with_libffi
=${with_libffi_default-yes}
13480 if test "$with_libffi" != no
; then
13482 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13484 LIBFFI
=..
/libffi
/libffi_convenience.la
13485 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13490 # See if the user wants to configure without libatomic. This is useful if we are
13491 # on an architecture for which libgo does not need an atomic support library and
13492 # libatomic does not support our C compiler.
13494 # Check whether --with-libatomic was given.
13495 if test "${with_libatomic+set}" = set; then :
13496 withval
=$with_libatomic; :
13498 with_libatomic
=${with_libatomic_default-yes}
13503 if test "$with_libatomic" != no
; then
13504 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13508 # Used to tell GNU make to include a file without telling automake to
13510 go_include
="-include"
13524 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13525 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13526 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13527 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13528 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13529 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13530 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13531 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13532 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13534 if test $is_darwin = yes; then
13535 LIBGO_IS_DARWIN_TRUE
=
13536 LIBGO_IS_DARWIN_FALSE
='#'
13538 LIBGO_IS_DARWIN_TRUE
='#'
13539 LIBGO_IS_DARWIN_FALSE
=
13542 if test $is_freebsd = yes; then
13543 LIBGO_IS_FREEBSD_TRUE
=
13544 LIBGO_IS_FREEBSD_FALSE
='#'
13546 LIBGO_IS_FREEBSD_TRUE
='#'
13547 LIBGO_IS_FREEBSD_FALSE
=
13550 if test $is_irix = yes; then
13551 LIBGO_IS_IRIX_TRUE
=
13552 LIBGO_IS_IRIX_FALSE
='#'
13554 LIBGO_IS_IRIX_TRUE
='#'
13555 LIBGO_IS_IRIX_FALSE
=
13558 if test $is_linux = yes; then
13559 LIBGO_IS_LINUX_TRUE
=
13560 LIBGO_IS_LINUX_FALSE
='#'
13562 LIBGO_IS_LINUX_TRUE
='#'
13563 LIBGO_IS_LINUX_FALSE
=
13566 if test $is_netbsd = yes; then
13567 LIBGO_IS_NETBSD_TRUE
=
13568 LIBGO_IS_NETBSD_FALSE
='#'
13570 LIBGO_IS_NETBSD_TRUE
='#'
13571 LIBGO_IS_NETBSD_FALSE
=
13574 if test $is_openbsd = yes; then
13575 LIBGO_IS_OPENBSD_TRUE
=
13576 LIBGO_IS_OPENBSD_FALSE
='#'
13578 LIBGO_IS_OPENBSD_TRUE
='#'
13579 LIBGO_IS_OPENBSD_FALSE
=
13582 if test $is_dragonfly = yes; then
13583 LIBGO_IS_DRAGONFLY_TRUE
=
13584 LIBGO_IS_DRAGONFLY_FALSE
='#'
13586 LIBGO_IS_DRAGONFLY_TRUE
='#'
13587 LIBGO_IS_DRAGONFLY_FALSE
=
13590 if test $is_rtems = yes; then
13591 LIBGO_IS_RTEMS_TRUE
=
13592 LIBGO_IS_RTEMS_FALSE
='#'
13594 LIBGO_IS_RTEMS_TRUE
='#'
13595 LIBGO_IS_RTEMS_FALSE
=
13598 if test $is_solaris = yes; then
13599 LIBGO_IS_SOLARIS_TRUE
=
13600 LIBGO_IS_SOLARIS_FALSE
='#'
13602 LIBGO_IS_SOLARIS_TRUE
='#'
13603 LIBGO_IS_SOLARIS_FALSE
=
13610 *-*-rtems*) USE_DEJAGNU
=yes ;;
13612 *) 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 :
13737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
13744 if ac_fn_c_try_compile
"$LINENO"; then :
13749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13752 if test "$is_ppc" = "yes"; then
13754 elif test "$is_ppc64" = "yes"; then
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 #if defined(__s390x__)
13768 if ac_fn_c_try_compile
"$LINENO"; then :
13773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13774 if test "$is_s390" = "yes"; then
13781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 #if defined(__sparcv9) || defined(__arch64__)
13788 if ac_fn_c_try_compile
"$LINENO"; then :
13793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 if test "$is_sparc" = "yes"; then
13801 if test $is_386 = yes; then
13803 LIBGO_IS_386_FALSE
='#'
13805 LIBGO_IS_386_TRUE
='#'
13806 LIBGO_IS_386_FALSE
=
13809 if test $is_alpha = yes; then
13810 LIBGO_IS_ALPHA_TRUE
=
13811 LIBGO_IS_ALPHA_FALSE
='#'
13813 LIBGO_IS_ALPHA_TRUE
='#'
13814 LIBGO_IS_ALPHA_FALSE
=
13817 if test $is_arm = yes; then
13819 LIBGO_IS_ARM_FALSE
='#'
13821 LIBGO_IS_ARM_TRUE
='#'
13822 LIBGO_IS_ARM_FALSE
=
13825 if test $is_arm64 = yes; then
13826 LIBGO_IS_ARM64_TRUE
=
13827 LIBGO_IS_ARM64_FALSE
='#'
13829 LIBGO_IS_ARM64_TRUE
='#'
13830 LIBGO_IS_ARM64_FALSE
=
13833 if test $is_m68k = yes; then
13834 LIBGO_IS_M68K_TRUE
=
13835 LIBGO_IS_M68K_FALSE
='#'
13837 LIBGO_IS_M68K_TRUE
='#'
13838 LIBGO_IS_M68K_FALSE
=
13841 if test $mips_abi != unknown
; then
13842 LIBGO_IS_MIPS_TRUE
=
13843 LIBGO_IS_MIPS_FALSE
='#'
13845 LIBGO_IS_MIPS_TRUE
='#'
13846 LIBGO_IS_MIPS_FALSE
=
13849 if test $mips_abi = o32
; then
13850 LIBGO_IS_MIPSO32_TRUE
=
13851 LIBGO_IS_MIPSO32_FALSE
='#'
13853 LIBGO_IS_MIPSO32_TRUE
='#'
13854 LIBGO_IS_MIPSO32_FALSE
=
13857 if test $mips_abi = n32
; then
13858 LIBGO_IS_MIPSN32_TRUE
=
13859 LIBGO_IS_MIPSN32_FALSE
='#'
13861 LIBGO_IS_MIPSN32_TRUE
='#'
13862 LIBGO_IS_MIPSN32_FALSE
=
13865 if test $mips_abi = n64
; then
13866 LIBGO_IS_MIPSN64_TRUE
=
13867 LIBGO_IS_MIPSN64_FALSE
='#'
13869 LIBGO_IS_MIPSN64_TRUE
='#'
13870 LIBGO_IS_MIPSN64_FALSE
=
13873 if test $mips_abi = o64
; then
13874 LIBGO_IS_MIPSO64_TRUE
=
13875 LIBGO_IS_MIPSO64_FALSE
='#'
13877 LIBGO_IS_MIPSO64_TRUE
='#'
13878 LIBGO_IS_MIPSO64_FALSE
=
13881 if test $is_ppc = yes; then
13883 LIBGO_IS_PPC_FALSE
='#'
13885 LIBGO_IS_PPC_TRUE
='#'
13886 LIBGO_IS_PPC_FALSE
=
13889 if test $is_ppc64 = yes; then
13890 LIBGO_IS_PPC64_TRUE
=
13891 LIBGO_IS_PPC64_FALSE
='#'
13893 LIBGO_IS_PPC64_TRUE
='#'
13894 LIBGO_IS_PPC64_FALSE
=
13897 if test $is_ppc64le = yes; then
13898 LIBGO_IS_PPC64LE_TRUE
=
13899 LIBGO_IS_PPC64LE_FALSE
='#'
13901 LIBGO_IS_PPC64LE_TRUE
='#'
13902 LIBGO_IS_PPC64LE_FALSE
=
13905 if test $is_s390 = yes; then
13906 LIBGO_IS_S390_TRUE
=
13907 LIBGO_IS_S390_FALSE
='#'
13909 LIBGO_IS_S390_TRUE
='#'
13910 LIBGO_IS_S390_FALSE
=
13913 if test $is_s390x = yes; then
13914 LIBGO_IS_S390X_TRUE
=
13915 LIBGO_IS_S390X_FALSE
='#'
13917 LIBGO_IS_S390X_TRUE
='#'
13918 LIBGO_IS_S390X_FALSE
=
13921 if test $is_sparc = yes; then
13922 LIBGO_IS_SPARC_TRUE
=
13923 LIBGO_IS_SPARC_FALSE
='#'
13925 LIBGO_IS_SPARC_TRUE
='#'
13926 LIBGO_IS_SPARC_FALSE
=
13929 if test $is_sparc64 = yes; then
13930 LIBGO_IS_SPARC64_TRUE
=
13931 LIBGO_IS_SPARC64_FALSE
='#'
13933 LIBGO_IS_SPARC64_TRUE
='#'
13934 LIBGO_IS_SPARC64_FALSE
=
13937 if test $is_x86_64 = yes; then
13938 LIBGO_IS_X86_64_TRUE
=
13939 LIBGO_IS_X86_64_FALSE
='#'
13941 LIBGO_IS_X86_64_TRUE
='#'
13942 LIBGO_IS_X86_64_FALSE
=
13947 GO_LIBCALL_OS_FILE
=
13948 GO_LIBCALL_OS_ARCH_FILE
=
13949 GO_SYSCALL_OS_FILE
=
13950 GO_SYSCALL_OS_ARCH_FILE
=
13951 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
13952 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
13954 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
13955 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
13957 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
13958 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
13960 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
13961 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
13968 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13971 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13972 # msghdr in <sys/socket.h>.
13973 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13975 *-*-solaris2.1
[01])
13976 # Solaris 10+ needs this so struct msghdr gets the msg_control
13977 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13978 # above doesn't work with C99.
13979 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13985 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13986 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13989 CFLAGS_hold
=$CFLAGS
13990 CFLAGS
="$CFLAGS -fsplit-stack"
13991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13995 if ac_fn_c_try_compile
"$LINENO"; then :
13996 libgo_cv_c_split_stack_supported
=yes
13998 libgo_cv_c_split_stack_supported
=no
14000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14001 CFLAGS
=$CFLAGS_hold
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14004 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14005 if test "$libgo_cv_c_split_stack_supported" = yes; then
14006 SPLIT_STACK
=-fsplit-stack
14008 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14014 if test "$libgo_cv_c_split_stack_supported" = yes; then
14015 USING_SPLIT_STACK_TRUE
=
14016 USING_SPLIT_STACK_FALSE
='#'
14018 USING_SPLIT_STACK_TRUE
='#'
14019 USING_SPLIT_STACK_FALSE
=
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14024 $as_echo_n "checking whether linker supports split stack... " >&6; }
14025 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14028 libgo_cv_c_linker_supports_split_stack
=no
14029 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14030 libgo_cv_c_linker_supports_split_stack
=yes
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14034 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14035 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14037 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14042 $as_echo_n "checking whether compiler is llgo... " >&6; }
14043 if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14046 libgo_cv_c_goc_is_llgo
=no
14047 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14048 libgo_cv_c_goc_is_llgo
=yes
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14052 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14053 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14055 GOC_IS_LLGO_FALSE
='#'
14057 GOC_IS_LLGO_TRUE
='#'
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14064 $as_echo_n "checking for sqrt in -lm... " >&6; }
14065 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
14066 $as_echo_n "(cached) " >&6
14068 ac_check_lib_save_LIBS
=$LIBS
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14073 /* Override any GCC internal prototype to avoid an error.
14074 Use char because int might match the return type of a GCC
14075 builtin and then its argument prototype would still apply. */
14088 if ac_fn_c_try_link
"$LINENO"; then :
14089 ac_cv_lib_m_sqrt
=yes
14091 ac_cv_lib_m_sqrt
=no
14093 rm -f core conftest.err conftest.
$ac_objext \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 LIBS
=$ac_check_lib_save_LIBS
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14098 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14099 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14106 $as_echo_n "checking for socket libraries... " >&6; }
14107 if test "${libgo_cv_lib_sockets+set}" = set; then :
14108 $as_echo_n "(cached) " >&6
14110 libgo_cv_lib_sockets
=
14111 libgo_check_both
=no
14112 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14113 if test "x$ac_cv_func_connect" = x
""yes; then :
14114 libgo_check_socket
=no
14116 libgo_check_socket
=yes
14119 if test "$libgo_check_socket" = "yes"; then
14120 unset ac_cv_func_connect
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14122 $as_echo_n "checking for main in -lsocket... " >&6; }
14123 if test "${ac_cv_lib_socket_main+set}" = set; then :
14124 $as_echo_n "(cached) " >&6
14126 ac_check_lib_save_LIBS
=$LIBS
14127 LIBS
="-lsocket $LIBS"
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14140 if ac_fn_c_try_link
"$LINENO"; then :
14141 ac_cv_lib_socket_main
=yes
14143 ac_cv_lib_socket_main
=no
14145 rm -f core conftest.err conftest.
$ac_objext \
14146 conftest
$ac_exeext conftest.
$ac_ext
14147 LIBS
=$ac_check_lib_save_LIBS
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14150 $as_echo "$ac_cv_lib_socket_main" >&6; }
14151 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14152 libgo_cv_lib_sockets
="-lsocket"
14154 libgo_check_both
=yes
14158 if test "$libgo_check_both" = "yes"; then
14159 libgo_old_libs
=$LIBS
14160 LIBS
="$LIBS -lsocket -lnsl"
14161 unset ac_cv_func_accept
14162 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14163 if test "x$ac_cv_func_accept" = x
""yes; then :
14165 libgo_cv_lib_sockets
="-lsocket -lnsl"
14168 unset ac_cv_func_accept
14169 LIBS
=$libgo_old_libs
14171 unset ac_cv_func_gethostbyname
14172 libgo_old_libs
="$LIBS"
14173 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14174 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14178 $as_echo_n "checking for main in -lnsl... " >&6; }
14179 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14180 $as_echo_n "(cached) " >&6
14182 ac_check_lib_save_LIBS
=$LIBS
14184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14196 if ac_fn_c_try_link
"$LINENO"; then :
14197 ac_cv_lib_nsl_main
=yes
14199 ac_cv_lib_nsl_main
=no
14201 rm -f core conftest.err conftest.
$ac_objext \
14202 conftest
$ac_exeext conftest.
$ac_ext
14203 LIBS
=$ac_check_lib_save_LIBS
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14206 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14207 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14208 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14213 unset ac_cv_func_gethostbyname
14214 LIBS
=$libgo_old_libs
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14218 $as_echo "$libgo_cv_lib_sockets" >&6; }
14219 NET_LIBS
="$libgo_cv_lib_sockets"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14223 $as_echo_n "checking whether -pthread is supported... " >&6; }
14224 if test "${libgo_cv_lib_pthread+set}" = set; then :
14225 $as_echo_n "(cached) " >&6
14227 CFLAGS_hold
=$CFLAGS
14228 CFLAGS
="$CFLAGS -pthread"
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14233 if ac_fn_c_try_compile
"$LINENO"; then :
14234 libgo_cv_lib_pthread
=yes
14236 libgo_cv_lib_pthread
=no
14238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14239 CFLAGS
=$CFLAGS_hold
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14242 $as_echo "$libgo_cv_lib_pthread" >&6; }
14244 if test "$libgo_cv_lib_pthread" = yes; then
14245 PTHREAD_CFLAGS
=-pthread
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14251 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14252 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14253 $as_echo_n "(cached) " >&6
14255 ac_check_lib_save_LIBS
=$LIBS
14256 LIBS
="-lpthread $LIBS"
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14266 char pthread_create ();
14270 return pthread_create ();
14275 if ac_fn_c_try_link
"$LINENO"; then :
14276 ac_cv_lib_pthread_pthread_create
=yes
14278 ac_cv_lib_pthread_pthread_create
=no
14280 rm -f core conftest.err conftest.
$ac_objext \
14281 conftest
$ac_exeext conftest.
$ac_ext
14282 LIBS
=$ac_check_lib_save_LIBS
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14285 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14286 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14287 PTHREAD_LIBS
=-lpthread
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14293 $as_echo_n "checking for library containing sched_yield... " >&6; }
14294 if test "${ac_cv_search_sched_yield+set}" = set; then :
14295 $as_echo_n "(cached) " >&6
14297 ac_func_search_save_LIBS
=$LIBS
14298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14307 char sched_yield ();
14311 return sched_yield ();
14316 for ac_lib
in '' rt
; do
14317 if test -z "$ac_lib"; then
14318 ac_res
="none required"
14321 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14323 if ac_fn_c_try_link
"$LINENO"; then :
14324 ac_cv_search_sched_yield
=$ac_res
14326 rm -f core conftest.err conftest.
$ac_objext \
14328 if test "${ac_cv_search_sched_yield+set}" = set; then :
14332 if test "${ac_cv_search_sched_yield+set}" = set; then :
14335 ac_cv_search_sched_yield
=no
14337 rm conftest.
$ac_ext
14338 LIBS
=$ac_func_search_save_LIBS
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14341 $as_echo "$ac_cv_search_sched_yield" >&6; }
14342 ac_res
=$ac_cv_search_sched_yield
14343 if test "$ac_res" != no
; then :
14344 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14349 $as_echo_n "checking for library containing nanosleep... " >&6; }
14350 if test "${ac_cv_search_nanosleep+set}" = set; then :
14351 $as_echo_n "(cached) " >&6
14353 ac_func_search_save_LIBS
=$LIBS
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14367 return nanosleep ();
14372 for ac_lib
in '' rt
; do
14373 if test -z "$ac_lib"; then
14374 ac_res
="none required"
14377 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14379 if ac_fn_c_try_link
"$LINENO"; then :
14380 ac_cv_search_nanosleep
=$ac_res
14382 rm -f core conftest.err conftest.
$ac_objext \
14384 if test "${ac_cv_search_nanosleep+set}" = set; then :
14388 if test "${ac_cv_search_nanosleep+set}" = set; then :
14391 ac_cv_search_nanosleep
=no
14393 rm conftest.
$ac_ext
14394 LIBS
=$ac_func_search_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14397 $as_echo "$ac_cv_search_nanosleep" >&6; }
14398 ac_res
=$ac_cv_search_nanosleep
14399 if test "$ac_res" != no
; then :
14400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14406 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14407 if test "${ac_cv_c_bigendian+set}" = set; then :
14408 $as_echo_n "(cached) " >&6
14410 ac_cv_c_bigendian
=unknown
14411 # See if we're dealing with a universal compiler.
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 #ifndef __APPLE_CC__
14415 not a universal capable compiler
14420 if ac_fn_c_try_compile
"$LINENO"; then :
14422 # Check for potential -arch flags. It is not universal unless
14423 # there are at least two -arch flags with different values.
14426 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14427 if test -n "$ac_prev"; then
14429 i?
86 | x86_64 | ppc | ppc64
)
14430 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14433 ac_cv_c_bigendian
=universal
14439 elif test "x$ac_word" = "x-arch"; then
14444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14445 if test $ac_cv_c_bigendian = unknown
; then
14446 # See if sys/param.h defines the BYTE_ORDER macro.
14447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 #include <sys/types.h>
14450 #include <sys/param.h>
14455 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14456 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14458 bogus endian macros
14465 if ac_fn_c_try_compile
"$LINENO"; then :
14466 # It does; now see whether it defined to BIG_ENDIAN or not.
14467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14469 #include <sys/types.h>
14470 #include <sys/param.h>
14475 #if BYTE_ORDER != BIG_ENDIAN
14483 if ac_fn_c_try_compile
"$LINENO"; then :
14484 ac_cv_c_bigendian
=yes
14486 ac_cv_c_bigendian
=no
14488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14492 if test $ac_cv_c_bigendian = unknown
; then
14493 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14496 #include <limits.h>
14501 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14502 bogus endian macros
14509 if ac_fn_c_try_compile
"$LINENO"; then :
14510 # It does; now see whether it defined to _BIG_ENDIAN or not.
14511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <limits.h>
14518 #ifndef _BIG_ENDIAN
14526 if ac_fn_c_try_compile
"$LINENO"; then :
14527 ac_cv_c_bigendian
=yes
14529 ac_cv_c_bigendian
=no
14531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14535 if test $ac_cv_c_bigendian = unknown
; then
14536 # Compile a test program.
14537 if test "$cross_compiling" = yes; then :
14538 # Try to guess by grepping values from an object file.
14539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 short int ascii_mm[] =
14542 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14543 short int ascii_ii[] =
14544 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14545 int use_ascii (int i) {
14546 return ascii_mm[i] + ascii_ii[i];
14548 short int ebcdic_ii[] =
14549 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14550 short int ebcdic_mm[] =
14551 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14552 int use_ebcdic (int i) {
14553 return ebcdic_mm[i] + ebcdic_ii[i];
14560 return use_ascii (foo) == use_ebcdic (foo);
14565 if ac_fn_c_try_compile
"$LINENO"; then :
14566 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14567 ac_cv_c_bigendian
=yes
14569 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14570 if test "$ac_cv_c_bigendian" = unknown
; then
14571 ac_cv_c_bigendian
=no
14573 # finding both strings is unlikely to happen, but who knows?
14574 ac_cv_c_bigendian
=unknown
14578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 $ac_includes_default
14587 /* Are we little or big endian? From Harbison&Steele. */
14591 char c[sizeof (long int)];
14594 return u.c[sizeof (long int) - 1] == 1;
14600 if ac_fn_c_try_run
"$LINENO"; then :
14601 ac_cv_c_bigendian
=no
14603 ac_cv_c_bigendian
=yes
14605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14612 $as_echo "$ac_cv_c_bigendian" >&6; }
14613 case $ac_cv_c_bigendian in #(
14615 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14621 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14625 as_fn_error
"unknown endianness
14626 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14632 # Check whether --with-system-libunwind was given.
14633 if test "${with_system_libunwind+set}" = set; then :
14634 withval
=$with_system_libunwind;
14637 # If system-libunwind was not specifically set, pick a default setting.
14638 if test x
$with_system_libunwind = x
; then
14640 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14641 *) with_system_libunwind
=no
;;
14644 # Based on system-libunwind and target, do we have ipinfo?
14645 if test x
$with_system_libunwind = xyes
; then
14647 ia64-
*-*) have_unwind_getipinfo
=no
;;
14648 *) have_unwind_getipinfo
=yes ;;
14651 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14654 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14655 *) have_unwind_getipinfo
=yes ;;
14660 if test x
$have_unwind_getipinfo = xyes
; then
14662 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14667 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
14669 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14670 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14671 eval as_val
=\$
$as_ac_Header
14672 if test "x$as_val" = x
""yes; then :
14673 cat >>confdefs.h
<<_ACEOF
14674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14682 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
14684 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14685 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14686 #include <sys/socket.h>
14690 eval as_val
=\$
$as_ac_Header
14691 if test "x$as_val" = x
""yes; then :
14692 cat >>confdefs.h
<<_ACEOF
14693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14702 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14703 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14704 $as_echo_n "(cached) " >&6
14706 CFLAGS_hold
=$CFLAGS
14707 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 #include <sys/types.h>
14712 #ifdef HAVE_LINUX_FILTER_H
14713 #include <linux/filter.h>
14718 if ac_fn_c_try_compile
"$LINENO"; then :
14719 libgo_cv_c_ustat_h
=yes
14721 libgo_cv_c_ustat_h
=no
14723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14724 CFLAGS
=$CFLAGS_hold
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14727 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14728 if test $libgo_cv_c_ustat_h = yes; then
14730 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14734 if test "$ac_cv_header_sys_mman_h" = yes; then
14735 HAVE_SYS_MMAN_H_TRUE
=
14736 HAVE_SYS_MMAN_H_FALSE
='#'
14738 HAVE_SYS_MMAN_H_TRUE
='#'
14739 HAVE_SYS_MMAN_H_FALSE
=
14743 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr
14745 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14746 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14747 eval as_val
=\$
$as_ac_var
14748 if test "x$as_val" = x
""yes; then :
14749 cat >>confdefs.h
<<_ACEOF
14750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14756 if test "$ac_cv_func_strerror_r" = yes; then
14757 HAVE_STRERROR_R_TRUE
=
14758 HAVE_STRERROR_R_FALSE
='#'
14760 HAVE_STRERROR_R_TRUE
='#'
14761 HAVE_STRERROR_R_FALSE
=
14764 if test "$ac_cv_func_wait4" = yes; then
14766 HAVE_WAIT4_FALSE
='#'
14768 HAVE_WAIT4_TRUE
='#'
14773 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
14775 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14776 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14777 eval as_val
=\$
$as_ac_var
14778 if test "x$as_val" = x
""yes; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14787 if test "x$ac_cv_type_off_t" = x
""yes; then :
14791 cat >>confdefs.h
<<_ACEOF
14792 #define off_t long int
14797 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14798 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14800 cat >>confdefs.h
<<_ACEOF
14801 #define HAVE_LOFF_T 1
14810 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14812 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14813 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14814 eval as_val
=\$
$as_ac_var
14815 if test "x$as_val" = x
""yes; then :
14816 cat >>confdefs.h
<<_ACEOF
14817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14825 CFLAGS_hold
="$CFLAGS"
14826 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14828 LIBS
="$LIBS $PTHREAD_LIBS"
14829 for ac_func
in sem_timedwait
14831 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14832 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14833 cat >>confdefs.h
<<_ACEOF
14834 #define HAVE_SEM_TIMEDWAIT 1
14840 CFLAGS
="$CFLAGS_hold"
14844 LIBS
="$LIBS $MATH_LIBS"
14845 for ac_func
in matherr
14847 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14848 if test "x$ac_cv_func_matherr" = x
""yes; then :
14849 cat >>confdefs.h
<<_ACEOF
14850 #define HAVE_MATHERR 1
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14859 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14860 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14861 $as_echo_n "(cached) " >&6
14863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14868 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14871 if ac_fn_c_try_link
"$LINENO"; then :
14872 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14874 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14876 rm -f core conftest.err conftest.
$ac_objext \
14877 conftest
$ac_exeext conftest.
$ac_ext
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14880 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14881 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14883 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14888 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14889 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14890 $as_echo_n "(cached) " >&6
14892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14897 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14900 if ac_fn_c_try_link
"$LINENO"; then :
14901 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14903 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14905 rm -f core conftest.err conftest.
$ac_objext \
14906 conftest
$ac_exeext conftest.
$ac_ext
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14909 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14910 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14912 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14917 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14918 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14919 $as_echo_n "(cached) " >&6
14921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14924 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14926 int main() { return __sync_fetch_and_add (&i, 1); }
14929 if ac_fn_c_try_link
"$LINENO"; then :
14930 libgo_cv_func___sync_fetch_and_add_4
=yes
14932 libgo_cv_func___sync_fetch_and_add_4
=no
14934 rm -f core conftest.err conftest.
$ac_objext \
14935 conftest
$ac_exeext conftest.
$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14938 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14939 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14941 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14946 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14947 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14948 $as_echo_n "(cached) " >&6
14950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14955 int main() { return __sync_add_and_fetch (&i, 1); }
14958 if ac_fn_c_try_link
"$LINENO"; then :
14959 libgo_cv_func___sync_add_and_fetch_8
=yes
14961 libgo_cv_func___sync_add_and_fetch_8
=no
14963 rm -f core conftest.err conftest.
$ac_objext \
14964 conftest
$ac_exeext conftest.
$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14967 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14968 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14970 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14975 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14976 if test "${libgo_cv_c_stringops+set}" = set; then :
14977 $as_echo_n "(cached) " >&6
14979 CFLAGS_hold
=$CFLAGS
14980 CFLAGS
="$CFLAGS -minline-all-stringops"
14981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14985 if ac_fn_c_try_compile
"$LINENO"; then :
14986 libgo_cv_c_stringops
=yes
14988 libgo_cv_c_stringops
=no
14990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14991 CFLAGS
=$CFLAGS_hold
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14994 $as_echo "$libgo_cv_c_stringops" >&6; }
14996 if test "$libgo_cv_c_stringops" = yes; then
14997 STRINGOPS_FLAG
=-minline-all-stringops
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15002 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15003 if test "${libgo_cv_c_fancymath+set}" = set; then :
15004 $as_echo_n "(cached) " >&6
15006 CFLAGS_hold
=$CFLAGS
15007 CFLAGS
="$CFLAGS -mfancy-math-387"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15012 if ac_fn_c_try_compile
"$LINENO"; then :
15013 libgo_cv_c_fancymath
=yes
15015 libgo_cv_c_fancymath
=no
15017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15018 CFLAGS
=$CFLAGS_hold
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15021 $as_echo "$libgo_cv_c_fancymath" >&6; }
15023 if test "$libgo_cv_c_fancymath" = yes; then
15024 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
15026 MATH_FLAG
="-ffp-contract=off"
15030 CFLAGS_hold
=$CFLAGS
15031 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15032 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15033 if test "x$ac_cv_type_off64_t" = x
""yes; then :
15035 cat >>confdefs.h
<<_ACEOF
15036 #define HAVE_OFF64_T 1
15042 CFLAGS
=$CFLAGS_hold
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15045 $as_echo_n "checking epoll_event size... " >&6; }
15046 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15047 $as_echo_n "(cached) " >&6
15049 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15052 libgo_cv_c_epoll_event_size
=0
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15057 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15058 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15062 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15063 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15064 $as_echo_n "(cached) " >&6
15066 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15067 #include <sys/epoll.h>"; then :
15070 libgo_cv_c_epoll_event_fd_offset
=0
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15075 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15076 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15079 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15081 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15082 libgo_has_struct_exception
=yes
15084 libgo_has_struct_exception
=no
15087 if test "$libgo_has_struct_exception" = "yes"; then
15089 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15094 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15095 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15096 $as_echo_n "(cached) " >&6
15098 CFLAGS_hold
="$CFLAGS"
15099 CFLAGS
="$PTHREAD_CFLAGS"
15101 LIBS
="$LIBS $PTHREAD_LIBS"
15102 # The cast to long int works around a bug in the HP C Compiler
15103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15105 # This bug is HP SR number 8606223364.
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15107 $as_echo_n "checking size of void *... " >&6; }
15108 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15109 $as_echo_n "(cached) " >&6
15111 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15114 if test "$ac_cv_type_void_p" = yes; then
15115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15117 { as_fn_set_status
77
15118 as_fn_error
"cannot compute sizeof (void *)
15119 See \`config.log' for more details." "$LINENO" 5; }; }
15121 ac_cv_sizeof_void_p
=0
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15127 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15131 cat >>confdefs.h
<<_ACEOF
15132 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15136 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15137 if test "$cross_compiling" = yes; then :
15138 case "$target:$ptr_type_size" in
15139 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15140 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15142 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15149 #include <pthread.h>
15150 #include <stdlib.h>
15151 #include <ucontext.h>
15152 #include <unistd.h>
15156 static char stack[10 * 1024 * 1024];
15157 static ucontext_t c;
15159 /* Called via makecontext/setcontext. */
15167 /* Called via pthread_create. */
15172 /* The thread should still see this value after calling
15178 /* The call to setcontext should not return. */
15187 /* The thread should not see this value. */
15190 if (getcontext (&c) < 0)
15193 c.uc_stack.ss_sp = stack;
15194 #ifdef MAKECONTEXT_STACK_TOP
15195 c.uc_stack.ss_sp += sizeof stack;
15197 c.uc_stack.ss_flags = 0;
15198 c.uc_stack.ss_size = sizeof stack;
15200 makecontext (&c, cfn, 0);
15202 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15205 if (pthread_join (tid, NULL) != 0)
15208 /* The thread should have called exit. */
15213 if ac_fn_c_try_run
"$LINENO"; then :
15214 libgo_cv_lib_setcontext_clobbers_tls
=no
15216 libgo_cv_lib_setcontext_clobbers_tls
=yes
15218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15222 CFLAGS
="$CFLAGS_hold"
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15227 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15228 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15230 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15235 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15236 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15240 libgo_cv_ro_eh_frame
=no
15241 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15242 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15243 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15244 libgo_cv_ro_eh_frame
=yes
15245 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15246 |
grep -v '#write' > /dev
/null
; then
15247 libgo_cv_ro_eh_frame
=yes
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15254 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15255 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15257 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15261 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15266 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15267 if test "${libgo_cv_c_unused_arguments+set}" = set; then :
15268 $as_echo_n "(cached) " >&6
15270 CFLAGS_hold
=$CFLAGS
15271 CFLAGS
="$CFLAGS -Qunused-arguments"
15272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15276 if ac_fn_c_try_compile
"$LINENO"; then :
15277 libgo_cv_c_unused_arguments
=yes
15279 libgo_cv_c_unused_arguments
=no
15281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15282 CFLAGS
=$CFLAGS_hold
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15285 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15288 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15289 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15290 $as_echo_n "(cached) " >&6
15293 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15294 CFLAGS_hold
=$CFLAGS
15295 if test "$libgo_cv_c_unused_arguments" = yes; then
15296 CFLAGS
="$CFLAGS -Qunused-arguments"
15298 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15299 libgo_cv_as_comdat_gnu
=yes
15301 libgo_cv_as_comdat_gnu
=no
15303 CFLAGS
=$CFLAGS_hold
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15307 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15308 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15310 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15315 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15316 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15317 $as_echo_n "(cached) " >&6
15320 libgo_cv_as_x86_pcrel
=yes
15321 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15322 CFLAGS_hold
=$CFLAGS
15323 if test "$libgo_cv_c_unused_arguments" = yes; then
15324 CFLAGS
="$CFLAGS -Qunused-arguments"
15326 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15327 libgo_cv_as_x86_pcrel
=no
15329 CFLAGS
=$CFLAGS_hold
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15333 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15334 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15336 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15341 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15342 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15346 libgo_cv_as_x86_64_unwind_section_type
=yes
15347 echo '.section .eh_frame,"a",@unwind' > conftest.s
15348 CFLAGS_hold
=$CFLAGS
15349 if test "$libgo_cv_c_unused_arguments" = yes; then
15350 CFLAGS
="$CFLAGS -Qunused-arguments"
15352 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15353 libgo_cv_as_x86_64_unwind_section_type
=no
15355 CFLAGS
=$CFLAGS_hold
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15359 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15360 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15362 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15366 cat >confcache
<<\_ACEOF
15367 # This file is a shell script that caches the results of configure
15368 # tests run on this system so they can be shared between configure
15369 # scripts and configure runs, see configure's option --config-cache.
15370 # It is not useful on other systems. If it contains results you don't
15371 # want to keep, you may remove or edit it.
15373 # config.status only pays attention to the cache file if you give it
15374 # the --recheck option to rerun configure.
15376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15378 # following values.
15382 # The following way of writing the cache mishandles newlines in values,
15383 # but we know of no workaround that is simple, portable, and efficient.
15384 # So, we kill variables containing newlines.
15385 # Ultrix sh set writes to stderr and can't be redirected directly,
15386 # and sets the high bit in the cache file unless we assign to the vars.
15388 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15389 eval ac_val
=\$
$ac_var
15393 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15397 _ | IFS | as_nl
) ;; #(
15398 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15399 *) { eval $ac_var=; unset $ac_var;} ;;
15405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15406 *${as_nl}ac_space
=\
*)
15407 # `set' does not quote correctly, so add quotes: double-quote
15408 # substitution turns \\\\ into \\, and sed turns \\ into \.
15411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15414 # `set' quotes correctly as required by POSIX, so do not add quotes.
15415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15428 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15429 if test -w "$cache_file"; then
15430 test "x$cache_file" != "x/dev/null" &&
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15432 $as_echo "$as_me: updating cache $cache_file" >&6;}
15433 cat confcache
>$cache_file
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15441 if test ${multilib} = yes; then
15442 multilib_arg
="--enable-multilib"
15447 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15450 ac_config_commands
="$ac_config_commands default"
15453 cat >confcache
<<\_ACEOF
15454 # This file is a shell script that caches the results of configure
15455 # tests run on this system so they can be shared between configure
15456 # scripts and configure runs, see configure's option --config-cache.
15457 # It is not useful on other systems. If it contains results you don't
15458 # want to keep, you may remove or edit it.
15460 # config.status only pays attention to the cache file if you give it
15461 # the --recheck option to rerun configure.
15463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15465 # following values.
15469 # The following way of writing the cache mishandles newlines in values,
15470 # but we know of no workaround that is simple, portable, and efficient.
15471 # So, we kill variables containing newlines.
15472 # Ultrix sh set writes to stderr and can't be redirected directly,
15473 # and sets the high bit in the cache file unless we assign to the vars.
15475 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15476 eval ac_val
=\$
$ac_var
15480 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15484 _ | IFS | as_nl
) ;; #(
15485 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15486 *) { eval $ac_var=; unset $ac_var;} ;;
15492 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15493 *${as_nl}ac_space
=\
*)
15494 # `set' does not quote correctly, so add quotes: double-quote
15495 # substitution turns \\\\ into \\, and sed turns \\ into \.
15498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15501 # `set' quotes correctly as required by POSIX, so do not add quotes.
15502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15515 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15516 if test -w "$cache_file"; then
15517 test "x$cache_file" != "x/dev/null" &&
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15519 $as_echo "$as_me: updating cache $cache_file" >&6;}
15520 cat confcache
>$cache_file
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15523 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15528 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15529 # Let make expand exec_prefix.
15530 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15532 DEFS
=-DHAVE_CONFIG_H
15536 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15537 # 1. Remove the extension, and $U if already installed.
15538 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15539 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15540 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15541 # will be set to the directory where LIBOBJS objects are built.
15542 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15543 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15545 LIBOBJS
=$ac_libobjs
15547 LTLIBOBJS
=$ac_ltlibobjs
15550 if test -n "$EXEEXT"; then
15552 am__EXEEXT_FALSE
='#'
15554 am__EXEEXT_TRUE
='#'
15558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15559 as_fn_error
"conditional \"AMDEP\" was never defined.
15560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15563 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15566 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15567 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15570 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15571 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15574 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15575 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15578 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15579 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15582 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15583 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15586 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15587 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15590 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15591 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15594 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15595 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15598 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15599 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15603 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15607 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15611 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15615 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15619 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15623 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15627 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15631 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15635 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15639 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15643 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15647 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15651 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${LIBGO_IS_PPC64LE_TRUE}" && test -z "${LIBGO_IS_PPC64LE_FALSE}"; then
15655 as_fn_error
"conditional \"LIBGO_IS_PPC64LE\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
15659 as_fn_error
"conditional \"LIBGO_IS_S390\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
15663 as_fn_error
"conditional \"LIBGO_IS_S390X\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15667 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15671 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15675 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15679 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15682 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
15683 as_fn_error
"conditional \"GOC_IS_LLGO\" was never defined.
15684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15687 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15688 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15692 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15695 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15696 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15700 : ${CONFIG_STATUS=./config.status}
15702 ac_clean_files_save
=$ac_clean_files
15703 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15705 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15707 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15709 # Generated by $as_me.
15710 # Run this file to recreate the current configuration.
15711 # Compiler output produced by configure, useful for debugging
15712 # configure, is in config.log if it exists.
15715 ac_cs_recheck=false
15718 SHELL=\${CONFIG_SHELL-$SHELL}
15721 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15722 ## -------------------- ##
15723 ## M4sh Initialization. ##
15724 ## -------------------- ##
15726 # Be more Bourne compatible
15727 DUALCASE
=1; export DUALCASE
# for MKS sh
15728 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15731 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15732 # is contrary to our usage. Disable this feature.
15733 alias -g '${1+"$@"}'='"$@"'
15734 setopt NO_GLOB_SUBST
15736 case `(set -o) 2>/dev/null` in #(
15748 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15749 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15752 # Prefer a ksh shell builtin over an external printf program on Solaris,
15753 # but without wasting forks for bash or zsh.
15754 if test -z "$BASH_VERSION$ZSH_VERSION" \
15755 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15756 as_echo='print
-r --'
15757 as_echo_n='print
-rn --'
15758 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15759 as_echo='printf %s
\n'
15760 as_echo_n='printf %s
'
15762 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15763 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15764 as_echo_n='/usr
/ucb
/echo -n'
15766 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15767 as_echo_n_body='eval
15771 expr "X$arg" : "X\\(.*\\)$as_nl";
15772 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15774 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15776 export as_echo_n_body
15777 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15779 export as_echo_body
15780 as_echo='sh
-c $as_echo_body as_echo
'
15783 # The user is always right.
15784 if test "${PATH_SEPARATOR+set}" != set; then
15786 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15787 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15794 # We need space, tab and new line, in precisely that order. Quoting is
15795 # there to prevent editors from complaining about space-tab.
15796 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15797 # splitting by setting IFS to empty value.)
15800 # Find who we are. Look in the path if we contain no directory separator.
15802 *[\\/]* ) as_myself=$0 ;;
15803 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15804 for as_dir in $PATH
15807 test -z "$as_dir" && as_dir=.
15808 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15814 # We did not find ourselves, most probably we were run as `sh COMMAND'
15815 # in which case we are not to be found in the path.
15816 if test "x$as_myself" = x
; then
15819 if test ! -f "$as_myself"; then
15820 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15824 # Unset variables that we do not need and which cause bugs (e.g. in
15825 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15826 # suppresses any "Segmentation fault" message there. '((' could
15827 # trigger a bug in pdksh 5.2.14.
15828 for as_var
in BASH_ENV ENV MAIL MAILPATH
15829 do eval test x\
${$as_var+set} = xset \
15830 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15843 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15846 # as_fn_error ERROR [LINENO LOG_FD]
15847 # ---------------------------------
15848 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15849 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15850 # script with status $?, using 1 if that was 0.
15853 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15855 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15856 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15858 $as_echo "$as_me: error: $1" >&2
15859 as_fn_exit
$as_status
15863 # as_fn_set_status STATUS
15864 # -----------------------
15865 # Set $? to STATUS, without forking.
15866 as_fn_set_status
()
15869 } # as_fn_set_status
15871 # as_fn_exit STATUS
15872 # -----------------
15873 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15877 as_fn_set_status
$1
15883 # Portably unset VAR.
15886 { eval $1=; unset $1;}
15888 as_unset
=as_fn_unset
15889 # as_fn_append VAR VALUE
15890 # ----------------------
15891 # Append the text in VALUE to the end of the definition contained in VAR. Take
15892 # advantage of any shell optimizations that allow amortized linear growth over
15893 # repeated appends, instead of the typical quadratic growth present in naive
15895 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15896 eval 'as_fn_append ()
15907 # as_fn_arith ARG...
15908 # ------------------
15909 # Perform arithmetic evaluation on the ARGs, and store the result in the
15910 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15911 # must be portable across $(()) and expr.
15912 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15913 eval 'as_fn_arith ()
15920 as_val
=`expr "$@" || test $? -eq 1`
15925 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15926 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15932 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15933 as_basename
=basename
15938 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15944 as_me
=`$as_basename -- "$0" ||
15945 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15946 X"$0" : 'X\(//\)$' \| \
15947 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15949 sed '/^.*\/\([^/][^/]*\)\/*$/{
15963 # Avoid depending upon Character Ranges.
15964 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15965 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15966 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15967 as_cr_digits
='0123456789'
15968 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15970 ECHO_C
= ECHO_N
= ECHO_T
=
15971 case `echo -n x` in #(((((
15973 case `echo 'xy\c'` in
15974 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15976 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15983 rm -f conf$$ conf$$.exe conf$$.
file
15984 if test -d conf$$.dir
; then
15985 rm -f conf$$.dir
/conf$$.
file
15988 mkdir conf$$.dir
2>/dev
/null
15990 if (echo >conf$$.
file) 2>/dev
/null
; then
15991 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15993 # ... but there are two gotchas:
15994 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15995 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15996 # In both cases, we have to default to `cp -p'.
15997 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15999 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16007 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16008 rmdir conf$$.dir
2>/dev
/null
16013 # Create "$as_dir" as a directory, including parents if necessary.
16018 -*) as_dir
=.
/$as_dir;;
16020 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16024 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16025 *) as_qdir
=$as_dir;;
16027 as_dirs
="'$as_qdir' $as_dirs"
16028 as_dir
=`$as_dirname -- "$as_dir" ||
16029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16030 X"$as_dir" : 'X\(//\)[^/]' \| \
16031 X"$as_dir" : 'X\(//\)$' \| \
16032 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16033 $as_echo X"$as_dir" |
16034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16038 /^X\(\/\/\)[^/].*/{
16051 test -d "$as_dir" && break
16053 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16054 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16058 if mkdir
-p .
2>/dev
/null
; then
16059 as_mkdir_p
='mkdir -p "$as_dir"'
16061 test -d .
/-p && rmdir .
/-p
16065 if test -x / >/dev
/null
2>&1; then
16066 as_test_x
='test -x'
16068 if ls -dL / >/dev
/null
2>&1; then
16075 if test -d "$1"; then
16081 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16082 ???[sx]*):;;*)false;;esac;fi
16086 as_executable_p
=$as_test_x
16088 # Sed expression to map a string onto a valid CPP name.
16089 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16091 # Sed expression to map a string onto a valid variable name.
16092 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16096 ## ----------------------------------- ##
16097 ## Main body of $CONFIG_STATUS script. ##
16098 ## ----------------------------------- ##
16100 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16103 # Save the log message, to keep $0 and so on meaningful, and to
16104 # report actual input values of CONFIG_FILES etc. instead of their
16105 # values after options handling.
16107 This file was extended by package-unused $as_me version-unused, which was
16108 generated by GNU Autoconf 2.64. Invocation command line was
16110 CONFIG_FILES = $CONFIG_FILES
16111 CONFIG_HEADERS = $CONFIG_HEADERS
16112 CONFIG_LINKS = $CONFIG_LINKS
16113 CONFIG_COMMANDS = $CONFIG_COMMANDS
16116 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16121 case $ac_config_files in *"
16122 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16125 case $ac_config_headers in *"
16126 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16131 # Files that config.status was made for.
16132 config_files="$ac_config_files"
16133 config_headers="$ac_config_headers"
16134 config_commands="$ac_config_commands"
16138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16140 \`$as_me' instantiates files and other configuration actions
16141 from templates according to the current configuration. Unless the files
16142 and actions are specified as TAGs, all are instantiated by default.
16144 Usage: $0 [OPTION]... [TAG]...
16146 -h, --help print this help, then exit
16147 -V, --version print version number and configuration settings, then exit
16148 -q, --quiet, --silent
16149 do not print progress messages
16150 -d, --debug don't remove temporary files
16151 --recheck update $as_me by reconfiguring in the same conditions
16152 --file=FILE[:TEMPLATE]
16153 instantiate the configuration file FILE
16154 --header=FILE[:TEMPLATE]
16155 instantiate the configuration header FILE
16157 Configuration files:
16160 Configuration headers:
16163 Configuration commands:
16166 Report bugs to the package provider."
16169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16171 package-unused config.status version-unused
16172 configured by $0, generated by GNU Autoconf 2.64,
16173 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16175 Copyright (C) 2009 Free Software Foundation, Inc.
16176 This config.status script is free software; the Free Software Foundation
16177 gives unlimited permission to copy, distribute and modify it."
16184 test -n "\$AWK" || AWK=awk
16187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16188 # The default lists apply if the user does not specify any file.
16194 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16195 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16206 # Handling of the options.
16207 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16209 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16210 $as_echo "$ac_cs_version"; exit ;;
16211 --debug |
--debu |
--deb |
--de |
--d |
-d )
16213 --file |
--fil |
--fi |
--f )
16216 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16218 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16219 ac_need_defaults
=false
;;
16220 --header |
--heade |
--head |
--hea )
16223 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16225 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16226 ac_need_defaults
=false
;;
16228 # Conflict between --help and --header
16229 as_fn_error
"ambiguous option: \`$1'
16230 Try \`$0 --help' for more information.";;
16231 --help |
--hel |
-h )
16232 $as_echo "$ac_cs_usage"; exit ;;
16233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16234 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16237 # This is an error.
16238 -*) as_fn_error
"unrecognized option: \`$1'
16239 Try \`$0 --help' for more information." ;;
16241 *) as_fn_append ac_config_targets
" $1"
16242 ac_need_defaults
=false
;;
16248 ac_configure_extra_args
=
16250 if $ac_cs_silent; then
16252 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16257 if \$ac_cs_recheck; then
16258 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16260 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16261 CONFIG_SHELL='$SHELL'
16262 export CONFIG_SHELL
16267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16271 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16272 ## Running $as_me. ##
16278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16286 with_multisubdir="$with_multisubdir"
16287 with_multisrctop="$with_multisrctop"
16288 with_target_subdir="$with_target_subdir"
16289 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16290 multi_basedir="$multi_basedir"
16291 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16294 GFORTRAN="$GFORTRAN"
16296 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16299 # The HP-UX ksh and POSIX shell print the target directory to stdout
16300 # if CDPATH is set.
16301 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16303 sed_quote_subst='$sed_quote_subst'
16304 double_quote_subst='$double_quote_subst'
16305 delay_variable_subst='$delay_variable_subst'
16306 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16307 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16308 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16309 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16310 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16311 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16312 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16313 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16314 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16315 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16316 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16317 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16318 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16319 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16320 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16321 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16322 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16323 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16324 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16325 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16326 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16327 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16328 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16329 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16330 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16331 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16332 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16333 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16334 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16335 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16336 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16337 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16338 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16339 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16340 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16341 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16342 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16343 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16344 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16345 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16346 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16347 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16348 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16349 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16350 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16351 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16352 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16353 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16354 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"`'
16355 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16356 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16357 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16358 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16359 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16360 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16361 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16362 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16363 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16364 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16365 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16366 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16367 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16368 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16369 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16370 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16371 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16372 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16373 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16374 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16375 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16376 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16377 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16378 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16379 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16380 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16381 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16382 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16383 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16384 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16385 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16386 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16387 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16388 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16389 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16390 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16391 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16392 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16393 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16394 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16395 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16396 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16397 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16398 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16399 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16400 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16401 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16402 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16403 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16404 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16405 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16406 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16407 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16408 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16409 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16410 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16411 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16412 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16413 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16414 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16415 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16416 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16417 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16418 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16419 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16420 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16421 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16422 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16423 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16424 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16425 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16426 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16427 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16428 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16429 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16430 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16431 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16432 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16433 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16434 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16435 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16436 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16437 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16438 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16439 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16440 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16441 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16442 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16443 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16444 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16445 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16446 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16447 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16448 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16449 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16450 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16451 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16452 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16453 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16454 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16455 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16456 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16457 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16458 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16459 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16460 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16461 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16462 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16463 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16464 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16465 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16466 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16467 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16468 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16471 LTCFLAGS='$LTCFLAGS'
16472 compiler='$compiler_DEFAULT'
16474 # A function that is used when there is no print builtin or printf.
16475 func_fallback_echo ()
16477 eval 'cat <<_LTECHO_EOF
16482 # Quote evaled strings.
16496 deplibs_check_method \
16505 lt_cv_sys_global_symbol_pipe \
16506 lt_cv_sys_global_symbol_to_cdecl \
16507 lt_cv_sys_global_symbol_to_c_name_address \
16508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16509 lt_prog_compiler_no_builtin_flag \
16510 lt_prog_compiler_wl \
16511 lt_prog_compiler_pic \
16512 lt_prog_compiler_static \
16513 lt_cv_prog_compiler_c_o \
16521 export_dynamic_flag_spec \
16522 whole_archive_flag_spec \
16523 compiler_needs_object \
16525 allow_undefined_flag \
16526 no_undefined_flag \
16527 hardcode_libdir_flag_spec \
16528 hardcode_libdir_flag_spec_ld \
16529 hardcode_libdir_separator \
16534 variables_saved_for_relink \
16536 library_names_spec \
16538 install_override_mode \
16545 lt_prog_compiler_no_builtin_flag_GO \
16546 lt_prog_compiler_wl_GO \
16547 lt_prog_compiler_pic_GO \
16548 lt_prog_compiler_static_GO \
16549 lt_cv_prog_compiler_c_o_GO \
16550 export_dynamic_flag_spec_GO \
16551 whole_archive_flag_spec_GO \
16552 compiler_needs_object_GO \
16554 allow_undefined_flag_GO \
16555 no_undefined_flag_GO \
16556 hardcode_libdir_flag_spec_GO \
16557 hardcode_libdir_flag_spec_ld_GO \
16558 hardcode_libdir_separator_GO \
16559 fix_srcfile_path_GO \
16560 exclude_expsyms_GO \
16561 include_expsyms_GO \
16562 file_list_spec_GO; do
16563 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16564 *[\\\\\\\`\\"\\\$]*)
16565 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16568 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16573 # Double-quote double-evaled strings.
16574 for var in reload_cmds \
16575 old_postinstall_cmds \
16576 old_postuninstall_cmds \
16578 extract_expsyms_cmds \
16579 old_archive_from_new_cmds \
16580 old_archive_from_expsyms_cmds \
16582 archive_expsym_cmds \
16584 module_expsym_cmds \
16585 export_symbols_cmds \
16588 postuninstall_cmds \
16590 sys_lib_search_path_spec \
16591 sys_lib_dlsearch_path_spec \
16593 old_archive_cmds_GO \
16594 old_archive_from_new_cmds_GO \
16595 old_archive_from_expsyms_cmds_GO \
16597 archive_expsym_cmds_GO \
16599 module_expsym_cmds_GO \
16600 export_symbols_cmds_GO \
16601 prelink_cmds_GO; do
16602 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16603 *[\\\\\\\`\\"\\\$]*)
16604 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16607 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16612 ac_aux_dir='$ac_aux_dir'
16613 xsi_shell='$xsi_shell'
16614 lt_shell_append='$lt_shell_append'
16616 # See if we are running on zsh, and set the options which allow our
16617 # commands through without removal of \ escapes INIT.
16618 if test -n "\${ZSH_VERSION+set}" ; then
16619 setopt NO_GLOB_SUBST
16625 TIMESTAMP='$TIMESTAMP'
16634 # Variables needed in config.status (file generation) which aren't already
16635 # passed by autoconf.
16641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16643 # Handling of arguments.
16644 for ac_config_target
in $ac_config_targets
16646 case $ac_config_target in
16647 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16648 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16649 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16650 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16651 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16652 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16653 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16655 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16660 # If the user did not use the arguments to specify the items to instantiate,
16661 # then the envvar interface is used. Set only those that are not.
16662 # We use the long form for the default assignment because of an extremely
16663 # bizarre bug on SunOS 4.1.3.
16664 if $ac_need_defaults; then
16665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16667 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16670 # Have a temporary directory for convenience. Make it in the build tree
16671 # simply because there is no reason against having it here, and in addition,
16672 # creating and moving files from /tmp can sometimes cause problems.
16673 # Hook for its removal unless debugging.
16674 # Note that there is a small window in which the directory will not be cleaned:
16675 # after its creation but before its name has been assigned to `$tmp'.
16679 trap 'exit_status=$?
16680 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16682 trap 'as_fn_exit 1' 1 2 13 15
16684 # Create a (secure) tmp directory for tmp files.
16687 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16688 test -n "$tmp" && test -d "$tmp"
16691 tmp
=.
/conf$$
-$RANDOM
16692 (umask 077 && mkdir
"$tmp")
16693 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16695 # Set up the scripts for CONFIG_FILES section.
16696 # No need to generate them if there are no CONFIG_FILES.
16697 # This happens for instance with `./config.status config.h'.
16698 if test -n "$CONFIG_FILES"; then
16701 ac_cr
=`echo X | tr X '\015'`
16702 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16703 # But we know of no other shell where ac_cr would be empty at this
16704 # point, so we can use a bashism as a fallback.
16705 if test "x$ac_cr" = x
; then
16706 eval ac_cr
=\$
\'\\r
\'
16708 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16709 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16712 ac_cs_awk_cr
=$ac_cr
16715 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16720 echo "cat >conf$$subs.awk <<_ACEOF" &&
16721 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16723 } >conf$$subs.sh ||
16724 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16725 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16727 for ac_last_try in false false false false false :; do
16728 . ./conf$$subs.sh ||
16729 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16731 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16732 if test $ac_delim_n = $ac_delim_num; then
16734 elif $ac_last_try; then
16735 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16737 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16740 rm -f conf$$subs.sh
16742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16743 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16747 s/^/S["/; s
/!.
*/"]=/
16757 s/\(.\{148\}\).*/\1/
16759 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16764 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16771 s/\(.\{148\}\).*/\1/
16773 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16777 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16782 ' <conf$$subs.awk | sed '
16787 ' >>$CONFIG_STATUS || ac_write_fail=1
16788 rm -f conf$$subs.awk
16789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16791 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16792 for (key in S) S_is_set[key] = 1
16798 nfields = split(line, field, "@
")
16800 len = length(field[1])
16801 for (i = 2; i < nfields; i++) {
16803 keylen = length(key)
16804 if (S_is_set[key]) {
16806 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16807 len += length(value) + length(field[++i])
16818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16819 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16820 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16823 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16824 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16827 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16828 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16829 # trailing colons and then remove the whole line if VPATH becomes empty
16830 # (actually we leave an empty line to preserve line numbers).
16831 if test "x
$srcdir" = x.; then
16832 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16833 s/:*\$(srcdir):*/:/
16834 s/:*\${srcdir}:*/:/
16836 s/^\([^=]*=[ ]*\):*/\1/
16842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16843 fi # test -n "$CONFIG_FILES"
16845 # Set up the scripts for CONFIG_HEADERS section.
16846 # No need to generate them if there are no CONFIG_HEADERS.
16847 # This happens for instance with `./config.status Makefile'.
16848 if test -n "$CONFIG_HEADERS"; then
16849 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16853 # Transform confdefs.h into an awk script `defines.awk', embedded as
16854 # here-document in config.status, that substitutes the proper values into
16855 # config.h.in to produce config.h.
16857 # Create a delimiter string that does not exist in confdefs.h, to ease
16858 # handling of long lines.
16860 for ac_last_try in false false :; do
16861 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16862 if test -z "$ac_t"; then
16864 elif $ac_last_try; then
16865 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16867 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16871 # For the awk script, D is an array of macro values keyed by name,
16872 # likewise P contains macro parameters if any. Preserve backslash
16873 # newline sequences.
16875 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16877 s/.\{148\}/&'"$ac_delim"'/g
16880 s/^[ ]*#[ ]*define[ ][ ]*/ /
16887 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16889 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16893 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16894 D["\
1"]=" \
3\\\\\\n
"\\/p
16896 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16901 s/.\{148\}/&'"$ac_delim"'/g
16906 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16909 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16911 ' <confdefs.h | sed '
16912 s/'"$ac_delim"'/"\\\
16913 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16916 for (key in D) D_is_set[key] = 1
16919 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16921 split(line, arg, " ")
16922 if (arg[1] == "#") {
16926 defundef
= substr
(arg
[1], 2)
16929 split(mac1
, mac2
, "(") #)
16931 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16932 if (D_is_set
[macro
]) {
16933 # Preserve the white space surrounding the "#".
16934 print prefix
"define", macro P
[macro
] D
[macro
]
16937 # Replace #undef with comments. This is necessary, for example,
16938 # in the case of _POSIX_SOURCE, which is predefined and required
16939 # on some systems where configure will not decide to define it.
16940 if (defundef
== "undef") {
16941 print
"/*", prefix defundef
, macro
, "*/"
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16950 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16951 fi # test -n "$CONFIG_HEADERS"
16954 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16959 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16961 case $ac_mode$ac_tag in
16963 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16964 :[FH
]-) ac_tag
=-:-;;
16965 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16982 -) ac_f
="$tmp/stdin";;
16983 *) # Look for the file first in the build tree, then in the source tree
16984 # (if the path is not absolute). The absolute path cannot be DOS-style,
16985 # because $ac_f cannot contain `:'.
16989 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16991 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16993 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16994 as_fn_append ac_file_inputs
" '$ac_f'"
16997 # Let's still pretend it is `configure' which instantiates (i.e., don't
16998 # use $as_me), people would be surprised to read:
16999 # /* config.h. Generated by config.status. */
17000 configure_input
='Generated from '`
17001 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17003 if test x
"$ac_file" != x-
; then
17004 configure_input
="$ac_file. $configure_input"
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17006 $as_echo "$as_me: creating $ac_file" >&6;}
17008 # Neutralize special characters interpreted by sed in replacement strings.
17009 case $configure_input in #(
17010 *\
&* |
*\|
* |
*\\* )
17011 ac_sed_conf_input
=`$as_echo "$configure_input" |
17012 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17013 *) ac_sed_conf_input
=$configure_input;;
17017 *:-:* |
*:-) cat >"$tmp/stdin" \
17018 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17023 ac_dir
=`$as_dirname -- "$ac_file" ||
17024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17025 X"$ac_file" : 'X\(//\)[^/]' \| \
17026 X"$ac_file" : 'X\(//\)$' \| \
17027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17028 $as_echo X"$ac_file" |
17029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17033 /^X\(\/\/\)[^/].*/{
17046 as_dir
="$ac_dir"; as_fn_mkdir_p
17050 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17052 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17053 # A ".." for each directory in $ac_dir_suffix.
17054 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17055 case $ac_top_builddir_sub in
17056 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17057 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17060 ac_abs_top_builddir
=$ac_pwd
17061 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17062 # for backward compatibility:
17063 ac_top_builddir
=$ac_top_build_prefix
17066 .
) # We are building in place.
17068 ac_top_srcdir
=$ac_top_builddir_sub
17069 ac_abs_top_srcdir
=$ac_pwd ;;
17070 [\\/]* | ?
:[\\/]* ) # Absolute name.
17071 ac_srcdir
=$srcdir$ac_dir_suffix;
17072 ac_top_srcdir
=$srcdir
17073 ac_abs_top_srcdir
=$srcdir ;;
17074 *) # Relative name.
17075 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17076 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17077 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17079 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17089 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17090 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17092 ac_MKDIR_P
=$MKDIR_P
17094 [\\/$
]* | ?
:[\\/]* ) ;;
17095 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17100 # If the template does not know about datarootdir, expand it.
17101 # FIXME: This hack should be removed a few years after 2.60.
17102 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17113 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17114 *datarootdir
*) ac_datarootdir_seen
=yes;;
17115 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17117 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17120 ac_datarootdir_hack='
17121 s&@datadir@&$datadir&g
17122 s&@docdir@&$docdir&g
17123 s&@infodir@&$infodir&g
17124 s&@localedir@&$localedir&g
17125 s&@mandir@&$mandir&g
17126 s&\\\${datarootdir}&$datarootdir&g' ;;
17130 # Neutralize VPATH when `$srcdir' = `.'.
17131 # Shell code in configure.ac might set extrasub.
17132 # FIXME: do we really want to maintain this feature?
17133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17134 ac_sed_extra="$ac_vpsub
17137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17139 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17140 s|@configure_input@|
$ac_sed_conf_input|
;t t
17141 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17142 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17143 s
&@srcdir@
&$ac_srcdir&;t t
17144 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17145 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17146 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17147 s
&@builddir@
&$ac_builddir&;t t
17148 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17149 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17150 s
&@INSTALL@
&$ac_INSTALL&;t t
17151 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17152 $ac_datarootdir_hack
17154 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17155 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17158 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17161 which seems to be undefined. Please make sure it is defined." >&5
17162 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17163 which seems to be undefined. Please make sure it is defined." >&2;}
17167 -) cat "$tmp/out" && rm -f "$tmp/out";;
17168 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17170 || as_fn_error "could not create $ac_file" "$LINENO" 5
17176 if test x"$ac_file" != x-; then
17178 $as_echo "/* $configure_input */" \
17179 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17180 } >"$tmp/config.h" \
17181 || as_fn_error "could not create $ac_file" "$LINENO" 5
17182 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17184 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17187 mv "$tmp/config.h" "$ac_file" \
17188 || as_fn_error "could not create $ac_file" "$LINENO" 5
17191 $as_echo "/* $configure_input */" \
17192 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17193 || as_fn_error "could not create -" "$LINENO" 5
17195 # Compute "$ac_file"'s index
in $config_headers.
17198 for _am_header
in $config_headers :; do
17199 case $_am_header in
17200 $_am_arg |
$_am_arg:* )
17203 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17206 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17207 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17208 X"$_am_arg" : 'X\(//\)[^/]' \| \
17209 X"$_am_arg" : 'X\(//\)$' \| \
17210 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17211 $as_echo X"$_am_arg" |
17212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17216 /^X\(\/\/\)[^/].*/{
17228 s/.*/./; q'`/stamp-h
$_am_stamp_count
17231 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17232 $as_echo "$as_me: executing $ac_file commands" >&6;}
17237 case $ac_file$ac_mode in
17239 # Only add multilib support code if we just rebuilt the top-level
17241 case " $CONFIG_FILES " in
17243 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17246 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17247 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17248 # are listed without --file. Let's play safe and only enable the eval
17249 # if we detect the quoting.
17250 case $CONFIG_FILES in
17251 *\'*) eval set x
"$CONFIG_FILES" ;;
17252 *) set x
$CONFIG_FILES ;;
17257 # Strip MF so we end up with the name of the file.
17258 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17259 # Check whether this is an Automake generated Makefile or not.
17260 # We used to match only the files named `Makefile.in', but
17261 # some people rename them; so instead we look at the file content.
17262 # Grep'ing the first line is not enough: some people post-process
17263 # each Makefile.in and add a new line on top of each file to say so.
17264 # Grep'ing the whole file is not good either: AIX grep has a line
17265 # limit of 2048, but all sed's we know have understand at least 4000.
17266 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17267 dirpart
=`$as_dirname -- "$mf" ||
17268 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17269 X"$mf" : 'X\(//\)[^/]' \| \
17270 X"$mf" : 'X\(//\)$' \| \
17271 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17277 /^X\(\/\/\)[^/].*/{
17293 # Extract the definition of DEPDIR, am__include, and am__quote
17294 # from the Makefile without running `make'.
17295 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17296 test -z "$DEPDIR" && continue
17297 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17298 test -z "am__include" && continue
17299 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17300 # When using ansi2knr, U may be empty or an underscore; expand it
17301 U
=`sed -n 's/^U = //p' < "$mf"`
17302 # Find all dependency output files, they are included files with
17303 # $(DEPDIR) in their names. We invoke sed twice because it is the
17304 # simplest approach to changing $(DEPDIR) to its actual value in the
17306 for file in `sed -n "
17307 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17308 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17309 # Make sure the directory exists.
17310 test -f "$dirpart/$file" && continue
17311 fdir
=`$as_dirname -- "$file" ||
17312 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17313 X"$file" : 'X\(//\)[^/]' \| \
17314 X"$file" : 'X\(//\)$' \| \
17315 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17316 $as_echo X"$file" |
17317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17321 /^X\(\/\/\)[^/].*/{
17334 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17335 # echo "creating $dirpart/$file"
17336 echo '# dummy' > "$dirpart/$file"
17343 # See if we are running on zsh, and set the options which allow our
17344 # commands through without removal of \ escapes.
17345 if test -n "${ZSH_VERSION+set}" ; then
17346 setopt NO_GLOB_SUBST
17349 cfgfile
="${ofile}T"
17350 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17353 cat <<_LT_EOF >> "$cfgfile"
17356 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17357 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17358 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17359 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17361 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17362 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17363 # Written by Gordon Matzigkeit, 1996
17365 # This file is part of GNU Libtool.
17367 # GNU Libtool is free software; you can redistribute it and/or
17368 # modify it under the terms of the GNU General Public License as
17369 # published by the Free Software Foundation; either version 2 of
17370 # the License, or (at your option) any later version.
17372 # As a special exception to the GNU General Public License,
17373 # if you distribute this file as part of a program or library that
17374 # is built using GNU Libtool, you may include this file under the
17375 # same distribution terms that you use for the rest of that program.
17377 # GNU Libtool is distributed in the hope that it will be useful,
17378 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17379 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17380 # GNU General Public License for more details.
17382 # You should have received a copy of the GNU General Public License
17383 # along with GNU Libtool; see the file COPYING. If not, a copy
17384 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17385 # obtained by writing to the Free Software Foundation, Inc.,
17386 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17389 # The names of the tagged configurations supported by this script.
17390 available_tags="GO "
17392 # ### BEGIN LIBTOOL CONFIG
17394 # A sed program that does not truncate output.
17397 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17398 Xsed="\$SED -e 1s/^X//"
17400 # A grep program that handles long lines.
17406 # A literal string matcher.
17409 # Shell to use when invoking shell scripts.
17412 # An echo program that protects backslashes.
17415 # Which release of libtool.m4 was used?
17416 macro_version=$macro_version
17417 macro_revision=$macro_revision
17419 # Whether or not to build shared libraries.
17420 build_libtool_libs=$enable_shared
17422 # Whether or not to build static libraries.
17423 build_old_libs=$enable_static
17425 # What type of objects to build.
17428 # Whether or not to optimize for fast installation.
17429 fast_install=$enable_fast_install
17432 host_alias=$host_alias
17436 # The build system.
17437 build_alias=$build_alias
17441 # A BSD- or MS-compatible name lister.
17444 # Whether we need soft or hard links.
17447 # What is the maximum length of a command?
17448 max_cmd_len=$max_cmd_len
17450 # Object file suffix (normally "o").
17453 # Executable file suffix (normally "").
17456 # whether the shell understands "unset".
17459 # turn spaces into newlines.
17462 # turn newlines into spaces.
17465 # An object symbol dumper.
17466 OBJDUMP=$lt_OBJDUMP
17468 # Method to check whether dependent libraries are shared objects.
17469 deplibs_check_method=$lt_deplibs_check_method
17471 # Command to use when deplibs_check_method == "file_magic".
17472 file_magic_cmd=$lt_file_magic_cmd
17476 AR_FLAGS=$lt_AR_FLAGS
17478 # A symbol stripping program.
17481 # Commands used to install an old-style archive.
17483 old_postinstall_cmds=$lt_old_postinstall_cmds
17484 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17486 # Whether to use a lock for old archive extraction.
17487 lock_old_archive_extraction=$lock_old_archive_extraction
17492 # LTCC compiler flags.
17493 LTCFLAGS=$lt_CFLAGS
17495 # Take the output of nm and produce a listing of raw symbols and C names.
17496 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17498 # Transform the output of nm in a proper C declaration.
17499 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17501 # Transform the output of nm in a C name address pair.
17502 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17504 # Transform the output of nm in a C name address pair when lib prefix is needed.
17505 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17507 # The name of the directory that contains temporary libtool files.
17510 # Used to examine libraries when file_magic_cmd begins with "file".
17511 MAGIC_CMD=$MAGIC_CMD
17513 # Must we lock files when doing compilation?
17514 need_locks=$lt_need_locks
17516 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17517 DSYMUTIL=$lt_DSYMUTIL
17519 # Tool to change global to local symbols on Mac OS X.
17522 # Tool to manipulate fat objects and archives on Mac OS X.
17525 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17528 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17529 OTOOL64=$lt_OTOOL64
17531 # Old archive suffix (normally "a").
17534 # Shared library suffix (normally ".so").
17535 shrext_cmds=$lt_shrext_cmds
17537 # The commands to extract the exported symbol list from a shared archive.
17538 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17540 # Variables whose values should be saved in libtool wrapper scripts and
17541 # restored at link time.
17542 variables_saved_for_relink=$lt_variables_saved_for_relink
17544 # Do we need the "lib" prefix for modules?
17545 need_lib_prefix=$need_lib_prefix
17547 # Do we need a version for libraries?
17548 need_version=$need_version
17550 # Library versioning type.
17551 version_type=$version_type
17553 # Shared library runtime path variable.
17554 runpath_var=$runpath_var
17556 # Shared library path variable.
17557 shlibpath_var=$shlibpath_var
17559 # Is shlibpath searched before the hard-coded library search path?
17560 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17562 # Format of library name prefix.
17563 libname_spec=$lt_libname_spec
17565 # List of archive names. First name is the real one, the rest are links.
17566 # The last name is the one that the linker finds with -lNAME
17567 library_names_spec=$lt_library_names_spec
17569 # The coded name of the library, if different from the real name.
17570 soname_spec=$lt_soname_spec
17572 # Permission mode override for installation of shared libraries.
17573 install_override_mode=$lt_install_override_mode
17575 # Command to use after installation of a shared archive.
17576 postinstall_cmds=$lt_postinstall_cmds
17578 # Command to use after uninstallation of a shared archive.
17579 postuninstall_cmds=$lt_postuninstall_cmds
17581 # Commands used to finish a libtool library installation in a directory.
17582 finish_cmds=$lt_finish_cmds
17584 # As "finish_cmds", except a single script fragment to be evaled but
17586 finish_eval=$lt_finish_eval
17588 # Whether we should hardcode library paths into libraries.
17589 hardcode_into_libs=$hardcode_into_libs
17591 # Compile-time system search path for libraries.
17592 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17594 # Run-time system search path for libraries.
17595 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17597 # Whether dlopen is supported.
17598 dlopen_support=$enable_dlopen
17600 # Whether dlopen of programs is supported.
17601 dlopen_self=$enable_dlopen_self
17603 # Whether dlopen of statically linked programs is supported.
17604 dlopen_self_static=$enable_dlopen_self_static
17606 # Commands to strip libraries.
17607 old_striplib=$lt_old_striplib
17608 striplib=$lt_striplib
17611 # The linker used to build libraries.
17614 # How to create reloadable object files.
17615 reload_flag=$lt_reload_flag
17616 reload_cmds=$lt_reload_cmds
17618 # Commands used to build an old-style archive.
17619 old_archive_cmds=$lt_old_archive_cmds
17621 # A language specific compiler.
17624 # Is the compiler the GNU compiler?
17627 # Compiler flag to turn off builtin functions.
17628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17630 # How to pass a linker flag through the compiler.
17631 wl=$lt_lt_prog_compiler_wl
17633 # Additional compiler flags for building library objects.
17634 pic_flag=$lt_lt_prog_compiler_pic
17636 # Compiler flag to prevent dynamic linking.
17637 link_static_flag=$lt_lt_prog_compiler_static
17639 # Does compiler simultaneously support -c and -o options?
17640 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17642 # Whether or not to add -lc for building shared libraries.
17643 build_libtool_need_lc=$archive_cmds_need_lc
17645 # Whether or not to disallow shared libs when runtime libs are static.
17646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17648 # Compiler flag to allow reflexive dlopens.
17649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17651 # Compiler flag to generate shared objects directly from archives.
17652 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17654 # Whether the compiler copes with passing no objects directly.
17655 compiler_needs_object=$lt_compiler_needs_object
17657 # Create an old-style archive from a shared archive.
17658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17660 # Create a temporary old-style archive to link instead of a shared archive.
17661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17663 # Commands used to build a shared archive.
17664 archive_cmds=$lt_archive_cmds
17665 archive_expsym_cmds=$lt_archive_expsym_cmds
17667 # Commands used to build a loadable module if different from building
17668 # a shared archive.
17669 module_cmds=$lt_module_cmds
17670 module_expsym_cmds=$lt_module_expsym_cmds
17672 # Whether we are building with GNU ld or not.
17673 with_gnu_ld=$lt_with_gnu_ld
17675 # Flag that allows shared libraries with undefined symbols to be built.
17676 allow_undefined_flag=$lt_allow_undefined_flag
17678 # Flag that enforces no undefined symbols.
17679 no_undefined_flag=$lt_no_undefined_flag
17681 # Flag to hardcode \$libdir into a binary during linking.
17682 # This must work even if \$libdir does not exist
17683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17685 # If ld is used when linking, flag to hardcode \$libdir into a binary
17686 # during linking. This must work even if \$libdir does not exist.
17687 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17689 # Whether we need a single "-rpath" flag with a separated argument.
17690 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17693 # DIR into the resulting binary.
17694 hardcode_direct=$hardcode_direct
17696 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17697 # DIR into the resulting binary and the resulting library dependency is
17698 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17699 # library is relocated.
17700 hardcode_direct_absolute=$hardcode_direct_absolute
17702 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17703 # into the resulting binary.
17704 hardcode_minus_L=$hardcode_minus_L
17706 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17707 # into the resulting binary.
17708 hardcode_shlibpath_var=$hardcode_shlibpath_var
17710 # Set to "yes" if building a shared library automatically hardcodes DIR
17711 # into the library and all subsequent libraries and executables linked
17713 hardcode_automatic=$hardcode_automatic
17715 # Set to yes if linker adds runtime paths of dependent libraries
17716 # to runtime path list.
17717 inherit_rpath=$inherit_rpath
17719 # Whether libtool must link a program against all its dependency libraries.
17720 link_all_deplibs=$link_all_deplibs
17722 # Fix the shell variable \$srcfile for the compiler.
17723 fix_srcfile_path=$lt_fix_srcfile_path
17725 # Set to "yes" if exported symbols are required.
17726 always_export_symbols=$always_export_symbols
17728 # The commands to list exported symbols.
17729 export_symbols_cmds=$lt_export_symbols_cmds
17731 # Symbols that should not be listed in the preloaded symbols.
17732 exclude_expsyms=$lt_exclude_expsyms
17734 # Symbols that must always be exported.
17735 include_expsyms=$lt_include_expsyms
17737 # Commands necessary for linking programs (against libraries) with templates.
17738 prelink_cmds=$lt_prelink_cmds
17740 # Specify filename containing input files.
17741 file_list_spec=$lt_file_list_spec
17743 # How to hardcode a shared library path into an executable.
17744 hardcode_action=$hardcode_action
17746 # ### END LIBTOOL CONFIG
17752 cat <<\_LT_EOF
>> "$cfgfile"
17753 # AIX sometimes has problems with the GCC collect2 program. For some
17754 # reason, if we set the COLLECT_NAMES environment variable, the problems
17755 # vanish in a puff of smoke.
17756 if test "X${COLLECT_NAMES+set}" != Xset
; then
17758 export COLLECT_NAMES
17765 ltmain
="$ac_aux_dir/ltmain.sh"
17768 # We use sed instead of cat because bash on DJGPP gets confused if
17769 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17770 # text mode, it properly converts lines to CR/LF. This bash problem
17771 # is reportedly fixed, but why not run on old versions too?
17772 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17773 ||
(rm -f "$cfgfile"; exit 1)
17777 cat << \_LT_EOF
>> "$cfgfile"
17779 # func_dirname file append nondir_replacement
17780 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17781 # otherwise set result to NONDIR_REPLACEMENT.
17785 */*) func_dirname_result
="${1%/*}${2}" ;;
17786 * ) func_dirname_result
="${3}" ;;
17790 # func_basename file
17793 func_basename_result
="${1##*/}"
17796 # func_dirname_and_basename file append nondir_replacement
17797 # perform func_basename and func_dirname in a single function
17799 # dirname: Compute the dirname of FILE. If nonempty,
17800 # add APPEND to the result, otherwise set result
17801 # to NONDIR_REPLACEMENT.
17802 # value returned in "$func_dirname_result"
17803 # basename: Compute filename of FILE.
17804 # value retuned in "$func_basename_result"
17805 # Implementation must be kept synchronized with func_dirname
17806 # and func_basename. For efficiency, we do not delegate to
17807 # those functions but instead duplicate the functionality here.
17808 func_dirname_and_basename
()
17811 */*) func_dirname_result
="${1%/*}${2}" ;;
17812 * ) func_dirname_result
="${3}" ;;
17814 func_basename_result
="${1##*/}"
17817 # func_stripname prefix suffix name
17818 # strip PREFIX and SUFFIX off of NAME.
17819 # PREFIX and SUFFIX must not contain globbing or regex special
17820 # characters, hashes, percent signs, but SUFFIX may contain a leading
17821 # dot (in which case that matches only a dot).
17824 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17825 # positional parameters, so assign one to ordinary parameter first.
17826 func_stripname_result
=${3}
17827 func_stripname_result
=${func_stripname_result#"${1}"}
17828 func_stripname_result
=${func_stripname_result%"${2}"}
17834 func_opt_split_opt
=${1%%=*}
17835 func_opt_split_arg
=${1#*=}
17842 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17843 *) func_lo2o_result
=${1} ;;
17847 # func_xform libobj-or-source
17850 func_xform_result
=${1%.*}.lo
17853 # func_arith arithmetic-term...
17856 func_arith_result
=$
(( $
* ))
17860 # STRING may not start with a hyphen.
17863 func_len_result
=${#1}
17868 *) # Bourne compatible functions.
17869 cat << \_LT_EOF
>> "$cfgfile"
17871 # func_dirname file append nondir_replacement
17872 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17873 # otherwise set result to NONDIR_REPLACEMENT.
17876 # Extract subdirectory from the argument.
17877 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17878 if test "X$func_dirname_result" = "X${1}"; then
17879 func_dirname_result
="${3}"
17881 func_dirname_result
="$func_dirname_result${2}"
17885 # func_basename file
17888 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17892 # func_stripname prefix suffix name
17893 # strip PREFIX and SUFFIX off of NAME.
17894 # PREFIX and SUFFIX must not contain globbing or regex special
17895 # characters, hashes, percent signs, but SUFFIX may contain a leading
17896 # dot (in which case that matches only a dot).
17897 # func_strip_suffix prefix name
17901 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17902 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17907 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17908 my_sed_long_arg
='1s/^-[^=]*=//'
17913 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17914 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17920 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17923 # func_xform libobj-or-source
17926 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17929 # func_arith arithmetic-term...
17932 func_arith_result
=`expr "$@"`
17936 # STRING may not start with a hyphen.
17939 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17945 case $lt_shell_append in
17947 cat << \_LT_EOF
>> "$cfgfile"
17949 # func_append var value
17950 # Append VALUE to the end of shell variable VAR.
17958 cat << \_LT_EOF
>> "$cfgfile"
17960 # func_append var value
17961 # Append VALUE to the end of shell variable VAR.
17972 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17973 ||
(rm -f "$cfgfile"; exit 1)
17975 mv -f "$cfgfile" "$ofile" ||
17976 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17980 cat <<_LT_EOF >> "$ofile"
17982 # ### BEGIN LIBTOOL TAG CONFIG: GO
17984 # The linker used to build libraries.
17987 # How to create reloadable object files.
17988 reload_flag=$lt_reload_flag_GO
17989 reload_cmds=$lt_reload_cmds_GO
17991 # Commands used to build an old-style archive.
17992 old_archive_cmds=$lt_old_archive_cmds_GO
17994 # A language specific compiler.
17997 # Is the compiler the GNU compiler?
18000 # Compiler flag to turn off builtin functions.
18001 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18003 # How to pass a linker flag through the compiler.
18004 wl=$lt_lt_prog_compiler_wl_GO
18006 # Additional compiler flags for building library objects.
18007 pic_flag=$lt_lt_prog_compiler_pic_GO
18009 # Compiler flag to prevent dynamic linking.
18010 link_static_flag=$lt_lt_prog_compiler_static_GO
18012 # Does compiler simultaneously support -c and -o options?
18013 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18015 # Whether or not to add -lc for building shared libraries.
18016 build_libtool_need_lc=$archive_cmds_need_lc_GO
18018 # Whether or not to disallow shared libs when runtime libs are static.
18019 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18021 # Compiler flag to allow reflexive dlopens.
18022 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18024 # Compiler flag to generate shared objects directly from archives.
18025 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18027 # Whether the compiler copes with passing no objects directly.
18028 compiler_needs_object=$lt_compiler_needs_object_GO
18030 # Create an old-style archive from a shared archive.
18031 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18033 # Create a temporary old-style archive to link instead of a shared archive.
18034 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18036 # Commands used to build a shared archive.
18037 archive_cmds=$lt_archive_cmds_GO
18038 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18040 # Commands used to build a loadable module if different from building
18041 # a shared archive.
18042 module_cmds=$lt_module_cmds_GO
18043 module_expsym_cmds=$lt_module_expsym_cmds_GO
18045 # Whether we are building with GNU ld or not.
18046 with_gnu_ld=$lt_with_gnu_ld_GO
18048 # Flag that allows shared libraries with undefined symbols to be built.
18049 allow_undefined_flag=$lt_allow_undefined_flag_GO
18051 # Flag that enforces no undefined symbols.
18052 no_undefined_flag=$lt_no_undefined_flag_GO
18054 # Flag to hardcode \$libdir into a binary during linking.
18055 # This must work even if \$libdir does not exist
18056 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18058 # If ld is used when linking, flag to hardcode \$libdir into a binary
18059 # during linking. This must work even if \$libdir does not exist.
18060 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18062 # Whether we need a single "-rpath" flag with a separated argument.
18063 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18065 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18066 # DIR into the resulting binary.
18067 hardcode_direct=$hardcode_direct_GO
18069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18070 # DIR into the resulting binary and the resulting library dependency is
18071 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18072 # library is relocated.
18073 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18075 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18076 # into the resulting binary.
18077 hardcode_minus_L=$hardcode_minus_L_GO
18079 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18080 # into the resulting binary.
18081 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18083 # Set to "yes" if building a shared library automatically hardcodes DIR
18084 # into the library and all subsequent libraries and executables linked
18086 hardcode_automatic=$hardcode_automatic_GO
18088 # Set to yes if linker adds runtime paths of dependent libraries
18089 # to runtime path list.
18090 inherit_rpath=$inherit_rpath_GO
18092 # Whether libtool must link a program against all its dependency libraries.
18093 link_all_deplibs=$link_all_deplibs_GO
18095 # Fix the shell variable \$srcfile for the compiler.
18096 fix_srcfile_path=$lt_fix_srcfile_path_GO
18098 # Set to "yes" if exported symbols are required.
18099 always_export_symbols=$always_export_symbols_GO
18101 # The commands to list exported symbols.
18102 export_symbols_cmds=$lt_export_symbols_cmds_GO
18104 # Symbols that should not be listed in the preloaded symbols.
18105 exclude_expsyms=$lt_exclude_expsyms_GO
18107 # Symbols that must always be exported.
18108 include_expsyms=$lt_include_expsyms_GO
18110 # Commands necessary for linking programs (against libraries) with templates.
18111 prelink_cmds=$lt_prelink_cmds_GO
18113 # Specify filename containing input files.
18114 file_list_spec=$lt_file_list_spec_GO
18116 # How to hardcode a shared library path into an executable.
18117 hardcode_action=$hardcode_action_GO
18119 # ### END LIBTOOL TAG CONFIG: GO
18123 "default":C
) if test -n "$CONFIG_FILES"; then
18124 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18125 # that multilib installs will end up installed in the correct place.
18126 # The testsuite needs it for multilib-aware ABI baseline files.
18127 # To work around this not being passed down from config-ml.in ->
18128 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18129 # append it here. Only modify Makefiles that have just been created.
18131 # Also, get rid of this simulated-VPATH thing that automake does.
18132 cat > vpsed
<< \_EOF
18133 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18135 for i
in $SUBDIRS; do
18136 case $CONFIG_FILES in
18138 #echo "Adding MULTISUBDIR to $i/Makefile"
18139 sed -f vpsed
$i/Makefile
> tmp
18140 grep '^MULTISUBDIR =' Makefile
>> tmp
18155 ac_clean_files
=$ac_clean_files_save
18157 test $ac_write_fail = 0 ||
18158 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18161 # configure is writing to config.log, and then calls config.status.
18162 # config.status does its own redirection, appending to config.log.
18163 # Unfortunately, on DOS this fails, as config.log is still kept open
18164 # by configure, so config.status won't be able to write to it; its
18165 # output is simply discarded. So we exec the FD to /dev/null,
18166 # effectively closing config.log, so it can be properly (re)opened and
18167 # appended to by config.status. When coming back to configure, we
18168 # need to make the FD available again.
18169 if test "$no_create" != yes; then
18171 ac_config_status_args
=
18172 test "$silent" = yes &&
18173 ac_config_status_args
="$ac_config_status_args --quiet"
18175 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18177 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18178 # would make configure fail if this is the last instruction.
18179 $ac_cs_success || as_fn_exit $?
18181 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18183 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}