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
619 USING_SPLIT_STACK_FALSE
620 USING_SPLIT_STACK_TRUE
623 GO_SYSCALL_OS_ARCH_FILE
625 GO_LIBCALL_OS_ARCH_FILE
628 LIBGO_IS_X86_64_FALSE
630 LIBGO_IS_SPARC64_FALSE
631 LIBGO_IS_SPARC64_TRUE
638 LIBGO_IS_MIPSO64_FALSE
639 LIBGO_IS_MIPSO64_TRUE
640 LIBGO_IS_MIPSN64_FALSE
641 LIBGO_IS_MIPSN64_TRUE
642 LIBGO_IS_MIPSN32_FALSE
643 LIBGO_IS_MIPSN32_TRUE
644 LIBGO_IS_MIPSO32_FALSE
645 LIBGO_IS_MIPSO32_TRUE
660 LIBGO_IS_SOLARIS_FALSE
661 LIBGO_IS_SOLARIS_TRUE
664 LIBGO_IS_DRAGONFLY_FALSE
665 LIBGO_IS_DRAGONFLY_TRUE
666 LIBGO_IS_OPENBSD_FALSE
667 LIBGO_IS_OPENBSD_TRUE
668 LIBGO_IS_NETBSD_FALSE
674 LIBGO_IS_FREEBSD_FALSE
675 LIBGO_IS_FREEBSD_TRUE
676 LIBGO_IS_DARWIN_FALSE
681 nover_glibgo_toolexeclibdir
682 glibgo_toolexeclibdir
710 MAINTAINER_MODE_FALSE
738 INSTALL_STRIP_PROGRAM
794 program_transform_name
807 enable_option_checking
809 enable_dependency_tracking
810 enable_maintainer_mode
818 enable_version_specific_runtime_libs
820 with_system_libunwind
821 enable_sjlj_exceptions
823 ac_precious_vars
='build_alias
830 # Initialize some variables set by options.
832 ac_init_version
=false
833 ac_unrecognized_opts
=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 includedir
='${prefix}/include'
867 oldincludedir
='/usr/include'
868 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
869 infodir
='${datarootdir}/info'
874 libdir
='${exec_prefix}/lib'
875 localedir
='${datarootdir}/locale'
876 mandir
='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\
$ac_option
890 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=no
;;
948 -docdir |
--docdir |
--docdi |
--doc |
--do)
950 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
953 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
955 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
958 -enable-* |
--enable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1119 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1121 sbindir
=$ac_optarg ;;
1123 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1124 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1125 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1127 ac_prev
=sharedstatedir
;;
1128 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1129 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1130 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1132 sharedstatedir
=$ac_optarg ;;
1134 -site |
--site |
--sit)
1136 -site=* |
--site=* |
--sit=*)
1139 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1141 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1142 srcdir
=$ac_optarg ;;
1144 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1145 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1146 ac_prev
=sysconfdir
;;
1147 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1148 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1149 sysconfdir
=$ac_optarg ;;
1151 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1152 ac_prev
=target_alias
;;
1153 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1154 target_alias
=$ac_optarg ;;
1156 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1159 -version |
--version |
--versio |
--versi |
--vers |
-V)
1160 ac_init_version
=: ;;
1163 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=\
$ac_optarg ;;
1178 -without-* |
--without-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=no
;;
1195 # Obsolete; use --with-x.
1198 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1199 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1200 ac_prev
=x_includes
;;
1201 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1202 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1203 x_includes
=$ac_optarg ;;
1205 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1206 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1207 ac_prev
=x_libraries
;;
1208 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1209 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1210 x_libraries
=$ac_optarg ;;
1212 -*) as_fn_error
"unrecognized option: \`$ac_option'
1213 Try \`$0 --help' for more information."
1217 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1221 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1223 eval $ac_envvar=\
$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 if test -n "$ac_prev"; then
1238 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error
"missing argument to $ac_option"
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1245 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 # Check all directory arguments for consistency.
1251 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir
1256 eval ac_val
=\$
$ac_var
1257 # Remove trailing slashes.
1260 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\
$ac_val;;
1263 # Be sure to have absolute directory names.
1265 [\\/$
]* | ?
:[\\/]* ) continue;;
1266 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1268 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1271 # There might be people who depend on the old broken behavior: `$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1276 target
=$target_alias
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x
; then
1280 if test "x$build_alias" = x
; then
1281 cross_compiling
=maybe
1282 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1283 If a cross compiler is detected then cross compile mode will be used." >&2
1284 elif test "x$build_alias" != "x$host_alias"; then
1290 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1292 test "$silent" = yes && exec 6>/dev
/null
1295 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di
=`ls -di .` &&
1297 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error
"working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error
"pwd does not report name of working directory"
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted
=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir
=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted
=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1339 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1341 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 for ac_var
in $ac_precious_vars; do
1356 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1357 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1358 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1363 # Report the --help message.
1365 if test "$ac_init_help" = "long"; then
1366 # Omit some internal or obsolete options to make the list less imposing.
1367 # This message is too long to be a string in the A/UX 3.1 sh.
1369 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE. See below for descriptions of some of the useful variables.
1376 Defaults for the options are specified in brackets.
1379 -h, --help display this help and exit
1380 --help=short display options specific to this package
1381 --help=recursive display the short help of all the included packages
1382 -V, --version display version information and exit
1383 -q, --quiet, --silent do not print \`checking...' messages
1384 --cache-file=FILE cache test results in FILE [disabled]
1385 -C, --config-cache alias for \`--cache-file=config.cache'
1386 -n, --no-create do not create output files
1387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1389 Installation directories:
1390 --prefix=PREFIX install architecture-independent files in PREFIX
1391 [$ac_default_prefix]
1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 By default, \`make install' will install all the files in
1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398 for instance \`--prefix=\$HOME'.
1400 For better control, use the options below.
1402 Fine tuning of the installation directories:
1403 --bindir=DIR user executables [EPREFIX/bin]
1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1418 --htmldir=DIR html documentation [DOCDIR]
1419 --dvidir=DIR dvi documentation [DOCDIR]
1420 --pdfdir=DIR pdf documentation [DOCDIR]
1421 --psdir=DIR ps documentation [DOCDIR]
1427 --program-prefix=PREFIX prepend PREFIX to installed program names
1428 --program-suffix=SUFFIX append SUFFIX to installed program names
1429 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1432 --build=BUILD configure
for building on BUILD
[guessed
]
1433 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1434 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive
) echo "Configuration of package-unused version-unused:";;
1445 --disable-option-checking ignore unrecognized
--enable/--with options
1446 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1447 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1448 --enable-multilib build many library versions
(default
)
1449 --disable-dependency-tracking speeds up one-time build
1450 --enable-dependency-tracking do not reject slow dependency extractors
1451 --enable-maintainer-mode enable make rules and dependencies not useful
1452 (and sometimes confusing
) to the casual installer
1453 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1454 --enable-static[=PKGS
] build static libraries
[default
=yes]
1455 --enable-fast-install[=PKGS
]
1456 optimize
for fast installation
[default
=yes]
1457 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1458 --enable-werror turns on
-Werror [default
=yes]
1459 --enable-version-specific-runtime-libs
1460 Specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-sjlj-exceptions
1463 force use of builtin_setjmp
for exceptions
1466 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1467 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1468 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1469 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1471 --without-libffi don
't use libffi
1472 --with-system-libunwind use installed libunwind
1474 Some influential environment variables:
1475 CC C compiler command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 nonstandard directory <lib dir>
1479 LIBS libraries to pass to the linker, e.g. -l<library>
1480 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1481 you have headers in a nonstandard directory <include dir>
1482 GOC Go compiler command
1483 GOCFLAGS Go compiler flags
1486 Use these variables to override the choices made by `configure' or to
help
1487 it to
find libraries and programs with nonstandard names
/locations.
1489 Report bugs to the package provider.
1494 if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1503 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1505 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1510 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1513 ac_abs_top_builddir
=$ac_pwd
1514 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1515 # for backward compatibility:
1516 ac_top_builddir
=$ac_top_build_prefix
1519 .
) # We are building in place.
1521 ac_top_srcdir
=$ac_top_builddir_sub
1522 ac_abs_top_srcdir
=$ac_pwd ;;
1523 [\\/]* | ?
:[\\/]* ) # Absolute name.
1524 ac_srcdir
=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir
=$srcdir
1526 ac_abs_top_srcdir
=$srcdir ;;
1528 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1532 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1534 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1549 test -n "$ac_init_help" && exit $ac_status
1550 if $ac_init_version; then
1552 package-unused configure version-unused
1553 generated by GNU Autoconf
2.64
1555 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1556 This configure
script is free software
; the Free Software Foundation
1557 gives unlimited permission to copy
, distribute and modify it.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile
()
1571 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1572 rm -f conftest.
$ac_objext
1573 if { { ac_try
="$ac_compile"
1575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_link LINENO
1605 # -----------------------
1606 # Try to link conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext conftest$ac_exeext
1611 if { { ac_try="$ac_link"
1613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1614 *) ac_try_echo
=$ac_try;;
1616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_link") 2>conftest.err
1620 if test -s conftest.err
; then
1621 grep -v '^ *+' conftest.err
>conftest.er1
1622 cat conftest.er1
>&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest
$ac_exeext && {
1630 test "$cross_compiling" = yes ||
1631 $as_test_x conftest
$ac_exeext
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.
$ac_ext >&5
1640 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1641 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1642 # interfere with the next link command; also delete a directory that is
1643 # left behind by Apple's compiler. We do this before executing the actions.
1644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1648 } # ac_fn_c_try_link
1650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1651 # -------------------------------------------------------
1652 # Tests whether HEADER exists and can be compiled using the include files in
1653 # INCLUDES, setting the cache variable VAR accordingly.
1654 ac_fn_c_check_header_compile
()
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1660 $as_echo_n "(cached) " >&6
1662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1667 if ac_fn_c_try_compile
"$LINENO"; then :
1672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1679 } # ac_fn_c_check_header_compile
1681 # ac_fn_c_try_cpp LINENO
1682 # ----------------------
1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1687 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } >/dev/null && {
1703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 # ac_fn_c_try_run LINENO
1719 # ----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1721 # that executables *can* be run.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1736 { { case "(($ac_try" in
1737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_try") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; }; }; then :
1748 $as_echo "$as_me: program exited with status $ac_status" >&5
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1752 ac_retval=$ac_status
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 # ac_fn_c_check_func LINENO FUNC VAR
1761 # ----------------------------------
1762 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1763 ac_fn_c_check_func ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767 $as_echo_n "checking for $2... " >&6; }
1768 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1769 $as_echo_n "(cached) " >&6
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1773 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1775 #define $2 innocuous_$2
1777 /* System header to define __stub macros and hopefully few prototypes,
1778 which can conflict with char $2 (); below.
1779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1780 <limits.h> exists even on freestanding compilers. */
1783 # include <limits.h>
1785 # include <assert.h>
1790 /* Override any GCC internal prototype to avoid an error.
1791 Use char because int might match the return type of a GCC
1792 builtin and then its argument prototype would still apply. */
1797 /* The GNU C library defines this for functions which it implements
1798 to always fail with ENOSYS. Some functions are actually named
1799 something starting with __ and the normal name is an alias. */
1800 #if defined __stub_$2 || defined __stub___$2
1812 if ac_fn_c_try_link "$LINENO"; then :
1817 rm -f core conftest.err conftest.$ac_objext \
1818 conftest$ac_exeext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_func
1827 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1828 # -------------------------------------------------------
1829 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1830 # the include files in INCLUDES and setting the cache variable VAR
1832 ac_fn_c_check_header_mongrel ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1839 $as_echo_n "(cached) " >&6
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 # Is the header compilable?
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1847 $as_echo_n "checking $2 usability... " >&6; }
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1853 if ac_fn_c_try_compile "$LINENO"; then :
1854 ac_header_compiler=yes
1856 ac_header_compiler=no
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1860 $as_echo "$ac_header_compiler" >&6; }
1862 # Is the header present?
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1864 $as_echo_n "checking $2 presence... " >&6; }
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1869 if ac_fn_c_try_cpp "$LINENO"; then :
1870 ac_header_preproc=yes
1872 ac_header_preproc=no
1874 rm -f conftest.err conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1876 $as_echo "$ac_header_preproc" >&6; }
1878 # So? What about this header?
1879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1882 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1884 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1888 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1890 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1892 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1894 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1896 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1902 $as_echo_n "(cached) " >&6
1904 eval "$3=\$ac_header_compiler"
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 } # ac_fn_c_check_header_mongrel
1914 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1915 # -------------------------------------------
1916 # Tests whether TYPE exists after having included INCLUDES, setting cache
1917 # variable VAR accordingly.
1918 ac_fn_c_check_type ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1924 $as_echo_n "(cached) " >&6
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1952 if ac_fn_c_try_compile "$LINENO"; then :
1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966 } # ac_fn_c_check_type
1968 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1969 # --------------------------------------------
1970 # Tries to find the compile-time value of EXPR in a program that includes
1971 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1973 ac_fn_c_compute_int ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 if test "$cross_compiling" = yes; then
1977 # Depending upon the size, compute the lo and hi bounds.
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1984 static int test_array [1 - 2 * !(($2) >= 0)];
1991 if ac_fn_c_try_compile "$LINENO"; then :
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h. */
2000 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2007 if ac_fn_c_try_compile "$LINENO"; then :
2008 ac_hi=$ac_mid; break
2010 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2011 if test $ac_lo -le $ac_mid; then
2015 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2026 static int test_array [1 - 2 * !(($2) < 0)];
2033 if ac_fn_c_try_compile "$LINENO"; then :
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2042 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050 ac_lo=$ac_mid; break
2052 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2053 if test $ac_mid -le $ac_hi; then
2057 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 # Binary search between lo and hi bounds.
2068 while test "x$ac_lo" != "x$ac_hi"; do
2069 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2076 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2083 if ac_fn_c_try_compile "$LINENO"; then :
2086 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2098 static long int longval () { return $2; }
2099 static unsigned long int ulongval () { return $2; }
2106 FILE *f = fopen ("conftest.val", "w");
2111 long int i = longval ();
2114 fprintf (f, "%ld", i);
2118 unsigned long int i = ulongval ();
2121 fprintf (f, "%lu", i);
2123 /* Do not output a trailing newline, as this causes \r\n confusion
2124 on some platforms. */
2125 return ferror (f) || fclose (f) != 0;
2131 if ac_fn_c_try_run "$LINENO"; then :
2132 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2137 conftest.$ac_objext conftest.beam conftest.$ac_ext
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144 } # ac_fn_c_compute_int
2145 cat >config.log <<_ACEOF
2146 This file contains any messages produced by compilers while
2147 running configure, to aid debugging if configure makes a mistake.
2149 It was created by package-unused $as_me version-unused, which was
2150 generated by GNU Autoconf 2.64. Invocation command line was
2162 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2163 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2164 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2165 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2166 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2168 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2169 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2171 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2172 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2173 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2174 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2175 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2176 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2177 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir=.
2186 $as_echo "PATH: $as_dir"
2202 # Keep a trace of the command line.
2203 # Strip out --no-create and --no-recursion so they do not pile up.
2204 # Strip out --silent because we don't want to record it for future runs.
2205 # Also quote any args containing shell meta-characters.
2206 # Make two passes to allow for proper duplicate-argument suppression.
2210 ac_must_keep_next=false
2216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2218 | -silent | --silent | --silen | --sile | --sil)
2221 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2224 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2226 as_fn_append ac_configure_args1 " '$ac_arg'"
2227 if test $ac_must_keep_next = true; then
2228 ac_must_keep_next=false # Got value, back to normal.
2231 *=* | --config-cache | -C | -disable-* | --disable-* \
2232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2234 | -with-* | --with-* | -without-* | --without-* | --x)
2235 case "$ac_configure_args0 " in
2236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2239 -* ) ac_must_keep_next=true ;;
2242 as_fn_append ac_configure_args " '$ac_arg'"
2247 { ac_configure_args0=; unset ac_configure_args0;}
2248 { ac_configure_args1=; unset ac_configure_args1;}
2250 # When interrupted or exit'd, cleanup temporary files, and complete
2251 # config.log. We remove comments because anyway the quotes in there
2252 # would cause problems or look ugly.
2253 # WARNING: Use '\'' to represent an apostrophe within the trap.
2254 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2255 trap 'exit_status=$?
2256 # Save into config.log some information that might help in debugging.
2261 ## ---------------- ##
2262 ## Cache variables. ##
2263 ## ---------------- ##
2266 # The following way of writing the cache mishandles newlines in values,
2268 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2269 eval ac_val=\$$ac_var
2273 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2274 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2277 _ | IFS | as_nl) ;; #(
2278 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2279 *) { eval $ac_var=; unset $ac_var;} ;;
2284 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2285 *${as_nl}ac_space=\ *)
2287 "s/'\''/'\''\\\\'\'''\''/g;
2288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2299 ## ----------------- ##
2300 ## Output variables. ##
2301 ## ----------------- ##
2304 for ac_var in $ac_subst_vars
2306 eval ac_val=\$$ac_var
2308 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -n "$ac_subst_files"; then
2316 ## ------------------- ##
2317 ## File substitutions. ##
2318 ## ------------------- ##
2321 for ac_var in $ac_subst_files
2323 eval ac_val=\$$ac_var
2325 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2327 $as_echo "$ac_var='\''$ac_val'\''"
2332 if test -s confdefs.h; then
2342 test "$ac_signal" != 0 &&
2343 $as_echo "$as_me: caught signal $ac_signal"
2344 $as_echo "$as_me: exit $exit_status"
2346 rm -f core *.core core.conftest.* &&
2347 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2350 for ac_signal in 1 2 13 15; do
2351 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2356 rm -f -r conftest* confdefs.h
2358 $as_echo "/* confdefs.h */" > confdefs.h
2360 # Predefined preprocessor variables.
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_NAME "$PACKAGE_NAME"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_STRING "$PACKAGE_STRING"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_URL "$PACKAGE_URL"
2387 # Let the site file select an alternate cache file if it wants to.
2388 # Prefer an explicitly selected file to automatically selected ones.
2391 if test -n "$CONFIG_SITE"; then
2392 ac_site_file1=$CONFIG_SITE
2393 elif test "x$prefix" != xNONE; then
2394 ac_site_file1=$prefix/share/config.site
2395 ac_site_file2=$prefix/etc/config.site
2397 ac_site_file1=$ac_default_prefix/share/config.site
2398 ac_site_file2=$ac_default_prefix/etc/config.site
2400 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2402 test "x$ac_site_file" = xNONE && continue
2403 if test -r "$ac_site_file"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2405 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2406 sed 's/^/| /' "$ac_site_file" >&5
2411 if test -r "$cache_file"; then
2412 # Some versions of bash will fail to source /dev/null (special
2413 # files actually), so we avoid doing that.
2414 if test -f "$cache_file"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2416 $as_echo "$as_me: loading cache $cache_file" >&6;}
2418 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2419 *) . "./$cache_file";;
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2424 $as_echo "$as_me: creating cache $cache_file" >&6;}
2428 # Check that the precious variables saved in the cache have kept the same
2430 ac_cache_corrupted=false
2431 for ac_var in $ac_precious_vars; do
2432 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2433 eval ac_new_set=\$ac_env_${ac_var}_set
2434 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2435 eval ac_new_val=\$ac_env_${ac_var}_value
2436 case $ac_old_set,$ac_new_set in
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2439 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2440 ac_cache_corrupted=: ;;
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2443 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2444 ac_cache_corrupted=: ;;
2447 if test "x$ac_old_val" != "x$ac_new_val"; then
2448 # differences in whitespace do not lead to failure.
2449 ac_old_val_w=`echo x
$ac_old_val`
2450 ac_new_val_w=`echo x
$ac_new_val`
2451 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2453 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2454 ac_cache_corrupted=:
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2457 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2458 eval $ac_var=\$ac_old_val
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2461 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2463 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2466 # Pass precious variables to config.status.
2467 if test "$ac_new_set" = set; then
2469 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2470 *) ac_arg=$ac_var=$ac_new_val ;;
2472 case " $ac_configure_args " in
2473 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2474 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2478 if $ac_cache_corrupted; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2482 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2483 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2485 ## -------------------- ##
2486 ## Main body of script. ##
2487 ## -------------------- ##
2490 ac_cpp='$CPP $CPPFLAGS'
2491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2500 ac_config_headers="$ac_config_headers config.h"
2503 libtool_VERSION=5:0:0
2506 # Default to --enable-multilib
2507 # Check whether --enable-multilib was given.
2508 if test "${enable_multilib+set}" = set; then :
2509 enableval=$enable_multilib; case "$enableval" in
2510 yes) multilib=yes ;;
2512 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2519 # We may get other options which we leave undocumented:
2520 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2521 # See config-ml.in if you want the gory details.
2523 if test "$srcdir" = "."; then
2524 if test "$with_target_subdir" != "."; then
2525 multi_basedir="$srcdir/$with_multisrctop../.."
2527 multi_basedir="$srcdir/$with_multisrctop.."
2530 multi_basedir="$srcdir/.."
2534 # Even if the default multilib is not a cross compilation,
2535 # it may be that some of the other multilibs are.
2536 if test $cross_compiling = no && test $multilib = yes \
2537 && test "x${with_multisubdir}" != x ; then
2538 cross_compiling=maybe
2541 ac_config_commands="$ac_config_commands default-1"
2545 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2546 for ac_t in install-sh install.sh shtool; do
2547 if test -f "$ac_dir/$ac_t"; then
2549 ac_install_sh="$ac_aux_dir/$ac_t -c"
2554 if test -z "$ac_aux_dir"; then
2555 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2558 # These three variables are undocumented and unsupported,
2559 # and are intended to be withdrawn in a future Autoconf release.
2560 # They can cause serious problems if a builder's source tree is in a directory
2561 # whose full name contains unusual characters.
2562 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2563 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2564 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2567 # Make sure we can run config.sub.
2568 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2569 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2572 $as_echo_n "checking build system type... " >&6; }
2573 if test "${ac_cv_build+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 ac_build_alias=$build_alias
2577 test "x$ac_build_alias" = x &&
2578 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2579 test "x$ac_build_alias" = x &&
2580 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2581 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2582 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2586 $as_echo "$ac_cv_build" >&6; }
2587 case $ac_cv_build in
2589 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2592 ac_save_IFS=$IFS; IFS='-'
2598 # Remember, the first character of IFS is used to create $*,
2599 # except with old shells:
2602 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2606 $as_echo_n "checking host system type... " >&6; }
2607 if test "${ac_cv_host+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 if test "x$host_alias" = x; then
2611 ac_cv_host=$ac_cv_build
2613 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2614 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2619 $as_echo "$ac_cv_host" >&6; }
2622 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2625 ac_save_IFS=$IFS; IFS='-'
2631 # Remember, the first character of IFS is used to create $*,
2632 # except with old shells:
2635 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2639 $as_echo_n "checking target system type... " >&6; }
2640 if test "${ac_cv_target+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test "x$target_alias" = x; then
2644 ac_cv_target=$ac_cv_host
2646 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2647 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2652 $as_echo "$ac_cv_target" >&6; }
2653 case $ac_cv_target in
2655 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2657 target=$ac_cv_target
2658 ac_save_IFS=$IFS; IFS='-'
2664 # Remember, the first character of IFS is used to create $*,
2665 # except with old shells:
2668 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2671 # The aliases save the names the user supplied, while $host etc.
2672 # will get canonicalized.
2673 test -n "$target_alias" &&
2674 test "$program_prefix$program_suffix$program_transform_name" = \
2676 program_prefix=${target_alias}-
2678 target_alias=${target_alias-$host_alias}
2680 am__api_version='1.11'
2682 # Find a good install program. We prefer a C program (faster),
2683 # so one script is as good as another. But avoid the broken or
2684 # incompatible versions:
2685 # SysV /etc/install, /usr/sbin/install
2686 # SunOS /usr/etc/install
2687 # IRIX /sbin/install
2689 # AmigaOS /C/install, which installs bootblocks on floppy discs
2690 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2691 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2692 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2693 # OS/2's system install, which has a completely different semantic
2694 # ./install, which can be erroneously created by make from ./install.sh.
2695 # Reject install programs that cannot install multiple files.
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2697 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2698 if test -z "$INSTALL"; then
2699 if test "${ac_cv_path_install+set}" = set; then :
2700 $as_echo_n "(cached) " >&6
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 # Account for people who put trailing slashes in PATH elements.
2708 case $as_dir/ in #((
2709 ./ | .// | /[cC]/* | \
2710 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2711 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2714 # OSF1 and SCO ODT 3.0 have their own names for install.
2715 # Don't use installbsd from OSF since it installs stuff as root
2717 for ac_prog in ginstall scoinst install; do
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2720 if test $ac_prog = install &&
2721 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2722 # AIX install. It has an incompatible calling convention.
2724 elif test $ac_prog = install &&
2725 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2726 # program-specific install script used by HP pwplus--don't use.
2729 rm -rf conftest.one conftest.two conftest.dir
2730 echo one > conftest.one
2731 echo two > conftest.two
2733 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2734 test -s conftest.one && test -s conftest.two &&
2735 test -s conftest.dir/conftest.one &&
2736 test -s conftest.dir/conftest.two
2738 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2751 rm -rf conftest.one conftest.two conftest.dir
2754 if test "${ac_cv_path_install+set}" = set; then
2755 INSTALL=$ac_cv_path_install
2757 # As a last resort, use the slow shell script. Don't cache a
2758 # value for INSTALL within a source directory, because that will
2759 # break other packages using the cache if that directory is
2760 # removed, or if the value is a relative name.
2761 INSTALL=$ac_install_sh
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2765 $as_echo "$INSTALL" >&6; }
2767 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2768 # It thinks the first close brace ends the variable substitution.
2769 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2771 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2773 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2776 $as_echo_n "checking whether build environment is sane... " >&6; }
2779 echo timestamp > conftest.file
2780 # Reject unsafe characters in $srcdir or the absolute working directory
2781 # name. Accept space and tab only in the latter.
2785 *[\\\"\#\$\&\'\`$am_lf]*)
2786 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2789 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2790 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2793 # Do `set' in a subshell so we don't clobber the current shell's
2794 # arguments. Must try -L first in case configure is actually a
2795 # symlink; some systems play weird games with the mod time of symlinks
2796 # (eg FreeBSD returns the mod time of the symlink's containing
2799 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2800 if test "$*" = "X"; then
2802 set X
`ls -t "$srcdir/configure" conftest.file`
2805 if test "$*" != "X $srcdir/configure conftest.file" \
2806 && test "$*" != "X conftest.file $srcdir/configure"; then
2808 # If neither matched, then we have a broken ls. This can happen
2809 # if, for instance, CONFIG_SHELL is bash and it inherits a
2810 # broken ls alias from the environment. This has actually
2811 # happened. Such a system could not be considered "sane".
2812 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2813 alias in your environment" "$LINENO" 5
2816 test "$2" = conftest.
file
2822 as_fn_error
"newly created file is older than distributed files!
2823 Check your system clock" "$LINENO" 5
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2826 $as_echo "yes" >&6; }
2827 test "$program_prefix" != NONE
&&
2828 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2829 # Use a double $ so make ignores it.
2830 test "$program_suffix" != NONE
&&
2831 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2832 # Double any \ or $.
2833 # By default was `s,x,x', remove it if useless.
2834 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2835 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2837 # expand $ac_aux_dir to an absolute path
2838 am_aux_dir
=`cd $ac_aux_dir && pwd`
2840 if test x
"${MISSING+set}" != xset
; then
2843 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2845 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2848 # Use eval to expand $SHELL
2849 if eval "$MISSING --run true"; then
2850 am_missing_run
="$MISSING --run "
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2854 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2857 if test x
"${install_sh}" != xset
; then
2860 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2862 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2866 # Installed binaries are usually stripped using `strip' when the user
2867 # run `make install-strip'. However `strip' might not be the right
2868 # tool to use in cross-compilation environments, therefore Automake
2869 # will honor the `STRIP' environment variable to overrule this program.
2870 if test "$cross_compiling" != no
; then
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2873 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if test "${ac_cv_prog_STRIP+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$STRIP"; then
2880 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 STRIP
=$ac_cv_prog_STRIP
2900 if test -n "$STRIP"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2902 $as_echo "$STRIP" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2910 if test -z "$ac_cv_prog_STRIP"; then
2912 # Extract the first word of "strip", so it can be a program name with args.
2913 set dummy strip
; ac_word
=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$ac_ct_STRIP"; then
2920 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929 ac_cv_prog_ac_ct_STRIP
="strip"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2940 if test -n "$ac_ct_STRIP"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2942 $as_echo "$ac_ct_STRIP" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2948 if test "x$ac_ct_STRIP" = x
; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955 ac_tool_warned
=yes ;;
2960 STRIP
="$ac_cv_prog_STRIP"
2964 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2967 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2968 if test -z "$MKDIR_P"; then
2969 if test "${ac_cv_path_mkdir+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_prog
in mkdir gmkdir
; do
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2980 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2981 'mkdir (GNU coreutils) '* | \
2982 'mkdir (coreutils) '* | \
2983 'mkdir (fileutils) '4.1*)
2984 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2994 if test "${ac_cv_path_mkdir+set}" = set; then
2995 MKDIR_P
="$ac_cv_path_mkdir -p"
2997 # As a last resort, use the slow shell script. Don't cache a
2998 # value for MKDIR_P within a source directory, because that will
2999 # break other packages using the cache if that directory is
3000 # removed, or if the value is a relative name.
3001 test -d .
/--version && rmdir .
/--version
3002 MKDIR_P
="$ac_install_sh -d"
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3006 $as_echo "$MKDIR_P" >&6; }
3010 [\\/$
]* | ?
:[\\/]*) ;;
3011 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3014 for ac_prog
in gawk mawk nawk
awk
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy
$ac_prog; ac_word
=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if test "${ac_cv_prog_AWK+set}" = set; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$AWK"; then
3024 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_AWK
="$ac_prog"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$AWK"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3046 $as_echo "$AWK" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3053 test -n "$AWK" && break
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3057 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3059 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3060 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3061 $as_echo_n "(cached) " >&6
3063 cat >conftest.
make <<\_ACEOF
3066 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3068 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3069 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3071 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3073 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3077 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 SET_MAKE
="MAKE=${MAKE-make}"
3087 rm -rf .tst
2>/dev
/null
3088 mkdir .tst
2>/dev
/null
3089 if test -d .tst
; then
3094 rmdir .tst
2>/dev
/null
3096 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3097 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3098 # is not polluted with repeated "-I."
3099 am__isrc
=' -I$(srcdir)'
3100 # test to see if srcdir already configured
3101 if test -f $srcdir/config.status
; then
3102 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3106 # test whether we have cygpath
3107 if test -z "$CYGPATH_W"; then
3108 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3109 CYGPATH_W
='cygpath -w'
3116 # Define the identity of the package.
3118 VERSION
='version-unused'
3121 # Some tools Automake needs.
3123 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3126 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3129 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3132 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3135 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3137 # We need awk for the "check" target. The system "awk" is bad on
3139 # Always define AMTAR for backward compatibility.
3141 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3143 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3155 ac_cpp
='$CPP $CPPFLAGS'
3156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC
="$CC" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3198 if test -z "$ac_cv_prog_CC"; then
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc
; ac_word
=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC
="gcc"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3236 if test "x$ac_ct_CC" = x
; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned
=yes ;;
3251 if test -z "$CC"; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3254 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC
="$CC" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3292 if test -z "$CC"; then
3293 # Extract the first word of "cc", so it can be a program name with args.
3294 set dummy cc
; ac_word
=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_CC+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC
="$CC" # Let the user override the test.
3304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir
=.
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3312 ac_prog_rejected
=yes
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test $ac_prog_rejected = yes; then
3324 # We found a bogon in the path, so make sure we never use it.
3325 set dummy
$ac_cv_prog_CC
3327 if test $# != 0; then
3328 # We chose a different compiler from the bogus one.
3329 # However, it has the same basename, so the bogon will be chosen
3330 # first if we set CC to just the basename; use the full file name.
3332 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3348 if test -z "$CC"; then
3349 if test -n "$ac_tool_prefix"; then
3350 for ac_prog
in cl.exe
3352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3353 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC
="$CC" # Let the user override the test.
3362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir
=.
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$CC" && break
3392 if test -z "$CC"; then
3394 for ac_prog
in cl.exe
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy
$ac_prog; ac_word
=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$ac_ct_CC"; then
3404 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_ac_ct_CC
="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3424 if test -n "$ac_ct_CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3426 $as_echo "$ac_ct_CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$ac_ct_CC" && break
3436 if test "x$ac_ct_CC" = x
; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned
=yes ;;
3452 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error
"no acceptable C compiler found in \$PATH
3455 See \`config.log' for more details." "$LINENO" 5; }
3457 # Provide some information about the compiler.
3458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3461 for ac_option
in --version -v -V -qversion; do
3462 { { ac_try
="$ac_compiler $ac_option >&5"
3464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3471 if test -s conftest.err; then
3473 ... rest of stderr output deleted ...
3474 10q' conftest.err >conftest.er1
3475 cat conftest.er1 >&5
3476 rm -f conftest.er1 conftest.err
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3495 # Try to create an executable without -o first, disregard a.out.
3496 # It will help us diagnose broken compilers, and finding out an intuition
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3499 $as_echo_n "checking for C compiler default output file name... " >&6; }
3500 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3502 # The possible output files:
3503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3506 for ac_file in $ac_files
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3515 if { { ac_try="$ac_link_default"
3517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3518 *) ac_try_echo
=$ac_try;;
3520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link_default") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3528 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3529 # so that the user can short-circuit this test for compilers unknown to
3531 for ac_file
in $ac_files ''
3533 test -f "$ac_file" ||
continue
3535 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3538 # We found the default executable, but exeext='' is most
3542 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3544 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546 # We set ac_cv_exeext here because the later test for it is not
3547 # safe: cross compilers may not add the suffix if given an `-o'
3548 # argument, so we may need to know it at that point already.
3549 # Even if this section looks crufty: it has the advantage of
3556 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3562 $as_echo "$ac_file" >&6; }
3563 if test -z "$ac_file"; then :
3564 $as_echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.
$ac_ext >&5
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 { as_fn_set_status
77
3570 as_fn_error
"C compiler cannot create executables
3571 See \`config.log' for more details." "$LINENO" 5; }; }
3573 ac_exeext
=$ac_cv_exeext
3575 # Check that the compiler produces executables we can run. If not, either
3576 # the compiler is broken, or we cross compile.
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3578 $as_echo_n "checking whether the C compiler works... " >&6; }
3579 # If not cross compiling, check that we can run a simple program.
3580 if test "$cross_compiling" != yes; then
3581 if { ac_try
='./$ac_file'
3582 { { case "(($ac_try" in
3583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587 $as_echo "$ac_try_echo"; } >&5
3588 (eval "$ac_try") 2>&5
3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591 test $ac_status = 0; }; }; then
3594 if test "$cross_compiling" = maybe; then
3597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error "cannot run C compiled programs.
3600 If you meant to cross compile
, use \
`--host'.
3601 See \`config.log
' for more details." "$LINENO" 5; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3606 $as_echo "yes" >&6; }
3608 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3609 ac_clean_files=$ac_clean_files_save
3610 # Check that the compiler produces executables we can run. If not, either
3611 # the compiler is broken, or we cross compile.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3613 $as_echo_n "checking whether we are cross compiling... " >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3615 $as_echo "$cross_compiling" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3618 $as_echo_n "checking for suffix of executables... " >&6; }
3619 if { { ac_try="$ac_link"
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625 $as_echo "$ac_try_echo"; } >&5
3626 (eval "$ac_link") 2>&5
3628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3629 test $ac_status = 0; }; then :
3630 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3631 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3632 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3634 for ac_file
in conftest.exe conftest conftest.
*; do
3635 test -f "$ac_file" ||
continue
3637 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3638 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3646 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3647 See \`config.log' for more details." "$LINENO" 5; }
3649 rm -f conftest
$ac_cv_exeext
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3651 $as_echo "$ac_cv_exeext" >&6; }
3653 rm -f conftest.
$ac_ext
3654 EXEEXT
=$ac_cv_exeext
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3657 $as_echo_n "checking for suffix of object files... " >&6; }
3658 if test "${ac_cv_objext+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3672 rm -f conftest.o conftest.obj
3673 if { { ac_try
="$ac_compile"
3675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3676 *) ac_try_echo=$ac_try;;
3678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 $as_echo "$ac_try_echo"; } >&5
3680 (eval "$ac_compile") 2>&5
3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 test $ac_status = 0; }; then :
3684 for ac_file in conftest.o conftest.obj conftest.*; do
3685 test -f "$ac_file" || continue;
3687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3688 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3693 $as_echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.$ac_ext >&5
3696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3698 as_fn_error "cannot compute suffix of object files
: cannot compile
3699 See \
`config.log' for more details." "$LINENO" 5; }
3701 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3704 $as_echo "$ac_cv_objext" >&6; }
3705 OBJEXT=$ac_cv_objext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3708 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3709 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3710 $as_echo_n "(cached) " >&6
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3726 if ac_fn_c_try_compile "$LINENO"; then :
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3736 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3737 if test $ac_compiler_gnu = yes; then
3742 ac_test_CFLAGS=${CFLAGS+set}
3743 ac_save_CFLAGS=$CFLAGS
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3745 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3746 if test "${ac_cv_prog_cc_g+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_save_c_werror_flag=$ac_c_werror_flag
3750 ac_c_werror_flag=yes
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3764 if ac_fn_c_try_compile "$LINENO"; then :
3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3769 /* end confdefs.h. */
3779 if ac_fn_c_try_compile "$LINENO"; then :
3782 ac_c_werror_flag=$ac_save_c_werror_flag
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 if ac_fn_c_try_compile "$LINENO"; then :
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3803 ac_c_werror_flag=$ac_save_c_werror_flag
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3806 $as_echo "$ac_cv_prog_cc_g" >&6; }
3807 if test "$ac_test_CFLAGS" = set; then
3808 CFLAGS=$ac_save_CFLAGS
3809 elif test $ac_cv_prog_cc_g = yes; then
3810 if test "$GCC" = yes; then
3816 if test "$GCC" = yes; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3823 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3824 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3825 $as_echo_n "(cached) " >&6
3827 ac_cv_prog_cc_c89=no
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3833 #include <sys/types.h>
3834 #include <sys/stat.h>
3835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3836 struct buf { int x; };
3837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3838 static char *e (p, i)
3844 static char *f (char * (*g) (char **, int), char **p, ...)
3849 s = g (p, va_arg (v,int));
3854 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3855 function prototypes and stuff, but not '\xHH' hex character constants.
3856 These don't provoke an error unfortunately, instead are silently treated
3857 as 'x'. The following induces an error, until -std is added to get
3858 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3859 array size at least. It's necessary to write '\x00'==0 to get something
3860 that's true only with -std. */
3861 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3863 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3864 inside strings and character constants. */
3866 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3868 int test (int i, double x);
3869 struct s1 {int (*f) (int a);};
3870 struct s2 {int (*f) (double a);};
3871 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3877 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3882 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3883 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3885 CC="$ac_save_CC $ac_arg"
3886 if ac_fn_c_try_compile "$LINENO"; then :
3887 ac_cv_prog_cc_c89=$ac_arg
3889 rm -f core conftest.err conftest.$ac_objext
3890 test "x$ac_cv_prog_cc_c89" != "xno" && break
3892 rm -f conftest.$ac_ext
3897 case "x$ac_cv_prog_cc_c89" in
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3900 $as_echo "none needed" >&6; } ;;
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3903 $as_echo "unsupported" >&6; } ;;
3905 CC="$CC $ac_cv_prog_cc_c89"
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3907 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3909 if test "x$ac_cv_prog_cc_c89" != xno; then :
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 DEPDIR="${am__leading_dot}deps"
3920 ac_config_commands="$ac_config_commands depfiles"
3923 am_make=${MAKE-make}
3924 cat > confinc << 'END'
3926 @echo this is the am__doit target
3929 # If we don't find an include directive, just comment out the code.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3931 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3935 # First try GNU make style include.
3936 echo "include confinc" > confmf
3937 # Ignore all kinds of additional output from `make'.
3938 case `$am_make -s -f confmf 2> /dev/null` in #(
3939 *the\ am__doit\ target*)
3945 # Now try BSD make style include.
3946 if test "$am__include" = "#"; then
3947 echo '.include
"confinc"' > confmf
3948 case `$am_make -s -f confmf 2> /dev/null` in #(
3949 *the\ am__doit\ target*)
3950 am__include=.include
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3959 $as_echo "$_am_result" >&6; }
3960 rm -f confinc confmf
3962 # Check whether --enable-dependency-tracking was given.
3963 if test "${enable_dependency_tracking+set}" = set; then :
3964 enableval=$enable_dependency_tracking;
3967 if test "x$enable_dependency_tracking" != xno; then
3968 am_depcomp="$ac_aux_dir/depcomp"
3971 if test "x$enable_dependency_tracking" != xno
; then
3981 depcc
="$CC" am_compiler_list
=
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3984 $as_echo_n "checking dependency style of $depcc... " >&6; }
3985 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3986 $as_echo_n "(cached) " >&6
3988 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3989 # We make a subdir and do the tests there. Otherwise we can end up
3990 # making bogus files that we don't know about and never remove. For
3991 # instance it was reported that on HP-UX the gcc test will end up
3992 # making a dummy file named `D' -- because `-MD' means `put the output
3995 # Copy depcomp to subdir because otherwise we won't find it if we're
3996 # using a relative directory.
3997 cp "$am_depcomp" conftest.dir
3999 # We will build objects and dependencies in a subdirectory because
4000 # it helps to detect inapplicable dependency modes. For instance
4001 # both Tru64's cc and ICC support -MD to output dependencies as a
4002 # side effect of compilation, but ICC will put the dependencies in
4003 # the current directory while Tru64 will put them in the object
4007 am_cv_CC_dependencies_compiler_type
=none
4008 if test "$am_compiler_list" = ""; then
4009 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4012 case " $depcc " in #(
4013 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4016 for depmode
in $am_compiler_list; do
4017 # Setup a source with many dependencies, because some compilers
4018 # like to wrap large dependency lists on column 80 (with \), and
4019 # we should not choose a depcomp mode which is confused by this.
4021 # We need to recreate these files for each test, as the compiler may
4022 # overwrite some of them when testing with obscure command lines.
4023 # This happens at least with the AIX C compiler.
4025 for i
in 1 2 3 4 5 6; do
4026 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4027 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4028 # Solaris 8's {/usr,}/bin/sh.
4029 touch sub
/conftst
$i.h
4031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4033 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4034 # mode. It turns out that the SunPro C++ compiler does not properly
4035 # handle `-M -o', and we need to detect this. Also, some Intel
4036 # versions had trouble with output in subdirs
4037 am__obj
=sub
/conftest.
${OBJEXT-o}
4038 am__minus_obj
="-o $am__obj"
4041 # This depmode causes a compiler race in universal mode.
4042 test "$am__universal" = false ||
continue
4045 # after this tag, mechanisms are not by side-effect, so they'll
4046 # only be used when explicitly requested
4047 if test "x$enable_dependency_tracking" = xyes
; then
4053 msvisualcpp | msvcmsys
)
4054 # This compiler won't grok `-c -o', but also, the minuso test has
4055 # not run yet. These depmodes are late enough in the game, and
4056 # so weak that their functioning should not be impacted.
4057 am__obj
=conftest.
${OBJEXT-o}
4062 if depmode
=$depmode \
4063 source=sub
/conftest.c object
=$am__obj \
4064 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4065 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4066 >/dev
/null
2>conftest.err
&&
4067 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4068 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4069 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4070 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4071 # icc doesn't choke on unknown options, it will just issue warnings
4072 # or remarks (even with -Werror). So we grep stderr for any message
4073 # that says an option was ignored or not supported.
4074 # When given -MP, icc 7.0 and 7.1 complain thusly:
4075 # icc: Command line warning: ignoring option '-M'; no argument required
4076 # The diagnosis changed in icc 8.0:
4077 # icc: Command line remark: option '-MP' not supported
4078 if (grep 'ignoring option' conftest.err ||
4079 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4080 am_cv_CC_dependencies_compiler_type
=$depmode
4089 am_cv_CC_dependencies_compiler_type
=none
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4094 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4095 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4098 test "x$enable_dependency_tracking" != xno \
4099 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4101 am__fastdepCC_FALSE
='#'
4103 am__fastdepCC_TRUE
='#'
4104 am__fastdepCC_FALSE
=
4109 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4110 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 if test -n "$ac_tool_prefix"; then
4113 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4114 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if test "${ac_cv_prog_GOC+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4120 if test -n "$GOC"; then
4121 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4130 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 if test -n "$GOC"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4143 $as_echo "$GOC" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4151 if test -z "$ac_cv_prog_GOC"; then
4153 # Extract the first word of "gccgo", so it can be a program name with args.
4154 set dummy gccgo
; ac_word
=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 if test -n "$ac_ct_GOC"; then
4161 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4167 test -z "$as_dir" && as_dir
=.
4168 for ac_exec_ext
in '' $ac_executable_extensions; do
4169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170 ac_cv_prog_ac_ct_GOC
="gccgo"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4181 if test -n "$ac_ct_GOC"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4183 $as_echo "$ac_ct_GOC" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4189 if test "x$ac_ct_GOC" = x
; then
4192 case $cross_compiling:$ac_tool_warned in
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4196 ac_tool_warned
=yes ;;
4201 GOC
="$ac_cv_prog_GOC"
4204 if test -z "$GOC"; then
4205 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4207 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if test "${ac_cv_prog_GOC+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$GOC"; then
4214 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$GOC"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4236 $as_echo "$GOC" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4245 if test -z "$GOC"; then
4246 # Extract the first word of "gccgo", so it can be a program name with args.
4247 set dummy gccgo
; ac_word
=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if test "${ac_cv_prog_GOC+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$GOC"; then
4254 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 test -z "$as_dir" && as_dir
=.
4262 for ac_exec_ext
in '' $ac_executable_extensions; do
4263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4264 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4265 ac_prog_rejected
=yes
4268 ac_cv_prog_GOC
="gccgo"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 if test $ac_prog_rejected = yes; then
4277 # We found a bogon in the path, so make sure we never use it.
4278 set dummy
$ac_cv_prog_GOC
4280 if test $# != 0; then
4281 # We chose a different compiler from the bogus one.
4282 # However, it has the same basename, so the bogon will be chosen
4283 # first if we set GOC to just the basename; use the full file name.
4285 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4291 if test -n "$GOC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4293 $as_echo "$GOC" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4303 # Provide some information about the compiler.
4304 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4307 { { ac_try
="$ac_compiler --version >&5"
4309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4310 *) ac_try_echo=$ac_try;;
4312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4313 $as_echo "$ac_try_echo"; } >&5
4314 (eval "$ac_compiler --version >&5") 2>conftest.err
4316 if test -s conftest.err; then
4318 ... rest of stderr output deleted ...
4319 10q' conftest.err >conftest.er1
4320 cat conftest.er1 >&5
4321 rm -f conftest.er1 conftest.err
4323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4324 test $ac_status = 0; }
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4338 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4339 # Check whether --enable-maintainer-mode was given.
4340 if test "${enable_maintainer_mode+set}" = set; then :
4341 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4343 USE_MAINTAINER_MODE=no
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4347 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4348 if test $USE_MAINTAINER_MODE = yes; then
4349 MAINTAINER_MODE_TRUE=
4350 MAINTAINER_MODE_FALSE='#'
4352 MAINTAINER_MODE_TRUE='#'
4353 MAINTAINER_MODE_FALSE=
4356 MAINT=$MAINTAINER_MODE_TRUE
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362 if test "${ac_cv_path_SED+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4366 for ac_i in 1 2 3 4 5 6 7; do
4367 ac_script="$ac_script$as_nl$ac_script"
4369 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4370 { ac_script=; unset ac_script;}
4371 if test -z "$SED"; then
4372 ac_path_SED_found=false
4373 # Loop through the user's path and test for each of PROGNAME-LIST
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir=.
4379 for ac_prog in sed gsed; do
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4382 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4383 # Check for GNU ac_path_SED and select it if it is found.
4384 # Check for GNU $ac_path_SED
4385 case `"$ac_path_SED" --version 2>&1` in
4387 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4390 $as_echo_n 0123456789 >"conftest.in"
4393 cat "conftest.in" "conftest.in" >"conftest.tmp"
4394 mv "conftest.tmp" "conftest.in"
4395 cp "conftest.in" "conftest.nl"
4396 $as_echo '' >> "conftest.nl"
4397 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4398 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4399 as_fn_arith $ac_count + 1 && ac_count=$as_val
4400 if test $ac_count -gt ${ac_path_SED_max-0}; then
4401 # Best one so far, save it but keep looking for a better one
4402 ac_cv_path_SED="$ac_path_SED"
4403 ac_path_SED_max=$ac_count
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411 $ac_path_SED_found && break 3
4416 if test -z "$ac_cv_path_SED"; then
4417 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4425 $as_echo "$ac_cv_path_SED" >&6; }
4426 SED="$ac_cv_path_SED"
4429 test -z "$SED" && SED=sed
4430 Xsed="$SED -e 1s/^X//"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4443 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4444 if test "${ac_cv_path_GREP+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 if test -z "$GREP"; then
4448 ac_path_GREP_found=false
4449 # Loop through the user's path and test for each of PROGNAME-LIST
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4454 test -z "$as_dir" && as_dir=.
4455 for ac_prog in grep ggrep; do
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4458 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4459 # Check for GNU ac_path_GREP and select it if it is found.
4460 # Check for GNU $ac_path_GREP
4461 case `"$ac_path_GREP" --version 2>&1` in
4463 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4466 $as_echo_n 0123456789 >"conftest.in"
4469 cat "conftest.in" "conftest.in" >"conftest.tmp"
4470 mv "conftest.tmp" "conftest.in"
4471 cp "conftest.in" "conftest.nl"
4472 $as_echo 'GREP' >> "conftest.nl"
4473 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4475 as_fn_arith $ac_count + 1 && ac_count=$as_val
4476 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4477 # Best one so far, save it but keep looking for a better one
4478 ac_cv_path_GREP="$ac_path_GREP"
4479 ac_path_GREP_max=$ac_count
4481 # 10*(2^10) chars as input seems more than enough
4482 test $ac_count -gt 10 && break
4484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487 $ac_path_GREP_found && break 3
4492 if test -z "$ac_cv_path_GREP"; then
4493 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4496 ac_cv_path_GREP=$GREP
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4501 $as_echo "$ac_cv_path_GREP" >&6; }
4502 GREP="$ac_cv_path_GREP"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4506 $as_echo_n "checking for egrep... " >&6; }
4507 if test "${ac_cv_path_EGREP+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4510 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4511 then ac_cv_path_EGREP="$GREP -E"
4513 if test -z "$EGREP"; then
4514 ac_path_EGREP_found=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520 test -z "$as_dir" && as_dir=.
4521 for ac_prog in egrep; do
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4525 # Check for GNU ac_path_EGREP and select it if it is found.
4526 # Check for GNU $ac_path_EGREP
4527 case `"$ac_path_EGREP" --version 2>&1` in
4529 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4532 $as_echo_n 0123456789 >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 $as_echo 'EGREP' >> "conftest.nl"
4539 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541 as_fn_arith $ac_count + 1 && ac_count=$as_val
4542 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_EGREP="$ac_path_EGREP"
4545 ac_path_EGREP_max=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553 $ac_path_EGREP_found && break 3
4558 if test -z "$ac_cv_path_EGREP"; then
4559 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562 ac_cv_path_EGREP=$EGREP
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4568 $as_echo "$ac_cv_path_EGREP" >&6; }
4569 EGREP="$ac_cv_path_EGREP"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573 $as_echo_n "checking for fgrep... " >&6; }
4574 if test "${ac_cv_path_FGREP+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4578 then ac_cv_path_FGREP="$GREP -F"
4580 if test -z "$FGREP"; then
4581 ac_path_FGREP_found=false
4582 # Loop through the user's path and test for each of PROGNAME-LIST
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587 test -z "$as_dir" && as_dir=.
4588 for ac_prog in fgrep; do
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4591 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4592 # Check for GNU ac_path_FGREP and select it if it is found.
4593 # Check for GNU $ac_path_FGREP
4594 case `"$ac_path_FGREP" --version 2>&1` in
4596 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4599 $as_echo_n 0123456789 >"conftest.in"
4602 cat "conftest.in" "conftest.in" >"conftest.tmp"
4603 mv "conftest.tmp" "conftest.in"
4604 cp "conftest.in" "conftest.nl"
4605 $as_echo 'FGREP' >> "conftest.nl"
4606 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608 as_fn_arith $ac_count + 1 && ac_count=$as_val
4609 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610 # Best one so far, save it but keep looking for a better one
4611 ac_cv_path_FGREP="$ac_path_FGREP"
4612 ac_path_FGREP_max=$ac_count
4614 # 10*(2^10) chars as input seems more than enough
4615 test $ac_count -gt 10 && break
4617 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620 $ac_path_FGREP_found && break 3
4625 if test -z "$ac_cv_path_FGREP"; then
4626 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629 ac_cv_path_FGREP=$FGREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4635 $as_echo "$ac_cv_path_FGREP" >&6; }
4636 FGREP="$ac_cv_path_FGREP"
4639 test -z "$GREP" && GREP=grep
4657 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4658 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4659 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4662 $as_echo_n "checking how to print strings... " >&6; }
4663 # Test print first, because it will be a builtin if present.
4664 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4665 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4667 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4670 # Use this function as a fallback that always works.
4671 func_fallback_echo ()
4673 eval 'cat <<_LTECHO_EOF
4677 ECHO='func_fallback_echo'
4680 # func_echo_all arg...
4681 # Invoke $ECHO with all args, space-separated.
4688 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4689 $as_echo "printf" >&6; } ;;
4690 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4691 $as_echo "print -r" >&6; } ;;
4692 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4693 $as_echo "cat" >&6; } ;;
4711 # Check whether --with-gnu-ld was given.
4712 if test "${with_gnu_ld+set}" = set; then :
4713 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4719 if test "$GCC" = yes; then
4720 # Check if gcc -print-prog-name=ld gives a path.
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4722 $as_echo_n "checking for ld used by $CC... " >&6; }
4725 # gcc leaves a trailing carriage return which upsets mingw
4726 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4728 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4731 # Accept absolute paths.
4733 re_direlt='/[^/][^/]*/\.\./'
4734 # Canonicalize the pathname of ld
4735 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4736 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4737 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4739 test -z "$LD" && LD="$ac_prog"
4742 # If it fails, then pretend we aren't using GCC.
4746 # If it is relative, then search for the first ld in PATH.
4750 elif test "$with_gnu_ld" = yes; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4752 $as_echo_n "checking for GNU ld... " >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4755 $as_echo_n "checking for non-GNU ld... " >&6; }
4757 if test "${lt_cv_path_LD+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -z "$LD"; then
4761 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4762 for ac_dir in $PATH; do
4764 test -z "$ac_dir" && ac_dir=.
4765 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4766 lt_cv_path_LD="$ac_dir/$ac_prog"
4767 # Check to see if the program is GNU ld. I'd rather use --version,
4768 # but apparently some variants of GNU ld only accept -v.
4769 # Break only if it was the GNU/non-GNU ld that we prefer.
4770 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4771 *GNU* | *'with BFD'*)
4772 test "$with_gnu_ld" != no && break
4775 test "$with_gnu_ld" != yes && break
4782 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4787 if test -n "$LD"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4789 $as_echo "$LD" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4794 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4796 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4797 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4801 case `$LD -v 2>&1 </dev
/null
` in
4802 *GNU* | *'with BFD'*)
4803 lt_cv_prog_gnu_ld=yes
4806 lt_cv_prog_gnu_ld=no
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4811 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4812 with_gnu_ld=$lt_cv_prog_gnu_ld
4822 if test -n "$ac_tool_prefix"; then
4823 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$RANLIB"; then
4831 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 RANLIB=$ac_cv_prog_RANLIB
4851 if test -n "$RANLIB"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4853 $as_echo "$RANLIB" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4861 if test -z "$ac_cv_prog_RANLIB"; then
4862 ac_ct_RANLIB=$RANLIB
4863 # Extract the first word of "ranlib", so it can be a program name with args.
4864 set dummy ranlib; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$ac_ct_RANLIB"; then
4871 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_ac_ct_RANLIB="ranlib"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4891 if test -n "$ac_ct_RANLIB"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4893 $as_echo "$ac_ct_RANLIB" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4899 if test "x$ac_ct_RANLIB" = x; then
4902 case $cross_compiling:$ac_tool_warned in
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4906 ac_tool_warned=yes ;;
4908 RANLIB=$ac_ct_RANLIB
4911 RANLIB="$ac_cv_prog_RANLIB"
4914 if test -n "$ac_tool_prefix"; then
4915 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4916 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$OBJCOPY"; then
4923 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 OBJCOPY=$ac_cv_prog_OBJCOPY
4943 if test -n "$OBJCOPY"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4945 $as_echo "$OBJCOPY" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4953 if test -z "$ac_cv_prog_OBJCOPY"; then
4954 ac_ct_OBJCOPY=$OBJCOPY
4955 # Extract the first word of "objcopy", so it can be a program name with args.
4956 set dummy objcopy; ac_word=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$ac_ct_OBJCOPY"; then
4963 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4983 if test -n "$ac_ct_OBJCOPY"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4985 $as_echo "$ac_ct_OBJCOPY" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4991 if test "x$ac_ct_OBJCOPY" = x; then
4992 OBJCOPY="missing-objcopy"
4994 case $cross_compiling:$ac_tool_warned in
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned=yes ;;
5000 OBJCOPY=$ac_ct_OBJCOPY
5003 OBJCOPY="$ac_cv_prog_OBJCOPY"
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5014 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5019 macro_version='2.2.7a'
5020 macro_revision='1.3134'
5034 ltmain="$ac_aux_dir/ltmain.sh"
5036 # Backslashify metacharacters that are still active within
5037 # double-quoted strings.
5038 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5040 # Same as above, but do not quote variable references.
5041 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5043 # Sed substitution to delay expansion of an escaped shell variable in a
5044 # double_quote_subst'ed string.
5045 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5047 # Sed substitution to delay expansion of an escaped single quote.
5048 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5050 # Sed substitution to avoid accidental globbing in evaled expressions
5051 no_glob_subst='s/\*/\\\*/g'
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5054 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5055 if test "${lt_cv_path_NM+set}" = set; then :
5056 $as_echo_n "(cached
) " >&6
5058 if test -n "$NM"; then
5059 # Let the user override the test.
5062 lt_nm_to_check="${ac_tool_prefix}nm
"
5063 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5064 lt_nm_to_check="$lt_nm_to_check nm
"
5066 for lt_tmp_nm in $lt_nm_to_check; do
5067 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5068 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5070 test -z "$ac_dir" && ac_dir=.
5071 tmp_nm="$ac_dir/$lt_tmp_nm"
5072 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5073 # Check to see if the nm accepts a BSD-compat flag.
5074 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5075 # nm: unknown option "B
" ignored
5076 # Tru64's nm complains that /dev/null is an invalid object file
5077 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5078 */dev/null* | *'Invalid file or object type'*)
5079 lt_cv_path_NM="$tmp_nm -B"
5083 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5085 lt_cv_path_NM="$tmp_nm -p"
5089 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5090 continue # so that we can try to find one that supports BSD flags
5099 : ${lt_cv_path_NM=no}
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5103 $as_echo "$lt_cv_path_NM" >&6; }
5104 if test "$lt_cv_path_NM" != "no
"; then
5107 # Didn't find any BSD compatible name lister, look for dumpbin.
5108 if test -n "$DUMPBIN"; then :
5109 # Let the user override the test.
5111 if test -n "$ac_tool_prefix"; then
5112 for ac_prog in dumpbin "link
-dump"
5114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5117 $as_echo_n "checking
for $ac_word...
" >&6; }
5118 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5119 $as_echo_n "(cached
) " >&6
5121 if test -n "$DUMPBIN"; then
5122 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5141 DUMPBIN=$ac_cv_prog_DUMPBIN
5142 if test -n "$DUMPBIN"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5144 $as_echo "$DUMPBIN" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5147 $as_echo "no
" >&6; }
5151 test -n "$DUMPBIN" && break
5154 if test -z "$DUMPBIN"; then
5155 ac_ct_DUMPBIN=$DUMPBIN
5156 for ac_prog in dumpbin "link
-dump"
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5161 $as_echo_n "checking
for $ac_word...
" >&6; }
5162 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5163 $as_echo_n "(cached
) " >&6
5165 if test -n "$ac_ct_DUMPBIN"; then
5166 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5185 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5186 if test -n "$ac_ct_DUMPBIN"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5188 $as_echo "$ac_ct_DUMPBIN" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5191 $as_echo "no
" >&6; }
5195 test -n "$ac_ct_DUMPBIN" && break
5198 if test "x
$ac_ct_DUMPBIN" = x; then
5201 case $cross_compiling:$ac_tool_warned in
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5204 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5205 ac_tool_warned=yes ;;
5207 DUMPBIN=$ac_ct_DUMPBIN
5211 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5213 DUMPBIN="$DUMPBIN -symbols"
5221 if test "$DUMPBIN" != ":"; then
5225 test -z "$NM" && NM=nm
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5233 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5234 if test "${lt_cv_nm_interface+set}" = set; then :
5235 $as_echo_n "(cached
) " >&6
5237 lt_cv_nm_interface="BSD nm
"
5238 echo "int some_variable
= 0;" > conftest.$ac_ext
5239 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5240 (eval "$ac_compile" 2>conftest.err)
5241 cat conftest.err >&5
5242 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5243 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5244 cat conftest.err >&5
5245 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5246 cat conftest.out >&5
5247 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5248 lt_cv_nm_interface="MS dumpbin
"
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5253 $as_echo "$lt_cv_nm_interface" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5256 $as_echo_n "checking whether
ln -s works...
" >&6; }
5258 if test "$LN_S" = "ln -s"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5260 $as_echo "yes" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5263 $as_echo "no
, using
$LN_S" >&6; }
5266 # find the maximum length of command line arguments
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5268 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5269 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5270 $as_echo_n "(cached
) " >&6
5277 # On DJGPP, this test can blow up pretty badly due to problems in libc
5278 # (any single argument exceeding 2000 bytes causes a buffer overrun
5279 # during glob expansion). Even if it were fixed, the result of this
5280 # check would be larger than it should be.
5281 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5285 # Under GNU Hurd, this test is not required because there is
5286 # no limit to the length of command line arguments.
5287 # Libtool will interpret -1 as no limit whatsoever
5288 lt_cv_sys_max_cmd_len=-1;
5291 cygwin* | mingw* | cegcc*)
5292 # On Win9x/ME, this test blows up -- it succeeds, but takes
5293 # about 5 minutes as the teststring grows exponentially.
5294 # Worse, since 9x/ME are not pre-emptively multitasking,
5295 # you end up with a "frozen
" computer, even though with patience
5296 # the test eventually succeeds (with a max line length of 256k).
5297 # Instead, let's just punt: use the minimum linelength reported by
5298 # all of the supported platforms: 8192 (on NT/2K/XP).
5299 lt_cv_sys_max_cmd_len=8192;
5303 # On MiNT this can take a long time and run out of memory.
5304 lt_cv_sys_max_cmd_len=8192;
5308 # On AmigaOS with pdksh, this test takes hours, literally.
5309 # So we just punt and use a minimum line length of 8192.
5310 lt_cv_sys_max_cmd_len=8192;
5313 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5314 # This has been around since 386BSD, at least. Likely further.
5315 if test -x /sbin/sysctl; then
5316 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5317 elif test -x /usr/sbin/sysctl; then
5318 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5320 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5322 # And add a safety zone
5323 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5324 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5328 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5329 lt_cv_sys_max_cmd_len=196608
5333 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5334 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5335 # nice to cause kernel panics so lets avoid the loop below.
5336 # First set a reasonable default.
5337 lt_cv_sys_max_cmd_len=16384
5339 if test -x /sbin/sysconfig; then
5340 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5341 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5346 lt_cv_sys_max_cmd_len=102400
5348 sysv5* | sco5v6* | sysv4.2uw2*)
5349 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5350 if test -n "$kargmax"; then
5351 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5353 lt_cv_sys_max_cmd_len=32768
5357 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5358 if test -n "$lt_cv_sys_max_cmd_len"; then
5359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5362 # Make teststring a little bigger before we do anything with it.
5363 # a 1K string should be a reasonable start.
5364 for i in 1 2 3 4 5 6 7 8 ; do
5365 teststring=$teststring$teststring
5367 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5368 # If test is not a shell built-in, we'll probably end up computing a
5369 # maximum length that is only half of the actual maximum length, but
5371 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5372 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5373 test $i != 17 # 1/2 MB should be enough
5376 teststring=$teststring$teststring
5378 # Only check the string length outside the loop.
5379 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5381 # Add a significant safety factor because C++ compilers can tack on
5382 # massive amounts of additional arguments before passing them to the
5383 # linker. It appears as though 1/2 is a usable value.
5384 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5391 if test -n $lt_cv_sys_max_cmd_len ; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5393 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5396 $as_echo "none
" >&6; }
5398 max_cmd_len=$lt_cv_sys_max_cmd_len
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5410 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5411 # Try some XSI features
5414 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5416 && eval 'test $(( 1 + 1 )) -eq 2 \
5417 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5420 $as_echo "$xsi_shell" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5424 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5426 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5428 && lt_shell_append
=yes
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5430 $as_echo "$lt_shell_append" >&6; }
5433 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5443 # test EBCDIC or ASCII
5444 case `echo X|tr X '\101'` in
5445 A
) # ASCII based system
5446 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5447 lt_SP2NL
='tr \040 \012'
5448 lt_NL2SP
='tr \015\012 \040\040'
5450 *) # EBCDIC based system
5451 lt_SP2NL
='tr \100 \n'
5452 lt_NL2SP
='tr \r\n \100\100'
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5465 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5466 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5467 $as_echo_n "(cached) " >&6
5469 lt_cv_ld_reload_flag
='-r'
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5472 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5473 reload_flag
=$lt_cv_ld_reload_flag
5474 case $reload_flag in
5476 *) reload_flag
=" $reload_flag" ;;
5478 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5481 if test "$GCC" = yes; then
5482 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5484 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5497 if test -n "$ac_tool_prefix"; then
5498 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5499 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$OBJDUMP"; then
5506 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir
=.
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 OBJDUMP
=$ac_cv_prog_OBJDUMP
5526 if test -n "$OBJDUMP"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5528 $as_echo "$OBJDUMP" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5536 if test -z "$ac_cv_prog_OBJDUMP"; then
5537 ac_ct_OBJDUMP
=$OBJDUMP
5538 # Extract the first word of "objdump", so it can be a program name with args.
5539 set dummy objdump
; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$ac_ct_OBJDUMP"; then
5546 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5566 if test -n "$ac_ct_OBJDUMP"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5568 $as_echo "$ac_ct_OBJDUMP" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5574 if test "x$ac_ct_OBJDUMP" = x
; then
5577 case $cross_compiling:$ac_tool_warned in
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5581 ac_tool_warned
=yes ;;
5583 OBJDUMP
=$ac_ct_OBJDUMP
5586 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5589 test -z "$OBJDUMP" && OBJDUMP
=objdump
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5600 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5601 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5602 $as_echo_n "(cached) " >&6
5604 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5605 lt_cv_file_magic_test_file
=
5606 lt_cv_deplibs_check_method
='unknown'
5607 # Need to set the preceding variable on all platforms that support
5608 # interlibrary dependencies.
5609 # 'none' -- dependencies not supported.
5610 # `unknown' -- same as none, but documents that we really don't know.
5611 # 'pass_all' -- all dependencies passed with no checks.
5612 # 'test_compile' -- check by making test program.
5613 # 'file_magic [[regex]]' -- check by looking for files in library path
5614 # which responds to the $file_magic_cmd with a given extended regex.
5615 # If you have `file' or equivalent on your system and you're not sure
5616 # whether `pass_all' will *always* work, you probably want this one.
5620 lt_cv_deplibs_check_method
=pass_all
5624 lt_cv_deplibs_check_method
=pass_all
5628 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5629 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5630 lt_cv_file_magic_test_file
=/shlib
/libc.so
5634 # func_win32_libid is a shell function defined in ltmain.sh
5635 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5636 lt_cv_file_magic_cmd
='func_win32_libid'
5640 # Base MSYS/MinGW do not provide the 'file' command needed by
5641 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5642 # unless we find 'file', for example because we are cross-compiling.
5643 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5644 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5645 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5646 lt_cv_file_magic_cmd
='func_win32_libid'
5648 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5649 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5654 # use the weaker test based on 'objdump'. See mingw*.
5655 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5656 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5659 darwin
* | rhapsody
*)
5660 lt_cv_deplibs_check_method
=pass_all
5663 freebsd
* | dragonfly
*)
5664 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5667 # Not sure whether the presence of OpenBSD here was a mistake.
5668 # Let's accept both of them until this is cleared up.
5669 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5670 lt_cv_file_magic_cmd
=/usr
/bin
/file
5671 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5675 lt_cv_deplibs_check_method
=pass_all
5680 lt_cv_deplibs_check_method
=pass_all
5684 lt_cv_deplibs_check_method
=pass_all
5687 hpux10.20
* | hpux11
*)
5688 lt_cv_file_magic_cmd
=/usr
/bin
/file
5691 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5692 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5695 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]'
5696 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5699 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5700 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5706 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5707 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5710 irix5
* | irix6
* | nonstopux
*)
5712 *-32|
*"-32 ") libmagic
=32-bit;;
5713 *-n32|
*"-n32 ") libmagic
=N32
;;
5714 *-64|
*"-64 ") libmagic
=64-bit;;
5715 *) libmagic
=never-match
;;
5717 lt_cv_deplibs_check_method
=pass_all
5720 # This must be Linux ELF.
5721 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5722 lt_cv_deplibs_check_method
=pass_all
5726 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5727 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5729 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5734 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5735 lt_cv_file_magic_cmd
=/usr
/bin
/file
5736 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5740 lt_cv_deplibs_check_method
=pass_all
5744 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5745 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5747 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5751 osf3
* | osf4
* | osf5
*)
5752 lt_cv_deplibs_check_method
=pass_all
5756 lt_cv_deplibs_check_method
=pass_all
5760 lt_cv_deplibs_check_method
=pass_all
5763 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5764 lt_cv_deplibs_check_method
=pass_all
5768 case $host_vendor in
5770 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]'
5771 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5774 lt_cv_deplibs_check_method
=pass_all
5777 lt_cv_file_magic_cmd
='/bin/file'
5778 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5781 lt_cv_file_magic_cmd
='/bin/file'
5782 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5783 lt_cv_file_magic_test_file
=/lib
/libc.so
5786 lt_cv_deplibs_check_method
=pass_all
5789 lt_cv_deplibs_check_method
=pass_all
5795 lt_cv_deplibs_check_method
=pass_all
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5801 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5802 file_magic_cmd
=$lt_cv_file_magic_cmd
5803 deplibs_check_method
=$lt_cv_deplibs_check_method
5804 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5819 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if test "${ac_cv_prog_AR+set}" = set; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$AR"; then
5826 ac_cv_prog_AR
="$AR" # Let the user override the test.
5828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir
=.
5833 for ac_exec_ext
in '' $ac_executable_extensions; do
5834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 if test -n "$AR"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5848 $as_echo "$AR" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5856 if test -z "$ac_cv_prog_AR"; then
5858 # Extract the first word of "ar", so it can be a program name with args.
5859 set dummy
ar; ac_word
=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_AR"; then
5866 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir
=.
5873 for ac_exec_ext
in '' $ac_executable_extensions; do
5874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875 ac_cv_prog_ac_ct_AR
="ar"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5886 if test -n "$ac_ct_AR"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5888 $as_echo "$ac_ct_AR" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5894 if test "x$ac_ct_AR" = x
; then
5897 case $cross_compiling:$ac_tool_warned in
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned
=yes ;;
5909 test -z "$AR" && AR
=ar
5910 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5922 if test -n "$ac_tool_prefix"; then
5923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5924 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if test "${ac_cv_prog_STRIP+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5930 if test -n "$STRIP"; then
5931 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir
=.
5938 for ac_exec_ext
in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 STRIP
=$ac_cv_prog_STRIP
5951 if test -n "$STRIP"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5953 $as_echo "$STRIP" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 if test -z "$ac_cv_prog_STRIP"; then
5963 # Extract the first word of "strip", so it can be a program name with args.
5964 set dummy strip
; ac_word
=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$ac_ct_STRIP"; then
5971 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_exec_ext
in '' $ac_executable_extensions; do
5979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5980 ac_cv_prog_ac_ct_STRIP
="strip"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5991 if test -n "$ac_ct_STRIP"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5993 $as_echo "$ac_ct_STRIP" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5999 if test "x$ac_ct_STRIP" = x
; then
6002 case $cross_compiling:$ac_tool_warned in
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6006 ac_tool_warned
=yes ;;
6011 STRIP
="$ac_cv_prog_STRIP"
6014 test -z "$STRIP" && STRIP
=:
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6023 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6027 $as_echo_n "(cached) " >&6
6029 if test -n "$RANLIB"; then
6030 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6036 test -z "$as_dir" && as_dir
=.
6037 for ac_exec_ext
in '' $ac_executable_extensions; do
6038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6039 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049 RANLIB
=$ac_cv_prog_RANLIB
6050 if test -n "$RANLIB"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6052 $as_echo "$RANLIB" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6060 if test -z "$ac_cv_prog_RANLIB"; then
6061 ac_ct_RANLIB
=$RANLIB
6062 # Extract the first word of "ranlib", so it can be a program name with args.
6063 set dummy ranlib
; ac_word
=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -n "$ac_ct_RANLIB"; then
6070 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir
=.
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6090 if test -n "$ac_ct_RANLIB"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6092 $as_echo "$ac_ct_RANLIB" >&6; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6098 if test "x$ac_ct_RANLIB" = x
; then
6101 case $cross_compiling:$ac_tool_warned in
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned
=yes ;;
6107 RANLIB
=$ac_ct_RANLIB
6110 RANLIB
="$ac_cv_prog_RANLIB"
6113 test -z "$RANLIB" && RANLIB
=:
6120 # Determine commands to create old-style static archives.
6121 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6122 old_postinstall_cmds
='chmod 644 $oldlib'
6123 old_postuninstall_cmds
=
6125 if test -n "$RANLIB"; then
6128 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6131 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6134 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6139 lock_old_archive_extraction
=yes ;;
6141 lock_old_archive_extraction
=no
;;
6182 # If no C compiler was specified, use CC.
6185 # If no C compiler flags were specified, use CFLAGS.
6186 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6188 # Allow CC to be a program name with arguments.
6192 # Check for command to grab the raw symbol name followed by C symbol from nm.
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6194 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6195 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6199 # These are sane defaults that work on at least a few old systems.
6200 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6202 # Character class describing NM global symbol codes.
6203 symcode
='[BCDEGRST]'
6205 # Regexp to match symbols that can be accessed directly from C.
6206 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6208 # Define system-specific variables.
6213 cygwin
* | mingw
* | pw32
* | cegcc
*)
6214 symcode
='[ABCDGISTW]'
6217 if test "$host_cpu" = ia64
; then
6218 symcode
='[ABCDEGRST]'
6222 symcode
='[BCDEGRST]'
6225 symcode
='[BCDEGQRST]'
6236 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6244 # If we're using GNU nm, then use its standard symbol codes.
6245 case `$NM -V 2>&1` in
6246 *GNU
* |
*'with BFD'*)
6247 symcode
='[ABCDGIRSTW]' ;;
6250 # Transform an extracted symbol line into a proper C declaration.
6251 # Some systems (esp. on ia64) link data and code symbols differently,
6252 # so use this general approach.
6253 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6255 # Transform an extracted symbol line into symbol name and symbol address
6256 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6257 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'"
6259 # Handle CRLF in mingw tool chain
6263 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6267 # Try without a prefix underscore, then with it.
6268 for ac_symprfx
in "" "_"; do
6270 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6271 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6273 # Write the raw and C identifiers.
6274 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6275 # Fake it for dumpbin and say T for any non-static function
6276 # and D for any global variable.
6277 # Also find C++ and __fastcall symbols from MSVC++,
6278 # which start with @ or ?.
6279 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6280 " {last_section=section; section=\$ 3};"\
6281 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6282 " \$ 0!~/External *\|/{next};"\
6283 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6284 " {if(hide[section]) next};"\
6285 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6286 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6287 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6288 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6289 " ' prfx=^$ac_symprfx"
6291 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6294 # Check to see that the pipe works correctly.
6298 cat > conftest.
$ac_ext <<_LT_EOF
6303 void nm_test_func(void);
6304 void nm_test_func(void){}
6308 int main(){nm_test_var='a';nm_test_func();return(0);}
6311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6312 (eval $ac_compile) 2>&5
6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6315 test $ac_status = 0; }; then
6316 # Now try to grab the symbols.
6318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6319 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322 test $ac_status = 0; } && test -s "$nlist"; then
6323 # Try sorting and uniquifying the output.
6324 if sort "$nlist" |
uniq > "$nlist"T
; then
6325 mv -f "$nlist"T
"$nlist"
6330 # Make sure that we snagged all the symbols we need.
6331 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6332 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6333 cat <<_LT_EOF > conftest.$ac_ext
6339 # Now generate the symbol file.
6340 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6342 cat <<_LT_EOF >> conftest.$ac_ext
6344 /* The mapping between symbol names and symbols. */
6349 lt__PROGRAM__LTX_preloaded_symbols[] =
6351 { "@PROGRAM@", (void *) 0 },
6353 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6354 cat <<\_LT_EOF
>> conftest.
$ac_ext
6358 /* This works around a problem
in FreeBSD linker
*/
6359 #ifdef FREEBSD_WORKAROUND
6360 static const void
*lt_preloaded_setup
() {
6361 return lt__PROGRAM__LTX_preloaded_symbols
;
6369 # Now try linking the two files.
6370 mv conftest.
$ac_objext conftstm.
$ac_objext
6371 lt_save_LIBS
="$LIBS"
6372 lt_save_CFLAGS
="$CFLAGS"
6373 LIBS
="conftstm.$ac_objext"
6374 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6376 (eval $ac_link) 2>&5
6378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6382 LIBS
="$lt_save_LIBS"
6383 CFLAGS
="$lt_save_CFLAGS"
6385 echo "cannot find nm_test_func in $nlist" >&5
6388 echo "cannot find nm_test_var in $nlist" >&5
6391 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6394 echo "$progname: failed program was:" >&5
6395 cat conftest.
$ac_ext >&5
6397 rm -rf conftest
* conftst
*
6399 # Do not use the global_symbol_pipe unless it works.
6400 if test "$pipe_works" = yes; then
6403 lt_cv_sys_global_symbol_pipe
=
6409 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6410 lt_cv_sys_global_symbol_to_cdecl
=
6412 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6414 $as_echo "failed" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6417 $as_echo "ok" >&6; }
6442 # Check whether --enable-libtool-lock was given.
6443 if test "${enable_libtool_lock+set}" = set; then :
6444 enableval
=$enable_libtool_lock;
6447 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6449 # Some flags need to be propagated to the compiler or linker for good
6453 # Find out which ABI we are using.
6454 echo 'int i;' > conftest.
$ac_ext
6455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6456 (eval $ac_compile) 2>&5
6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459 test $ac_status = 0; }; then
6460 case `/usr/bin/file conftest.$ac_objext` in
6472 # Find out which ABI we are using.
6473 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6475 (eval $ac_compile) 2>&5
6477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6478 test $ac_status = 0; }; then
6479 if test "$lt_cv_prog_gnu_ld" = yes; then
6480 case `/usr/bin/file conftest.$ac_objext` in
6482 LD
="${LD-ld} -melf32bsmip"
6485 LD
="${LD-ld} -melf32bmipn32"
6488 LD
="${LD-ld} -melf64bmip"
6492 case `/usr/bin/file conftest.$ac_objext` in
6508 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6509 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6510 # Find out which ABI we are using.
6511 echo 'int i;' > conftest.
$ac_ext
6512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6513 (eval $ac_compile) 2>&5
6515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6516 test $ac_status = 0; }; then
6517 case `/usr/bin/file conftest.o` in
6520 x86_64-
*kfreebsd
*-gnu)
6521 LD
="${LD-ld} -m elf_i386_fbsd"
6524 LD
="${LD-ld} -m elf_i386"
6526 powerpc64le-
*linux
*)
6527 LD
="${LD-ld} -m elf32lppclinux"
6530 LD
="${LD-ld} -m elf32ppclinux"
6533 LD
="${LD-ld} -m elf_s390"
6536 LD
="${LD-ld} -m elf32_sparc"
6542 x86_64-
*kfreebsd
*-gnu)
6543 LD
="${LD-ld} -m elf_x86_64_fbsd"
6546 LD
="${LD-ld} -m elf_x86_64"
6549 LD
="${LD-ld} -m elf64lppc"
6552 LD
="${LD-ld} -m elf64ppc"
6554 s390
*-*linux
*|s390
*-*tpf
*)
6555 LD
="${LD-ld} -m elf64_s390"
6558 LD
="${LD-ld} -m elf64_sparc"
6568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6569 SAVE_CFLAGS
="$CFLAGS"
6570 CFLAGS
="$CFLAGS -belf"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6572 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6573 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6574 $as_echo_n "(cached) " >&6
6577 ac_cpp
='$CPP $CPPFLAGS'
6578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6593 if ac_fn_c_try_link
"$LINENO"; then :
6594 lt_cv_cc_needs_belf
=yes
6596 lt_cv_cc_needs_belf
=no
6598 rm -f core conftest.err conftest.
$ac_objext \
6599 conftest
$ac_exeext conftest.
$ac_ext
6601 ac_cpp
='$CPP $CPPFLAGS'
6602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6608 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6609 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6610 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6611 CFLAGS
="$SAVE_CFLAGS"
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.
$ac_ext
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.o` in
6624 case $lt_cv_prog_gnu_ld in
6627 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6628 LD
="${LD-ld} -m elf_x86_64"
6631 LD
="${LD-ld} -m elf64_sparc"
6634 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6635 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6640 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6652 need_locks
="$enable_libtool_lock"
6656 rhapsody
* | darwin
*)
6657 if test -n "$ac_tool_prefix"; then
6658 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6659 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6665 if test -n "$DSYMUTIL"; then
6666 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir
=.
6673 for ac_exec_ext
in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6686 if test -n "$DSYMUTIL"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6688 $as_echo "$DSYMUTIL" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6696 if test -z "$ac_cv_prog_DSYMUTIL"; then
6697 ac_ct_DSYMUTIL
=$DSYMUTIL
6698 # Extract the first word of "dsymutil", so it can be a program name with args.
6699 set dummy dsymutil
; ac_word
=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701 $as_echo_n "checking for $ac_word... " >&6; }
6702 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6703 $as_echo_n "(cached) " >&6
6705 if test -n "$ac_ct_DSYMUTIL"; then
6706 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir
=.
6713 for ac_exec_ext
in '' $ac_executable_extensions; do
6714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6726 if test -n "$ac_ct_DSYMUTIL"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6728 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731 $as_echo "no" >&6; }
6734 if test "x$ac_ct_DSYMUTIL" = x
; then
6737 case $cross_compiling:$ac_tool_warned in
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6741 ac_tool_warned
=yes ;;
6743 DSYMUTIL
=$ac_ct_DSYMUTIL
6746 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6751 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$NMEDIT"; then
6758 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir
=.
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6767 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 NMEDIT
=$ac_cv_prog_NMEDIT
6778 if test -n "$NMEDIT"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6780 $as_echo "$NMEDIT" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6788 if test -z "$ac_cv_prog_NMEDIT"; then
6789 ac_ct_NMEDIT
=$NMEDIT
6790 # Extract the first word of "nmedit", so it can be a program name with args.
6791 set dummy nmedit
; ac_word
=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 $as_echo_n "checking for $ac_word... " >&6; }
6794 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6797 if test -n "$ac_ct_NMEDIT"; then
6798 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir
=.
6805 for ac_exec_ext
in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6818 if test -n "$ac_ct_NMEDIT"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6820 $as_echo "$ac_ct_NMEDIT" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6826 if test "x$ac_ct_NMEDIT" = x
; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6833 ac_tool_warned
=yes ;;
6835 NMEDIT
=$ac_ct_NMEDIT
6838 NMEDIT
="$ac_cv_prog_NMEDIT"
6841 if test -n "$ac_tool_prefix"; then
6842 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6843 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if test "${ac_cv_prog_LIPO+set}" = set; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$LIPO"; then
6850 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir
=.
6857 for ac_exec_ext
in '' $ac_executable_extensions; do
6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 LIPO
=$ac_cv_prog_LIPO
6870 if test -n "$LIPO"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6872 $as_echo "$LIPO" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6880 if test -z "$ac_cv_prog_LIPO"; then
6882 # Extract the first word of "lipo", so it can be a program name with args.
6883 set dummy lipo
; ac_word
=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -n "$ac_ct_LIPO"; then
6890 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir
=.
6897 for ac_exec_ext
in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_prog_ac_ct_LIPO
="lipo"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6910 if test -n "$ac_ct_LIPO"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6912 $as_echo "$ac_ct_LIPO" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6918 if test "x$ac_ct_LIPO" = x
; then
6921 case $cross_compiling:$ac_tool_warned in
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned
=yes ;;
6930 LIPO
="$ac_cv_prog_LIPO"
6933 if test -n "$ac_tool_prefix"; then
6934 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6935 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$OTOOL"; then
6942 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir
=.
6949 for ac_exec_ext
in '' $ac_executable_extensions; do
6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 OTOOL
=$ac_cv_prog_OTOOL
6962 if test -n "$OTOOL"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6964 $as_echo "$OTOOL" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6972 if test -z "$ac_cv_prog_OTOOL"; then
6974 # Extract the first word of "otool", so it can be a program name with args.
6975 set dummy otool
; ac_word
=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$ac_ct_OTOOL"; then
6982 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 ac_cv_prog_ac_ct_OTOOL
="otool"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7002 if test -n "$ac_ct_OTOOL"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7004 $as_echo "$ac_ct_OTOOL" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7010 if test "x$ac_ct_OTOOL" = x
; then
7013 case $cross_compiling:$ac_tool_warned in
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7017 ac_tool_warned
=yes ;;
7022 OTOOL
="$ac_cv_prog_OTOOL"
7025 if test -n "$ac_tool_prefix"; then
7026 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7027 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$OTOOL64"; then
7034 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir
=.
7041 for ac_exec_ext
in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 OTOOL64
=$ac_cv_prog_OTOOL64
7054 if test -n "$OTOOL64"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7056 $as_echo "$OTOOL64" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7064 if test -z "$ac_cv_prog_OTOOL64"; then
7065 ac_ct_OTOOL64
=$OTOOL64
7066 # Extract the first word of "otool64", so it can be a program name with args.
7067 set dummy otool64
; ac_word
=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$ac_ct_OTOOL64"; then
7074 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir
=.
7081 for ac_exec_ext
in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7094 if test -n "$ac_ct_OTOOL64"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7096 $as_echo "$ac_ct_OTOOL64" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7102 if test "x$ac_ct_OTOOL64" = x
; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned
=yes ;;
7111 OTOOL64
=$ac_ct_OTOOL64
7114 OTOOL64
="$ac_cv_prog_OTOOL64"
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7144 $as_echo_n "checking for -single_module linker flag... " >&6; }
7145 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7146 $as_echo_n "(cached) " >&6
7148 lt_cv_apple_cc_single_mod
=no
7149 if test -z "${LT_MULTI_MODULE}"; then
7150 # By default we will add the -single_module flag. You can override
7151 # by either setting the environment variable LT_MULTI_MODULE
7152 # non-empty at configure time, or by adding -multi_module to the
7154 rm -rf libconftest.dylib
*
7155 echo "int foo(void){return 1;}" > conftest.c
7156 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7157 -dynamiclib -Wl,-single_module conftest.c" >&5
7158 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7159 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7161 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7162 lt_cv_apple_cc_single_mod
=yes
7164 cat conftest.err
>&5
7166 rm -rf libconftest.dylib
*
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7171 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7173 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7174 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7175 $as_echo_n "(cached) " >&6
7177 lt_cv_ld_exported_symbols_list
=no
7178 save_LDFLAGS
=$LDFLAGS
7179 echo "_main" > conftest.sym
7180 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7192 if ac_fn_c_try_link
"$LINENO"; then :
7193 lt_cv_ld_exported_symbols_list
=yes
7195 lt_cv_ld_exported_symbols_list
=no
7197 rm -f core conftest.err conftest.
$ac_objext \
7198 conftest
$ac_exeext conftest.
$ac_ext
7199 LDFLAGS
="$save_LDFLAGS"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7203 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7205 $as_echo_n "checking for -force_load linker flag... " >&6; }
7206 if test "${lt_cv_ld_force_load+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7209 lt_cv_ld_force_load
=no
7210 cat > conftest.c
<< _LT_EOF
7211 int forced_loaded() { return 2;}
7213 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7214 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7215 echo "$AR cru libconftest.a conftest.o" >&5
7216 $AR cru libconftest.a conftest.o
2>&5
7217 cat > conftest.c
<< _LT_EOF
7218 int main() { return 0;}
7220 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7221 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7223 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7224 lt_cv_ld_force_load
=yes
7226 cat conftest.err
>&5
7228 rm -f conftest.err libconftest.a conftest conftest.c
7229 rm -rf conftest.dSYM
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7233 $as_echo "$lt_cv_ld_force_load" >&6; }
7235 rhapsody
* | darwin1.
[012])
7236 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7238 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7239 darwin
*) # darwin 5.x on
7240 # if running on 10.5 or later, the deployment target defaults
7241 # to the OS version, if on x86, and 10.4, the deployment
7242 # target defaults to 10.4. Don't you love it?
7243 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7244 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7245 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7247 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7249 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7253 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7254 _lt_dar_single_mod
='$single_module'
7256 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7257 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7259 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7261 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7262 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7270 ac_cpp
='$CPP $CPPFLAGS'
7271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7275 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7276 # On Suns, sometimes $CPP names a directory.
7277 if test -n "$CPP" && test -d "$CPP"; then
7280 if test -z "$CPP"; then
7281 if test "${ac_cv_prog_CPP+set}" = set; then :
7282 $as_echo_n "(cached) " >&6
7284 # Double quotes because CPP needs to be expanded
7285 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7288 for ac_c_preproc_warn_flag
in '' yes
7290 # Use a header file that comes with gcc, so configuring glibc
7291 # with a fresh cross-compiler works.
7292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7293 # <limits.h> exists even on freestanding compilers.
7294 # On the NeXT, cc -E runs the code through the compiler's parser,
7295 # not just through cpp. "Syntax error" is here to catch this case.
7296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7299 # include <limits.h>
7301 # include <assert.h>
7305 if ac_fn_c_try_cpp
"$LINENO"; then :
7308 # Broken: fails on valid input.
7311 rm -f conftest.err conftest.
$ac_ext
7313 # OK, works on sane cases. Now check whether nonexistent headers
7314 # can be detected and how.
7315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7317 #include <ac_nonexistent.h>
7319 if ac_fn_c_try_cpp
"$LINENO"; then :
7320 # Broken: success on invalid input.
7323 # Passes both tests.
7327 rm -f conftest.err conftest.
$ac_ext
7330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7331 rm -f conftest.err conftest.
$ac_ext
7332 if $ac_preproc_ok; then :
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7345 $as_echo "$CPP" >&6; }
7347 for ac_c_preproc_warn_flag
in '' yes
7349 # Use a header file that comes with gcc, so configuring glibc
7350 # with a fresh cross-compiler works.
7351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7352 # <limits.h> exists even on freestanding compilers.
7353 # On the NeXT, cc -E runs the code through the compiler's parser,
7354 # not just through cpp. "Syntax error" is here to catch this case.
7355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7358 # include <limits.h>
7360 # include <assert.h>
7364 if ac_fn_c_try_cpp
"$LINENO"; then :
7367 # Broken: fails on valid input.
7370 rm -f conftest.err conftest.
$ac_ext
7372 # OK, works on sane cases. Now check whether nonexistent headers
7373 # can be detected and how.
7374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7376 #include <ac_nonexistent.h>
7378 if ac_fn_c_try_cpp
"$LINENO"; then :
7379 # Broken: success on invalid input.
7382 # Passes both tests.
7386 rm -f conftest.err conftest.
$ac_ext
7389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7390 rm -f conftest.err conftest.
$ac_ext
7391 if $ac_preproc_ok; then :
7394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7396 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7397 See \`config.log' for more details." "$LINENO" 5; }
7401 ac_cpp
='$CPP $CPPFLAGS'
7402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7408 $as_echo_n "checking for ANSI C header files... " >&6; }
7409 if test "${ac_cv_header_stdc+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7427 if ac_fn_c_try_compile
"$LINENO"; then :
7428 ac_cv_header_stdc
=yes
7430 ac_cv_header_stdc
=no
7432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7434 if test $ac_cv_header_stdc = yes; then
7435 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7442 $EGREP "memchr" >/dev
/null
2>&1; then :
7445 ac_cv_header_stdc
=no
7451 if test $ac_cv_header_stdc = yes; then
7452 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7454 /* end confdefs.h. */
7458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7459 $EGREP "free" >/dev
/null
2>&1; then :
7462 ac_cv_header_stdc
=no
7468 if test $ac_cv_header_stdc = yes; then
7469 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7470 if test "$cross_compiling" = yes; then :
7473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7477 #if ((' ' & 0x0FF) == 0x020)
7478 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7479 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7481 # define ISLOWER(c) \
7482 (('a' <= (c) && (c) <= 'i') \
7483 || ('j' <= (c) && (c) <= 'r') \
7484 || ('s' <= (c) && (c) <= 'z'))
7485 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7488 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7493 for (i = 0; i < 256; i++)
7494 if (XOR (islower (i), ISLOWER (i))
7495 || toupper (i) != TOUPPER (i))
7500 if ac_fn_c_try_run
"$LINENO"; then :
7503 ac_cv_header_stdc
=no
7505 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7506 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7512 $as_echo "$ac_cv_header_stdc" >&6; }
7513 if test $ac_cv_header_stdc = yes; then
7515 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7519 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7520 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7521 inttypes.h stdint.h unistd.h
7523 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7524 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7526 eval as_val
=\$
$as_ac_Header
7527 if test "x$as_val" = x
""yes; then :
7528 cat >>confdefs.h
<<_ACEOF
7529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 for ac_header
in dlfcn.h
7539 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7541 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7542 cat >>confdefs.h
<<_ACEOF
7543 #define HAVE_DLFCN_H 1
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7552 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if test "${ac_cv_prog_GOC+set}" = set; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$GOC"; then
7559 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir
=.
7566 for ac_exec_ext
in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 if test -n "$GOC"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7581 $as_echo "$GOC" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_GOC"; then
7591 # Extract the first word of "gccgo", so it can be a program name with args.
7592 set dummy gccgo
; ac_word
=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$ac_ct_GOC"; then
7599 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_prog_ac_ct_GOC
="gccgo"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7619 if test -n "$ac_ct_GOC"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7621 $as_echo "$ac_ct_GOC" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_GOC" = x
; then
7630 case $cross_compiling:$ac_tool_warned in
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned
=yes ;;
7639 GOC
="$ac_cv_prog_GOC"
7655 # Check whether --enable-shared was given.
7656 if test "${enable_shared+set}" = set; then :
7657 enableval
=$enable_shared; p
=${PACKAGE-default}
7659 yes) enable_shared
=yes ;;
7660 no
) enable_shared
=no
;;
7663 # Look at the argument we got. We use all the common list separators.
7664 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7665 for pkg
in $enableval; do
7667 if test "X$pkg" = "X$p"; then
7686 # Check whether --enable-static was given.
7687 if test "${enable_static+set}" = set; then :
7688 enableval
=$enable_static; p
=${PACKAGE-default}
7690 yes) enable_static
=yes ;;
7691 no
) enable_static
=no
;;
7694 # Look at the argument we got. We use all the common list separators.
7695 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7696 for pkg
in $enableval; do
7698 if test "X$pkg" = "X$p"; then
7718 # Check whether --with-pic was given.
7719 if test "${with_pic+set}" = set; then :
7720 withval
=$with_pic; pic_mode
="$withval"
7726 test -z "$pic_mode" && pic_mode
=default
7734 # Check whether --enable-fast-install was given.
7735 if test "${enable_fast_install+set}" = set; then :
7736 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7738 yes) enable_fast_install
=yes ;;
7739 no
) enable_fast_install
=no
;;
7741 enable_fast_install
=no
7742 # Look at the argument we got. We use all the common list separators.
7743 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7744 for pkg
in $enableval; do
7746 if test "X$pkg" = "X$p"; then
7747 enable_fast_install
=yes
7754 enable_fast_install
=yes
7767 # This can be used to rebuild libtool when needed
7768 LIBTOOL_DEPS
="$ltmain"
7770 # Always use our own libtool.
7771 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7798 test -z "$LN_S" && LN_S
="ln -s"
7813 if test -n "${ZSH_VERSION+set}" ; then
7814 setopt NO_GLOB_SUBST
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7818 $as_echo_n "checking for objdir... " >&6; }
7819 if test "${lt_cv_objdir+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7822 rm -f .libs
2>/dev
/null
7823 mkdir .libs
2>/dev
/null
7824 if test -d .libs
; then
7827 # MS-DOS does not allow filenames that begin with a dot.
7830 rmdir .libs
2>/dev
/null
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7833 $as_echo "$lt_cv_objdir" >&6; }
7834 objdir
=$lt_cv_objdir
7840 cat >>confdefs.h
<<_ACEOF
7841 #define LT_OBJDIR "$lt_cv_objdir/"
7849 # AIX sometimes has problems with the GCC collect2 program. For some
7850 # reason, if we set the COLLECT_NAMES environment variable, the problems
7851 # vanish in a puff of smoke.
7852 if test "X${COLLECT_NAMES+set}" != Xset
; then
7854 export COLLECT_NAMES
7861 can_build_shared
=yes
7863 # All known linkers require a `.a' archive for static linking (except MSVC,
7864 # which needs '.lib').
7867 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7870 old_CFLAGS
="$CFLAGS"
7872 # Set sane defaults for various variables
7873 test -z "$CC" && CC
=cc
7874 test -z "$LTCC" && LTCC
=$CC
7875 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7876 test -z "$LD" && LD
=ld
7877 test -z "$ac_objext" && ac_objext
=o
7879 for cc_temp
in $compiler""; do
7881 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7882 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7887 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7890 # Only perform the check for file, if the check method requires it
7891 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7892 case $deplibs_check_method in
7894 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7896 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7897 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7902 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7905 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7906 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7907 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7908 for ac_dir
in $ac_dummy; do
7910 test -z "$ac_dir" && ac_dir
=.
7911 if test -f $ac_dir/${ac_tool_prefix}file; then
7912 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7913 if test -n "$file_magic_test_file"; then
7914 case $deplibs_check_method in
7916 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7917 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7918 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7919 $EGREP "$file_magic_regex" > /dev
/null
; then
7924 *** Warning: the command libtool uses to detect shared libraries,
7925 *** $file_magic_cmd, produces output that libtool cannot recognize.
7926 *** The result is that libtool may fail to recognize shared libraries
7927 *** as such. This will affect the creation of libtool libraries that
7928 *** depend on shared libraries, but programs linked with such libtool
7929 *** libraries will work regardless of this problem. Nevertheless, you
7930 *** may want to report the problem to your system manager and/or to
7931 *** bug-libtool@gnu.org
7941 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7946 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7947 if test -n "$MAGIC_CMD"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7949 $as_echo "$MAGIC_CMD" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7959 if test -z "$lt_cv_path_MAGIC_CMD"; then
7960 if test -n "$ac_tool_prefix"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7962 $as_echo_n "checking for file... " >&6; }
7963 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7964 $as_echo_n "(cached) " >&6
7968 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7971 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7972 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7973 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7974 for ac_dir
in $ac_dummy; do
7976 test -z "$ac_dir" && ac_dir
=.
7977 if test -f $ac_dir/file; then
7978 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7979 if test -n "$file_magic_test_file"; then
7980 case $deplibs_check_method in
7982 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7983 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7984 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7985 $EGREP "$file_magic_regex" > /dev
/null
; then
7990 *** Warning: the command libtool uses to detect shared libraries,
7991 *** $file_magic_cmd, produces output that libtool cannot recognize.
7992 *** The result is that libtool may fail to recognize shared libraries
7993 *** as such. This will affect the creation of libtool libraries that
7994 *** depend on shared libraries, but programs linked with such libtool
7995 *** libraries will work regardless of this problem. Nevertheless, you
7996 *** may want to report the problem to your system manager and/or to
7997 *** bug-libtool@gnu.org
8007 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8012 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8013 if test -n "$MAGIC_CMD"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8015 $as_echo "$MAGIC_CMD" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8031 # Use C for the default configuration in the libtool script
8035 ac_cpp
='$CPP $CPPFLAGS'
8036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8041 # Source file extension for C test sources.
8044 # Object file extension for compiled C test sources.
8048 # Code to be used in simple compile tests
8049 lt_simple_compile_test_code
="int some_variable = 0;"
8051 # Code to be used in simple link tests
8052 lt_simple_link_test_code
='int main(){return(0);}'
8060 # If no C compiler was specified, use CC.
8063 # If no C compiler flags were specified, use CFLAGS.
8064 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8066 # Allow CC to be a program name with arguments.
8069 # Save the default compiler, since it gets overwritten when the other
8070 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8071 compiler_DEFAULT
=$CC
8073 # save warnings/boilerplate of simple test code
8074 ac_outfile
=conftest.
$ac_objext
8075 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8076 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8077 _lt_compiler_boilerplate
=`cat conftest.err`
8080 ac_outfile
=conftest.
$ac_objext
8081 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8082 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8083 _lt_linker_boilerplate
=`cat conftest.err`
8088 ## There is no encapsulation within the following macros, do not change
8089 ## the running order or otherwise move them around unless you know exactly
8090 ## what you are doing...
8091 if test -n "$compiler"; then
8093 lt_prog_compiler_no_builtin_flag
=
8095 if test "$GCC" = yes; then
8096 case $cc_basename in
8098 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8100 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8104 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8105 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8106 $as_echo_n "(cached) " >&6
8108 lt_cv_prog_compiler_rtti_exceptions
=no
8109 ac_outfile
=conftest.
$ac_objext
8110 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8111 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8112 # Insert the option either (1) after the last *FLAGS variable, or
8113 # (2) before a word containing "conftest.", or (3) at the end.
8114 # Note that $ac_compile itself does not contain backslashes and begins
8115 # with a dollar sign (not a hyphen), so the echo should work correctly.
8116 # The option is referenced via a variable to avoid confusing sed.
8117 lt_compile
=`echo "$ac_compile" | $SED \
8118 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8120 -e 's:$: $lt_compiler_flag:'`
8121 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8122 (eval "$lt_compile" 2>conftest.err
)
8124 cat conftest.err
>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 if (exit $ac_status) && test -s "$ac_outfile"; then
8127 # The compiler can only warn and ignore the option if not recognized
8128 # So say no if there are warnings other than the usual output.
8129 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8130 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8131 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8132 lt_cv_prog_compiler_rtti_exceptions
=yes
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8139 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8141 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8142 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8154 lt_prog_compiler_wl
=
8155 lt_prog_compiler_pic
=
8156 lt_prog_compiler_static
=
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8159 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8161 if test "$GCC" = yes; then
8162 lt_prog_compiler_wl
='-Wl,'
8163 lt_prog_compiler_static
='-static'
8167 # All AIX code is PIC.
8168 if test "$host_cpu" = ia64
; then
8169 # AIX 5 now supports IA64 processor
8170 lt_prog_compiler_static
='-Bstatic'
8177 # see comment about AmigaOS4 .so support
8178 lt_prog_compiler_pic
='-fPIC'
8181 # FIXME: we need at least 68020 code to build shared libraries, but
8182 # adding the `-m68020' flag to GCC prevents building anything better,
8184 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8189 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8190 # PIC is the default for these OSes.
8193 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8194 # This hack is so that the source file can tell whether it is being
8195 # built for inclusion in a dll (and should export symbols for example).
8196 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8197 # (--disable-auto-import) libraries
8198 lt_prog_compiler_pic
='-DDLL_EXPORT'
8201 darwin
* | rhapsody
*)
8202 # PIC is the default on this platform
8203 # Common symbols not allowed in MH_DYLIB files
8204 lt_prog_compiler_pic
='-fno-common'
8208 # PIC is the default for Haiku.
8209 # The "-static" flag exists, but is broken.
8210 lt_prog_compiler_static
=
8214 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8215 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8216 # sets the default TLS model and affects inlining.
8222 lt_prog_compiler_pic
='-fPIC'
8228 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8229 # Instead, we relocate shared libraries at runtime.
8233 # Just because we use GCC doesn't mean we suddenly get shared libraries
8234 # on systems that don't support them.
8235 lt_prog_compiler_can_build_shared
=no
8240 # QNX uses GNU C++, but need to define -shared option too, otherwise
8242 lt_prog_compiler_pic
='-fPIC -shared'
8246 if test -d /usr
/nec
; then
8247 lt_prog_compiler_pic
=-Kconform_pic
8252 lt_prog_compiler_pic
='-fPIC'
8256 case $cc_basename in
8257 nvcc
*) # Cuda Compiler Driver 2.2
8258 lt_prog_compiler_wl
='-Xlinker '
8259 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8263 # PORTME Check for flag to pass linker flags through the system compiler.
8266 lt_prog_compiler_wl
='-Wl,'
8267 if test "$host_cpu" = ia64
; then
8268 # AIX 5 now supports IA64 processor
8269 lt_prog_compiler_static
='-Bstatic'
8271 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8275 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8276 # This hack is so that the source file can tell whether it is being
8277 # built for inclusion in a dll (and should export symbols for example).
8278 lt_prog_compiler_pic
='-DDLL_EXPORT'
8281 hpux9
* | hpux10
* | hpux11
*)
8282 lt_prog_compiler_wl
='-Wl,'
8283 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8290 lt_prog_compiler_pic
='+Z'
8293 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8294 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8297 irix5
* | irix6
* | nonstopux
*)
8298 lt_prog_compiler_wl
='-Wl,'
8299 # PIC (with -KPIC) is the default.
8300 lt_prog_compiler_static
='-non_shared'
8303 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8304 case $cc_basename in
8305 # old Intel for x86_64 which still supported -KPIC.
8307 lt_prog_compiler_wl
='-Wl,'
8308 lt_prog_compiler_pic
='-KPIC'
8309 lt_prog_compiler_static
='-static'
8311 # icc used to be incompatible with GCC.
8312 # ICC 10 doesn't accept -KPIC any more.
8314 lt_prog_compiler_wl
='-Wl,'
8315 lt_prog_compiler_pic
='-fPIC'
8316 lt_prog_compiler_static
='-static'
8318 # Lahey Fortran 8.1.
8320 lt_prog_compiler_wl
='-Wl,'
8321 lt_prog_compiler_pic
='--shared'
8322 lt_prog_compiler_static
='--static'
8324 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8325 # Portland Group compilers (*not* the Pentium gcc compiler,
8326 # which looks to be a dead project)
8327 lt_prog_compiler_wl
='-Wl,'
8328 lt_prog_compiler_pic
='-fpic'
8329 lt_prog_compiler_static
='-Bstatic'
8332 lt_prog_compiler_wl
='-Wl,'
8333 # All Alpha code is PIC.
8334 lt_prog_compiler_static
='-non_shared'
8336 xl
* | bgxl
* | bgf
* | mpixl
*)
8337 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8338 lt_prog_compiler_wl
='-Wl,'
8339 lt_prog_compiler_pic
='-qpic'
8340 lt_prog_compiler_static
='-qstaticlink'
8343 case `$CC -V 2>&1 | sed 5q` in
8344 *Sun\ F
* |
*Sun
*Fortran
*)
8345 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8346 lt_prog_compiler_pic
='-KPIC'
8347 lt_prog_compiler_static
='-Bstatic'
8348 lt_prog_compiler_wl
=''
8352 lt_prog_compiler_pic
='-KPIC'
8353 lt_prog_compiler_static
='-Bstatic'
8354 lt_prog_compiler_wl
='-Wl,'
8362 lt_prog_compiler_pic
='-KPIC'
8363 lt_prog_compiler_static
='-Bstatic'
8367 # QNX uses GNU C++, but need to define -shared option too, otherwise
8369 lt_prog_compiler_pic
='-fPIC -shared'
8372 osf3
* | osf4
* | osf5
*)
8373 lt_prog_compiler_wl
='-Wl,'
8374 # All OSF/1 code is PIC.
8375 lt_prog_compiler_static
='-non_shared'
8379 lt_prog_compiler_static
='-non_shared'
8383 lt_prog_compiler_pic
='-KPIC'
8384 lt_prog_compiler_static
='-Bstatic'
8385 case $cc_basename in
8387 lt_prog_compiler_wl
='-Qoption ld ';;
8389 lt_prog_compiler_wl
='-Wl,';;
8394 lt_prog_compiler_wl
='-Qoption ld '
8395 lt_prog_compiler_pic
='-PIC'
8396 lt_prog_compiler_static
='-Bstatic'
8399 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8400 lt_prog_compiler_wl
='-Wl,'
8401 lt_prog_compiler_pic
='-KPIC'
8402 lt_prog_compiler_static
='-Bstatic'
8406 if test -d /usr
/nec
;then
8407 lt_prog_compiler_pic
='-Kconform_pic'
8408 lt_prog_compiler_static
='-Bstatic'
8412 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8413 lt_prog_compiler_wl
='-Wl,'
8414 lt_prog_compiler_pic
='-KPIC'
8415 lt_prog_compiler_static
='-Bstatic'
8419 lt_prog_compiler_wl
='-Wl,'
8420 lt_prog_compiler_can_build_shared
=no
8424 lt_prog_compiler_pic
='-pic'
8425 lt_prog_compiler_static
='-Bstatic'
8429 lt_prog_compiler_can_build_shared
=no
8435 # For platforms which do not support PIC, -DPIC is meaningless:
8437 lt_prog_compiler_pic
=
8440 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8444 $as_echo "$lt_prog_compiler_pic" >&6; }
8452 # Check to make sure the PIC flag actually works.
8454 if test -n "$lt_prog_compiler_pic"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8456 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8457 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8458 $as_echo_n "(cached) " >&6
8460 lt_cv_prog_compiler_pic_works
=no
8461 ac_outfile
=conftest.
$ac_objext
8462 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8463 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8464 # Insert the option either (1) after the last *FLAGS variable, or
8465 # (2) before a word containing "conftest.", or (3) at the end.
8466 # Note that $ac_compile itself does not contain backslashes and begins
8467 # with a dollar sign (not a hyphen), so the echo should work correctly.
8468 # The option is referenced via a variable to avoid confusing sed.
8469 lt_compile
=`echo "$ac_compile" | $SED \
8470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8472 -e 's:$: $lt_compiler_flag:'`
8473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8474 (eval "$lt_compile" 2>conftest.err
)
8476 cat conftest.err
>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 if (exit $ac_status) && test -s "$ac_outfile"; then
8479 # The compiler can only warn and ignore the option if not recognized
8480 # So say no if there are warnings other than the usual output.
8481 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8482 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8483 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8484 lt_cv_prog_compiler_pic_works
=yes
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8491 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8493 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8494 case $lt_prog_compiler_pic in
8496 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8499 lt_prog_compiler_pic
=
8500 lt_prog_compiler_can_build_shared
=no
8511 # Check to make sure the static flag actually works.
8513 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8515 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8516 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8519 lt_cv_prog_compiler_static_works
=no
8520 save_LDFLAGS
="$LDFLAGS"
8521 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8522 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8523 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8524 # The linker can only warn and ignore the option if not recognized
8525 # So say no if there are warnings
8526 if test -s conftest.err
; then
8527 # Append any errors to the config.log.
8528 cat conftest.err
1>&5
8529 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8530 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8531 if diff conftest.exp conftest.er2
>/dev
/null
; then
8532 lt_cv_prog_compiler_static_works
=yes
8535 lt_cv_prog_compiler_static_works
=yes
8539 LDFLAGS
="$save_LDFLAGS"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8543 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8545 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8548 lt_prog_compiler_static
=
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8558 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8559 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8562 lt_cv_prog_compiler_c_o
=no
8563 $RM -r conftest
2>/dev
/null
8567 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8569 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8570 # Insert the option either (1) after the last *FLAGS variable, or
8571 # (2) before a word containing "conftest.", or (3) at the end.
8572 # Note that $ac_compile itself does not contain backslashes and begins
8573 # with a dollar sign (not a hyphen), so the echo should work correctly.
8574 lt_compile
=`echo "$ac_compile" | $SED \
8575 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8577 -e 's:$: $lt_compiler_flag:'`
8578 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8579 (eval "$lt_compile" 2>out
/conftest.err
)
8581 cat out
/conftest.err
>&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8585 # The compiler can only warn and ignore the option if not recognized
8586 # So say no if there are warnings
8587 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8588 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8589 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8590 lt_cv_prog_compiler_c_o
=yes
8595 # SGI C++ compiler will create directory out/ii_files/ for
8596 # template instantiation
8597 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8598 $RM out
/* && rmdir out
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8605 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8613 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8614 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8617 lt_cv_prog_compiler_c_o
=no
8618 $RM -r conftest
2>/dev
/null
8622 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8624 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8625 # Insert the option either (1) after the last *FLAGS variable, or
8626 # (2) before a word containing "conftest.", or (3) at the end.
8627 # Note that $ac_compile itself does not contain backslashes and begins
8628 # with a dollar sign (not a hyphen), so the echo should work correctly.
8629 lt_compile
=`echo "$ac_compile" | $SED \
8630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8632 -e 's:$: $lt_compiler_flag:'`
8633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8634 (eval "$lt_compile" 2>out
/conftest.err
)
8636 cat out
/conftest.err
>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8640 # The compiler can only warn and ignore the option if not recognized
8641 # So say no if there are warnings
8642 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8643 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8644 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8645 lt_cv_prog_compiler_c_o
=yes
8650 # SGI C++ compiler will create directory out/ii_files/ for
8651 # template instantiation
8652 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8653 $RM out
/* && rmdir out
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8660 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8665 hard_links
="nottested"
8666 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8667 # do not overwrite the value of need_locks provided by the user
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8669 $as_echo_n "checking if we can lock with hard links... " >&6; }
8672 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8674 ln conftest.a conftest.b
2>&5 || hard_links
=no
8675 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8677 $as_echo "$hard_links" >&6; }
8678 if test "$hard_links" = no
; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8680 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8693 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8696 allow_undefined_flag
=
8697 always_export_symbols
=no
8699 archive_expsym_cmds
=
8700 compiler_needs_object
=no
8701 enable_shared_with_static_runtimes
=no
8702 export_dynamic_flag_spec
=
8703 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8704 hardcode_automatic
=no
8706 hardcode_direct_absolute
=no
8707 hardcode_libdir_flag_spec
=
8708 hardcode_libdir_flag_spec_ld
=
8709 hardcode_libdir_separator
=
8711 hardcode_shlibpath_var
=unsupported
8713 link_all_deplibs
=unknown
8716 old_archive_from_new_cmds
=
8717 old_archive_from_expsyms_cmds
=
8718 thread_safe_flag_spec
=
8719 whole_archive_flag_spec
=
8720 # include_expsyms should be a list of space-separated symbols to be *always*
8721 # included in the symbol list
8723 # exclude_expsyms can be an extended regexp of symbols to exclude
8724 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8725 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8726 # as well as any symbol that contains `d'.
8727 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8728 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8729 # platforms (ab)use it in PIC code, but their linkers get confused if
8730 # the symbol is explicitly referenced. Since portable code cannot
8731 # rely on this symbol name, it's probably fine to never include it in
8732 # preloaded symbol tables.
8733 # Exclude shared library initialization/finalization symbols.
8734 extract_expsyms_cmds
=
8737 cygwin
* | mingw
* | pw32
* | cegcc
*)
8738 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8739 # When not using gcc, we currently assume that we are using
8740 # Microsoft Visual C++.
8741 if test "$GCC" != yes; then
8746 # we just hope/assume this is gcc and not c89 (= MSVC++)
8756 # On some targets, GNU ld is compatible enough with the native linker
8757 # that we're better off using the native interface for both.
8758 lt_use_gnu_ld_interface
=no
8759 if test "$with_gnu_ld" = yes; then
8762 # The AIX port of GNU ld has always aspired to compatibility
8763 # with the native linker. However, as the warning in the GNU ld
8764 # block says, versions before 2.19.5* couldn't really create working
8765 # shared libraries, regardless of the interface used.
8766 case `$LD -v 2>&1` in
8767 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8768 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8769 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8771 lt_use_gnu_ld_interface
=yes
8776 lt_use_gnu_ld_interface
=yes
8781 if test "$lt_use_gnu_ld_interface" = yes; then
8782 # If archive_cmds runs LD, not CC, wlarc should be empty
8785 # Set some defaults for GNU ld with shared library support. These
8786 # are reset later if shared libraries are not supported. Putting them
8787 # here allows them to be overridden if necessary.
8788 runpath_var
=LD_RUN_PATH
8789 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8790 export_dynamic_flag_spec
='${wl}--export-dynamic'
8791 # ancient GNU ld didn't support --whole-archive et. al.
8792 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8793 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8795 whole_archive_flag_spec
=
8797 supports_anon_versioning
=no
8798 case `$LD -v 2>&1` in
8799 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8800 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8801 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8802 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8803 *\
2.11.
*) ;; # other 2.11 versions
8804 *) supports_anon_versioning
=yes ;;
8807 # See if GNU ld supports shared libraries.
8810 # On AIX/PPC, the GNU linker is very broken
8811 if test "$host_cpu" != ia64
; then
8815 *** Warning: the GNU linker, at least up to release 2.19, is reported
8816 *** to be unable to reliably create shared libraries on AIX.
8817 *** Therefore, libtool is disabling shared libraries support. If you
8818 *** really care for shared libraries, you may want to install binutils
8819 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8820 *** You will then need to restart the configuration process.
8829 # see comment about AmigaOS4 .so support
8830 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8831 archive_expsym_cmds
=''
8834 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)'
8835 hardcode_libdir_flag_spec
='-L$libdir'
8836 hardcode_minus_L
=yes
8842 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8843 allow_undefined_flag
=unsupported
8844 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8845 # support --undefined. This deserves some investigation. FIXME
8846 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8852 cygwin
* | mingw
* | pw32
* | cegcc
*)
8853 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8854 # as there is no search path for DLLs.
8855 hardcode_libdir_flag_spec
='-L$libdir'
8856 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8857 allow_undefined_flag
=unsupported
8858 always_export_symbols
=no
8859 enable_shared_with_static_runtimes
=yes
8860 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8862 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8864 # If the export-symbols file already is a .def file (1st line
8865 # is EXPORTS), use it as is; otherwise, prepend...
8866 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8867 cp $export_symbols $output_objdir/$soname.def;
8869 echo EXPORTS > $output_objdir/$soname.def;
8870 cat $export_symbols >> $output_objdir/$soname.def;
8872 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8879 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8880 link_all_deplibs
=yes
8885 hardcode_shlibpath_var
=no
8886 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8887 export_dynamic_flag_spec
='${wl}-E'
8888 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8889 # Instead, shared libraries are loaded at an image base (0x10000000 by
8890 # default) and relocated if they conflict, which is a slow very memory
8891 # consuming and fragmenting process. To avoid this, we pick a random,
8892 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8893 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8894 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8895 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'
8898 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8900 if test "$host_os" = linux-dietlibc
; then
8901 case $cc_basename in
8902 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8905 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8906 && test "$tmp_diet" = no
8909 tmp_sharedflag
='-shared'
8910 case $cc_basename,$host_cpu in
8911 pgcc
*) # Portland Group C compiler
8912 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'
8913 tmp_addflag
=' $pic_flag'
8915 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8916 # Portland Group f77 and f90 compilers
8917 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'
8918 tmp_addflag
=' $pic_flag -Mnomain' ;;
8919 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8920 tmp_addflag
=' -i_dynamic' ;;
8921 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8922 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8923 ifc
* | ifort
*) # Intel Fortran compiler
8924 tmp_addflag
=' -nofor_main' ;;
8925 lf95
*) # Lahey Fortran 8.1
8926 whole_archive_flag_spec
=
8927 tmp_sharedflag
='--shared' ;;
8928 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8929 tmp_sharedflag
='-qmkshrobj'
8931 nvcc
*) # Cuda Compiler Driver 2.2
8932 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'
8933 compiler_needs_object
=yes
8936 case `$CC -V 2>&1 | sed 5q` in
8937 *Sun\ C
*) # Sun C 5.9
8938 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'
8939 compiler_needs_object
=yes
8940 tmp_sharedflag
='-G' ;;
8941 *Sun\ F
*) # Sun Fortran 8.3
8942 tmp_sharedflag
='-G' ;;
8944 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8946 if test "x$supports_anon_versioning" = xyes
; then
8947 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8949 echo "local: *; };" >> $output_objdir/$libname.ver~
8950 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8953 case $cc_basename in
8954 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8955 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8956 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8957 hardcode_libdir_flag_spec
=
8958 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8959 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8960 if test "x$supports_anon_versioning" = xyes
; then
8961 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8962 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8963 echo "local: *; };" >> $output_objdir/$libname.ver~
8964 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8974 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8975 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8984 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8988 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8989 *** create shared libraries on Solaris systems. Therefore, libtool
8990 *** is disabling shared libraries support. We urge you to upgrade GNU
8991 *** binutils to release 2.9.1 or newer. Another option is to modify
8992 *** your PATH or compiler configuration so that the native linker is
8993 *** used, and then restart.
8996 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9004 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9005 case `$LD -v 2>&1` in
9006 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9010 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9011 *** reliably create shared libraries on SCO systems. Therefore, libtool
9012 *** is disabling shared libraries support. We urge you to upgrade GNU
9013 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9014 *** your PATH or compiler configuration so that the native linker is
9015 *** used, and then restart.
9020 # For security reasons, it is highly recommended that you always
9021 # use absolute paths for naming shared libraries, and exclude the
9022 # DT_RUNPATH tag from executables and libraries. But doing so
9023 # requires that you compile everything twice, which is a pain.
9024 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9025 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9026 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9036 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9039 hardcode_shlibpath_var
=no
9043 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9044 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9052 if test "$ld_shlibs" = no
; then
9054 hardcode_libdir_flag_spec
=
9055 export_dynamic_flag_spec
=
9056 whole_archive_flag_spec
=
9059 # PORTME fill in a description of your system's linker (not GNU ld)
9062 allow_undefined_flag
=unsupported
9063 always_export_symbols
=yes
9064 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'
9065 # Note: this linker hardcodes the directories in LIBPATH if there
9066 # are no directories specified by -L.
9067 hardcode_minus_L
=yes
9068 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9069 # Neither direct hardcoding nor static linking is supported with a
9071 hardcode_direct
=unsupported
9076 if test "$host_cpu" = ia64
; then
9077 # On IA64, the linker does run time linking by default, so we don't
9078 # have to do anything special.
9079 aix_use_runtimelinking
=no
9080 exp_sym_flag
='-Bexport'
9083 # If we're using GNU nm, then we don't want the "-C" option.
9084 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9085 # Also, AIX nm treats weak defined symbols like other global
9086 # defined symbols, whereas GNU nm marks them as "W".
9087 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9088 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'
9090 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'
9092 aix_use_runtimelinking
=no
9094 # Test if we are trying to use run time linking or normal
9095 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9096 # need to do runtime linking.
9097 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9098 for ld_flag
in $LDFLAGS; do
9099 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9100 aix_use_runtimelinking
=yes
9107 exp_sym_flag
='-bexport'
9108 no_entry_flag
='-bnoentry'
9111 # When large executables or shared objects are built, AIX ld can
9112 # have problems creating the table of contents. If linking a library
9113 # or program results in "error TOC overflow" add -mminimal-toc to
9114 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9115 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9119 hardcode_direct_absolute
=yes
9120 hardcode_libdir_separator
=':'
9121 link_all_deplibs
=yes
9122 file_list_spec
='${wl}-f,'
9124 if test "$GCC" = yes; then
9125 case $host_os in aix4.
[012]|aix4.
[012].
*)
9126 # We only want to do this on AIX 4.2 and lower, the check
9127 # below for broken collect2 doesn't work under 4.3+
9128 collect2name
=`${CC} -print-prog-name=collect2`
9129 if test -f "$collect2name" &&
9130 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9132 # We have reworked collect2
9135 # We have old collect2
9136 hardcode_direct
=unsupported
9137 # It fails to find uninstalled libraries when the uninstalled
9138 # path is not listed in the libpath. Setting hardcode_minus_L
9139 # to unsupported forces relinking
9140 hardcode_minus_L
=yes
9141 hardcode_libdir_flag_spec
='-L$libdir'
9142 hardcode_libdir_separator
=
9146 shared_flag
='-shared'
9147 if test "$aix_use_runtimelinking" = yes; then
9148 shared_flag
="$shared_flag "'${wl}-G'
9152 if test "$host_cpu" = ia64
; then
9153 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9154 # chokes on -Wl,-G. The following line is correct:
9157 if test "$aix_use_runtimelinking" = yes; then
9158 shared_flag
='${wl}-G'
9160 shared_flag
='${wl}-bM:SRE'
9165 export_dynamic_flag_spec
='${wl}-bexpall'
9166 # It seems that -bexpall does not export symbols beginning with
9167 # underscore (_), so it is better to generate a list of symbols to export.
9168 always_export_symbols
=yes
9169 if test "$aix_use_runtimelinking" = yes; then
9170 # Warning - without using the other runtime loading flags (-brtl),
9171 # -berok will link without error, but may produce a broken library.
9172 allow_undefined_flag
='-berok'
9173 # Determine the default libpath from the value encoded in an
9175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9186 if ac_fn_c_try_link
"$LINENO"; then :
9188 lt_aix_libpath_sed
='
9189 /Import File Strings/,/^$/ {
9195 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9196 # Check for a 64-bit object if we didn't find anything.
9197 if test -z "$aix_libpath"; then
9198 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9201 rm -f core conftest.err conftest.
$ac_objext \
9202 conftest
$ac_exeext conftest.
$ac_ext
9203 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9205 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9206 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"
9208 if test "$host_cpu" = ia64
; then
9209 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9210 allow_undefined_flag
="-z nodefs"
9211 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"
9213 # Determine the default libpath from the value encoded in an
9215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9226 if ac_fn_c_try_link
"$LINENO"; then :
9228 lt_aix_libpath_sed
='
9229 /Import File Strings/,/^$/ {
9235 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9236 # Check for a 64-bit object if we didn't find anything.
9237 if test -z "$aix_libpath"; then
9238 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9245 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9246 # Warning - without using the other run time loading flags,
9247 # -berok will link without error, but may produce a broken library.
9248 no_undefined_flag
=' ${wl}-bernotok'
9249 allow_undefined_flag
=' ${wl}-berok'
9250 if test "$with_gnu_ld" = yes; then
9251 # We only use this code for GNU lds that support --whole-archive.
9252 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9254 # Exported symbols can be pulled into shared objects from archives
9255 whole_archive_flag_spec
='$convenience'
9257 archive_cmds_need_lc
=yes
9258 # This is similar to how AIX traditionally builds its shared libraries.
9259 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'
9267 # see comment about AmigaOS4 .so support
9268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 archive_expsym_cmds
=''
9272 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)'
9273 hardcode_libdir_flag_spec
='-L$libdir'
9274 hardcode_minus_L
=yes
9280 export_dynamic_flag_spec
=-rdynamic
9283 cygwin
* | mingw
* | pw32
* | cegcc
*)
9284 # When not using gcc, we currently assume that we are using
9285 # Microsoft Visual C++.
9286 # hardcode_libdir_flag_spec is actually meaningless, as there is
9287 # no search path for DLLs.
9288 hardcode_libdir_flag_spec
=' '
9289 allow_undefined_flag
=unsupported
9290 # Tell ltmain to make .lib files, not .a files.
9292 # Tell ltmain to make .dll files, not .so files.
9294 # FIXME: Setting linknames here is a bad hack.
9295 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9296 # The linker will automatically build a .lib file if we build a DLL.
9297 old_archive_from_new_cmds
='true'
9298 # FIXME: Should let the user specify the lib program.
9299 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9300 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9301 enable_shared_with_static_runtimes
=yes
9304 darwin
* | rhapsody
*)
9307 archive_cmds_need_lc
=no
9309 hardcode_automatic
=yes
9310 hardcode_shlibpath_var
=unsupported
9311 if test "$lt_cv_ld_force_load" = "yes"; then
9312 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\"`'
9314 whole_archive_flag_spec
=''
9316 link_all_deplibs
=yes
9317 allow_undefined_flag
="$_lt_dar_allow_undefined"
9318 case $cc_basename in
9319 ifort
*) _lt_dar_can_shared
=yes ;;
9320 *) _lt_dar_can_shared
=$GCC ;;
9322 if test "$_lt_dar_can_shared" = "yes"; then
9323 output_verbose_link_cmd
=func_echo_all
9324 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9325 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9326 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}"
9327 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}"
9336 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_libdir_flag_spec
='-L$libdir'
9338 hardcode_shlibpath_var
=no
9341 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9342 # support. Future versions do this automatically, but an explicit c++rt0.o
9343 # does not break anything, and helps significantly (at the cost of a little
9346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9347 hardcode_libdir_flag_spec
='-R$libdir'
9349 hardcode_shlibpath_var
=no
9352 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9354 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9356 hardcode_minus_L
=yes
9357 hardcode_shlibpath_var
=no
9360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9361 freebsd
* | dragonfly
*)
9362 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9363 hardcode_libdir_flag_spec
='-R$libdir'
9365 hardcode_shlibpath_var
=no
9369 if test "$GCC" = yes; then
9370 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'
9372 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'
9374 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9375 hardcode_libdir_separator
=:
9378 # hardcode_minus_L: Not really in the search PATH,
9379 # but as the default location of the library.
9380 hardcode_minus_L
=yes
9381 export_dynamic_flag_spec
='${wl}-E'
9385 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9386 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9388 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9390 if test "$with_gnu_ld" = no
; then
9391 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9392 hardcode_libdir_flag_spec_ld
='+b $libdir'
9393 hardcode_libdir_separator
=:
9395 hardcode_direct_absolute
=yes
9396 export_dynamic_flag_spec
='${wl}-E'
9397 # hardcode_minus_L: Not really in the search PATH,
9398 # but as the default location of the library.
9399 hardcode_minus_L
=yes
9404 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9407 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9410 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9422 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9426 # Older versions of the 11.00 compiler do not understand -b yet
9427 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9429 $as_echo_n "checking if $CC understands -b... " >&6; }
9430 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9431 $as_echo_n "(cached) " >&6
9433 lt_cv_prog_compiler__b
=no
9434 save_LDFLAGS
="$LDFLAGS"
9435 LDFLAGS
="$LDFLAGS -b"
9436 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9437 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9438 # The linker can only warn and ignore the option if not recognized
9439 # So say no if there are warnings
9440 if test -s conftest.err
; then
9441 # Append any errors to the config.log.
9442 cat conftest.err
1>&5
9443 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9444 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9445 if diff conftest.exp conftest.er2
>/dev
/null
; then
9446 lt_cv_prog_compiler__b
=yes
9449 lt_cv_prog_compiler__b
=yes
9453 LDFLAGS
="$save_LDFLAGS"
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9457 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9459 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9460 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9468 if test "$with_gnu_ld" = no
; then
9469 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9470 hardcode_libdir_separator
=:
9475 hardcode_shlibpath_var
=no
9479 hardcode_direct_absolute
=yes
9480 export_dynamic_flag_spec
='${wl}-E'
9482 # hardcode_minus_L: Not really in the search PATH,
9483 # but as the default location of the library.
9484 hardcode_minus_L
=yes
9490 irix5
* | irix6
* | nonstopux
*)
9491 if test "$GCC" = yes; then
9492 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'
9493 # Try to use the -exported_symbol ld option, if it does not
9494 # work, assume that -exports_file does not work either and
9495 # implicitly export all symbols.
9496 save_LDFLAGS
="$LDFLAGS"
9497 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9502 if ac_fn_c_try_link
"$LINENO"; then :
9503 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'
9506 rm -f core conftest.err conftest.
$ac_objext \
9507 conftest
$ac_exeext conftest.
$ac_ext
9508 LDFLAGS
="$save_LDFLAGS"
9510 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'
9511 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'
9513 archive_cmds_need_lc
='no'
9514 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9515 hardcode_libdir_separator
=:
9517 link_all_deplibs
=yes
9521 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9522 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9524 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9526 hardcode_libdir_flag_spec
='-R$libdir'
9528 hardcode_shlibpath_var
=no
9532 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9534 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9535 hardcode_libdir_separator
=:
9536 hardcode_shlibpath_var
=no
9543 if test -f /usr
/libexec
/ld.so
; then
9545 hardcode_shlibpath_var
=no
9546 hardcode_direct_absolute
=yes
9547 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9548 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9549 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9550 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9551 export_dynamic_flag_spec
='${wl}-E'
9554 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9556 hardcode_libdir_flag_spec
='-R$libdir'
9559 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9560 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9570 hardcode_libdir_flag_spec
='-L$libdir'
9571 hardcode_minus_L
=yes
9572 allow_undefined_flag
=unsupported
9573 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'
9574 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9578 if test "$GCC" = yes; then
9579 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9580 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'
9582 allow_undefined_flag
=' -expect_unresolved \*'
9583 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'
9585 archive_cmds_need_lc
='no'
9586 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9587 hardcode_libdir_separator
=:
9590 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9591 if test "$GCC" = yes; then
9592 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9593 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'
9594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9596 allow_undefined_flag
=' -expect_unresolved \*'
9597 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'
9598 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~
9599 $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'
9601 # Both c and cxx compiler support -rpath directly
9602 hardcode_libdir_flag_spec
='-rpath $libdir'
9604 archive_cmds_need_lc
='no'
9605 hardcode_libdir_separator
=:
9609 no_undefined_flag
=' -z defs'
9610 if test "$GCC" = yes; then
9612 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9613 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9614 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9616 case `$CC -V 2>&1` in
9619 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9621 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9625 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9626 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9627 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9631 hardcode_libdir_flag_spec
='-R$libdir'
9632 hardcode_shlibpath_var
=no
9634 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9636 # The compiler driver will combine and reorder linker options,
9637 # but understands `-z linker_flag'. GCC discards it without `$wl',
9638 # but is careful enough not to reorder.
9639 # Supported since Solaris 2.6 (maybe 2.5.1?)
9640 if test "$GCC" = yes; then
9641 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9643 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9647 link_all_deplibs
=yes
9651 if test "x$host_vendor" = xsequent
; then
9652 # Use $CC to link under sequent, because it throws in some extra .o
9653 # files that make .init and .fini sections work.
9654 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_libdir_flag_spec
='-L$libdir'
9660 hardcode_minus_L
=yes
9661 hardcode_shlibpath_var
=no
9665 case $host_vendor in
9667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9668 hardcode_direct
=yes # is this really true???
9671 ## LD is ld it makes a PLAMLIB
9672 ## CC just makes a GrossModule.
9673 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9674 reload_cmds
='$CC -r -o $output$reload_objs'
9678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9682 runpath_var
='LD_RUN_PATH'
9683 hardcode_shlibpath_var
=no
9687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_shlibpath_var
=no
9689 export_dynamic_flag_spec
='-Bexport'
9693 if test -d /usr
/nec
; then
9694 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_shlibpath_var
=no
9696 runpath_var
=LD_RUN_PATH
9697 hardcode_runpath_var
=yes
9702 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9703 no_undefined_flag
='${wl}-z,text'
9704 archive_cmds_need_lc
=no
9705 hardcode_shlibpath_var
=no
9706 runpath_var
='LD_RUN_PATH'
9708 if test "$GCC" = yes; then
9709 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 sysv5
* | sco3.2v5
* | sco5v6
*)
9718 # Note: We can NOT use -z defs as we might desire, because we do not
9719 # link with -lc, and that would cause any symbols used from libc to
9720 # always be unresolved, which means just about no library would
9721 # ever link correctly. If we're not using GNU ld we use -z text
9722 # though, which does catch some bad symbols but isn't as heavy-handed
9724 no_undefined_flag
='${wl}-z,text'
9725 allow_undefined_flag
='${wl}-z,nodefs'
9726 archive_cmds_need_lc
=no
9727 hardcode_shlibpath_var
=no
9728 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9729 hardcode_libdir_separator
=':'
9730 link_all_deplibs
=yes
9731 export_dynamic_flag_spec
='${wl}-Bexport'
9732 runpath_var
='LD_RUN_PATH'
9734 if test "$GCC" = yes; then
9735 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_libdir_flag_spec
='-L$libdir'
9746 hardcode_shlibpath_var
=no
9754 if test x
$host_vendor = xsni
; then
9756 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9757 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9764 $as_echo "$ld_shlibs" >&6; }
9765 test "$ld_shlibs" = no
&& can_build_shared
=no
9767 with_gnu_ld
=$with_gnu_ld
9784 # Do we need to explicitly link libc?
9786 case "x$archive_cmds_need_lc" in
9788 # Assume -lc should be added
9789 archive_cmds_need_lc
=yes
9791 if test "$enable_shared" = yes && test "$GCC" = yes; then
9792 case $archive_cmds in
9794 # FIXME: we may have to deal with multi-command sequences.
9797 # Test whether the compiler implicitly links with -lc since on some
9798 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9799 # to ld, don't add -lc before -lgcc.
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9801 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9802 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9803 $as_echo_n "(cached) " >&6
9806 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9809 (eval $ac_compile) 2>&5
9811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9812 test $ac_status = 0; } 2>conftest.err
; then
9815 libobjs
=conftest.
$ac_objext
9817 wl
=$lt_prog_compiler_wl
9818 pic_flag
=$lt_prog_compiler_pic
9824 lt_save_allow_undefined_flag
=$allow_undefined_flag
9825 allow_undefined_flag
=
9826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9827 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9830 test $ac_status = 0; }
9832 lt_cv_archive_cmds_need_lc
=no
9834 lt_cv_archive_cmds_need_lc
=yes
9836 allow_undefined_flag
=$lt_save_allow_undefined_flag
9838 cat conftest.err
1>&5
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9844 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9845 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10009 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10011 if test "$GCC" = yes; then
10013 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10014 *) lt_awk_arg
="/^libraries:/" ;;
10017 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10018 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10020 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10021 case $lt_search_path_spec in
10023 # if the path contains ";" then we assume it to be the separator
10024 # otherwise default to the standard path separator (i.e. ":") - it is
10025 # assumed that no part of a normal pathname contains ";" but that should
10026 # okay in the real world where ";" in dirpaths is itself problematic.
10027 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10030 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10033 # Ok, now we have the path, separated by spaces, we can step through it
10034 # and add multilib dir if necessary.
10035 lt_tmp_lt_search_path_spec
=
10036 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10037 for lt_sys_path
in $lt_search_path_spec; do
10038 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10039 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10041 test -d "$lt_sys_path" && \
10042 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10045 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10046 BEGIN {RS=" "; FS="/|\n";} {
10049 for (lt_i = NF; lt_i > 0; lt_i--) {
10050 if ($lt_i != "" && $lt_i != ".") {
10051 if ($lt_i == "..") {
10054 if (lt_count == 0) {
10055 lt_foo="/" $lt_i lt_foo;
10062 if (lt_foo != "") { lt_freq[lt_foo]++; }
10063 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10065 # AWK program above erroneously prepends '/' to C:/dos/paths
10068 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10069 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10071 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10073 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10075 library_names_spec
=
10076 libname_spec
='lib$name'
10080 postuninstall_cmds
=
10084 shlibpath_overrides_runpath
=unknown
10086 dynamic_linker
="$host_os ld.so"
10087 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10088 need_lib_prefix
=unknown
10089 hardcode_into_libs
=no
10091 # when you set need_version to no, make sure it does not cause -set_version
10092 # flags to be left without arguments
10093 need_version
=unknown
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10099 shlibpath_var
=LIBPATH
10101 # AIX 3 has no versioning support, so we append a major version to the name.
10102 soname_spec
='${libname}${release}${shared_ext}$major'
10109 hardcode_into_libs
=yes
10110 if test "$host_cpu" = ia64
; then
10111 # AIX 5 supports IA64
10112 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10113 shlibpath_var
=LD_LIBRARY_PATH
10115 # With GCC up to 2.95.x, collect2 would create an import file
10116 # for dependence libraries. The import file would start with
10117 # the line `#! .'. This would cause the generated library to
10118 # depend on `.', always an invalid library. This was fixed in
10119 # development snapshots of GCC prior to 3.0.
10121 aix4 | aix4.
[01] | aix4.
[01].
*)
10122 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10124 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10127 can_build_shared
=no
10131 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10132 # soname into executable. Probably we can add versioning support to
10133 # collect2, so additional links can be useful in future.
10134 if test "$aix_use_runtimelinking" = yes; then
10135 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10136 # instead of lib<name>.a to let people know that these are not
10137 # typical AIX shared libraries.
10138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 # We preserve .a as extension for shared libraries through AIX4.2
10141 # and later when we are not doing run time linking.
10142 library_names_spec
='${libname}${release}.a $libname.a'
10143 soname_spec
='${libname}${release}${shared_ext}$major'
10145 shlibpath_var
=LIBPATH
10152 # Since July 2007 AmigaOS4 officially supports .so libraries.
10153 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10157 library_names_spec
='$libname.ixlibrary $libname.a'
10158 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10159 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'
10165 library_names_spec
='${libname}${shared_ext}'
10166 dynamic_linker
="$host_os ld.so"
10167 shlibpath_var
=LIBRARY_PATH
10173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10174 soname_spec
='${libname}${release}${shared_ext}$major'
10175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10176 shlibpath_var
=LD_LIBRARY_PATH
10177 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10178 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10179 # the default ld.so.conf also contains /usr/contrib/lib and
10180 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10181 # libtool to hard-code these into programs
10184 cygwin
* | mingw
* | pw32
* | cegcc
*)
10185 version_type
=windows
10190 case $GCC,$host_os in
10191 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10192 library_names_spec
='$libname.dll.a'
10193 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10194 postinstall_cmds
='base_file=`basename \${file}`~
10195 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10196 dldir=$destdir/`dirname \$dlpath`~
10197 test -d \$dldir || mkdir -p \$dldir~
10198 $install_prog $dir/$dlname \$dldir/$dlname~
10199 chmod a+x \$dldir/$dlname~
10200 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10201 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10203 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10204 dlpath=$dir/\$dldll~
10206 shlibpath_overrides_runpath
=yes
10210 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10211 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10213 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10216 # MinGW DLLs use traditional 'lib' prefix
10217 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10220 # pw32 DLLs use 'pw' prefix rather than 'lib'
10221 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10227 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10230 dynamic_linker
='Win32 ld.exe'
10231 # FIXME: first we should search . and the directory the executable is in
10235 darwin
* | rhapsody
*)
10236 dynamic_linker
="$host_os dyld"
10237 version_type
=darwin
10240 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10241 soname_spec
='${libname}${release}${major}$shared_ext'
10242 shlibpath_overrides_runpath
=yes
10243 shlibpath_var
=DYLD_LIBRARY_PATH
10244 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10246 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10247 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10255 soname_spec
='${libname}${release}${shared_ext}$major'
10256 shlibpath_var
=LD_LIBRARY_PATH
10259 freebsd
* | dragonfly
*)
10260 # DragonFly does not have aout. When/if they implement a new
10261 # versioning mechanism, adjust this.
10262 if test -x /usr
/bin
/objformat
; then
10263 objformat
=`/usr/bin/objformat`
10266 freebsd
[123]*) objformat
=aout
;;
10267 *) objformat
=elf
;;
10270 version_type
=freebsd-
$objformat
10271 case $version_type in
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10278 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10282 shlibpath_var
=LD_LIBRARY_PATH
10285 shlibpath_overrides_runpath
=yes
10287 freebsd3.
[01]* | freebsdelf3.
[01]*)
10288 shlibpath_overrides_runpath
=yes
10289 hardcode_into_libs
=yes
10291 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10292 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10293 shlibpath_overrides_runpath
=no
10294 hardcode_into_libs
=yes
10296 *) # from 4.6 on, and DragonFly
10297 shlibpath_overrides_runpath
=yes
10298 hardcode_into_libs
=yes
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 shlibpath_var
=LD_LIBRARY_PATH
10310 hardcode_into_libs
=yes
10317 dynamic_linker
="$host_os runtime_loader"
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10319 soname_spec
='${libname}${release}${shared_ext}$major'
10320 shlibpath_var
=LIBRARY_PATH
10321 shlibpath_overrides_runpath
=yes
10322 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10323 hardcode_into_libs
=yes
10326 hpux9
* | hpux10
* | hpux11
*)
10327 # Give a soname corresponding to the major version so that dld.sl refuses to
10328 # link against other versions.
10335 hardcode_into_libs
=yes
10336 dynamic_linker
="$host_os dld.so"
10337 shlibpath_var
=LD_LIBRARY_PATH
10338 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 if test "X$HPUX_IA64_MODE" = X32
; then
10342 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10344 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10346 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10350 hardcode_into_libs
=yes
10351 dynamic_linker
="$host_os dld.sl"
10352 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10353 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355 soname_spec
='${libname}${release}${shared_ext}$major'
10356 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10357 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10361 dynamic_linker
="$host_os dld.sl"
10362 shlibpath_var
=SHLIB_PATH
10363 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10368 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10369 postinstall_cmds
='chmod 555 $lib'
10370 # or fails outright, so override atomically:
10371 install_override_mode
=555
10378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10379 soname_spec
='${libname}${release}${shared_ext}$major'
10380 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10381 shlibpath_var
=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath
=no
10383 hardcode_into_libs
=yes
10386 irix5
* | irix6
* | nonstopux
*)
10388 nonstopux
*) version_type
=nonstopux
;;
10390 if test "$lt_cv_prog_gnu_ld" = yes; then
10398 soname_spec
='${libname}${release}${shared_ext}$major'
10399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10401 irix5
* | nonstopux
*)
10402 libsuff
= shlibsuff
=
10405 case $LD in # libtool.m4 will add one of these switches to LD
10406 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10407 libsuff
= shlibsuff
= libmagic
=32-bit;;
10408 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10409 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10410 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10411 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10412 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10416 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10417 shlibpath_overrides_runpath
=no
10418 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10419 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10420 hardcode_into_libs
=yes
10423 # No shared lib support for Linux oldld, aout, or coff.
10424 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10428 # This must be Linux ELF.
10429 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 soname_spec
='${libname}${release}${shared_ext}$major'
10435 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10436 shlibpath_var
=LD_LIBRARY_PATH
10437 shlibpath_overrides_runpath
=no
10439 # Some binutils ld are patched to set DT_RUNPATH
10440 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10441 $as_echo_n "(cached) " >&6
10443 lt_cv_shlibpath_overrides_runpath
=no
10444 save_LDFLAGS
=$LDFLAGS
10445 save_libdir
=$libdir
10446 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10447 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10459 if ac_fn_c_try_link
"$LINENO"; then :
10460 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10461 lt_cv_shlibpath_overrides_runpath
=yes
10464 rm -f core conftest.err conftest.
$ac_objext \
10465 conftest
$ac_exeext conftest.
$ac_ext
10466 LDFLAGS
=$save_LDFLAGS
10467 libdir
=$save_libdir
10471 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10473 # This implies no fast_install, which is unacceptable.
10474 # Some rework will be needed to allow for fast_install
10475 # before this can be enabled.
10476 hardcode_into_libs
=yes
10478 # Append ld.so.conf contents to the search path
10479 if test -f /etc
/ld.so.conf
; then
10480 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' ' '`
10481 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10484 # We used to test for /lib/ld.so.1 and disable shared libraries on
10485 # powerpc, because MkLinux only supported shared libraries with the
10486 # GNU dynamic linker. Since this was broken with cross compilers,
10487 # most powerpc-linux boxes support dynamic linking these days and
10488 # people can always --disable-shared, the test was removed, and we
10489 # assume the GNU/Linux dynamic linker is in use.
10490 dynamic_linker
='GNU/Linux ld.so'
10497 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10499 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10500 dynamic_linker
='NetBSD (a.out) ld.so'
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10503 soname_spec
='${libname}${release}${shared_ext}$major'
10504 dynamic_linker
='NetBSD ld.elf_so'
10506 shlibpath_var
=LD_LIBRARY_PATH
10507 shlibpath_overrides_runpath
=yes
10508 hardcode_into_libs
=yes
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath
=yes
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523 soname_spec
='${libname}${release}${shared_ext}$major'
10524 shlibpath_var
=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath
=no
10526 hardcode_into_libs
=yes
10527 dynamic_linker
='ldqnx.so'
10532 sys_lib_dlsearch_path_spec
="/usr/lib"
10534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10536 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10537 *) need_version
=no
;;
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10541 shlibpath_var
=LD_LIBRARY_PATH
10542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10544 openbsd2.
[89] | openbsd2.
[89].
*)
10545 shlibpath_overrides_runpath
=no
10548 shlibpath_overrides_runpath
=yes
10552 shlibpath_overrides_runpath
=yes
10557 libname_spec
='$name'
10560 library_names_spec
='$libname${shared_ext} $libname.a'
10561 dynamic_linker
='OS/2 ld.exe'
10562 shlibpath_var
=LIBPATH
10565 osf3
* | osf4
* | osf5
*)
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571 shlibpath_var
=LD_LIBRARY_PATH
10572 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10573 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath
=yes
10588 hardcode_into_libs
=yes
10589 # ldd complains unless libraries are executable
10590 postinstall_cmds
='chmod +x $lib'
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10596 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10597 shlibpath_var
=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath
=yes
10599 if test "$with_gnu_ld" = yes; then
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 case $host_vendor in
10612 shlibpath_overrides_runpath
=no
10614 runpath_var
=LD_RUN_PATH
10622 shlibpath_overrides_runpath
=no
10623 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10629 if test -d /usr
/nec
;then
10631 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10632 soname_spec
='$libname${shared_ext}.$major'
10633 shlibpath_var
=LD_LIBRARY_PATH
10637 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10638 version_type
=freebsd-elf
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10642 soname_spec
='${libname}${release}${shared_ext}$major'
10643 shlibpath_var
=LD_LIBRARY_PATH
10644 shlibpath_overrides_runpath
=yes
10645 hardcode_into_libs
=yes
10646 if test "$with_gnu_ld" = yes; then
10647 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10649 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10652 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10656 sys_lib_dlsearch_path_spec
='/usr/lib'
10660 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 shlibpath_var
=LD_LIBRARY_PATH
10666 shlibpath_overrides_runpath
=no
10667 hardcode_into_libs
=yes
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 soname_spec
='${libname}${release}${shared_ext}$major'
10674 shlibpath_var
=LD_LIBRARY_PATH
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10682 $as_echo "$dynamic_linker" >&6; }
10683 test "$dynamic_linker" = no
&& can_build_shared
=no
10685 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10686 if test "$GCC" = yes; then
10687 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10690 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10691 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10693 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10694 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10789 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10791 if test -n "$hardcode_libdir_flag_spec" ||
10792 test -n "$runpath_var" ||
10793 test "X$hardcode_automatic" = "Xyes" ; then
10795 # We can hardcode non-existent directories.
10796 if test "$hardcode_direct" != no
&&
10797 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10798 # have to relink, otherwise we might link with an installed library
10799 # when we should be linking with a yet-to-be-installed one
10800 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10801 test "$hardcode_minus_L" != no
; then
10802 # Linking always hardcodes the temporary library directory.
10803 hardcode_action
=relink
10805 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10806 hardcode_action
=immediate
10809 # We cannot hardcode anything, or else we can only hardcode existing
10811 hardcode_action
=unsupported
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10814 $as_echo "$hardcode_action" >&6; }
10816 if test "$hardcode_action" = relink ||
10817 test "$inherit_rpath" = yes; then
10818 # Fast installation is not supported
10819 enable_fast_install
=no
10820 elif test "$shlibpath_overrides_runpath" = yes ||
10821 test "$enable_shared" = no
; then
10822 # Fast installation is not necessary
10823 enable_fast_install
=needless
10831 if test "x$enable_dlopen" != xyes
; then
10832 enable_dlopen
=unknown
10833 enable_dlopen_self
=unknown
10834 enable_dlopen_self_static
=unknown
10841 lt_cv_dlopen
="load_add_on"
10843 lt_cv_dlopen_self
=yes
10846 mingw
* | pw32
* | cegcc
*)
10847 lt_cv_dlopen
="LoadLibrary"
10852 lt_cv_dlopen
="dlopen"
10857 # if libdl is installed we need to link against it
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10860 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10861 $as_echo_n "(cached) " >&6
10863 ac_check_lib_save_LIBS
=$LIBS
10865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10883 if ac_fn_c_try_link
"$LINENO"; then :
10884 ac_cv_lib_dl_dlopen
=yes
10886 ac_cv_lib_dl_dlopen
=no
10888 rm -f core conftest.err conftest.
$ac_objext \
10889 conftest
$ac_exeext conftest.
$ac_ext
10890 LIBS
=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10893 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10894 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10895 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10898 lt_cv_dlopen
="dyld"
10900 lt_cv_dlopen_self
=yes
10907 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10908 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10909 lt_cv_dlopen
="shl_load"
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10912 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10913 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10914 $as_echo_n "(cached) " >&6
10916 ac_check_lib_save_LIBS
=$LIBS
10918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10931 return shl_load ();
10936 if ac_fn_c_try_link
"$LINENO"; then :
10937 ac_cv_lib_dld_shl_load
=yes
10939 ac_cv_lib_dld_shl_load
=no
10941 rm -f core conftest.err conftest.
$ac_objext \
10942 conftest
$ac_exeext conftest.
$ac_ext
10943 LIBS
=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10946 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10947 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10948 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10950 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10951 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10952 lt_cv_dlopen
="dlopen"
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10955 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10956 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10957 $as_echo_n "(cached) " >&6
10959 ac_check_lib_save_LIBS
=$LIBS
10961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10979 if ac_fn_c_try_link
"$LINENO"; then :
10980 ac_cv_lib_dl_dlopen
=yes
10982 ac_cv_lib_dl_dlopen
=no
10984 rm -f core conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10989 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10990 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10991 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10994 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10995 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_lib_save_LIBS
=$LIBS
10999 LIBS
="-lsvld $LIBS"
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11018 if ac_fn_c_try_link
"$LINENO"; then :
11019 ac_cv_lib_svld_dlopen
=yes
11021 ac_cv_lib_svld_dlopen
=no
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LIBS
=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11028 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11029 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11030 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11033 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11034 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11035 $as_echo_n "(cached) " >&6
11037 ac_check_lib_save_LIBS
=$LIBS
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11052 return dld_link ();
11057 if ac_fn_c_try_link
"$LINENO"; then :
11058 ac_cv_lib_dld_dld_link
=yes
11060 ac_cv_lib_dld_dld_link
=no
11062 rm -f core conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11064 LIBS
=$ac_check_lib_save_LIBS
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11067 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11068 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11069 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11090 if test "x$lt_cv_dlopen" != xno
; then
11096 case $lt_cv_dlopen in
11098 save_CPPFLAGS
="$CPPFLAGS"
11099 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11101 save_LDFLAGS
="$LDFLAGS"
11102 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11105 LIBS
="$lt_cv_dlopen_libs $LIBS"
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11108 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11109 if test "${lt_cv_dlopen_self+set}" = set; then :
11110 $as_echo_n "(cached) " >&6
11112 if test "$cross_compiling" = yes; then :
11113 lt_cv_dlopen_self
=cross
11115 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11116 lt_status
=$lt_dlunknown
11117 cat > conftest.
$ac_ext <<_LT_EOF
11118 #line 11118 "configure"
11119 #include "confdefs.h"
11128 # define LT_DLGLOBAL RTLD_GLOBAL
11131 # define LT_DLGLOBAL DL_GLOBAL
11133 # define LT_DLGLOBAL 0
11137 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11138 find out it does not work in some platform. */
11139 #ifndef LT_DLLAZY_OR_NOW
11141 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11144 # define LT_DLLAZY_OR_NOW DL_LAZY
11147 # define LT_DLLAZY_OR_NOW RTLD_NOW
11150 # define LT_DLLAZY_OR_NOW DL_NOW
11152 # define LT_DLLAZY_OR_NOW 0
11159 /* When -fvisbility=hidden is used, assume the code has been annotated
11160 correspondingly for the symbols needed. */
11161 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11162 void fnord () __attribute__((visibility("default")));
11165 void fnord () { int i=42; }
11168 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11169 int status = $lt_dlunknown;
11173 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11176 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11177 else puts (dlerror ());
11179 /* dlclose (self); */
11187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11188 (eval $ac_link) 2>&5
11190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11191 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11192 (.
/conftest
; exit; ) >&5 2>/dev
/null
11194 case x
$lt_status in
11195 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11196 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11197 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11200 # compilation failed
11201 lt_cv_dlopen_self
=no
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11209 $as_echo "$lt_cv_dlopen_self" >&6; }
11211 if test "x$lt_cv_dlopen_self" = xyes
; then
11212 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11214 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11215 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11216 $as_echo_n "(cached) " >&6
11218 if test "$cross_compiling" = yes; then :
11219 lt_cv_dlopen_self_static
=cross
11221 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11222 lt_status
=$lt_dlunknown
11223 cat > conftest.
$ac_ext <<_LT_EOF
11224 #line 11224 "configure"
11225 #include "confdefs.h"
11234 # define LT_DLGLOBAL RTLD_GLOBAL
11237 # define LT_DLGLOBAL DL_GLOBAL
11239 # define LT_DLGLOBAL 0
11243 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11244 find out it does not work in some platform. */
11245 #ifndef LT_DLLAZY_OR_NOW
11247 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11250 # define LT_DLLAZY_OR_NOW DL_LAZY
11253 # define LT_DLLAZY_OR_NOW RTLD_NOW
11256 # define LT_DLLAZY_OR_NOW DL_NOW
11258 # define LT_DLLAZY_OR_NOW 0
11265 /* When -fvisbility=hidden is used, assume the code has been annotated
11266 correspondingly for the symbols needed. */
11267 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11268 void fnord () __attribute__((visibility("default")));
11271 void fnord () { int i=42; }
11274 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11275 int status = $lt_dlunknown;
11279 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11282 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11283 else puts (dlerror ());
11285 /* dlclose (self); */
11293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11294 (eval $ac_link) 2>&5
11296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11297 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11298 (.
/conftest
; exit; ) >&5 2>/dev
/null
11300 case x
$lt_status in
11301 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11302 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11303 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11306 # compilation failed
11307 lt_cv_dlopen_self_static
=no
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11315 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11318 CPPFLAGS
="$save_CPPFLAGS"
11319 LDFLAGS
="$save_LDFLAGS"
11324 case $lt_cv_dlopen_self in
11325 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11326 *) enable_dlopen_self
=unknown
;;
11329 case $lt_cv_dlopen_self_static in
11330 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11331 *) enable_dlopen_self_static
=unknown
;;
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11354 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11355 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11356 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11357 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11359 $as_echo "yes" >&6; }
11361 # FIXME - insert some real tests, host_os isn't really good enough
11364 if test -n "$STRIP" ; then
11365 striplib
="$STRIP -x"
11366 old_striplib
="$STRIP -S"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11368 $as_echo "yes" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11371 $as_echo "no" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11392 # Report which library types will actually be built
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11394 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11396 $as_echo "$can_build_shared" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11399 $as_echo_n "checking whether to build shared libraries... " >&6; }
11400 test "$can_build_shared" = "no" && enable_shared
=no
11402 # On AIX, shared libraries and static libraries use the same namespace, and
11403 # are all built from PIC.
11406 test "$enable_shared" = yes && enable_static
=no
11407 if test -n "$RANLIB"; then
11408 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11409 postinstall_cmds
='$RANLIB $lib'
11414 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11415 test "$enable_shared" = yes && enable_static
=no
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11420 $as_echo "$enable_shared" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11423 $as_echo_n "checking whether to build static libraries... " >&6; }
11424 # Make sure either enable_shared or enable_static is yes.
11425 test "$enable_shared" = yes || enable_static
=yes
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11427 $as_echo "$enable_static" >&6; }
11434 ac_cpp
='$CPP $CPPFLAGS'
11435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11453 # Source file extension for Go test sources.
11456 # Object file extension for compiled Go test sources.
11460 # Code to be used in simple compile tests
11461 lt_simple_compile_test_code
="package main; func main() { }"
11463 # Code to be used in simple link tests
11464 lt_simple_link_test_code
='package main; func main() { }'
11466 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11473 # If no C compiler was specified, use CC.
11476 # If no C compiler flags were specified, use CFLAGS.
11477 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11479 # Allow CC to be a program name with arguments.
11483 # save warnings/boilerplate of simple test code
11484 ac_outfile
=conftest.
$ac_objext
11485 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11486 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11487 _lt_compiler_boilerplate
=`cat conftest.err`
11490 ac_outfile
=conftest.
$ac_objext
11491 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11492 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11493 _lt_linker_boilerplate
=`cat conftest.err`
11497 # Allow CC to be a program name with arguments.
11505 for cc_temp
in $compiler""; do
11507 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11508 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11513 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11516 # Go did not exist at the time GCC didn't implicitly link libc in.
11517 archive_cmds_need_lc_GO
=no
11519 old_archive_cmds_GO
=$old_archive_cmds
11522 ## There is no encapsulation within the following macros, do not change
11523 ## the running order or otherwise move them around unless you know exactly
11524 ## what you are doing...
11525 if test -n "$compiler"; then
11527 lt_prog_compiler_no_builtin_flag_GO
=
11529 if test "$GCC" = yes; then
11530 case $cc_basename in
11532 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11534 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11538 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11539 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11540 $as_echo_n "(cached) " >&6
11542 lt_cv_prog_compiler_rtti_exceptions
=no
11543 ac_outfile
=conftest.
$ac_objext
11544 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11545 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11546 # Insert the option either (1) after the last *FLAGS variable, or
11547 # (2) before a word containing "conftest.", or (3) at the end.
11548 # Note that $ac_compile itself does not contain backslashes and begins
11549 # with a dollar sign (not a hyphen), so the echo should work correctly.
11550 # The option is referenced via a variable to avoid confusing sed.
11551 lt_compile
=`echo "$ac_compile" | $SED \
11552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11554 -e 's:$: $lt_compiler_flag:'`
11555 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11556 (eval "$lt_compile" 2>conftest.err
)
11558 cat conftest.err
>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 if (exit $ac_status) && test -s "$ac_outfile"; then
11561 # The compiler can only warn and ignore the option if not recognized
11562 # So say no if there are warnings other than the usual output.
11563 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11564 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11565 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11566 lt_cv_prog_compiler_rtti_exceptions
=yes
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11573 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11575 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11576 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11585 lt_prog_compiler_wl_GO
=
11586 lt_prog_compiler_pic_GO
=
11587 lt_prog_compiler_static_GO
=
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11590 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11592 if test "$GCC" = yes; then
11593 lt_prog_compiler_wl_GO
='-Wl,'
11594 lt_prog_compiler_static_GO
='-static'
11598 # All AIX code is PIC.
11599 if test "$host_cpu" = ia64
; then
11600 # AIX 5 now supports IA64 processor
11601 lt_prog_compiler_static_GO
='-Bstatic'
11608 # see comment about AmigaOS4 .so support
11609 lt_prog_compiler_pic_GO
='-fPIC'
11612 # FIXME: we need at least 68020 code to build shared libraries, but
11613 # adding the `-m68020' flag to GCC prevents building anything better,
11615 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11620 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11621 # PIC is the default for these OSes.
11624 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11625 # This hack is so that the source file can tell whether it is being
11626 # built for inclusion in a dll (and should export symbols for example).
11627 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11628 # (--disable-auto-import) libraries
11629 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11632 darwin
* | rhapsody
*)
11633 # PIC is the default on this platform
11634 # Common symbols not allowed in MH_DYLIB files
11635 lt_prog_compiler_pic_GO
='-fno-common'
11639 # PIC is the default for Haiku.
11640 # The "-static" flag exists, but is broken.
11641 lt_prog_compiler_static_GO
=
11645 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11646 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11647 # sets the default TLS model and affects inlining.
11653 lt_prog_compiler_pic_GO
='-fPIC'
11659 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11660 # Instead, we relocate shared libraries at runtime.
11664 # Just because we use GCC doesn't mean we suddenly get shared libraries
11665 # on systems that don't support them.
11666 lt_prog_compiler_can_build_shared_GO
=no
11671 # QNX uses GNU C++, but need to define -shared option too, otherwise
11672 # it will coredump.
11673 lt_prog_compiler_pic_GO
='-fPIC -shared'
11677 if test -d /usr
/nec
; then
11678 lt_prog_compiler_pic_GO
=-Kconform_pic
11683 lt_prog_compiler_pic_GO
='-fPIC'
11687 case $cc_basename in
11688 nvcc
*) # Cuda Compiler Driver 2.2
11689 lt_prog_compiler_wl_GO
='-Xlinker '
11690 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11694 # PORTME Check for flag to pass linker flags through the system compiler.
11697 lt_prog_compiler_wl_GO
='-Wl,'
11698 if test "$host_cpu" = ia64
; then
11699 # AIX 5 now supports IA64 processor
11700 lt_prog_compiler_static_GO
='-Bstatic'
11702 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11706 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11707 # This hack is so that the source file can tell whether it is being
11708 # built for inclusion in a dll (and should export symbols for example).
11709 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11712 hpux9
* | hpux10
* | hpux11
*)
11713 lt_prog_compiler_wl_GO
='-Wl,'
11714 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11715 # not for PA HP-UX.
11721 lt_prog_compiler_pic_GO
='+Z'
11724 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11725 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11728 irix5
* | irix6
* | nonstopux
*)
11729 lt_prog_compiler_wl_GO
='-Wl,'
11730 # PIC (with -KPIC) is the default.
11731 lt_prog_compiler_static_GO
='-non_shared'
11734 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11735 case $cc_basename in
11736 # old Intel for x86_64 which still supported -KPIC.
11738 lt_prog_compiler_wl_GO
='-Wl,'
11739 lt_prog_compiler_pic_GO
='-KPIC'
11740 lt_prog_compiler_static_GO
='-static'
11742 # icc used to be incompatible with GCC.
11743 # ICC 10 doesn't accept -KPIC any more.
11745 lt_prog_compiler_wl_GO
='-Wl,'
11746 lt_prog_compiler_pic_GO
='-fPIC'
11747 lt_prog_compiler_static_GO
='-static'
11749 # Lahey Fortran 8.1.
11751 lt_prog_compiler_wl_GO
='-Wl,'
11752 lt_prog_compiler_pic_GO
='--shared'
11753 lt_prog_compiler_static_GO
='--static'
11755 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11756 # Portland Group compilers (*not* the Pentium gcc compiler,
11757 # which looks to be a dead project)
11758 lt_prog_compiler_wl_GO
='-Wl,'
11759 lt_prog_compiler_pic_GO
='-fpic'
11760 lt_prog_compiler_static_GO
='-Bstatic'
11763 lt_prog_compiler_wl_GO
='-Wl,'
11764 # All Alpha code is PIC.
11765 lt_prog_compiler_static_GO
='-non_shared'
11767 xl
* | bgxl
* | bgf
* | mpixl
*)
11768 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11769 lt_prog_compiler_wl_GO
='-Wl,'
11770 lt_prog_compiler_pic_GO
='-qpic'
11771 lt_prog_compiler_static_GO
='-qstaticlink'
11774 case `$CC -V 2>&1 | sed 5q` in
11775 *Sun\ F
* |
*Sun
*Fortran
*)
11776 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11777 lt_prog_compiler_pic_GO
='-KPIC'
11778 lt_prog_compiler_static_GO
='-Bstatic'
11779 lt_prog_compiler_wl_GO
=''
11783 lt_prog_compiler_pic_GO
='-KPIC'
11784 lt_prog_compiler_static_GO
='-Bstatic'
11785 lt_prog_compiler_wl_GO
='-Wl,'
11793 lt_prog_compiler_pic_GO
='-KPIC'
11794 lt_prog_compiler_static_GO
='-Bstatic'
11798 # QNX uses GNU C++, but need to define -shared option too, otherwise
11799 # it will coredump.
11800 lt_prog_compiler_pic_GO
='-fPIC -shared'
11803 osf3
* | osf4
* | osf5
*)
11804 lt_prog_compiler_wl_GO
='-Wl,'
11805 # All OSF/1 code is PIC.
11806 lt_prog_compiler_static_GO
='-non_shared'
11810 lt_prog_compiler_static_GO
='-non_shared'
11814 lt_prog_compiler_pic_GO
='-KPIC'
11815 lt_prog_compiler_static_GO
='-Bstatic'
11816 case $cc_basename in
11817 f77
* | f90
* | f95
*)
11818 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11820 lt_prog_compiler_wl_GO
='-Wl,';;
11825 lt_prog_compiler_wl_GO
='-Qoption ld '
11826 lt_prog_compiler_pic_GO
='-PIC'
11827 lt_prog_compiler_static_GO
='-Bstatic'
11830 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11831 lt_prog_compiler_wl_GO
='-Wl,'
11832 lt_prog_compiler_pic_GO
='-KPIC'
11833 lt_prog_compiler_static_GO
='-Bstatic'
11837 if test -d /usr
/nec
;then
11838 lt_prog_compiler_pic_GO
='-Kconform_pic'
11839 lt_prog_compiler_static_GO
='-Bstatic'
11843 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11844 lt_prog_compiler_wl_GO
='-Wl,'
11845 lt_prog_compiler_pic_GO
='-KPIC'
11846 lt_prog_compiler_static_GO
='-Bstatic'
11850 lt_prog_compiler_wl_GO
='-Wl,'
11851 lt_prog_compiler_can_build_shared_GO
=no
11855 lt_prog_compiler_pic_GO
='-pic'
11856 lt_prog_compiler_static_GO
='-Bstatic'
11860 lt_prog_compiler_can_build_shared_GO
=no
11866 # For platforms which do not support PIC, -DPIC is meaningless:
11868 lt_prog_compiler_pic_GO
=
11871 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11875 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11880 # Check to make sure the PIC flag actually works.
11882 if test -n "$lt_prog_compiler_pic_GO"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11884 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11885 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11886 $as_echo_n "(cached) " >&6
11888 lt_cv_prog_compiler_pic_works_GO
=no
11889 ac_outfile
=conftest.
$ac_objext
11890 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11891 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11892 # Insert the option either (1) after the last *FLAGS variable, or
11893 # (2) before a word containing "conftest.", or (3) at the end.
11894 # Note that $ac_compile itself does not contain backslashes and begins
11895 # with a dollar sign (not a hyphen), so the echo should work correctly.
11896 # The option is referenced via a variable to avoid confusing sed.
11897 lt_compile
=`echo "$ac_compile" | $SED \
11898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11900 -e 's:$: $lt_compiler_flag:'`
11901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11902 (eval "$lt_compile" 2>conftest.err
)
11904 cat conftest.err
>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 if (exit $ac_status) && test -s "$ac_outfile"; then
11907 # The compiler can only warn and ignore the option if not recognized
11908 # So say no if there are warnings other than the usual output.
11909 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11910 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11911 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11912 lt_cv_prog_compiler_pic_works_GO
=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11919 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11921 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11922 case $lt_prog_compiler_pic_GO in
11924 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11927 lt_prog_compiler_pic_GO
=
11928 lt_prog_compiler_can_build_shared_GO
=no
11936 # Check to make sure the static flag actually works.
11938 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11940 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11941 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11942 $as_echo_n "(cached) " >&6
11944 lt_cv_prog_compiler_static_works_GO
=no
11945 save_LDFLAGS
="$LDFLAGS"
11946 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11947 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11948 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11949 # The linker can only warn and ignore the option if not recognized
11950 # So say no if there are warnings
11951 if test -s conftest.err
; then
11952 # Append any errors to the config.log.
11953 cat conftest.err
1>&5
11954 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11955 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11956 if diff conftest.exp conftest.er2
>/dev
/null
; then
11957 lt_cv_prog_compiler_static_works_GO
=yes
11960 lt_cv_prog_compiler_static_works_GO
=yes
11964 LDFLAGS
="$save_LDFLAGS"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11968 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11970 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11973 lt_prog_compiler_static_GO
=
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11980 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11981 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11982 $as_echo_n "(cached) " >&6
11984 lt_cv_prog_compiler_c_o_GO
=no
11985 $RM -r conftest
2>/dev
/null
11989 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11991 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11992 # Insert the option either (1) after the last *FLAGS variable, or
11993 # (2) before a word containing "conftest.", or (3) at the end.
11994 # Note that $ac_compile itself does not contain backslashes and begins
11995 # with a dollar sign (not a hyphen), so the echo should work correctly.
11996 lt_compile
=`echo "$ac_compile" | $SED \
11997 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11999 -e 's:$: $lt_compiler_flag:'`
12000 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12001 (eval "$lt_compile" 2>out
/conftest.err
)
12003 cat out
/conftest.err
>&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12007 # The compiler can only warn and ignore the option if not recognized
12008 # So say no if there are warnings
12009 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12010 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12011 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12012 lt_cv_prog_compiler_c_o_GO
=yes
12017 # SGI C++ compiler will create directory out/ii_files/ for
12018 # template instantiation
12019 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12020 $RM out
/* && rmdir out
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12027 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12032 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12033 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12034 $as_echo_n "(cached) " >&6
12036 lt_cv_prog_compiler_c_o_GO
=no
12037 $RM -r conftest
2>/dev
/null
12041 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12043 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12044 # Insert the option either (1) after the last *FLAGS variable, or
12045 # (2) before a word containing "conftest.", or (3) at the end.
12046 # Note that $ac_compile itself does not contain backslashes and begins
12047 # with a dollar sign (not a hyphen), so the echo should work correctly.
12048 lt_compile
=`echo "$ac_compile" | $SED \
12049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12051 -e 's:$: $lt_compiler_flag:'`
12052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12053 (eval "$lt_compile" 2>out
/conftest.err
)
12055 cat out
/conftest.err
>&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12059 # The compiler can only warn and ignore the option if not recognized
12060 # So say no if there are warnings
12061 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12062 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12063 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12064 lt_cv_prog_compiler_c_o_GO
=yes
12069 # SGI C++ compiler will create directory out/ii_files/ for
12070 # template instantiation
12071 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12072 $RM out
/* && rmdir out
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12079 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12084 hard_links
="nottested"
12085 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12086 # do not overwrite the value of need_locks provided by the user
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12088 $as_echo_n "checking if we can lock with hard links... " >&6; }
12091 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12093 ln conftest.a conftest.b
2>&5 || hard_links
=no
12094 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12096 $as_echo "$hard_links" >&6; }
12097 if test "$hard_links" = no
; then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12099 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12109 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12112 allow_undefined_flag_GO
=
12113 always_export_symbols_GO
=no
12115 archive_expsym_cmds_GO
=
12116 compiler_needs_object_GO
=no
12117 enable_shared_with_static_runtimes_GO
=no
12118 export_dynamic_flag_spec_GO
=
12119 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12120 hardcode_automatic_GO
=no
12121 hardcode_direct_GO
=no
12122 hardcode_direct_absolute_GO
=no
12123 hardcode_libdir_flag_spec_GO
=
12124 hardcode_libdir_flag_spec_ld_GO
=
12125 hardcode_libdir_separator_GO
=
12126 hardcode_minus_L_GO
=no
12127 hardcode_shlibpath_var_GO
=unsupported
12128 inherit_rpath_GO
=no
12129 link_all_deplibs_GO
=unknown
12131 module_expsym_cmds_GO
=
12132 old_archive_from_new_cmds_GO
=
12133 old_archive_from_expsyms_cmds_GO
=
12134 thread_safe_flag_spec_GO
=
12135 whole_archive_flag_spec_GO
=
12136 # include_expsyms should be a list of space-separated symbols to be *always*
12137 # included in the symbol list
12138 include_expsyms_GO
=
12139 # exclude_expsyms can be an extended regexp of symbols to exclude
12140 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12141 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12142 # as well as any symbol that contains `d'.
12143 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12144 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12145 # platforms (ab)use it in PIC code, but their linkers get confused if
12146 # the symbol is explicitly referenced. Since portable code cannot
12147 # rely on this symbol name, it's probably fine to never include it in
12148 # preloaded symbol tables.
12149 # Exclude shared library initialization/finalization symbols.
12150 extract_expsyms_cmds
=
12153 cygwin
* | mingw
* | pw32
* | cegcc
*)
12154 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12155 # When not using gcc, we currently assume that we are using
12156 # Microsoft Visual C++.
12157 if test "$GCC" != yes; then
12162 # we just hope/assume this is gcc and not c89 (= MSVC++)
12172 # On some targets, GNU ld is compatible enough with the native linker
12173 # that we're better off using the native interface for both.
12174 lt_use_gnu_ld_interface
=no
12175 if test "$with_gnu_ld" = yes; then
12178 # The AIX port of GNU ld has always aspired to compatibility
12179 # with the native linker. However, as the warning in the GNU ld
12180 # block says, versions before 2.19.5* couldn't really create working
12181 # shared libraries, regardless of the interface used.
12182 case `$LD -v 2>&1` in
12183 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12184 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12185 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12187 lt_use_gnu_ld_interface
=yes
12192 lt_use_gnu_ld_interface
=yes
12197 if test "$lt_use_gnu_ld_interface" = yes; then
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12201 # Set some defaults for GNU ld with shared library support. These
12202 # are reset later if shared libraries are not supported. Putting them
12203 # here allows them to be overridden if necessary.
12204 runpath_var
=LD_RUN_PATH
12205 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12206 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12207 # ancient GNU ld didn't support --whole-archive et. al.
12208 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12209 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12211 whole_archive_flag_spec_GO
=
12213 supports_anon_versioning
=no
12214 case `$LD -v 2>&1` in
12215 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12216 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12217 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12218 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12219 *\
2.11.
*) ;; # other 2.11 versions
12220 *) supports_anon_versioning
=yes ;;
12223 # See if GNU ld supports shared libraries.
12226 # On AIX/PPC, the GNU linker is very broken
12227 if test "$host_cpu" != ia64
; then
12231 *** Warning: the GNU linker, at least up to release 2.19, is reported
12232 *** to be unable to reliably create shared libraries on AIX.
12233 *** Therefore, libtool is disabling shared libraries support. If you
12234 *** really care for shared libraries, you may want to install binutils
12235 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12236 *** You will then need to restart the configuration process.
12245 # see comment about AmigaOS4 .so support
12246 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12247 archive_expsym_cmds_GO
=''
12250 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)'
12251 hardcode_libdir_flag_spec_GO
='-L$libdir'
12252 hardcode_minus_L_GO
=yes
12258 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12259 allow_undefined_flag_GO
=unsupported
12260 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12261 # support --undefined. This deserves some investigation. FIXME
12262 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12268 cygwin
* | mingw
* | pw32
* | cegcc
*)
12269 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12270 # as there is no search path for DLLs.
12271 hardcode_libdir_flag_spec_GO
='-L$libdir'
12272 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12273 allow_undefined_flag_GO
=unsupported
12274 always_export_symbols_GO
=no
12275 enable_shared_with_static_runtimes_GO
=yes
12276 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12278 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12279 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12280 # If the export-symbols file already is a .def file (1st line
12281 # is EXPORTS), use it as is; otherwise, prepend...
12282 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12283 cp $export_symbols $output_objdir/$soname.def;
12285 echo EXPORTS > $output_objdir/$soname.def;
12286 cat $export_symbols >> $output_objdir/$soname.def;
12288 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12295 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12296 link_all_deplibs_GO
=yes
12300 hardcode_direct_GO
=no
12301 hardcode_shlibpath_var_GO
=no
12302 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12303 export_dynamic_flag_spec_GO
='${wl}-E'
12304 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12305 # Instead, shared libraries are loaded at an image base (0x10000000 by
12306 # default) and relocated if they conflict, which is a slow very memory
12307 # consuming and fragmenting process. To avoid this, we pick a random,
12308 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12309 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12310 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'
12311 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'
12314 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12316 if test "$host_os" = linux-dietlibc
; then
12317 case $cc_basename in
12318 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12321 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12322 && test "$tmp_diet" = no
12325 tmp_sharedflag
='-shared'
12326 case $cc_basename,$host_cpu in
12327 pgcc
*) # Portland Group C compiler
12328 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'
12329 tmp_addflag
=' $pic_flag'
12331 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12332 # Portland Group f77 and f90 compilers
12333 whole_archive_flag_spec_GO
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12334 tmp_addflag
=' $pic_flag -Mnomain' ;;
12335 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12336 tmp_addflag
=' -i_dynamic' ;;
12337 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12338 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12339 ifc
* | ifort
*) # Intel Fortran compiler
12340 tmp_addflag
=' -nofor_main' ;;
12341 lf95
*) # Lahey Fortran 8.1
12342 whole_archive_flag_spec_GO
=
12343 tmp_sharedflag
='--shared' ;;
12344 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12345 tmp_sharedflag
='-qmkshrobj'
12347 nvcc
*) # Cuda Compiler Driver 2.2
12348 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'
12349 compiler_needs_object_GO
=yes
12352 case `$CC -V 2>&1 | sed 5q` in
12353 *Sun\ C
*) # Sun C 5.9
12354 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'
12355 compiler_needs_object_GO
=yes
12356 tmp_sharedflag
='-G' ;;
12357 *Sun\ F
*) # Sun Fortran 8.3
12358 tmp_sharedflag
='-G' ;;
12360 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12362 if test "x$supports_anon_versioning" = xyes
; then
12363 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12364 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12365 echo "local: *; };" >> $output_objdir/$libname.ver~
12366 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12369 case $cc_basename in
12370 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12371 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12372 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12373 hardcode_libdir_flag_spec_GO
=
12374 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12375 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12376 if test "x$supports_anon_versioning" = xyes
; then
12377 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12378 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12379 echo "local: *; };" >> $output_objdir/$libname.ver~
12380 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12390 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12391 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12394 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12395 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12400 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12404 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12405 *** create shared libraries on Solaris systems. Therefore, libtool
12406 *** is disabling shared libraries support. We urge you to upgrade GNU
12407 *** binutils to release 2.9.1 or newer. Another option is to modify
12408 *** your PATH or compiler configuration so that the native linker is
12409 *** used, and then restart.
12412 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12413 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12414 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12420 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12421 case `$LD -v 2>&1` in
12422 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12426 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12427 *** reliably create shared libraries on SCO systems. Therefore, libtool
12428 *** is disabling shared libraries support. We urge you to upgrade GNU
12429 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12430 *** your PATH or compiler configuration so that the native linker is
12431 *** used, and then restart.
12436 # For security reasons, it is highly recommended that you always
12437 # use absolute paths for naming shared libraries, and exclude the
12438 # DT_RUNPATH tag from executables and libraries. But doing so
12439 # requires that you compile everything twice, which is a pain.
12440 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12441 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12442 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12443 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12452 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12454 hardcode_direct_GO
=yes
12455 hardcode_shlibpath_var_GO
=no
12459 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12460 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12461 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12468 if test "$ld_shlibs_GO" = no
; then
12470 hardcode_libdir_flag_spec_GO
=
12471 export_dynamic_flag_spec_GO
=
12472 whole_archive_flag_spec_GO
=
12475 # PORTME fill in a description of your system's linker (not GNU ld)
12478 allow_undefined_flag_GO
=unsupported
12479 always_export_symbols_GO
=yes
12480 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'
12481 # Note: this linker hardcodes the directories in LIBPATH if there
12482 # are no directories specified by -L.
12483 hardcode_minus_L_GO
=yes
12484 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12485 # Neither direct hardcoding nor static linking is supported with a
12487 hardcode_direct_GO
=unsupported
12492 if test "$host_cpu" = ia64
; then
12493 # On IA64, the linker does run time linking by default, so we don't
12494 # have to do anything special.
12495 aix_use_runtimelinking
=no
12496 exp_sym_flag
='-Bexport'
12499 # If we're using GNU nm, then we don't want the "-C" option.
12500 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12501 # Also, AIX nm treats weak defined symbols like other global
12502 # defined symbols, whereas GNU nm marks them as "W".
12503 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12504 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'
12506 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'
12508 aix_use_runtimelinking
=no
12510 # Test if we are trying to use run time linking or normal
12511 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12512 # need to do runtime linking.
12513 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12514 for ld_flag
in $LDFLAGS; do
12515 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12516 aix_use_runtimelinking
=yes
12523 exp_sym_flag
='-bexport'
12524 no_entry_flag
='-bnoentry'
12527 # When large executables or shared objects are built, AIX ld can
12528 # have problems creating the table of contents. If linking a library
12529 # or program results in "error TOC overflow" add -mminimal-toc to
12530 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12531 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12534 hardcode_direct_GO
=yes
12535 hardcode_direct_absolute_GO
=yes
12536 hardcode_libdir_separator_GO
=':'
12537 link_all_deplibs_GO
=yes
12538 file_list_spec_GO
='${wl}-f,'
12540 if test "$GCC" = yes; then
12541 case $host_os in aix4.
[012]|aix4.
[012].
*)
12542 # We only want to do this on AIX 4.2 and lower, the check
12543 # below for broken collect2 doesn't work under 4.3+
12544 collect2name
=`${CC} -print-prog-name=collect2`
12545 if test -f "$collect2name" &&
12546 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12548 # We have reworked collect2
12551 # We have old collect2
12552 hardcode_direct_GO
=unsupported
12553 # It fails to find uninstalled libraries when the uninstalled
12554 # path is not listed in the libpath. Setting hardcode_minus_L
12555 # to unsupported forces relinking
12556 hardcode_minus_L_GO
=yes
12557 hardcode_libdir_flag_spec_GO
='-L$libdir'
12558 hardcode_libdir_separator_GO
=
12562 shared_flag
='-shared'
12563 if test "$aix_use_runtimelinking" = yes; then
12564 shared_flag
="$shared_flag "'${wl}-G'
12568 if test "$host_cpu" = ia64
; then
12569 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12570 # chokes on -Wl,-G. The following line is correct:
12573 if test "$aix_use_runtimelinking" = yes; then
12574 shared_flag
='${wl}-G'
12576 shared_flag
='${wl}-bM:SRE'
12581 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12582 # It seems that -bexpall does not export symbols beginning with
12583 # underscore (_), so it is better to generate a list of symbols to export.
12584 always_export_symbols_GO
=yes
12585 if test "$aix_use_runtimelinking" = yes; then
12586 # Warning - without using the other runtime loading flags (-brtl),
12587 # -berok will link without error, but may produce a broken library.
12588 allow_undefined_flag_GO
='-berok'
12589 # Determine the default libpath from the value encoded in an
12590 # empty executable.
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12602 if ac_fn_c_try_link
"$LINENO"; then :
12604 lt_aix_libpath_sed
='
12605 /Import File Strings/,/^$/ {
12611 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12612 # Check for a 64-bit object if we didn't find anything.
12613 if test -z "$aix_libpath"; then
12614 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12617 rm -f core conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12619 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12621 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12622 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"
12624 if test "$host_cpu" = ia64
; then
12625 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12626 allow_undefined_flag_GO
="-z nodefs"
12627 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"
12629 # Determine the default libpath from the value encoded in an
12630 # empty executable.
12631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12642 if ac_fn_c_try_link
"$LINENO"; then :
12644 lt_aix_libpath_sed
='
12645 /Import File Strings/,/^$/ {
12651 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12652 # Check for a 64-bit object if we didn't find anything.
12653 if test -z "$aix_libpath"; then
12654 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12657 rm -f core conftest.err conftest.
$ac_objext \
12658 conftest
$ac_exeext conftest.
$ac_ext
12659 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12661 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12662 # Warning - without using the other run time loading flags,
12663 # -berok will link without error, but may produce a broken library.
12664 no_undefined_flag_GO
=' ${wl}-bernotok'
12665 allow_undefined_flag_GO
=' ${wl}-berok'
12666 if test "$with_gnu_ld" = yes; then
12667 # We only use this code for GNU lds that support --whole-archive.
12668 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12670 # Exported symbols can be pulled into shared objects from archives
12671 whole_archive_flag_spec_GO
='$convenience'
12673 archive_cmds_need_lc_GO
=yes
12674 # This is similar to how AIX traditionally builds its shared libraries.
12675 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'
12683 # see comment about AmigaOS4 .so support
12684 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12685 archive_expsym_cmds_GO
=''
12688 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)'
12689 hardcode_libdir_flag_spec_GO
='-L$libdir'
12690 hardcode_minus_L_GO
=yes
12696 export_dynamic_flag_spec_GO
=-rdynamic
12699 cygwin
* | mingw
* | pw32
* | cegcc
*)
12700 # When not using gcc, we currently assume that we are using
12701 # Microsoft Visual C++.
12702 # hardcode_libdir_flag_spec is actually meaningless, as there is
12703 # no search path for DLLs.
12704 hardcode_libdir_flag_spec_GO
=' '
12705 allow_undefined_flag_GO
=unsupported
12706 # Tell ltmain to make .lib files, not .a files.
12708 # Tell ltmain to make .dll files, not .so files.
12710 # FIXME: Setting linknames here is a bad hack.
12711 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12712 # The linker will automatically build a .lib file if we build a DLL.
12713 old_archive_from_new_cmds_GO
='true'
12714 # FIXME: Should let the user specify the lib program.
12715 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12716 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12717 enable_shared_with_static_runtimes_GO
=yes
12720 darwin
* | rhapsody
*)
12723 archive_cmds_need_lc_GO
=no
12724 hardcode_direct_GO
=no
12725 hardcode_automatic_GO
=yes
12726 hardcode_shlibpath_var_GO
=unsupported
12727 if test "$lt_cv_ld_force_load" = "yes"; then
12728 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\"`'
12730 whole_archive_flag_spec_GO
=''
12732 link_all_deplibs_GO
=yes
12733 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12734 case $cc_basename in
12735 ifort
*) _lt_dar_can_shared
=yes ;;
12736 *) _lt_dar_can_shared
=$GCC ;;
12738 if test "$_lt_dar_can_shared" = "yes"; then
12739 output_verbose_link_cmd
=func_echo_all
12740 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}"
12741 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12742 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}"
12743 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}"
12752 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12753 hardcode_libdir_flag_spec_GO
='-L$libdir'
12754 hardcode_shlibpath_var_GO
=no
12757 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12758 # support. Future versions do this automatically, but an explicit c++rt0.o
12759 # does not break anything, and helps significantly (at the cost of a little
12762 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12763 hardcode_libdir_flag_spec_GO
='-R$libdir'
12764 hardcode_direct_GO
=yes
12765 hardcode_shlibpath_var_GO
=no
12768 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12770 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12771 hardcode_direct_GO
=yes
12772 hardcode_minus_L_GO
=yes
12773 hardcode_shlibpath_var_GO
=no
12776 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12777 freebsd
* | dragonfly
*)
12778 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12779 hardcode_libdir_flag_spec_GO
='-R$libdir'
12780 hardcode_direct_GO
=yes
12781 hardcode_shlibpath_var_GO
=no
12785 if test "$GCC" = yes; then
12786 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'
12788 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'
12790 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12791 hardcode_libdir_separator_GO
=:
12792 hardcode_direct_GO
=yes
12794 # hardcode_minus_L: Not really in the search PATH,
12795 # but as the default location of the library.
12796 hardcode_minus_L_GO
=yes
12797 export_dynamic_flag_spec_GO
='${wl}-E'
12801 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12802 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12804 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12806 if test "$with_gnu_ld" = no
; then
12807 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12808 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12809 hardcode_libdir_separator_GO
=:
12810 hardcode_direct_GO
=yes
12811 hardcode_direct_absolute_GO
=yes
12812 export_dynamic_flag_spec_GO
='${wl}-E'
12813 # hardcode_minus_L: Not really in the search PATH,
12814 # but as the default location of the library.
12815 hardcode_minus_L_GO
=yes
12820 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12823 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12826 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12829 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12835 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12838 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12841 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12845 if test "$with_gnu_ld" = no
; then
12846 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12847 hardcode_libdir_separator_GO
=:
12851 hardcode_direct_GO
=no
12852 hardcode_shlibpath_var_GO
=no
12855 hardcode_direct_GO
=yes
12856 hardcode_direct_absolute_GO
=yes
12857 export_dynamic_flag_spec_GO
='${wl}-E'
12859 # hardcode_minus_L: Not really in the search PATH,
12860 # but as the default location of the library.
12861 hardcode_minus_L_GO
=yes
12867 irix5
* | irix6
* | nonstopux
*)
12868 if test "$GCC" = yes; then
12869 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'
12870 # Try to use the -exported_symbol ld option, if it does not
12871 # work, assume that -exports_file does not work either and
12872 # implicitly export all symbols.
12873 save_LDFLAGS
="$LDFLAGS"
12874 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12879 if ac_fn_c_try_link
"$LINENO"; then :
12880 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'
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LDFLAGS
="$save_LDFLAGS"
12887 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'
12888 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'
12890 archive_cmds_need_lc_GO
='no'
12891 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12892 hardcode_libdir_separator_GO
=:
12893 inherit_rpath_GO
=yes
12894 link_all_deplibs_GO
=yes
12898 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12899 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12901 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12903 hardcode_libdir_flag_spec_GO
='-R$libdir'
12904 hardcode_direct_GO
=yes
12905 hardcode_shlibpath_var_GO
=no
12909 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12910 hardcode_direct_GO
=yes
12911 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12912 hardcode_libdir_separator_GO
=:
12913 hardcode_shlibpath_var_GO
=no
12920 if test -f /usr
/libexec
/ld.so
; then
12921 hardcode_direct_GO
=yes
12922 hardcode_shlibpath_var_GO
=no
12923 hardcode_direct_absolute_GO
=yes
12924 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12925 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12926 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12927 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12928 export_dynamic_flag_spec_GO
='${wl}-E'
12931 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12932 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12933 hardcode_libdir_flag_spec_GO
='-R$libdir'
12936 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12937 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12947 hardcode_libdir_flag_spec_GO
='-L$libdir'
12948 hardcode_minus_L_GO
=yes
12949 allow_undefined_flag_GO
=unsupported
12950 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'
12951 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12955 if test "$GCC" = yes; then
12956 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12957 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'
12959 allow_undefined_flag_GO
=' -expect_unresolved \*'
12960 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'
12962 archive_cmds_need_lc_GO
='no'
12963 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12964 hardcode_libdir_separator_GO
=:
12967 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12968 if test "$GCC" = yes; then
12969 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12970 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'
12971 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12973 allow_undefined_flag_GO
=' -expect_unresolved \*'
12974 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'
12975 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~
12976 $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'
12978 # Both c and cxx compiler support -rpath directly
12979 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12981 archive_cmds_need_lc_GO
='no'
12982 hardcode_libdir_separator_GO
=:
12986 no_undefined_flag_GO
=' -z defs'
12987 if test "$GCC" = yes; then
12989 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12990 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12991 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12993 case `$CC -V 2>&1` in
12996 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12997 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12998 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13002 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13003 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13004 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13008 hardcode_libdir_flag_spec_GO
='-R$libdir'
13009 hardcode_shlibpath_var_GO
=no
13011 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13013 # The compiler driver will combine and reorder linker options,
13014 # but understands `-z linker_flag'. GCC discards it without `$wl',
13015 # but is careful enough not to reorder.
13016 # Supported since Solaris 2.6 (maybe 2.5.1?)
13017 if test "$GCC" = yes; then
13018 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13020 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13024 link_all_deplibs_GO
=yes
13028 if test "x$host_vendor" = xsequent
; then
13029 # Use $CC to link under sequent, because it throws in some extra .o
13030 # files that make .init and .fini sections work.
13031 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13033 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13035 hardcode_libdir_flag_spec_GO
='-L$libdir'
13036 hardcode_direct_GO
=yes
13037 hardcode_minus_L_GO
=yes
13038 hardcode_shlibpath_var_GO
=no
13042 case $host_vendor in
13044 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13045 hardcode_direct_GO
=yes # is this really true???
13048 ## LD is ld it makes a PLAMLIB
13049 ## CC just makes a GrossModule.
13050 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13051 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13052 hardcode_direct_GO
=no
13055 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13056 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13059 runpath_var
='LD_RUN_PATH'
13060 hardcode_shlibpath_var_GO
=no
13064 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13065 hardcode_shlibpath_var_GO
=no
13066 export_dynamic_flag_spec_GO
='-Bexport'
13070 if test -d /usr
/nec
; then
13071 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13072 hardcode_shlibpath_var_GO
=no
13073 runpath_var
=LD_RUN_PATH
13074 hardcode_runpath_var
=yes
13079 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13080 no_undefined_flag_GO
='${wl}-z,text'
13081 archive_cmds_need_lc_GO
=no
13082 hardcode_shlibpath_var_GO
=no
13083 runpath_var
='LD_RUN_PATH'
13085 if test "$GCC" = yes; then
13086 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094 sysv5
* | sco3.2v5
* | sco5v6
*)
13095 # Note: We can NOT use -z defs as we might desire, because we do not
13096 # link with -lc, and that would cause any symbols used from libc to
13097 # always be unresolved, which means just about no library would
13098 # ever link correctly. If we're not using GNU ld we use -z text
13099 # though, which does catch some bad symbols but isn't as heavy-handed
13101 no_undefined_flag_GO
='${wl}-z,text'
13102 allow_undefined_flag_GO
='${wl}-z,nodefs'
13103 archive_cmds_need_lc_GO
=no
13104 hardcode_shlibpath_var_GO
=no
13105 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13106 hardcode_libdir_separator_GO
=':'
13107 link_all_deplibs_GO
=yes
13108 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13109 runpath_var
='LD_RUN_PATH'
13111 if test "$GCC" = yes; then
13112 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13122 hardcode_libdir_flag_spec_GO
='-L$libdir'
13123 hardcode_shlibpath_var_GO
=no
13131 if test x
$host_vendor = xsni
; then
13133 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13134 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13141 $as_echo "$ld_shlibs_GO" >&6; }
13142 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13144 with_gnu_ld_GO
=$with_gnu_ld
13152 # Do we need to explicitly link libc?
13154 case "x$archive_cmds_need_lc_GO" in
13156 # Assume -lc should be added
13157 archive_cmds_need_lc_GO
=yes
13159 if test "$enable_shared" = yes && test "$GCC" = yes; then
13160 case $archive_cmds_GO in
13162 # FIXME: we may have to deal with multi-command sequences.
13165 # Test whether the compiler implicitly links with -lc since on some
13166 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13167 # to ld, don't add -lc before -lgcc.
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13169 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13170 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13171 $as_echo_n "(cached) " >&6
13174 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13177 (eval $ac_compile) 2>&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180 test $ac_status = 0; } 2>conftest.err
; then
13183 libobjs
=conftest.
$ac_objext
13185 wl
=$lt_prog_compiler_wl_GO
13186 pic_flag
=$lt_prog_compiler_pic_GO
13192 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13193 allow_undefined_flag_GO
=
13194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13195 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13198 test $ac_status = 0; }
13200 lt_cv_archive_cmds_need_lc_GO
=no
13202 lt_cv_archive_cmds_need_lc_GO
=yes
13204 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13206 cat conftest.err
1>&5
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13212 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13213 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13284 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13285 hardcode_action_GO
=
13286 if test -n "$hardcode_libdir_flag_spec_GO" ||
13287 test -n "$runpath_var_GO" ||
13288 test "X$hardcode_automatic_GO" = "Xyes" ; then
13290 # We can hardcode non-existent directories.
13291 if test "$hardcode_direct_GO" != no
&&
13292 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13293 # have to relink, otherwise we might link with an installed library
13294 # when we should be linking with a yet-to-be-installed one
13295 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13296 test "$hardcode_minus_L_GO" != no
; then
13297 # Linking always hardcodes the temporary library directory.
13298 hardcode_action_GO
=relink
13300 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13301 hardcode_action_GO
=immediate
13304 # We cannot hardcode anything, or else we can only hardcode existing
13306 hardcode_action_GO
=unsupported
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13309 $as_echo "$hardcode_action_GO" >&6; }
13311 if test "$hardcode_action_GO" = relink ||
13312 test "$inherit_rpath_GO" = yes; then
13313 # Fast installation is not supported
13314 enable_fast_install
=no
13315 elif test "$shlibpath_overrides_runpath" = yes ||
13316 test "$enable_shared" = no
; then
13317 # Fast installation is not necessary
13318 enable_fast_install
=needless
13330 ac_cpp
='$CPP $CPPFLAGS'
13331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13342 ac_config_commands
="$ac_config_commands libtool"
13347 # Only expand once:
13353 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13356 for ac_prog
in gawk mawk nawk
awk
13358 # Extract the first word of "$ac_prog", so it can be a program name with args.
13359 set dummy
$ac_prog; ac_word
=$2
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13361 $as_echo_n "checking for $ac_word... " >&6; }
13362 if test "${ac_cv_prog_AWK+set}" = set; then :
13363 $as_echo_n "(cached) " >&6
13365 if test -n "$AWK"; then
13366 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13369 for as_dir
in $PATH
13372 test -z "$as_dir" && as_dir
=.
13373 for ac_exec_ext
in '' $ac_executable_extensions; do
13374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13375 ac_cv_prog_AWK
="$ac_prog"
13376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13385 AWK
=$ac_cv_prog_AWK
13386 if test -n "$AWK"; then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13388 $as_echo "$AWK" >&6; }
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391 $as_echo "no" >&6; }
13395 test -n "$AWK" && break
13399 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13402 # Check whether --enable-werror was given.
13403 if test "${enable_werror+set}" = set; then :
13404 enableval
=$enable_werror;
13407 if test "x$enable_werror" != "xno"; then
13412 glibgo_toolexecdir
=no
13413 glibgo_toolexeclibdir
=no
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13416 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13417 # Check whether --enable-version-specific-runtime-libs was given.
13418 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13419 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13420 yes) version_specific_libs
=yes ;;
13421 no
) version_specific_libs
=no
;;
13422 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13425 version_specific_libs
=no
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13429 $as_echo "$version_specific_libs" >&6; }
13431 # Version-specific runtime libs processing.
13432 if test $version_specific_libs = yes; then
13433 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13434 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13437 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13438 # Install a library built with a cross compiler in tooldir, not libdir.
13439 if test -n "$with_cross_host" &&
13440 test x
"$with_cross_host" != x
"no"; then
13441 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13442 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13444 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13445 nover_glibgo_toolexeclibdir
='${libdir}'
13447 multi_os_directory
=`$CC -print-multi-os-directory`
13448 case $multi_os_directory in
13449 .
) ;; # Avoid trailing /.
13450 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13453 if test x
"$glibgo_toolexecdir" = x
"no"; then
13454 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13455 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13462 # See if the user wants to configure without libffi. Some
13463 # architectures don't support it. FIXME: We should set a default
13464 # based on the host.
13466 # Check whether --with-libffi was given.
13467 if test "${with_libffi+set}" = set; then :
13468 withval
=$with_libffi; :
13470 with_libffi
=${with_libffi_default-yes}
13476 if test "$with_libffi" != no
; then
13478 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13480 LIBFFI
=..
/libffi
/libffi_convenience.la
13481 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13486 # Used to tell GNU make to include a file without telling automake to
13488 go_include
="-include"
13502 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13503 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13504 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13505 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13506 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13507 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13508 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13509 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13510 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13512 if test $is_darwin = yes; then
13513 LIBGO_IS_DARWIN_TRUE
=
13514 LIBGO_IS_DARWIN_FALSE
='#'
13516 LIBGO_IS_DARWIN_TRUE
='#'
13517 LIBGO_IS_DARWIN_FALSE
=
13520 if test $is_freebsd = yes; then
13521 LIBGO_IS_FREEBSD_TRUE
=
13522 LIBGO_IS_FREEBSD_FALSE
='#'
13524 LIBGO_IS_FREEBSD_TRUE
='#'
13525 LIBGO_IS_FREEBSD_FALSE
=
13528 if test $is_irix = yes; then
13529 LIBGO_IS_IRIX_TRUE
=
13530 LIBGO_IS_IRIX_FALSE
='#'
13532 LIBGO_IS_IRIX_TRUE
='#'
13533 LIBGO_IS_IRIX_FALSE
=
13536 if test $is_linux = yes; then
13537 LIBGO_IS_LINUX_TRUE
=
13538 LIBGO_IS_LINUX_FALSE
='#'
13540 LIBGO_IS_LINUX_TRUE
='#'
13541 LIBGO_IS_LINUX_FALSE
=
13544 if test $is_netbsd = yes; then
13545 LIBGO_IS_NETBSD_TRUE
=
13546 LIBGO_IS_NETBSD_FALSE
='#'
13548 LIBGO_IS_NETBSD_TRUE
='#'
13549 LIBGO_IS_NETBSD_FALSE
=
13552 if test $is_openbsd = yes; then
13553 LIBGO_IS_OPENBSD_TRUE
=
13554 LIBGO_IS_OPENBSD_FALSE
='#'
13556 LIBGO_IS_OPENBSD_TRUE
='#'
13557 LIBGO_IS_OPENBSD_FALSE
=
13560 if test $is_dragonfly = yes; then
13561 LIBGO_IS_DRAGONFLY_TRUE
=
13562 LIBGO_IS_DRAGONFLY_FALSE
='#'
13564 LIBGO_IS_DRAGONFLY_TRUE
='#'
13565 LIBGO_IS_DRAGONFLY_FALSE
=
13568 if test $is_rtems = yes; then
13569 LIBGO_IS_RTEMS_TRUE
=
13570 LIBGO_IS_RTEMS_FALSE
='#'
13572 LIBGO_IS_RTEMS_TRUE
='#'
13573 LIBGO_IS_RTEMS_FALSE
=
13576 if test $is_solaris = yes; then
13577 LIBGO_IS_SOLARIS_TRUE
=
13578 LIBGO_IS_SOLARIS_FALSE
='#'
13580 LIBGO_IS_SOLARIS_TRUE
='#'
13581 LIBGO_IS_SOLARIS_FALSE
=
13588 *-*-rtems*) USE_DEJAGNU
=yes ;;
13590 *) USE_DEJAGNU
=yes ;;
13615 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13619 i
[34567]86-*-* | x86_64-
*-*)
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13627 if ac_fn_c_try_compile
"$LINENO"; then :
13632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13633 if test "$is_386" = "yes"; then
13644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13647 #if _MIPS_SIM != _ABIO32
13651 if ac_fn_c_try_compile
"$LINENO"; then :
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 #if _MIPS_SIM != _ABIN32
13661 if ac_fn_c_try_compile
"$LINENO"; then :
13664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13667 #if _MIPS_SIM != _ABI64
13671 if ac_fn_c_try_compile
"$LINENO"; then :
13674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13677 #if _MIPS_SIM != _ABIO64
13681 if ac_fn_c_try_compile
"$LINENO"; then :
13684 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13694 case "$mips_abi" in
13695 "o32") GOARCH
=mipso32
;;
13696 "n32") GOARCH
=mipsn32
;;
13697 "n64") GOARCH
=mipsn64
;;
13698 "o64") GOARCH
=mipso64
;;
13701 rs6000
*-*-* | powerpc
*-*-*)
13702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13709 if ac_fn_c_try_compile
"$LINENO"; then :
13714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 if test "$is_ppc" = "yes"; then
13722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13725 #if defined(__sparcv9) || defined(__arch64__)
13729 if ac_fn_c_try_compile
"$LINENO"; then :
13734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13735 if test "$is_sparc" = "yes"; then
13742 if test $is_386 = yes; then
13744 LIBGO_IS_386_FALSE
='#'
13746 LIBGO_IS_386_TRUE
='#'
13747 LIBGO_IS_386_FALSE
=
13750 if test $is_alpha = yes; then
13751 LIBGO_IS_ALPHA_TRUE
=
13752 LIBGO_IS_ALPHA_FALSE
='#'
13754 LIBGO_IS_ALPHA_TRUE
='#'
13755 LIBGO_IS_ALPHA_FALSE
=
13758 if test $is_arm = yes; then
13760 LIBGO_IS_ARM_FALSE
='#'
13762 LIBGO_IS_ARM_TRUE
='#'
13763 LIBGO_IS_ARM_FALSE
=
13766 if test $is_arm64 = yes; then
13767 LIBGO_IS_ARM64_TRUE
=
13768 LIBGO_IS_ARM64_FALSE
='#'
13770 LIBGO_IS_ARM64_TRUE
='#'
13771 LIBGO_IS_ARM64_FALSE
=
13774 if test $is_m68k = yes; then
13775 LIBGO_IS_M68K_TRUE
=
13776 LIBGO_IS_M68K_FALSE
='#'
13778 LIBGO_IS_M68K_TRUE
='#'
13779 LIBGO_IS_M68K_FALSE
=
13782 if test $mips_abi != unknown
; then
13783 LIBGO_IS_MIPS_TRUE
=
13784 LIBGO_IS_MIPS_FALSE
='#'
13786 LIBGO_IS_MIPS_TRUE
='#'
13787 LIBGO_IS_MIPS_FALSE
=
13790 if test $mips_abi = o32
; then
13791 LIBGO_IS_MIPSO32_TRUE
=
13792 LIBGO_IS_MIPSO32_FALSE
='#'
13794 LIBGO_IS_MIPSO32_TRUE
='#'
13795 LIBGO_IS_MIPSO32_FALSE
=
13798 if test $mips_abi = n32
; then
13799 LIBGO_IS_MIPSN32_TRUE
=
13800 LIBGO_IS_MIPSN32_FALSE
='#'
13802 LIBGO_IS_MIPSN32_TRUE
='#'
13803 LIBGO_IS_MIPSN32_FALSE
=
13806 if test $mips_abi = n64
; then
13807 LIBGO_IS_MIPSN64_TRUE
=
13808 LIBGO_IS_MIPSN64_FALSE
='#'
13810 LIBGO_IS_MIPSN64_TRUE
='#'
13811 LIBGO_IS_MIPSN64_FALSE
=
13814 if test $mips_abi = o64
; then
13815 LIBGO_IS_MIPSO64_TRUE
=
13816 LIBGO_IS_MIPSO64_FALSE
='#'
13818 LIBGO_IS_MIPSO64_TRUE
='#'
13819 LIBGO_IS_MIPSO64_FALSE
=
13822 if test $is_ppc = yes; then
13824 LIBGO_IS_PPC_FALSE
='#'
13826 LIBGO_IS_PPC_TRUE
='#'
13827 LIBGO_IS_PPC_FALSE
=
13830 if test $is_ppc64 = yes; then
13831 LIBGO_IS_PPC64_TRUE
=
13832 LIBGO_IS_PPC64_FALSE
='#'
13834 LIBGO_IS_PPC64_TRUE
='#'
13835 LIBGO_IS_PPC64_FALSE
=
13838 if test $is_sparc = yes; then
13839 LIBGO_IS_SPARC_TRUE
=
13840 LIBGO_IS_SPARC_FALSE
='#'
13842 LIBGO_IS_SPARC_TRUE
='#'
13843 LIBGO_IS_SPARC_FALSE
=
13846 if test $is_sparc64 = yes; then
13847 LIBGO_IS_SPARC64_TRUE
=
13848 LIBGO_IS_SPARC64_FALSE
='#'
13850 LIBGO_IS_SPARC64_TRUE
='#'
13851 LIBGO_IS_SPARC64_FALSE
=
13854 if test $is_x86_64 = yes; then
13855 LIBGO_IS_X86_64_TRUE
=
13856 LIBGO_IS_X86_64_FALSE
='#'
13858 LIBGO_IS_X86_64_TRUE
='#'
13859 LIBGO_IS_X86_64_FALSE
=
13864 GO_LIBCALL_OS_FILE
=
13865 GO_LIBCALL_OS_ARCH_FILE
=
13866 GO_SYSCALL_OS_FILE
=
13867 GO_SYSCALL_OS_ARCH_FILE
=
13868 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13869 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13871 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13872 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13874 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13875 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13877 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13878 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13885 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13888 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13889 # msghdr in <sys/socket.h>.
13890 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13892 *-*-solaris2.1
[01])
13893 # Solaris 10+ needs this so struct msghdr gets the msg_control
13894 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13895 # above doesn't work with C99.
13896 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13902 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13903 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13904 $as_echo_n "(cached) " >&6
13906 CFLAGS_hold
=$CFLAGS
13907 CFLAGS
="$CFLAGS -fsplit-stack"
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13912 if ac_fn_c_try_compile
"$LINENO"; then :
13913 libgo_cv_c_split_stack_supported
=yes
13915 libgo_cv_c_split_stack_supported
=no
13917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13918 CFLAGS
=$CFLAGS_hold
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13921 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13922 if test "$libgo_cv_c_split_stack_supported" = yes; then
13923 SPLIT_STACK
=-fsplit-stack
13925 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13931 if test "$libgo_cv_c_split_stack_supported" = yes; then
13932 USING_SPLIT_STACK_TRUE
=
13933 USING_SPLIT_STACK_FALSE
='#'
13935 USING_SPLIT_STACK_TRUE
='#'
13936 USING_SPLIT_STACK_FALSE
=
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13941 $as_echo_n "checking whether linker supports split stack... " >&6; }
13942 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13943 $as_echo_n "(cached) " >&6
13945 libgo_cv_c_linker_supports_split_stack
=no
13946 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13947 libgo_cv_c_linker_supports_split_stack
=yes
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13951 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13952 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13954 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13960 $as_echo_n "checking for sqrt in -lm... " >&6; }
13961 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13962 $as_echo_n "(cached) " >&6
13964 ac_check_lib_save_LIBS
=$LIBS
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13969 /* Override any GCC internal prototype to avoid an error.
13970 Use char because int might match the return type of a GCC
13971 builtin and then its argument prototype would still apply. */
13984 if ac_fn_c_try_link
"$LINENO"; then :
13985 ac_cv_lib_m_sqrt
=yes
13987 ac_cv_lib_m_sqrt
=no
13989 rm -f core conftest.err conftest.
$ac_objext \
13990 conftest
$ac_exeext conftest.
$ac_ext
13991 LIBS
=$ac_check_lib_save_LIBS
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13994 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13995 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14002 $as_echo_n "checking for socket libraries... " >&6; }
14003 if test "${libgo_cv_lib_sockets+set}" = set; then :
14004 $as_echo_n "(cached) " >&6
14006 libgo_cv_lib_sockets
=
14007 libgo_check_both
=no
14008 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14009 if test "x$ac_cv_func_connect" = x
""yes; then :
14010 libgo_check_socket
=no
14012 libgo_check_socket
=yes
14015 if test "$libgo_check_socket" = "yes"; then
14016 unset ac_cv_func_connect
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14018 $as_echo_n "checking for main in -lsocket... " >&6; }
14019 if test "${ac_cv_lib_socket_main+set}" = set; then :
14020 $as_echo_n "(cached) " >&6
14022 ac_check_lib_save_LIBS
=$LIBS
14023 LIBS
="-lsocket $LIBS"
14024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 ac_cv_lib_socket_main
=yes
14039 ac_cv_lib_socket_main
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 LIBS
=$ac_check_lib_save_LIBS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14046 $as_echo "$ac_cv_lib_socket_main" >&6; }
14047 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14048 libgo_cv_lib_sockets
="-lsocket"
14050 libgo_check_both
=yes
14054 if test "$libgo_check_both" = "yes"; then
14055 libgo_old_libs
=$LIBS
14056 LIBS
="$LIBS -lsocket -lnsl"
14057 unset ac_cv_func_accept
14058 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14059 if test "x$ac_cv_func_accept" = x
""yes; then :
14061 libgo_cv_lib_sockets
="-lsocket -lnsl"
14064 unset ac_cv_func_accept
14065 LIBS
=$libgo_old_libs
14067 unset ac_cv_func_gethostbyname
14068 libgo_old_libs
="$LIBS"
14069 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14070 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14074 $as_echo_n "checking for main in -lnsl... " >&6; }
14075 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14076 $as_echo_n "(cached) " >&6
14078 ac_check_lib_save_LIBS
=$LIBS
14080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14092 if ac_fn_c_try_link
"$LINENO"; then :
14093 ac_cv_lib_nsl_main
=yes
14095 ac_cv_lib_nsl_main
=no
14097 rm -f core conftest.err conftest.
$ac_objext \
14098 conftest
$ac_exeext conftest.
$ac_ext
14099 LIBS
=$ac_check_lib_save_LIBS
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14102 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14103 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14104 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14109 unset ac_cv_func_gethostbyname
14110 LIBS
=$libgo_old_libs
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14114 $as_echo "$libgo_cv_lib_sockets" >&6; }
14115 NET_LIBS
="$libgo_cv_lib_sockets"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14119 $as_echo_n "checking whether -pthread is supported... " >&6; }
14120 if test "${libgo_cv_lib_pthread+set}" = set; then :
14121 $as_echo_n "(cached) " >&6
14123 CFLAGS_hold
=$CFLAGS
14124 CFLAGS
="$CFLAGS -pthread"
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14129 if ac_fn_c_try_compile
"$LINENO"; then :
14130 libgo_cv_lib_pthread
=yes
14132 libgo_cv_lib_pthread
=no
14134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14135 CFLAGS
=$CFLAGS_hold
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14138 $as_echo "$libgo_cv_lib_pthread" >&6; }
14140 if test "$libgo_cv_lib_pthread" = yes; then
14141 PTHREAD_CFLAGS
=-pthread
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14147 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14148 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14149 $as_echo_n "(cached) " >&6
14151 ac_check_lib_save_LIBS
=$LIBS
14152 LIBS
="-lpthread $LIBS"
14153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14162 char pthread_create ();
14166 return pthread_create ();
14171 if ac_fn_c_try_link
"$LINENO"; then :
14172 ac_cv_lib_pthread_pthread_create
=yes
14174 ac_cv_lib_pthread_pthread_create
=no
14176 rm -f core conftest.err conftest.
$ac_objext \
14177 conftest
$ac_exeext conftest.
$ac_ext
14178 LIBS
=$ac_check_lib_save_LIBS
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14181 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14182 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14183 PTHREAD_LIBS
=-lpthread
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14189 $as_echo_n "checking for library containing sched_yield... " >&6; }
14190 if test "${ac_cv_search_sched_yield+set}" = set; then :
14191 $as_echo_n "(cached) " >&6
14193 ac_func_search_save_LIBS
=$LIBS
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14203 char sched_yield ();
14207 return sched_yield ();
14212 for ac_lib
in '' rt
; do
14213 if test -z "$ac_lib"; then
14214 ac_res
="none required"
14217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14219 if ac_fn_c_try_link
"$LINENO"; then :
14220 ac_cv_search_sched_yield
=$ac_res
14222 rm -f core conftest.err conftest.
$ac_objext \
14224 if test "${ac_cv_search_sched_yield+set}" = set; then :
14228 if test "${ac_cv_search_sched_yield+set}" = set; then :
14231 ac_cv_search_sched_yield
=no
14233 rm conftest.
$ac_ext
14234 LIBS
=$ac_func_search_save_LIBS
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14237 $as_echo "$ac_cv_search_sched_yield" >&6; }
14238 ac_res
=$ac_cv_search_sched_yield
14239 if test "$ac_res" != no
; then :
14240 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14245 $as_echo_n "checking for library containing nanosleep... " >&6; }
14246 if test "${ac_cv_search_nanosleep+set}" = set; then :
14247 $as_echo_n "(cached) " >&6
14249 ac_func_search_save_LIBS
=$LIBS
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14263 return nanosleep ();
14268 for ac_lib
in '' rt
; do
14269 if test -z "$ac_lib"; then
14270 ac_res
="none required"
14273 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14275 if ac_fn_c_try_link
"$LINENO"; then :
14276 ac_cv_search_nanosleep
=$ac_res
14278 rm -f core conftest.err conftest.
$ac_objext \
14280 if test "${ac_cv_search_nanosleep+set}" = set; then :
14284 if test "${ac_cv_search_nanosleep+set}" = set; then :
14287 ac_cv_search_nanosleep
=no
14289 rm conftest.
$ac_ext
14290 LIBS
=$ac_func_search_save_LIBS
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14293 $as_echo "$ac_cv_search_nanosleep" >&6; }
14294 ac_res
=$ac_cv_search_nanosleep
14295 if test "$ac_res" != no
; then :
14296 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14302 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14303 if test "${ac_cv_c_bigendian+set}" = set; then :
14304 $as_echo_n "(cached) " >&6
14306 ac_cv_c_bigendian
=unknown
14307 # See if we're dealing with a universal compiler.
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 #ifndef __APPLE_CC__
14311 not a universal capable compiler
14316 if ac_fn_c_try_compile
"$LINENO"; then :
14318 # Check for potential -arch flags. It is not universal unless
14319 # there are at least two -arch flags with different values.
14322 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14323 if test -n "$ac_prev"; then
14325 i?
86 | x86_64 | ppc | ppc64
)
14326 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14329 ac_cv_c_bigendian
=universal
14335 elif test "x$ac_word" = "x-arch"; then
14340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 if test $ac_cv_c_bigendian = unknown
; then
14342 # See if sys/param.h defines the BYTE_ORDER macro.
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 #include <sys/types.h>
14346 #include <sys/param.h>
14351 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14352 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14354 bogus endian macros
14361 if ac_fn_c_try_compile
"$LINENO"; then :
14362 # It does; now see whether it defined to BIG_ENDIAN or not.
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 #include <sys/types.h>
14366 #include <sys/param.h>
14371 #if BYTE_ORDER != BIG_ENDIAN
14379 if ac_fn_c_try_compile
"$LINENO"; then :
14380 ac_cv_c_bigendian
=yes
14382 ac_cv_c_bigendian
=no
14384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14388 if test $ac_cv_c_bigendian = unknown
; then
14389 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 #include <limits.h>
14397 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14398 bogus endian macros
14405 if ac_fn_c_try_compile
"$LINENO"; then :
14406 # It does; now see whether it defined to _BIG_ENDIAN or not.
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 #include <limits.h>
14414 #ifndef _BIG_ENDIAN
14422 if ac_fn_c_try_compile
"$LINENO"; then :
14423 ac_cv_c_bigendian
=yes
14425 ac_cv_c_bigendian
=no
14427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14431 if test $ac_cv_c_bigendian = unknown
; then
14432 # Compile a test program.
14433 if test "$cross_compiling" = yes; then :
14434 # Try to guess by grepping values from an object file.
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 short int ascii_mm[] =
14438 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14439 short int ascii_ii[] =
14440 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14441 int use_ascii (int i) {
14442 return ascii_mm[i] + ascii_ii[i];
14444 short int ebcdic_ii[] =
14445 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14446 short int ebcdic_mm[] =
14447 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14448 int use_ebcdic (int i) {
14449 return ebcdic_mm[i] + ebcdic_ii[i];
14456 return use_ascii (foo) == use_ebcdic (foo);
14461 if ac_fn_c_try_compile
"$LINENO"; then :
14462 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14463 ac_cv_c_bigendian
=yes
14465 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14466 if test "$ac_cv_c_bigendian" = unknown
; then
14467 ac_cv_c_bigendian
=no
14469 # finding both strings is unlikely to happen, but who knows?
14470 ac_cv_c_bigendian
=unknown
14474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 $ac_includes_default
14483 /* Are we little or big endian? From Harbison&Steele. */
14487 char c[sizeof (long int)];
14490 return u.c[sizeof (long int) - 1] == 1;
14496 if ac_fn_c_try_run
"$LINENO"; then :
14497 ac_cv_c_bigendian
=no
14499 ac_cv_c_bigendian
=yes
14501 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14502 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14508 $as_echo "$ac_cv_c_bigendian" >&6; }
14509 case $ac_cv_c_bigendian in #(
14511 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14517 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14521 as_fn_error
"unknown endianness
14522 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14528 # Check whether --with-system-libunwind was given.
14529 if test "${with_system_libunwind+set}" = set; then :
14530 withval
=$with_system_libunwind;
14533 # If system-libunwind was not specifically set, pick a default setting.
14534 if test x
$with_system_libunwind = x
; then
14536 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14537 *) with_system_libunwind
=no
;;
14540 # Based on system-libunwind and target, do we have ipinfo?
14541 if test x
$with_system_libunwind = xyes
; then
14543 ia64-
*-*) have_unwind_getipinfo
=no
;;
14544 *) have_unwind_getipinfo
=yes ;;
14547 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14550 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14551 *) have_unwind_getipinfo
=yes ;;
14556 if test x
$have_unwind_getipinfo = xyes
; then
14558 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14563 # Check whether --enable-sjlj-exceptions was given.
14564 if test "${enable_sjlj_exceptions+set}" = set; then :
14565 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14567 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14570 enable_sjlj_exceptions
=auto
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14575 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14576 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14577 $as_echo_n "(cached) " >&6
14579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h. */
14583 void clean (int *);
14586 int i __attribute__ ((cleanup (clean)));
14591 CFLAGS_hold
=$CFLAGS
14592 CFLAGS
="--save-temps -fexceptions"
14593 libgo_cv_lib_sjlj_exceptions
=unknown
14594 if ac_fn_c_try_compile
; then :
14595 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14596 libgo_cv_lib_sjlj_exceptions
=yes
14597 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14598 libgo_cv_lib_sjlj_exceptions
=no
14601 CFLAGS
=$CFLAGS_hold
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14606 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14608 if test "$enable_sjlj_exceptions" = "auto"; then
14609 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14612 case $enable_sjlj_exceptions in
14615 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14621 as_fn_error
"unable to detect exception model" "$LINENO" 5
14625 for ac_header
in 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
14627 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14628 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14629 eval as_val
=\$
$as_ac_Header
14630 if test "x$as_val" = x
""yes; then :
14631 cat >>confdefs.h
<<_ACEOF
14632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14640 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
14642 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14643 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14644 #include <sys/socket.h>
14648 eval as_val
=\$
$as_ac_Header
14649 if test "x$as_val" = x
""yes; then :
14650 cat >>confdefs.h
<<_ACEOF
14651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14660 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14661 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14662 $as_echo_n "(cached) " >&6
14664 CFLAGS_hold
=$CFLAGS
14665 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 #include <sys/types.h>
14670 #ifdef HAVE_LINUX_FILTER_H
14671 #include <linux/filter.h>
14676 if ac_fn_c_try_compile
"$LINENO"; then :
14677 libgo_cv_c_ustat_h
=yes
14679 libgo_cv_c_ustat_h
=no
14681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14682 CFLAGS
=$CFLAGS_hold
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14685 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14686 if test $libgo_cv_c_ustat_h = yes; then
14688 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14692 if test "$ac_cv_header_sys_mman_h" = yes; then
14693 HAVE_SYS_MMAN_H_TRUE
=
14694 HAVE_SYS_MMAN_H_FALSE
='#'
14696 HAVE_SYS_MMAN_H_TRUE
='#'
14697 HAVE_SYS_MMAN_H_FALSE
=
14701 for ac_func
in strerror_r strsignal wait4 mincore setenv dl_iterate_phdr
14703 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14704 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14705 eval as_val
=\$
$as_ac_var
14706 if test "x$as_val" = x
""yes; then :
14707 cat >>confdefs.h
<<_ACEOF
14708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14714 if test "$ac_cv_func_strerror_r" = yes; then
14715 HAVE_STRERROR_R_TRUE
=
14716 HAVE_STRERROR_R_FALSE
='#'
14718 HAVE_STRERROR_R_TRUE
='#'
14719 HAVE_STRERROR_R_FALSE
=
14722 if test "$ac_cv_func_wait4" = yes; then
14724 HAVE_WAIT4_FALSE
='#'
14726 HAVE_WAIT4_TRUE
='#'
14731 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
14733 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14734 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14735 eval as_val
=\$
$as_ac_var
14736 if test "x$as_val" = x
""yes; then :
14737 cat >>confdefs.h
<<_ACEOF
14738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14744 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14745 if test "x$ac_cv_type_off_t" = x
""yes; then :
14749 cat >>confdefs.h
<<_ACEOF
14750 #define off_t long int
14755 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14756 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14758 cat >>confdefs.h
<<_ACEOF
14759 #define HAVE_LOFF_T 1
14768 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14770 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14771 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14772 eval as_val
=\$
$as_ac_var
14773 if test "x$as_val" = x
""yes; then :
14774 cat >>confdefs.h
<<_ACEOF
14775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14783 CFLAGS_hold
="$CFLAGS"
14784 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14786 LIBS
="$LIBS $PTHREAD_LIBS"
14787 for ac_func
in sem_timedwait
14789 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14790 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14791 cat >>confdefs.h
<<_ACEOF
14792 #define HAVE_SEM_TIMEDWAIT 1
14798 CFLAGS
="$CFLAGS_hold"
14802 LIBS
="$LIBS $MATH_LIBS"
14803 for ac_func
in matherr
14805 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14806 if test "x$ac_cv_func_matherr" = x
""yes; then :
14807 cat >>confdefs.h
<<_ACEOF
14808 #define HAVE_MATHERR 1
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14817 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14818 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14819 $as_echo_n "(cached) " >&6
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14826 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14829 if ac_fn_c_try_link
"$LINENO"; then :
14830 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14832 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14834 rm -f core conftest.err conftest.
$ac_objext \
14835 conftest
$ac_exeext conftest.
$ac_ext
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14838 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14839 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14841 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14846 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14847 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14848 $as_echo_n "(cached) " >&6
14850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14855 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14858 if ac_fn_c_try_link
"$LINENO"; then :
14859 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14861 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14863 rm -f core conftest.err conftest.
$ac_objext \
14864 conftest
$ac_exeext conftest.
$ac_ext
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14867 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14868 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14870 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14875 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14876 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14877 $as_echo_n "(cached) " >&6
14879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14884 int main() { return __sync_fetch_and_add (&i, 1); }
14887 if ac_fn_c_try_link
"$LINENO"; then :
14888 libgo_cv_func___sync_fetch_and_add_4
=yes
14890 libgo_cv_func___sync_fetch_and_add_4
=no
14892 rm -f core conftest.err conftest.
$ac_objext \
14893 conftest
$ac_exeext conftest.
$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14896 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14897 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14899 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14904 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14905 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14906 $as_echo_n "(cached) " >&6
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14913 int main() { return __sync_add_and_fetch (&i, 1); }
14916 if ac_fn_c_try_link
"$LINENO"; then :
14917 libgo_cv_func___sync_add_and_fetch_8
=yes
14919 libgo_cv_func___sync_add_and_fetch_8
=no
14921 rm -f core conftest.err conftest.
$ac_objext \
14922 conftest
$ac_exeext conftest.
$ac_ext
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14925 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14926 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14928 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14933 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14934 if test "${libgo_cv_c_stringops+set}" = set; then :
14935 $as_echo_n "(cached) " >&6
14937 CFLAGS_hold
=$CFLAGS
14938 CFLAGS
="$CFLAGS -minline-all-stringops"
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14943 if ac_fn_c_try_compile
"$LINENO"; then :
14944 libgo_cv_c_stringops
=yes
14946 libgo_cv_c_stringops
=no
14948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14949 CFLAGS
=$CFLAGS_hold
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14952 $as_echo "$libgo_cv_c_stringops" >&6; }
14954 if test "$libgo_cv_c_stringops" = yes; then
14955 STRINGOPS_FLAG
=-minline-all-stringops
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
14960 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
14961 if test "${libgo_cv_c_fancymath+set}" = set; then :
14962 $as_echo_n "(cached) " >&6
14964 CFLAGS_hold
=$CFLAGS
14965 CFLAGS
="$CFLAGS -mfancy-math-387"
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14970 if ac_fn_c_try_compile
"$LINENO"; then :
14971 libgo_cv_c_fancymath
=yes
14973 libgo_cv_c_fancymath
=no
14975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14976 CFLAGS
=$CFLAGS_hold
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
14979 $as_echo "$libgo_cv_c_fancymath" >&6; }
14981 if test "$libgo_cv_c_fancymath" = yes; then
14982 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
14984 MATH_FLAG
="-ffp-contract=off"
14988 CFLAGS_hold
=$CFLAGS
14989 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14990 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14991 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14993 cat >>confdefs.h
<<_ACEOF
14994 #define HAVE_OFF64_T 1
15000 CFLAGS
=$CFLAGS_hold
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15003 $as_echo_n "checking epoll_event size... " >&6; }
15004 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15005 $as_echo_n "(cached) " >&6
15007 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15010 libgo_cv_c_epoll_event_size
=0
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15015 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15016 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15020 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15021 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15022 $as_echo_n "(cached) " >&6
15024 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15025 #include <sys/epoll.h>"; then :
15028 libgo_cv_c_epoll_event_fd_offset
=0
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15033 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15034 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15037 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15039 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15040 libgo_has_struct_exception
=yes
15042 libgo_has_struct_exception
=no
15045 if test "$libgo_has_struct_exception" = "yes"; then
15047 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15052 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15053 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15054 $as_echo_n "(cached) " >&6
15056 CFLAGS_hold
="$CFLAGS"
15057 CFLAGS
="$PTHREAD_CFLAGS"
15059 LIBS
="$LIBS $PTHREAD_LIBS"
15060 # The cast to long int works around a bug in the HP C Compiler
15061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15062 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15063 # This bug is HP SR number 8606223364.
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15065 $as_echo_n "checking size of void *... " >&6; }
15066 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15067 $as_echo_n "(cached) " >&6
15069 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15072 if test "$ac_cv_type_void_p" = yes; then
15073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15075 { as_fn_set_status
77
15076 as_fn_error
"cannot compute sizeof (void *)
15077 See \`config.log' for more details." "$LINENO" 5; }; }
15079 ac_cv_sizeof_void_p
=0
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15085 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15089 cat >>confdefs.h
<<_ACEOF
15090 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15094 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15095 if test "$cross_compiling" = yes; then :
15096 case "$target:$ptr_type_size" in
15097 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15098 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15100 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15107 #include <pthread.h>
15108 #include <stdlib.h>
15109 #include <ucontext.h>
15110 #include <unistd.h>
15114 static char stack[10 * 1024 * 1024];
15115 static ucontext_t c;
15117 /* Called via makecontext/setcontext. */
15125 /* Called via pthread_create. */
15130 /* The thread should still see this value after calling
15136 /* The call to setcontext should not return. */
15145 /* The thread should not see this value. */
15148 if (getcontext (&c) < 0)
15151 c.uc_stack.ss_sp = stack;
15152 #ifdef MAKECONTEXT_STACK_TOP
15153 c.uc_stack.ss_sp += sizeof stack;
15155 c.uc_stack.ss_flags = 0;
15156 c.uc_stack.ss_size = sizeof stack;
15158 makecontext (&c, cfn, 0);
15160 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15163 if (pthread_join (tid, NULL) != 0)
15166 /* The thread should have called exit. */
15171 if ac_fn_c_try_run
"$LINENO"; then :
15172 libgo_cv_lib_setcontext_clobbers_tls
=no
15174 libgo_cv_lib_setcontext_clobbers_tls
=yes
15176 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15177 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15180 CFLAGS
="$CFLAGS_hold"
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15185 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15186 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15188 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15193 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15194 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15198 libgo_cv_ro_eh_frame
=no
15199 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15200 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15201 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15202 libgo_cv_ro_eh_frame
=yes
15203 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15204 |
grep -v '#write' > /dev
/null
; then
15205 libgo_cv_ro_eh_frame
=yes
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15212 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15213 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15215 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15219 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15224 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15225 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15226 $as_echo_n "(cached) " >&6
15229 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15230 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15231 libgo_cv_as_comdat_gnu
=yes
15233 libgo_cv_as_comdat_gnu
=no
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15238 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15239 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15241 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15246 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15247 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15248 $as_echo_n "(cached) " >&6
15251 libgo_cv_as_x86_pcrel
=yes
15252 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15253 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15254 libgo_cv_as_x86_pcrel
=no
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15259 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15260 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15262 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15267 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15268 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15272 libgo_cv_as_x86_64_unwind_section_type
=yes
15273 echo '.section .eh_frame,"a",@unwind' > conftest.s
15274 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15275 libgo_cv_as_x86_64_unwind_section_type
=no
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15280 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15281 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15283 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15287 cat >confcache
<<\_ACEOF
15288 # This file is a shell script that caches the results of configure
15289 # tests run on this system so they can be shared between configure
15290 # scripts and configure runs, see configure's option --config-cache.
15291 # It is not useful on other systems. If it contains results you don't
15292 # want to keep, you may remove or edit it.
15294 # config.status only pays attention to the cache file if you give it
15295 # the --recheck option to rerun configure.
15297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15299 # following values.
15303 # The following way of writing the cache mishandles newlines in values,
15304 # but we know of no workaround that is simple, portable, and efficient.
15305 # So, we kill variables containing newlines.
15306 # Ultrix sh set writes to stderr and can't be redirected directly,
15307 # and sets the high bit in the cache file unless we assign to the vars.
15309 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15310 eval ac_val
=\$
$ac_var
15314 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15315 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15318 _ | IFS | as_nl
) ;; #(
15319 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15320 *) { eval $ac_var=; unset $ac_var;} ;;
15326 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15327 *${as_nl}ac_space
=\
*)
15328 # `set' does not quote correctly, so add quotes: double-quote
15329 # substitution turns \\\\ into \\, and sed turns \\ into \.
15332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15335 # `set' quotes correctly as required by POSIX, so do not add quotes.
15336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15347 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15349 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15350 if test -w "$cache_file"; then
15351 test "x$cache_file" != "x/dev/null" &&
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15353 $as_echo "$as_me: updating cache $cache_file" >&6;}
15354 cat confcache
>$cache_file
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15357 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15362 if test ${multilib} = yes; then
15363 multilib_arg
="--enable-multilib"
15368 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15371 ac_config_commands
="$ac_config_commands default"
15374 cat >confcache
<<\_ACEOF
15375 # This file is a shell script that caches the results of configure
15376 # tests run on this system so they can be shared between configure
15377 # scripts and configure runs, see configure's option --config-cache.
15378 # It is not useful on other systems. If it contains results you don't
15379 # want to keep, you may remove or edit it.
15381 # config.status only pays attention to the cache file if you give it
15382 # the --recheck option to rerun configure.
15384 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15385 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15386 # following values.
15390 # The following way of writing the cache mishandles newlines in values,
15391 # but we know of no workaround that is simple, portable, and efficient.
15392 # So, we kill variables containing newlines.
15393 # Ultrix sh set writes to stderr and can't be redirected directly,
15394 # and sets the high bit in the cache file unless we assign to the vars.
15396 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15397 eval ac_val
=\$
$ac_var
15401 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15402 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15405 _ | IFS | as_nl
) ;; #(
15406 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15407 *) { eval $ac_var=; unset $ac_var;} ;;
15413 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15414 *${as_nl}ac_space
=\
*)
15415 # `set' does not quote correctly, so add quotes: double-quote
15416 # substitution turns \\\\ into \\, and sed turns \\ into \.
15419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15422 # `set' quotes correctly as required by POSIX, so do not add quotes.
15423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15432 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15434 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15436 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15437 if test -w "$cache_file"; then
15438 test "x$cache_file" != "x/dev/null" &&
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15440 $as_echo "$as_me: updating cache $cache_file" >&6;}
15441 cat confcache
>$cache_file
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15444 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15449 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15450 # Let make expand exec_prefix.
15451 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15453 DEFS
=-DHAVE_CONFIG_H
15457 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15458 # 1. Remove the extension, and $U if already installed.
15459 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15460 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15461 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15462 # will be set to the directory where LIBOBJS objects are built.
15463 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15464 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15466 LIBOBJS
=$ac_libobjs
15468 LTLIBOBJS
=$ac_ltlibobjs
15471 if test -n "$EXEEXT"; then
15473 am__EXEEXT_FALSE
='#'
15475 am__EXEEXT_TRUE
='#'
15479 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15480 as_fn_error
"conditional \"AMDEP\" was never defined.
15481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15483 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15484 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15487 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15488 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15491 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15492 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15495 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15496 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15499 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15500 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15503 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15504 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15507 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15508 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15511 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15512 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15515 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15516 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15519 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15520 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15523 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15524 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15527 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15528 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15531 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15532 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15535 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15536 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15539 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15540 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15543 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15544 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15547 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15548 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15551 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15552 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15555 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15556 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15559 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15560 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15563 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15564 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15567 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15568 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15571 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15572 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15575 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15576 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15579 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15580 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15583 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15584 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15587 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15588 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15592 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15593 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15596 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15597 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15600 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15601 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15605 : ${CONFIG_STATUS=./config.status}
15607 ac_clean_files_save
=$ac_clean_files
15608 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15610 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15612 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15614 # Generated by $as_me.
15615 # Run this file to recreate the current configuration.
15616 # Compiler output produced by configure, useful for debugging
15617 # configure, is in config.log if it exists.
15620 ac_cs_recheck=false
15623 SHELL=\${CONFIG_SHELL-$SHELL}
15626 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15627 ## -------------------- ##
15628 ## M4sh Initialization. ##
15629 ## -------------------- ##
15631 # Be more Bourne compatible
15632 DUALCASE
=1; export DUALCASE
# for MKS sh
15633 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15636 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15637 # is contrary to our usage. Disable this feature.
15638 alias -g '${1+"$@"}'='"$@"'
15639 setopt NO_GLOB_SUBST
15641 case `(set -o) 2>/dev/null` in #(
15653 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15654 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15655 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15656 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15657 # Prefer a ksh shell builtin over an external printf program on Solaris,
15658 # but without wasting forks for bash or zsh.
15659 if test -z "$BASH_VERSION$ZSH_VERSION" \
15660 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15661 as_echo='print
-r --'
15662 as_echo_n='print
-rn --'
15663 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15664 as_echo='printf %s
\n'
15665 as_echo_n='printf %s
'
15667 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15668 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15669 as_echo_n='/usr
/ucb
/echo -n'
15671 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15672 as_echo_n_body='eval
15676 expr "X$arg" : "X\\(.*\\)$as_nl";
15677 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15679 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15681 export as_echo_n_body
15682 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15684 export as_echo_body
15685 as_echo='sh
-c $as_echo_body as_echo
'
15688 # The user is always right.
15689 if test "${PATH_SEPARATOR+set}" != set; then
15691 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15692 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15699 # We need space, tab and new line, in precisely that order. Quoting is
15700 # there to prevent editors from complaining about space-tab.
15701 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15702 # splitting by setting IFS to empty value.)
15705 # Find who we are. Look in the path if we contain no directory separator.
15707 *[\\/]* ) as_myself=$0 ;;
15708 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15709 for as_dir in $PATH
15712 test -z "$as_dir" && as_dir=.
15713 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15719 # We did not find ourselves, most probably we were run as `sh COMMAND'
15720 # in which case we are not to be found in the path.
15721 if test "x$as_myself" = x
; then
15724 if test ! -f "$as_myself"; then
15725 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15729 # Unset variables that we do not need and which cause bugs (e.g. in
15730 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15731 # suppresses any "Segmentation fault" message there. '((' could
15732 # trigger a bug in pdksh 5.2.14.
15733 for as_var
in BASH_ENV ENV MAIL MAILPATH
15734 do eval test x\
${$as_var+set} = xset \
15735 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15748 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15751 # as_fn_error ERROR [LINENO LOG_FD]
15752 # ---------------------------------
15753 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15754 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15755 # script with status $?, using 1 if that was 0.
15758 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15760 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15761 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15763 $as_echo "$as_me: error: $1" >&2
15764 as_fn_exit
$as_status
15768 # as_fn_set_status STATUS
15769 # -----------------------
15770 # Set $? to STATUS, without forking.
15771 as_fn_set_status
()
15774 } # as_fn_set_status
15776 # as_fn_exit STATUS
15777 # -----------------
15778 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15782 as_fn_set_status
$1
15788 # Portably unset VAR.
15791 { eval $1=; unset $1;}
15793 as_unset
=as_fn_unset
15794 # as_fn_append VAR VALUE
15795 # ----------------------
15796 # Append the text in VALUE to the end of the definition contained in VAR. Take
15797 # advantage of any shell optimizations that allow amortized linear growth over
15798 # repeated appends, instead of the typical quadratic growth present in naive
15800 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15801 eval 'as_fn_append ()
15812 # as_fn_arith ARG...
15813 # ------------------
15814 # Perform arithmetic evaluation on the ARGs, and store the result in the
15815 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15816 # must be portable across $(()) and expr.
15817 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15818 eval 'as_fn_arith ()
15825 as_val
=`expr "$@" || test $? -eq 1`
15830 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15831 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15837 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15838 as_basename
=basename
15843 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15849 as_me
=`$as_basename -- "$0" ||
15850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15851 X"$0" : 'X\(//\)$' \| \
15852 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15854 sed '/^.*\/\([^/][^/]*\)\/*$/{
15868 # Avoid depending upon Character Ranges.
15869 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15870 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15871 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15872 as_cr_digits
='0123456789'
15873 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15875 ECHO_C
= ECHO_N
= ECHO_T
=
15876 case `echo -n x` in #(((((
15878 case `echo 'xy\c'` in
15879 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15881 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15888 rm -f conf$$ conf$$.exe conf$$.
file
15889 if test -d conf$$.dir
; then
15890 rm -f conf$$.dir
/conf$$.
file
15893 mkdir conf$$.dir
2>/dev
/null
15895 if (echo >conf$$.
file) 2>/dev
/null
; then
15896 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15898 # ... but there are two gotchas:
15899 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15900 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15901 # In both cases, we have to default to `cp -p'.
15902 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15904 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15912 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15913 rmdir conf$$.dir
2>/dev
/null
15918 # Create "$as_dir" as a directory, including parents if necessary.
15923 -*) as_dir
=.
/$as_dir;;
15925 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15929 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15930 *) as_qdir
=$as_dir;;
15932 as_dirs
="'$as_qdir' $as_dirs"
15933 as_dir
=`$as_dirname -- "$as_dir" ||
15934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15935 X"$as_dir" : 'X\(//\)[^/]' \| \
15936 X"$as_dir" : 'X\(//\)$' \| \
15937 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15938 $as_echo X"$as_dir" |
15939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15943 /^X\(\/\/\)[^/].*/{
15956 test -d "$as_dir" && break
15958 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15959 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15963 if mkdir
-p .
2>/dev
/null
; then
15964 as_mkdir_p
='mkdir -p "$as_dir"'
15966 test -d .
/-p && rmdir .
/-p
15970 if test -x / >/dev
/null
2>&1; then
15971 as_test_x
='test -x'
15973 if ls -dL / >/dev
/null
2>&1; then
15980 if test -d "$1"; then
15986 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15987 ???[sx]*):;;*)false;;esac;fi
15991 as_executable_p
=$as_test_x
15993 # Sed expression to map a string onto a valid CPP name.
15994 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15996 # Sed expression to map a string onto a valid variable name.
15997 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16001 ## ----------------------------------- ##
16002 ## Main body of $CONFIG_STATUS script. ##
16003 ## ----------------------------------- ##
16005 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16008 # Save the log message, to keep $0 and so on meaningful, and to
16009 # report actual input values of CONFIG_FILES etc. instead of their
16010 # values after options handling.
16012 This file was extended by package-unused $as_me version-unused, which was
16013 generated by GNU Autoconf 2.64. Invocation command line was
16015 CONFIG_FILES = $CONFIG_FILES
16016 CONFIG_HEADERS = $CONFIG_HEADERS
16017 CONFIG_LINKS = $CONFIG_LINKS
16018 CONFIG_COMMANDS = $CONFIG_COMMANDS
16021 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16026 case $ac_config_files in *"
16027 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16030 case $ac_config_headers in *"
16031 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16036 # Files that config.status was made for.
16037 config_files="$ac_config_files"
16038 config_headers="$ac_config_headers"
16039 config_commands="$ac_config_commands"
16043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16045 \`$as_me' instantiates files and other configuration actions
16046 from templates according to the current configuration. Unless the files
16047 and actions are specified as TAGs, all are instantiated by default.
16049 Usage: $0 [OPTION]... [TAG]...
16051 -h, --help print this help, then exit
16052 -V, --version print version number and configuration settings, then exit
16053 -q, --quiet, --silent
16054 do not print progress messages
16055 -d, --debug don't remove temporary files
16056 --recheck update $as_me by reconfiguring in the same conditions
16057 --file=FILE[:TEMPLATE]
16058 instantiate the configuration file FILE
16059 --header=FILE[:TEMPLATE]
16060 instantiate the configuration header FILE
16062 Configuration files:
16065 Configuration headers:
16068 Configuration commands:
16071 Report bugs to the package provider."
16074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16076 package-unused config.status version-unused
16077 configured by $0, generated by GNU Autoconf 2.64,
16078 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16080 Copyright (C) 2009 Free Software Foundation, Inc.
16081 This config.status script is free software; the Free Software Foundation
16082 gives unlimited permission to copy, distribute and modify it."
16089 test -n "\$AWK" || AWK=awk
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16093 # The default lists apply if the user does not specify any file.
16099 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16100 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16111 # Handling of the options.
16112 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16114 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16115 $as_echo "$ac_cs_version"; exit ;;
16116 --debug |
--debu |
--deb |
--de |
--d |
-d )
16118 --file |
--fil |
--fi |
--f )
16121 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16123 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16124 ac_need_defaults
=false
;;
16125 --header |
--heade |
--head |
--hea )
16128 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16130 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16131 ac_need_defaults
=false
;;
16133 # Conflict between --help and --header
16134 as_fn_error
"ambiguous option: \`$1'
16135 Try \`$0 --help' for more information.";;
16136 --help |
--hel |
-h )
16137 $as_echo "$ac_cs_usage"; exit ;;
16138 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16139 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16142 # This is an error.
16143 -*) as_fn_error
"unrecognized option: \`$1'
16144 Try \`$0 --help' for more information." ;;
16146 *) as_fn_append ac_config_targets
" $1"
16147 ac_need_defaults
=false
;;
16153 ac_configure_extra_args
=
16155 if $ac_cs_silent; then
16157 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16162 if \$ac_cs_recheck; then
16163 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16165 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16166 CONFIG_SHELL='$SHELL'
16167 export CONFIG_SHELL
16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16176 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16177 ## Running $as_me. ##
16183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16191 with_multisubdir="$with_multisubdir"
16192 with_multisrctop="$with_multisrctop"
16193 with_target_subdir="$with_target_subdir"
16194 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16195 multi_basedir="$multi_basedir"
16196 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16199 GFORTRAN="$GFORTRAN"
16201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16204 # The HP-UX ksh and POSIX shell print the target directory to stdout
16205 # if CDPATH is set.
16206 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16208 sed_quote_subst='$sed_quote_subst'
16209 double_quote_subst='$double_quote_subst'
16210 delay_variable_subst='$delay_variable_subst'
16211 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16212 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16213 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16214 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16215 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16216 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16217 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16218 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16219 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16220 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16221 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16222 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16223 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16224 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16225 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16226 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16227 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16228 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16229 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16230 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16231 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16232 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16233 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16234 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16235 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16236 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16237 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16238 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16239 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16240 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16241 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16242 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16243 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16244 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16245 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16246 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16247 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16248 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16249 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16250 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16251 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16252 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16253 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16254 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16255 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16256 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16257 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16258 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16259 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"`'
16260 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16261 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16262 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16263 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16264 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16265 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16266 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16267 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16268 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16269 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16270 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16271 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16272 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16273 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16274 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16275 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16276 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16277 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16278 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16279 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16280 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16281 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16282 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16283 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16284 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16285 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16286 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16287 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16288 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16289 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16290 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16291 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16292 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16293 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16294 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16295 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16296 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16297 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16298 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16299 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16300 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16301 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16302 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16303 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16304 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16305 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16306 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16307 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16308 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16309 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16310 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16311 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16312 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16313 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16314 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16315 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16316 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16317 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16318 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16319 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16320 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16321 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16322 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16323 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16324 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16325 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16326 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16327 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16328 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16329 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16330 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16331 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16332 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16333 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16334 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16335 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16336 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16337 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16338 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16339 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16340 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16341 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16342 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16343 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16344 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16345 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16346 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16347 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16348 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16349 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16350 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16351 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16352 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16353 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16354 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16355 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16356 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16357 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16358 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16359 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16360 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16361 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16362 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16363 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16364 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16365 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16366 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16367 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16368 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16369 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16370 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16371 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16372 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16373 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16376 LTCFLAGS='$LTCFLAGS'
16377 compiler='$compiler_DEFAULT'
16379 # A function that is used when there is no print builtin or printf.
16380 func_fallback_echo ()
16382 eval 'cat <<_LTECHO_EOF
16387 # Quote evaled strings.
16401 deplibs_check_method \
16410 lt_cv_sys_global_symbol_pipe \
16411 lt_cv_sys_global_symbol_to_cdecl \
16412 lt_cv_sys_global_symbol_to_c_name_address \
16413 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16414 lt_prog_compiler_no_builtin_flag \
16415 lt_prog_compiler_wl \
16416 lt_prog_compiler_pic \
16417 lt_prog_compiler_static \
16418 lt_cv_prog_compiler_c_o \
16426 export_dynamic_flag_spec \
16427 whole_archive_flag_spec \
16428 compiler_needs_object \
16430 allow_undefined_flag \
16431 no_undefined_flag \
16432 hardcode_libdir_flag_spec \
16433 hardcode_libdir_flag_spec_ld \
16434 hardcode_libdir_separator \
16439 variables_saved_for_relink \
16441 library_names_spec \
16443 install_override_mode \
16450 lt_prog_compiler_no_builtin_flag_GO \
16451 lt_prog_compiler_wl_GO \
16452 lt_prog_compiler_pic_GO \
16453 lt_prog_compiler_static_GO \
16454 lt_cv_prog_compiler_c_o_GO \
16455 export_dynamic_flag_spec_GO \
16456 whole_archive_flag_spec_GO \
16457 compiler_needs_object_GO \
16459 allow_undefined_flag_GO \
16460 no_undefined_flag_GO \
16461 hardcode_libdir_flag_spec_GO \
16462 hardcode_libdir_flag_spec_ld_GO \
16463 hardcode_libdir_separator_GO \
16464 fix_srcfile_path_GO \
16465 exclude_expsyms_GO \
16466 include_expsyms_GO \
16467 file_list_spec_GO; do
16468 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16469 *[\\\\\\\`\\"\\\$]*)
16470 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16473 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16478 # Double-quote double-evaled strings.
16479 for var in reload_cmds \
16480 old_postinstall_cmds \
16481 old_postuninstall_cmds \
16483 extract_expsyms_cmds \
16484 old_archive_from_new_cmds \
16485 old_archive_from_expsyms_cmds \
16487 archive_expsym_cmds \
16489 module_expsym_cmds \
16490 export_symbols_cmds \
16493 postuninstall_cmds \
16495 sys_lib_search_path_spec \
16496 sys_lib_dlsearch_path_spec \
16498 old_archive_cmds_GO \
16499 old_archive_from_new_cmds_GO \
16500 old_archive_from_expsyms_cmds_GO \
16502 archive_expsym_cmds_GO \
16504 module_expsym_cmds_GO \
16505 export_symbols_cmds_GO \
16506 prelink_cmds_GO; do
16507 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16508 *[\\\\\\\`\\"\\\$]*)
16509 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16512 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16517 ac_aux_dir='$ac_aux_dir'
16518 xsi_shell='$xsi_shell'
16519 lt_shell_append='$lt_shell_append'
16521 # See if we are running on zsh, and set the options which allow our
16522 # commands through without removal of \ escapes INIT.
16523 if test -n "\${ZSH_VERSION+set}" ; then
16524 setopt NO_GLOB_SUBST
16530 TIMESTAMP='$TIMESTAMP'
16539 # Variables needed in config.status (file generation) which aren't already
16540 # passed by autoconf.
16546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16548 # Handling of arguments.
16549 for ac_config_target
in $ac_config_targets
16551 case $ac_config_target in
16552 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16553 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16554 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16555 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16556 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16557 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16558 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16560 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16565 # If the user did not use the arguments to specify the items to instantiate,
16566 # then the envvar interface is used. Set only those that are not.
16567 # We use the long form for the default assignment because of an extremely
16568 # bizarre bug on SunOS 4.1.3.
16569 if $ac_need_defaults; then
16570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16575 # Have a temporary directory for convenience. Make it in the build tree
16576 # simply because there is no reason against having it here, and in addition,
16577 # creating and moving files from /tmp can sometimes cause problems.
16578 # Hook for its removal unless debugging.
16579 # Note that there is a small window in which the directory will not be cleaned:
16580 # after its creation but before its name has been assigned to `$tmp'.
16584 trap 'exit_status=$?
16585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16587 trap 'as_fn_exit 1' 1 2 13 15
16589 # Create a (secure) tmp directory for tmp files.
16592 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16593 test -n "$tmp" && test -d "$tmp"
16596 tmp
=.
/conf$$
-$RANDOM
16597 (umask 077 && mkdir
"$tmp")
16598 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16600 # Set up the scripts for CONFIG_FILES section.
16601 # No need to generate them if there are no CONFIG_FILES.
16602 # This happens for instance with `./config.status config.h'.
16603 if test -n "$CONFIG_FILES"; then
16606 ac_cr
=`echo X | tr X '\015'`
16607 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16608 # But we know of no other shell where ac_cr would be empty at this
16609 # point, so we can use a bashism as a fallback.
16610 if test "x$ac_cr" = x
; then
16611 eval ac_cr
=\$
\'\\r
\'
16613 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16614 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16617 ac_cs_awk_cr
=$ac_cr
16620 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16625 echo "cat >conf$$subs.awk <<_ACEOF" &&
16626 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16628 } >conf$$subs.sh ||
16629 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16630 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16632 for ac_last_try in false false false false false :; do
16633 . ./conf$$subs.sh ||
16634 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16636 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16637 if test $ac_delim_n = $ac_delim_num; then
16639 elif $ac_last_try; then
16640 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16642 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16645 rm -f conf$$subs.sh
16647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16648 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16652 s/^/S["/; s
/!.
*/"]=/
16662 s/\(.\{148\}\).*/\1/
16664 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16669 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16676 s/\(.\{148\}\).*/\1/
16678 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16682 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16687 ' <conf$$subs.awk | sed '
16692 ' >>$CONFIG_STATUS || ac_write_fail=1
16693 rm -f conf$$subs.awk
16694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16696 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16697 for (key in S) S_is_set[key] = 1
16703 nfields = split(line, field, "@
")
16705 len = length(field[1])
16706 for (i = 2; i < nfields; i++) {
16708 keylen = length(key)
16709 if (S_is_set[key]) {
16711 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16712 len += length(value) + length(field[++i])
16723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16724 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16725 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16728 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16729 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16732 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16733 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16734 # trailing colons and then remove the whole line if VPATH becomes empty
16735 # (actually we leave an empty line to preserve line numbers).
16736 if test "x
$srcdir" = x.; then
16737 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16738 s/:*\$(srcdir):*/:/
16739 s/:*\${srcdir}:*/:/
16741 s/^\([^=]*=[ ]*\):*/\1/
16747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16748 fi # test -n "$CONFIG_FILES"
16750 # Set up the scripts for CONFIG_HEADERS section.
16751 # No need to generate them if there are no CONFIG_HEADERS.
16752 # This happens for instance with `./config.status Makefile'.
16753 if test -n "$CONFIG_HEADERS"; then
16754 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16758 # Transform confdefs.h into an awk script `defines.awk', embedded as
16759 # here-document in config.status, that substitutes the proper values into
16760 # config.h.in to produce config.h.
16762 # Create a delimiter string that does not exist in confdefs.h, to ease
16763 # handling of long lines.
16765 for ac_last_try in false false :; do
16766 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16767 if test -z "$ac_t"; then
16769 elif $ac_last_try; then
16770 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16772 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16776 # For the awk script, D is an array of macro values keyed by name,
16777 # likewise P contains macro parameters if any. Preserve backslash
16778 # newline sequences.
16780 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16782 s/.\{148\}/&'"$ac_delim"'/g
16785 s/^[ ]*#[ ]*define[ ][ ]*/ /
16792 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16794 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16798 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16799 D["\
1"]=" \
3\\\\\\n
"\\/p
16801 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16806 s/.\{148\}/&'"$ac_delim"'/g
16811 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16814 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16816 ' <confdefs.h | sed '
16817 s/'"$ac_delim"'/"\\\
16818 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16821 for (key in D) D_is_set[key] = 1
16824 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16826 split(line, arg, " ")
16827 if (arg[1] == "#") {
16831 defundef
= substr
(arg
[1], 2)
16834 split(mac1
, mac2
, "(") #)
16836 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16837 if (D_is_set
[macro
]) {
16838 # Preserve the white space surrounding the "#".
16839 print prefix
"define", macro P
[macro
] D
[macro
]
16842 # Replace #undef with comments. This is necessary, for example,
16843 # in the case of _POSIX_SOURCE, which is predefined and required
16844 # on some systems where configure will not decide to define it.
16845 if (defundef
== "undef") {
16846 print
"/*", prefix defundef
, macro
, "*/"
16854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16855 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16856 fi # test -n "$CONFIG_HEADERS"
16859 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16864 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16866 case $ac_mode$ac_tag in
16868 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16869 :[FH
]-) ac_tag
=-:-;;
16870 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16887 -) ac_f
="$tmp/stdin";;
16888 *) # Look for the file first in the build tree, then in the source tree
16889 # (if the path is not absolute). The absolute path cannot be DOS-style,
16890 # because $ac_f cannot contain `:'.
16894 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16896 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16898 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16899 as_fn_append ac_file_inputs
" '$ac_f'"
16902 # Let's still pretend it is `configure' which instantiates (i.e., don't
16903 # use $as_me), people would be surprised to read:
16904 # /* config.h. Generated by config.status. */
16905 configure_input
='Generated from '`
16906 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16908 if test x
"$ac_file" != x-
; then
16909 configure_input
="$ac_file. $configure_input"
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16911 $as_echo "$as_me: creating $ac_file" >&6;}
16913 # Neutralize special characters interpreted by sed in replacement strings.
16914 case $configure_input in #(
16915 *\
&* |
*\|
* |
*\\* )
16916 ac_sed_conf_input
=`$as_echo "$configure_input" |
16917 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16918 *) ac_sed_conf_input
=$configure_input;;
16922 *:-:* |
*:-) cat >"$tmp/stdin" \
16923 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16928 ac_dir
=`$as_dirname -- "$ac_file" ||
16929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16930 X"$ac_file" : 'X\(//\)[^/]' \| \
16931 X"$ac_file" : 'X\(//\)$' \| \
16932 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16933 $as_echo X"$ac_file" |
16934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16938 /^X\(\/\/\)[^/].*/{
16951 as_dir
="$ac_dir"; as_fn_mkdir_p
16955 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16957 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16958 # A ".." for each directory in $ac_dir_suffix.
16959 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16960 case $ac_top_builddir_sub in
16961 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16962 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16965 ac_abs_top_builddir
=$ac_pwd
16966 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16967 # for backward compatibility:
16968 ac_top_builddir
=$ac_top_build_prefix
16971 .
) # We are building in place.
16973 ac_top_srcdir
=$ac_top_builddir_sub
16974 ac_abs_top_srcdir
=$ac_pwd ;;
16975 [\\/]* | ?
:[\\/]* ) # Absolute name.
16976 ac_srcdir
=$srcdir$ac_dir_suffix;
16977 ac_top_srcdir
=$srcdir
16978 ac_abs_top_srcdir
=$srcdir ;;
16979 *) # Relative name.
16980 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16981 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16982 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16984 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16994 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16995 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16997 ac_MKDIR_P
=$MKDIR_P
16999 [\\/$
]* | ?
:[\\/]* ) ;;
17000 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17005 # If the template does not know about datarootdir, expand it.
17006 # FIXME: This hack should be removed a few years after 2.60.
17007 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17018 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17019 *datarootdir
*) ac_datarootdir_seen
=yes;;
17020 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17022 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17025 ac_datarootdir_hack='
17026 s&@datadir@&$datadir&g
17027 s&@docdir@&$docdir&g
17028 s&@infodir@&$infodir&g
17029 s&@localedir@&$localedir&g
17030 s&@mandir@&$mandir&g
17031 s&\\\${datarootdir}&$datarootdir&g' ;;
17035 # Neutralize VPATH when `$srcdir' = `.'.
17036 # Shell code in configure.ac might set extrasub.
17037 # FIXME: do we really want to maintain this feature?
17038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17039 ac_sed_extra="$ac_vpsub
17042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17044 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17045 s|@configure_input@|
$ac_sed_conf_input|
;t t
17046 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17047 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17048 s
&@srcdir@
&$ac_srcdir&;t t
17049 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17050 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17051 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17052 s
&@builddir@
&$ac_builddir&;t t
17053 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17054 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17055 s
&@INSTALL@
&$ac_INSTALL&;t t
17056 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17057 $ac_datarootdir_hack
17059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17060 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17062 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17063 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17064 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17066 which seems to be undefined. Please make sure it is defined." >&5
17067 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17068 which seems to be undefined. Please make sure it is defined." >&2;}
17072 -) cat "$tmp/out" && rm -f "$tmp/out";;
17073 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17075 || as_fn_error "could not create $ac_file" "$LINENO" 5
17081 if test x"$ac_file" != x-; then
17083 $as_echo "/* $configure_input */" \
17084 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17085 } >"$tmp/config.h" \
17086 || as_fn_error "could not create $ac_file" "$LINENO" 5
17087 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17089 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17092 mv "$tmp/config.h" "$ac_file" \
17093 || as_fn_error "could not create $ac_file" "$LINENO" 5
17096 $as_echo "/* $configure_input */" \
17097 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17098 || as_fn_error "could not create -" "$LINENO" 5
17100 # Compute "$ac_file"'s index
in $config_headers.
17103 for _am_header
in $config_headers :; do
17104 case $_am_header in
17105 $_am_arg |
$_am_arg:* )
17108 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17111 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17112 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17113 X"$_am_arg" : 'X\(//\)[^/]' \| \
17114 X"$_am_arg" : 'X\(//\)$' \| \
17115 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17116 $as_echo X"$_am_arg" |
17117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17121 /^X\(\/\/\)[^/].*/{
17133 s/.*/./; q'`/stamp-h
$_am_stamp_count
17136 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17137 $as_echo "$as_me: executing $ac_file commands" >&6;}
17142 case $ac_file$ac_mode in
17144 # Only add multilib support code if we just rebuilt the top-level
17146 case " $CONFIG_FILES " in
17148 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17151 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17152 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17153 # are listed without --file. Let's play safe and only enable the eval
17154 # if we detect the quoting.
17155 case $CONFIG_FILES in
17156 *\'*) eval set x
"$CONFIG_FILES" ;;
17157 *) set x
$CONFIG_FILES ;;
17162 # Strip MF so we end up with the name of the file.
17163 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17164 # Check whether this is an Automake generated Makefile or not.
17165 # We used to match only the files named `Makefile.in', but
17166 # some people rename them; so instead we look at the file content.
17167 # Grep'ing the first line is not enough: some people post-process
17168 # each Makefile.in and add a new line on top of each file to say so.
17169 # Grep'ing the whole file is not good either: AIX grep has a line
17170 # limit of 2048, but all sed's we know have understand at least 4000.
17171 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17172 dirpart
=`$as_dirname -- "$mf" ||
17173 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17174 X"$mf" : 'X\(//\)[^/]' \| \
17175 X"$mf" : 'X\(//\)$' \| \
17176 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17182 /^X\(\/\/\)[^/].*/{
17198 # Extract the definition of DEPDIR, am__include, and am__quote
17199 # from the Makefile without running `make'.
17200 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17201 test -z "$DEPDIR" && continue
17202 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17203 test -z "am__include" && continue
17204 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17205 # When using ansi2knr, U may be empty or an underscore; expand it
17206 U
=`sed -n 's/^U = //p' < "$mf"`
17207 # Find all dependency output files, they are included files with
17208 # $(DEPDIR) in their names. We invoke sed twice because it is the
17209 # simplest approach to changing $(DEPDIR) to its actual value in the
17211 for file in `sed -n "
17212 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17213 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17214 # Make sure the directory exists.
17215 test -f "$dirpart/$file" && continue
17216 fdir
=`$as_dirname -- "$file" ||
17217 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17218 X"$file" : 'X\(//\)[^/]' \| \
17219 X"$file" : 'X\(//\)$' \| \
17220 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17221 $as_echo X"$file" |
17222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17226 /^X\(\/\/\)[^/].*/{
17239 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17240 # echo "creating $dirpart/$file"
17241 echo '# dummy' > "$dirpart/$file"
17248 # See if we are running on zsh, and set the options which allow our
17249 # commands through without removal of \ escapes.
17250 if test -n "${ZSH_VERSION+set}" ; then
17251 setopt NO_GLOB_SUBST
17254 cfgfile
="${ofile}T"
17255 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17258 cat <<_LT_EOF >> "$cfgfile"
17261 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17262 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17263 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17264 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17266 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17267 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17268 # Written by Gordon Matzigkeit, 1996
17270 # This file is part of GNU Libtool.
17272 # GNU Libtool is free software; you can redistribute it and/or
17273 # modify it under the terms of the GNU General Public License as
17274 # published by the Free Software Foundation; either version 2 of
17275 # the License, or (at your option) any later version.
17277 # As a special exception to the GNU General Public License,
17278 # if you distribute this file as part of a program or library that
17279 # is built using GNU Libtool, you may include this file under the
17280 # same distribution terms that you use for the rest of that program.
17282 # GNU Libtool is distributed in the hope that it will be useful,
17283 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17284 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17285 # GNU General Public License for more details.
17287 # You should have received a copy of the GNU General Public License
17288 # along with GNU Libtool; see the file COPYING. If not, a copy
17289 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17290 # obtained by writing to the Free Software Foundation, Inc.,
17291 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17294 # The names of the tagged configurations supported by this script.
17295 available_tags="GO "
17297 # ### BEGIN LIBTOOL CONFIG
17299 # A sed program that does not truncate output.
17302 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17303 Xsed="\$SED -e 1s/^X//"
17305 # A grep program that handles long lines.
17311 # A literal string matcher.
17314 # Shell to use when invoking shell scripts.
17317 # An echo program that protects backslashes.
17320 # Which release of libtool.m4 was used?
17321 macro_version=$macro_version
17322 macro_revision=$macro_revision
17324 # Whether or not to build shared libraries.
17325 build_libtool_libs=$enable_shared
17327 # Whether or not to build static libraries.
17328 build_old_libs=$enable_static
17330 # What type of objects to build.
17333 # Whether or not to optimize for fast installation.
17334 fast_install=$enable_fast_install
17337 host_alias=$host_alias
17341 # The build system.
17342 build_alias=$build_alias
17346 # A BSD- or MS-compatible name lister.
17349 # Whether we need soft or hard links.
17352 # What is the maximum length of a command?
17353 max_cmd_len=$max_cmd_len
17355 # Object file suffix (normally "o").
17358 # Executable file suffix (normally "").
17361 # whether the shell understands "unset".
17364 # turn spaces into newlines.
17367 # turn newlines into spaces.
17370 # An object symbol dumper.
17371 OBJDUMP=$lt_OBJDUMP
17373 # Method to check whether dependent libraries are shared objects.
17374 deplibs_check_method=$lt_deplibs_check_method
17376 # Command to use when deplibs_check_method == "file_magic".
17377 file_magic_cmd=$lt_file_magic_cmd
17381 AR_FLAGS=$lt_AR_FLAGS
17383 # A symbol stripping program.
17386 # Commands used to install an old-style archive.
17388 old_postinstall_cmds=$lt_old_postinstall_cmds
17389 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17391 # Whether to use a lock for old archive extraction.
17392 lock_old_archive_extraction=$lock_old_archive_extraction
17397 # LTCC compiler flags.
17398 LTCFLAGS=$lt_CFLAGS
17400 # Take the output of nm and produce a listing of raw symbols and C names.
17401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17403 # Transform the output of nm in a proper C declaration.
17404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17406 # Transform the output of nm in a C name address pair.
17407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17409 # Transform the output of nm in a C name address pair when lib prefix is needed.
17410 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17412 # The name of the directory that contains temporary libtool files.
17415 # Used to examine libraries when file_magic_cmd begins with "file".
17416 MAGIC_CMD=$MAGIC_CMD
17418 # Must we lock files when doing compilation?
17419 need_locks=$lt_need_locks
17421 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17422 DSYMUTIL=$lt_DSYMUTIL
17424 # Tool to change global to local symbols on Mac OS X.
17427 # Tool to manipulate fat objects and archives on Mac OS X.
17430 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17433 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17434 OTOOL64=$lt_OTOOL64
17436 # Old archive suffix (normally "a").
17439 # Shared library suffix (normally ".so").
17440 shrext_cmds=$lt_shrext_cmds
17442 # The commands to extract the exported symbol list from a shared archive.
17443 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17445 # Variables whose values should be saved in libtool wrapper scripts and
17446 # restored at link time.
17447 variables_saved_for_relink=$lt_variables_saved_for_relink
17449 # Do we need the "lib" prefix for modules?
17450 need_lib_prefix=$need_lib_prefix
17452 # Do we need a version for libraries?
17453 need_version=$need_version
17455 # Library versioning type.
17456 version_type=$version_type
17458 # Shared library runtime path variable.
17459 runpath_var=$runpath_var
17461 # Shared library path variable.
17462 shlibpath_var=$shlibpath_var
17464 # Is shlibpath searched before the hard-coded library search path?
17465 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17467 # Format of library name prefix.
17468 libname_spec=$lt_libname_spec
17470 # List of archive names. First name is the real one, the rest are links.
17471 # The last name is the one that the linker finds with -lNAME
17472 library_names_spec=$lt_library_names_spec
17474 # The coded name of the library, if different from the real name.
17475 soname_spec=$lt_soname_spec
17477 # Permission mode override for installation of shared libraries.
17478 install_override_mode=$lt_install_override_mode
17480 # Command to use after installation of a shared archive.
17481 postinstall_cmds=$lt_postinstall_cmds
17483 # Command to use after uninstallation of a shared archive.
17484 postuninstall_cmds=$lt_postuninstall_cmds
17486 # Commands used to finish a libtool library installation in a directory.
17487 finish_cmds=$lt_finish_cmds
17489 # As "finish_cmds", except a single script fragment to be evaled but
17491 finish_eval=$lt_finish_eval
17493 # Whether we should hardcode library paths into libraries.
17494 hardcode_into_libs=$hardcode_into_libs
17496 # Compile-time system search path for libraries.
17497 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17499 # Run-time system search path for libraries.
17500 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17502 # Whether dlopen is supported.
17503 dlopen_support=$enable_dlopen
17505 # Whether dlopen of programs is supported.
17506 dlopen_self=$enable_dlopen_self
17508 # Whether dlopen of statically linked programs is supported.
17509 dlopen_self_static=$enable_dlopen_self_static
17511 # Commands to strip libraries.
17512 old_striplib=$lt_old_striplib
17513 striplib=$lt_striplib
17516 # The linker used to build libraries.
17519 # How to create reloadable object files.
17520 reload_flag=$lt_reload_flag
17521 reload_cmds=$lt_reload_cmds
17523 # Commands used to build an old-style archive.
17524 old_archive_cmds=$lt_old_archive_cmds
17526 # A language specific compiler.
17529 # Is the compiler the GNU compiler?
17532 # Compiler flag to turn off builtin functions.
17533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17535 # How to pass a linker flag through the compiler.
17536 wl=$lt_lt_prog_compiler_wl
17538 # Additional compiler flags for building library objects.
17539 pic_flag=$lt_lt_prog_compiler_pic
17541 # Compiler flag to prevent dynamic linking.
17542 link_static_flag=$lt_lt_prog_compiler_static
17544 # Does compiler simultaneously support -c and -o options?
17545 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17547 # Whether or not to add -lc for building shared libraries.
17548 build_libtool_need_lc=$archive_cmds_need_lc
17550 # Whether or not to disallow shared libs when runtime libs are static.
17551 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17553 # Compiler flag to allow reflexive dlopens.
17554 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17556 # Compiler flag to generate shared objects directly from archives.
17557 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17559 # Whether the compiler copes with passing no objects directly.
17560 compiler_needs_object=$lt_compiler_needs_object
17562 # Create an old-style archive from a shared archive.
17563 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17565 # Create a temporary old-style archive to link instead of a shared archive.
17566 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17568 # Commands used to build a shared archive.
17569 archive_cmds=$lt_archive_cmds
17570 archive_expsym_cmds=$lt_archive_expsym_cmds
17572 # Commands used to build a loadable module if different from building
17573 # a shared archive.
17574 module_cmds=$lt_module_cmds
17575 module_expsym_cmds=$lt_module_expsym_cmds
17577 # Whether we are building with GNU ld or not.
17578 with_gnu_ld=$lt_with_gnu_ld
17580 # Flag that allows shared libraries with undefined symbols to be built.
17581 allow_undefined_flag=$lt_allow_undefined_flag
17583 # Flag that enforces no undefined symbols.
17584 no_undefined_flag=$lt_no_undefined_flag
17586 # Flag to hardcode \$libdir into a binary during linking.
17587 # This must work even if \$libdir does not exist
17588 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17590 # If ld is used when linking, flag to hardcode \$libdir into a binary
17591 # during linking. This must work even if \$libdir does not exist.
17592 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17594 # Whether we need a single "-rpath" flag with a separated argument.
17595 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17597 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17598 # DIR into the resulting binary.
17599 hardcode_direct=$hardcode_direct
17601 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17602 # DIR into the resulting binary and the resulting library dependency is
17603 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17604 # library is relocated.
17605 hardcode_direct_absolute=$hardcode_direct_absolute
17607 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17608 # into the resulting binary.
17609 hardcode_minus_L=$hardcode_minus_L
17611 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17612 # into the resulting binary.
17613 hardcode_shlibpath_var=$hardcode_shlibpath_var
17615 # Set to "yes" if building a shared library automatically hardcodes DIR
17616 # into the library and all subsequent libraries and executables linked
17618 hardcode_automatic=$hardcode_automatic
17620 # Set to yes if linker adds runtime paths of dependent libraries
17621 # to runtime path list.
17622 inherit_rpath=$inherit_rpath
17624 # Whether libtool must link a program against all its dependency libraries.
17625 link_all_deplibs=$link_all_deplibs
17627 # Fix the shell variable \$srcfile for the compiler.
17628 fix_srcfile_path=$lt_fix_srcfile_path
17630 # Set to "yes" if exported symbols are required.
17631 always_export_symbols=$always_export_symbols
17633 # The commands to list exported symbols.
17634 export_symbols_cmds=$lt_export_symbols_cmds
17636 # Symbols that should not be listed in the preloaded symbols.
17637 exclude_expsyms=$lt_exclude_expsyms
17639 # Symbols that must always be exported.
17640 include_expsyms=$lt_include_expsyms
17642 # Commands necessary for linking programs (against libraries) with templates.
17643 prelink_cmds=$lt_prelink_cmds
17645 # Specify filename containing input files.
17646 file_list_spec=$lt_file_list_spec
17648 # How to hardcode a shared library path into an executable.
17649 hardcode_action=$hardcode_action
17651 # ### END LIBTOOL CONFIG
17657 cat <<\_LT_EOF
>> "$cfgfile"
17658 # AIX sometimes has problems with the GCC collect2 program. For some
17659 # reason, if we set the COLLECT_NAMES environment variable, the problems
17660 # vanish in a puff of smoke.
17661 if test "X${COLLECT_NAMES+set}" != Xset
; then
17663 export COLLECT_NAMES
17670 ltmain
="$ac_aux_dir/ltmain.sh"
17673 # We use sed instead of cat because bash on DJGPP gets confused if
17674 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17675 # text mode, it properly converts lines to CR/LF. This bash problem
17676 # is reportedly fixed, but why not run on old versions too?
17677 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17678 ||
(rm -f "$cfgfile"; exit 1)
17682 cat << \_LT_EOF
>> "$cfgfile"
17684 # func_dirname file append nondir_replacement
17685 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17686 # otherwise set result to NONDIR_REPLACEMENT.
17690 */*) func_dirname_result
="${1%/*}${2}" ;;
17691 * ) func_dirname_result
="${3}" ;;
17695 # func_basename file
17698 func_basename_result
="${1##*/}"
17701 # func_dirname_and_basename file append nondir_replacement
17702 # perform func_basename and func_dirname in a single function
17704 # dirname: Compute the dirname of FILE. If nonempty,
17705 # add APPEND to the result, otherwise set result
17706 # to NONDIR_REPLACEMENT.
17707 # value returned in "$func_dirname_result"
17708 # basename: Compute filename of FILE.
17709 # value retuned in "$func_basename_result"
17710 # Implementation must be kept synchronized with func_dirname
17711 # and func_basename. For efficiency, we do not delegate to
17712 # those functions but instead duplicate the functionality here.
17713 func_dirname_and_basename
()
17716 */*) func_dirname_result
="${1%/*}${2}" ;;
17717 * ) func_dirname_result
="${3}" ;;
17719 func_basename_result
="${1##*/}"
17722 # func_stripname prefix suffix name
17723 # strip PREFIX and SUFFIX off of NAME.
17724 # PREFIX and SUFFIX must not contain globbing or regex special
17725 # characters, hashes, percent signs, but SUFFIX may contain a leading
17726 # dot (in which case that matches only a dot).
17729 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17730 # positional parameters, so assign one to ordinary parameter first.
17731 func_stripname_result
=${3}
17732 func_stripname_result
=${func_stripname_result#"${1}"}
17733 func_stripname_result
=${func_stripname_result%"${2}"}
17739 func_opt_split_opt
=${1%%=*}
17740 func_opt_split_arg
=${1#*=}
17747 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17748 *) func_lo2o_result
=${1} ;;
17752 # func_xform libobj-or-source
17755 func_xform_result
=${1%.*}.lo
17758 # func_arith arithmetic-term...
17761 func_arith_result
=$
(( $
* ))
17765 # STRING may not start with a hyphen.
17768 func_len_result
=${#1}
17773 *) # Bourne compatible functions.
17774 cat << \_LT_EOF
>> "$cfgfile"
17776 # func_dirname file append nondir_replacement
17777 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17778 # otherwise set result to NONDIR_REPLACEMENT.
17781 # Extract subdirectory from the argument.
17782 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17783 if test "X$func_dirname_result" = "X${1}"; then
17784 func_dirname_result
="${3}"
17786 func_dirname_result
="$func_dirname_result${2}"
17790 # func_basename file
17793 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17797 # func_stripname prefix suffix name
17798 # strip PREFIX and SUFFIX off of NAME.
17799 # PREFIX and SUFFIX must not contain globbing or regex special
17800 # characters, hashes, percent signs, but SUFFIX may contain a leading
17801 # dot (in which case that matches only a dot).
17802 # func_strip_suffix prefix name
17806 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17807 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17812 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17813 my_sed_long_arg
='1s/^-[^=]*=//'
17818 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17819 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17825 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17828 # func_xform libobj-or-source
17831 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17834 # func_arith arithmetic-term...
17837 func_arith_result
=`expr "$@"`
17841 # STRING may not start with a hyphen.
17844 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17850 case $lt_shell_append in
17852 cat << \_LT_EOF
>> "$cfgfile"
17854 # func_append var value
17855 # Append VALUE to the end of shell variable VAR.
17863 cat << \_LT_EOF
>> "$cfgfile"
17865 # func_append var value
17866 # Append VALUE to the end of shell variable VAR.
17877 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17878 ||
(rm -f "$cfgfile"; exit 1)
17880 mv -f "$cfgfile" "$ofile" ||
17881 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17885 cat <<_LT_EOF >> "$ofile"
17887 # ### BEGIN LIBTOOL TAG CONFIG: GO
17889 # The linker used to build libraries.
17892 # How to create reloadable object files.
17893 reload_flag=$lt_reload_flag_GO
17894 reload_cmds=$lt_reload_cmds_GO
17896 # Commands used to build an old-style archive.
17897 old_archive_cmds=$lt_old_archive_cmds_GO
17899 # A language specific compiler.
17902 # Is the compiler the GNU compiler?
17905 # Compiler flag to turn off builtin functions.
17906 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17908 # How to pass a linker flag through the compiler.
17909 wl=$lt_lt_prog_compiler_wl_GO
17911 # Additional compiler flags for building library objects.
17912 pic_flag=$lt_lt_prog_compiler_pic_GO
17914 # Compiler flag to prevent dynamic linking.
17915 link_static_flag=$lt_lt_prog_compiler_static_GO
17917 # Does compiler simultaneously support -c and -o options?
17918 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17920 # Whether or not to add -lc for building shared libraries.
17921 build_libtool_need_lc=$archive_cmds_need_lc_GO
17923 # Whether or not to disallow shared libs when runtime libs are static.
17924 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17926 # Compiler flag to allow reflexive dlopens.
17927 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17929 # Compiler flag to generate shared objects directly from archives.
17930 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17932 # Whether the compiler copes with passing no objects directly.
17933 compiler_needs_object=$lt_compiler_needs_object_GO
17935 # Create an old-style archive from a shared archive.
17936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17938 # Create a temporary old-style archive to link instead of a shared archive.
17939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17941 # Commands used to build a shared archive.
17942 archive_cmds=$lt_archive_cmds_GO
17943 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17945 # Commands used to build a loadable module if different from building
17946 # a shared archive.
17947 module_cmds=$lt_module_cmds_GO
17948 module_expsym_cmds=$lt_module_expsym_cmds_GO
17950 # Whether we are building with GNU ld or not.
17951 with_gnu_ld=$lt_with_gnu_ld_GO
17953 # Flag that allows shared libraries with undefined symbols to be built.
17954 allow_undefined_flag=$lt_allow_undefined_flag_GO
17956 # Flag that enforces no undefined symbols.
17957 no_undefined_flag=$lt_no_undefined_flag_GO
17959 # Flag to hardcode \$libdir into a binary during linking.
17960 # This must work even if \$libdir does not exist
17961 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17963 # If ld is used when linking, flag to hardcode \$libdir into a binary
17964 # during linking. This must work even if \$libdir does not exist.
17965 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17967 # Whether we need a single "-rpath" flag with a separated argument.
17968 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17971 # DIR into the resulting binary.
17972 hardcode_direct=$hardcode_direct_GO
17974 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17975 # DIR into the resulting binary and the resulting library dependency is
17976 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17977 # library is relocated.
17978 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17980 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17981 # into the resulting binary.
17982 hardcode_minus_L=$hardcode_minus_L_GO
17984 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17985 # into the resulting binary.
17986 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17988 # Set to "yes" if building a shared library automatically hardcodes DIR
17989 # into the library and all subsequent libraries and executables linked
17991 hardcode_automatic=$hardcode_automatic_GO
17993 # Set to yes if linker adds runtime paths of dependent libraries
17994 # to runtime path list.
17995 inherit_rpath=$inherit_rpath_GO
17997 # Whether libtool must link a program against all its dependency libraries.
17998 link_all_deplibs=$link_all_deplibs_GO
18000 # Fix the shell variable \$srcfile for the compiler.
18001 fix_srcfile_path=$lt_fix_srcfile_path_GO
18003 # Set to "yes" if exported symbols are required.
18004 always_export_symbols=$always_export_symbols_GO
18006 # The commands to list exported symbols.
18007 export_symbols_cmds=$lt_export_symbols_cmds_GO
18009 # Symbols that should not be listed in the preloaded symbols.
18010 exclude_expsyms=$lt_exclude_expsyms_GO
18012 # Symbols that must always be exported.
18013 include_expsyms=$lt_include_expsyms_GO
18015 # Commands necessary for linking programs (against libraries) with templates.
18016 prelink_cmds=$lt_prelink_cmds_GO
18018 # Specify filename containing input files.
18019 file_list_spec=$lt_file_list_spec_GO
18021 # How to hardcode a shared library path into an executable.
18022 hardcode_action=$hardcode_action_GO
18024 # ### END LIBTOOL TAG CONFIG: GO
18028 "default":C
) if test -n "$CONFIG_FILES"; then
18029 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18030 # that multilib installs will end up installed in the correct place.
18031 # The testsuite needs it for multilib-aware ABI baseline files.
18032 # To work around this not being passed down from config-ml.in ->
18033 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18034 # append it here. Only modify Makefiles that have just been created.
18036 # Also, get rid of this simulated-VPATH thing that automake does.
18037 cat > vpsed
<< \_EOF
18038 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18040 for i
in $SUBDIRS; do
18041 case $CONFIG_FILES in
18043 #echo "Adding MULTISUBDIR to $i/Makefile"
18044 sed -f vpsed
$i/Makefile
> tmp
18045 grep '^MULTISUBDIR =' Makefile
>> tmp
18060 ac_clean_files
=$ac_clean_files_save
18062 test $ac_write_fail = 0 ||
18063 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18066 # configure is writing to config.log, and then calls config.status.
18067 # config.status does its own redirection, appending to config.log.
18068 # Unfortunately, on DOS this fails, as config.log is still kept open
18069 # by configure, so config.status won't be able to write to it; its
18070 # output is simply discarded. So we exec the FD to /dev/null,
18071 # effectively closing config.log, so it can be properly (re)opened and
18072 # appended to by config.status. When coming back to configure, we
18073 # need to make the FD available again.
18074 if test "$no_create" != yes; then
18076 ac_config_status_args
=
18077 test "$silent" = yes &&
18078 ac_config_status_args
="$ac_config_status_args --quiet"
18080 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18082 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18083 # would make configure fail if this is the last instruction.
18084 $ac_cs_success || as_fn_exit $?
18086 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18088 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}