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
610 HAVE_STRERROR_R_FALSE
612 HAVE_SYS_MMAN_H_FALSE
618 USING_SPLIT_STACK_FALSE
619 USING_SPLIT_STACK_TRUE
622 GO_SYSCALL_OS_ARCH_FILE
624 GO_LIBCALL_OS_ARCH_FILE
627 LIBGO_IS_X86_64_FALSE
629 LIBGO_IS_SPARC64_FALSE
630 LIBGO_IS_SPARC64_TRUE
637 LIBGO_IS_MIPSO64_FALSE
638 LIBGO_IS_MIPSO64_TRUE
639 LIBGO_IS_MIPSN64_FALSE
640 LIBGO_IS_MIPSN64_TRUE
641 LIBGO_IS_MIPSN32_FALSE
642 LIBGO_IS_MIPSN32_TRUE
643 LIBGO_IS_MIPSO32_FALSE
644 LIBGO_IS_MIPSO32_TRUE
656 LIBGO_IS_SOLARIS_FALSE
657 LIBGO_IS_SOLARIS_TRUE
664 LIBGO_IS_FREEBSD_FALSE
665 LIBGO_IS_FREEBSD_TRUE
666 LIBGO_IS_DARWIN_FALSE
670 glibgo_toolexeclibdir
699 MAINTAINER_MODE_FALSE
727 INSTALL_STRIP_PROGRAM
783 program_transform_name
796 enable_option_checking
798 enable_dependency_tracking
799 enable_maintainer_mode
806 enable_version_specific_runtime_libs
808 with_system_libunwind
809 enable_sjlj_exceptions
811 ac_precious_vars
='build_alias
818 # Initialize some variables set by options.
820 ac_init_version
=false
821 ac_unrecognized_opts
=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
832 program_transform_name
=s
,x
,x
,
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir
='${exec_prefix}/bin'
847 sbindir
='${exec_prefix}/sbin'
848 libexecdir
='${exec_prefix}/libexec'
849 datarootdir
='${prefix}/share'
850 datadir
='${datarootdir}'
851 sysconfdir
='${prefix}/etc'
852 sharedstatedir
='${prefix}/com'
853 localstatedir
='${prefix}/var'
854 includedir
='${prefix}/include'
855 oldincludedir
='/usr/include'
856 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
857 infodir
='${datarootdir}/info'
862 libdir
='${exec_prefix}/lib'
863 localedir
='${datarootdir}/locale'
864 mandir
='${datarootdir}/man'
870 # If the previous option needs an argument, assign it.
871 if test -n "$ac_prev"; then
872 eval $ac_prev=\
$ac_option
878 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 # Accept the important Cygnus configure options, so we can diagnose typos.
884 case $ac_dashdash$ac_option in
888 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
890 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
893 -build |
--build |
--buil |
--bui |
--bu)
894 ac_prev
=build_alias
;;
895 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
896 build_alias
=$ac_optarg ;;
898 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
899 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
900 ac_prev
=cache_file
;;
901 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
902 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
903 cache_file
=$ac_optarg ;;
906 cache_file
=config.cache
;;
908 -datadir |
--datadir |
--datadi |
--datad)
910 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
911 datadir
=$ac_optarg ;;
913 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
914 |
--dataroo |
--dataro |
--datar)
915 ac_prev
=datarootdir
;;
916 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
917 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
918 datarootdir
=$ac_optarg ;;
920 -disable-* |
--disable-*)
921 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
924 as_fn_error
"invalid feature name: $ac_useropt"
925 ac_useropt_orig
=$ac_useropt
926 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
932 ac_unrecognized_sep
=', ';;
934 eval enable_
$ac_useropt=no
;;
936 -docdir |
--docdir |
--docdi |
--doc |
--do)
938 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
941 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
943 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
946 -enable-* |
--enable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=\
$ac_optarg ;;
962 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
963 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
964 |
--exec |
--exe |
--ex)
965 ac_prev
=exec_prefix
;;
966 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
967 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
968 |
--exec=* |
--exe=* |
--ex=*)
969 exec_prefix
=$ac_optarg ;;
971 -gas |
--gas |
--ga |
--g)
972 # Obsolete; use --with-gas.
975 -help |
--help |
--hel |
--he |
-h)
977 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
978 ac_init_help
=recursive
;;
979 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
980 ac_init_help
=short
;;
982 -host |
--host |
--hos |
--ho)
983 ac_prev
=host_alias
;;
984 -host=* |
--host=* |
--hos=* |
--ho=*)
985 host_alias
=$ac_optarg ;;
987 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
989 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
991 htmldir
=$ac_optarg ;;
993 -includedir |
--includedir |
--includedi |
--included |
--include \
994 |
--includ |
--inclu |
--incl |
--inc)
995 ac_prev
=includedir
;;
996 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
997 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
998 includedir
=$ac_optarg ;;
1000 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1002 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1003 infodir
=$ac_optarg ;;
1005 -libdir |
--libdir |
--libdi |
--libd)
1007 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1008 libdir
=$ac_optarg ;;
1010 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1011 |
--libexe |
--libex |
--libe)
1012 ac_prev
=libexecdir
;;
1013 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1014 |
--libexe=* |
--libex=* |
--libe=*)
1015 libexecdir
=$ac_optarg ;;
1017 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1018 ac_prev
=localedir
;;
1019 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1020 localedir
=$ac_optarg ;;
1022 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1023 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1024 ac_prev
=localstatedir
;;
1025 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1026 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1027 localstatedir
=$ac_optarg ;;
1029 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1031 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1032 mandir
=$ac_optarg ;;
1034 -nfp |
--nfp |
--nf)
1035 # Obsolete; use --without-fp.
1038 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1039 |
--no-cr |
--no-c |
-n)
1042 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1043 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1046 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1047 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1048 |
--oldin |
--oldi |
--old |
--ol |
--o)
1049 ac_prev
=oldincludedir
;;
1050 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1051 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1052 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1053 oldincludedir
=$ac_optarg ;;
1055 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1057 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1058 prefix
=$ac_optarg ;;
1060 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1061 |
--program-pre |
--program-pr |
--program-p)
1062 ac_prev
=program_prefix
;;
1063 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1064 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1065 program_prefix
=$ac_optarg ;;
1067 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1068 |
--program-suf |
--program-su |
--program-s)
1069 ac_prev
=program_suffix
;;
1070 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1071 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1072 program_suffix
=$ac_optarg ;;
1074 -program-transform-name |
--program-transform-name \
1075 |
--program-transform-nam |
--program-transform-na \
1076 |
--program-transform-n |
--program-transform- \
1077 |
--program-transform |
--program-transfor \
1078 |
--program-transfo |
--program-transf \
1079 |
--program-trans |
--program-tran \
1080 |
--progr-tra |
--program-tr |
--program-t)
1081 ac_prev
=program_transform_name
;;
1082 -program-transform-name=* |
--program-transform-name=* \
1083 |
--program-transform-nam=* |
--program-transform-na=* \
1084 |
--program-transform-n=* |
--program-transform-=* \
1085 |
--program-transform=* |
--program-transfor=* \
1086 |
--program-transfo=* |
--program-transf=* \
1087 |
--program-trans=* |
--program-tran=* \
1088 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1089 program_transform_name
=$ac_optarg ;;
1091 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1093 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1094 pdfdir
=$ac_optarg ;;
1096 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1098 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1101 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1102 |
-silent |
--silent |
--silen |
--sile |
--sil)
1105 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1107 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1109 sbindir
=$ac_optarg ;;
1111 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1112 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1113 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1115 ac_prev
=sharedstatedir
;;
1116 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1117 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1118 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1120 sharedstatedir
=$ac_optarg ;;
1122 -site |
--site |
--sit)
1124 -site=* |
--site=* |
--sit=*)
1127 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1129 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1130 srcdir
=$ac_optarg ;;
1132 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1133 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1134 ac_prev
=sysconfdir
;;
1135 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1136 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1137 sysconfdir
=$ac_optarg ;;
1139 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1140 ac_prev
=target_alias
;;
1141 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1142 target_alias
=$ac_optarg ;;
1144 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1147 -version |
--version |
--versio |
--versi |
--vers |
-V)
1148 ac_init_version
=: ;;
1151 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=\
$ac_optarg ;;
1166 -without-* |
--without-*)
1167 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=no
;;
1183 # Obsolete; use --with-x.
1186 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1187 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1188 ac_prev
=x_includes
;;
1189 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1190 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1191 x_includes
=$ac_optarg ;;
1193 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1194 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1195 ac_prev
=x_libraries
;;
1196 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1197 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1198 x_libraries
=$ac_optarg ;;
1200 -*) as_fn_error
"unrecognized option: \`$ac_option'
1201 Try \`$0 --help' for more information."
1205 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1206 # Reject names that are not valid shell variable names.
1207 case $ac_envvar in #(
1208 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1209 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1211 eval $ac_envvar=\
$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1225 if test -n "$ac_prev"; then
1226 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1227 as_fn_error
"missing argument to $ac_option"
1230 if test -n "$ac_unrecognized_opts"; then
1231 case $enable_option_checking in
1233 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1234 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238 # Check all directory arguments for consistency.
1239 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240 datadir sysconfdir sharedstatedir localstatedir includedir \
1241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242 libdir localedir mandir
1244 eval ac_val
=\$
$ac_var
1245 # Remove trailing slashes.
1248 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249 eval $ac_var=\
$ac_val;;
1251 # Be sure to have absolute directory names.
1253 [\\/$
]* | ?
:[\\/]* ) continue;;
1254 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1256 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1259 # There might be people who depend on the old broken behavior: `$host'
1260 # used to hold the argument of --host etc.
1261 # FIXME: To remove some day.
1264 target
=$target_alias
1266 # FIXME: To remove some day.
1267 if test "x$host_alias" != x
; then
1268 if test "x$build_alias" = x
; then
1269 cross_compiling
=maybe
1270 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1271 If a cross compiler is detected then cross compile mode will be used." >&2
1272 elif test "x$build_alias" != "x$host_alias"; then
1278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1280 test "$silent" = yes && exec 6>/dev
/null
1283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di
=`ls -di .` &&
1285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error
"working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error
"pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted
=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir
=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1323 ac_srcdir_defaulted
=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1327 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 for ac_var
in $ac_precious_vars; do
1344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1351 # Report the --help message.
1353 if test "$ac_init_help" = "long"; then
1354 # Omit some internal or obsolete options to make the list less imposing.
1355 # This message is too long to be a string in the A/UX 3.1 sh.
1357 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE. See below for descriptions of some of the useful variables.
1364 Defaults for the options are specified in brackets.
1367 -h, --help display this help and exit
1368 --help=short display options specific to this package
1369 --help=recursive display the short help of all the included packages
1370 -V, --version display version information and exit
1371 -q, --quiet, --silent do not print \`checking...' messages
1372 --cache-file=FILE cache test results in FILE [disabled]
1373 -C, --config-cache alias for \`--cache-file=config.cache'
1374 -n, --no-create do not create output files
1375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377 Installation directories:
1378 --prefix=PREFIX install architecture-independent files in PREFIX
1379 [$ac_default_prefix]
1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1388 For better control, use the options below.
1390 Fine tuning of the installation directories:
1391 --bindir=DIR user executables [EPREFIX/bin]
1392 --sbindir=DIR system admin executables [EPREFIX/sbin]
1393 --libexecdir=DIR program executables [EPREFIX/libexec]
1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --libdir=DIR object code libraries [EPREFIX/lib]
1398 --includedir=DIR C header files [PREFIX/include]
1399 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1402 --infodir=DIR info documentation [DATAROOTDIR/info]
1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1404 --mandir=DIR man documentation [DATAROOTDIR/man]
1405 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1406 --htmldir=DIR html documentation [DOCDIR]
1407 --dvidir=DIR dvi documentation [DOCDIR]
1408 --pdfdir=DIR pdf documentation [DOCDIR]
1409 --psdir=DIR ps documentation [DOCDIR]
1415 --program-prefix=PREFIX prepend PREFIX to installed program names
1416 --program-suffix=SUFFIX append SUFFIX to installed program names
1417 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1420 --build=BUILD configure
for building on BUILD
[guessed
]
1421 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1422 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive
) echo "Configuration of package-unused version-unused:";;
1433 --disable-option-checking ignore unrecognized
--enable/--with options
1434 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1435 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1436 --enable-multilib build many library versions
(default
)
1437 --disable-dependency-tracking speeds up one-time build
1438 --enable-dependency-tracking do not reject slow dependency extractors
1439 --enable-maintainer-mode enable make rules and dependencies not useful
1440 (and sometimes confusing
) to the casual installer
1441 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1442 --enable-static[=PKGS
] build static libraries
[default
=yes]
1443 --enable-fast-install[=PKGS
]
1444 optimize
for fast installation
[default
=yes]
1445 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1446 --enable-version-specific-runtime-libs
1447 Specify that runtime libraries should be installed
1448 in a compiler-specific directory
1449 --enable-sjlj-exceptions
1450 force use of builtin_setjmp
for exceptions
1453 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1454 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1455 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1458 --without-libffi don
't use libffi
1459 --with-system-libunwind use installed libunwind
1461 Some influential environment variables:
1462 CC C compiler command
1463 CFLAGS C compiler flags
1464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1465 nonstandard directory <lib dir>
1466 LIBS libraries to pass to the linker, e.g. -l<library>
1467 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1468 you have headers in a nonstandard directory <include dir>
1469 GOC Go compiler command
1470 GOCFLAGS Go compiler flags
1473 Use these variables to override the choices made by `configure' or to
help
1474 it to
find libraries and programs with nonstandard names
/locations.
1476 Report bugs to the package provider.
1481 if test "$ac_init_help" = "recursive"; then
1482 # If there are subdirs, report their specific --help.
1483 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1484 test -d "$ac_dir" ||
1485 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1490 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1492 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1493 # A ".." for each directory in $ac_dir_suffix.
1494 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1495 case $ac_top_builddir_sub in
1496 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1497 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1500 ac_abs_top_builddir
=$ac_pwd
1501 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1502 # for backward compatibility:
1503 ac_top_builddir
=$ac_top_build_prefix
1506 .
) # We are building in place.
1508 ac_top_srcdir
=$ac_top_builddir_sub
1509 ac_abs_top_srcdir
=$ac_pwd ;;
1510 [\\/]* | ?
:[\\/]* ) # Absolute name.
1511 ac_srcdir
=$srcdir$ac_dir_suffix;
1512 ac_top_srcdir
=$srcdir
1513 ac_abs_top_srcdir
=$srcdir ;;
1515 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1516 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1517 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1519 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1521 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1522 # Check for guested configure.
1523 if test -f "$ac_srcdir/configure.gnu"; then
1525 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1526 elif test -f "$ac_srcdir/configure"; then
1528 $SHELL "$ac_srcdir/configure" --help=recursive
1530 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1532 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1536 test -n "$ac_init_help" && exit $ac_status
1537 if $ac_init_version; then
1539 package-unused configure version-unused
1540 generated by GNU Autoconf
2.64
1542 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1543 This configure
script is free software
; the Free Software Foundation
1544 gives unlimited permission to copy
, distribute and modify it.
1549 ## ------------------------ ##
1550 ## Autoconf initialization. ##
1551 ## ------------------------ ##
1553 # ac_fn_c_try_compile LINENO
1554 # --------------------------
1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1556 ac_fn_c_try_compile
()
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 rm -f conftest.
$ac_objext
1560 if { { ac_try
="$ac_compile"
1562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_compile") 2>conftest.err
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && {
1576 test -z "$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1578 } && test -s conftest.$ac_objext; then :
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1586 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1589 } # ac_fn_c_try_compile
1591 # ac_fn_c_try_link LINENO
1592 # -----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded.
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext conftest$ac_exeext
1598 if { { ac_try="$ac_link"
1600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1601 *) ac_try_echo
=$ac_try;;
1603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_link") 2>conftest.err
1607 if test -s conftest.err
; then
1608 grep -v '^ *+' conftest.err
>conftest.er1
1609 cat conftest.er1
>&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest
$ac_exeext && {
1617 test "$cross_compiling" = yes ||
1618 $as_test_x conftest
$ac_exeext
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.
$ac_ext >&5
1627 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1628 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1629 # interfere with the next link command; also delete a directory that is
1630 # left behind by Apple's compiler. We do this before executing the actions.
1631 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1635 } # ac_fn_c_try_link
1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638 # -------------------------------------------------------
1639 # Tests whether HEADER exists and can be compiled using the include files in
1640 # INCLUDES, setting the cache variable VAR accordingly.
1641 ac_fn_c_check_header_compile
()
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 $as_echo_n "(cached) " >&6
1649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1654 if ac_fn_c_try_compile
"$LINENO"; then :
1659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1666 } # ac_fn_c_check_header_compile
1668 # ac_fn_c_try_cpp LINENO
1669 # ----------------------
1670 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1674 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } >/dev/null && {
1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 # ac_fn_c_try_run LINENO
1706 # ----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708 # that executables *can* be run.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1723 { { case "(($ac_try" in
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_try") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; }; }; then :
1735 $as_echo "$as_me: program exited with status $ac_status" >&5
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1739 ac_retval=$ac_status
1741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 # ac_fn_c_check_func LINENO FUNC VAR
1748 # ----------------------------------
1749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1750 ac_fn_c_check_func ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1756 $as_echo_n "(cached) " >&6
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1760 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1762 #define $2 innocuous_$2
1764 /* System header to define __stub macros and hopefully few prototypes,
1765 which can conflict with char $2 (); below.
1766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1767 <limits.h> exists even on freestanding compilers. */
1770 # include <limits.h>
1772 # include <assert.h>
1777 /* Override any GCC internal prototype to avoid an error.
1778 Use char because int might match the return type of a GCC
1779 builtin and then its argument prototype would still apply. */
1784 /* The GNU C library defines this for functions which it implements
1785 to always fail with ENOSYS. Some functions are actually named
1786 something starting with __ and the normal name is an alias. */
1787 #if defined __stub_$2 || defined __stub___$2
1799 if ac_fn_c_try_link "$LINENO"; then :
1804 rm -f core conftest.err conftest.$ac_objext \
1805 conftest$ac_exeext conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_c_check_func
1814 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1815 # -------------------------------------------------------
1816 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1817 # the include files in INCLUDES and setting the cache variable VAR
1819 ac_fn_c_check_header_mongrel ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1826 $as_echo_n "(cached) " >&6
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1832 # Is the header compilable?
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1834 $as_echo_n "checking $2 usability... " >&6; }
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841 ac_header_compiler=yes
1843 ac_header_compiler=no
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1847 $as_echo "$ac_header_compiler" >&6; }
1849 # Is the header present?
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1851 $as_echo_n "checking $2 presence... " >&6; }
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1856 if ac_fn_c_try_cpp "$LINENO"; then :
1857 ac_header_preproc=yes
1859 ac_header_preproc=no
1861 rm -f conftest.err conftest.$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1863 $as_echo "$ac_header_preproc" >&6; }
1865 # So? What about this header?
1866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1869 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1871 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1875 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1877 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1879 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1881 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1883 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 $as_echo_n "(cached) " >&6
1891 eval "$3=\$ac_header_compiler"
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_c_check_header_mongrel
1901 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1902 # -------------------------------------------
1903 # Tests whether TYPE exists after having included INCLUDES, setting cache
1904 # variable VAR accordingly.
1905 ac_fn_c_check_type ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1911 $as_echo_n "(cached) " >&6
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1926 if ac_fn_c_try_compile "$LINENO"; then :
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1939 if ac_fn_c_try_compile "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 } # ac_fn_c_check_type
1955 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1956 # --------------------------------------------
1957 # Tries to find the compile-time value of EXPR in a program that includes
1958 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1960 ac_fn_c_compute_int ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 if test "$cross_compiling" = yes; then
1964 # Depending upon the size, compute the lo and hi bounds.
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1971 static int test_array [1 - 2 * !(($2) >= 0)];
1978 if ac_fn_c_try_compile "$LINENO"; then :
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1987 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995 ac_hi=$ac_mid; break
1997 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998 if test $ac_lo -le $ac_mid; then
2002 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2013 static int test_array [1 - 2 * !(($2) < 0)];
2020 if ac_fn_c_try_compile "$LINENO"; then :
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2029 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2036 if ac_fn_c_try_compile "$LINENO"; then :
2037 ac_lo=$ac_mid; break
2039 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2040 if test $ac_mid -le $ac_hi; then
2044 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 # Binary search between lo and hi bounds.
2055 while test "x$ac_lo" != "x$ac_hi"; do
2056 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2063 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2070 if ac_fn_c_try_compile "$LINENO"; then :
2073 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2085 static long int longval () { return $2; }
2086 static unsigned long int ulongval () { return $2; }
2093 FILE *f = fopen ("conftest.val", "w");
2098 long int i = longval ();
2101 fprintf (f, "%ld", i);
2105 unsigned long int i = ulongval ();
2108 fprintf (f, "%lu", i);
2110 /* Do not output a trailing newline, as this causes \r\n confusion
2111 on some platforms. */
2112 return ferror (f) || fclose (f) != 0;
2118 if ac_fn_c_try_run "$LINENO"; then :
2119 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2124 conftest.$ac_objext conftest.beam conftest.$ac_ext
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131 } # ac_fn_c_compute_int
2132 cat >config.log <<_ACEOF
2133 This file contains any messages produced by compilers while
2134 running configure, to aid debugging if configure makes a mistake.
2136 It was created by package-unused $as_me version-unused, which was
2137 generated by GNU Autoconf 2.64. Invocation command line was
2149 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2150 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2151 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2152 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2153 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2155 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2156 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2158 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2159 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2160 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2161 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2162 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2163 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2164 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 $as_echo "PATH: $as_dir"
2189 # Keep a trace of the command line.
2190 # Strip out --no-create and --no-recursion so they do not pile up.
2191 # Strip out --silent because we don't want to record it for future runs.
2192 # Also quote any args containing shell meta-characters.
2193 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_must_keep_next=false
2203 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2205 | -silent | --silent | --silen | --sile | --sil)
2208 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2211 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2213 as_fn_append ac_configure_args1 " '$ac_arg'"
2214 if test $ac_must_keep_next = true; then
2215 ac_must_keep_next=false # Got value, back to normal.
2218 *=* | --config-cache | -C | -disable-* | --disable-* \
2219 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2220 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2221 | -with-* | --with-* | -without-* | --without-* | --x)
2222 case "$ac_configure_args0 " in
2223 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2226 -* ) ac_must_keep_next=true ;;
2229 as_fn_append ac_configure_args " '$ac_arg'"
2234 { ac_configure_args0=; unset ac_configure_args0;}
2235 { ac_configure_args1=; unset ac_configure_args1;}
2237 # When interrupted or exit'd, cleanup temporary files, and complete
2238 # config.log. We remove comments because anyway the quotes in there
2239 # would cause problems or look ugly.
2240 # WARNING: Use '\'' to represent an apostrophe within the trap.
2241 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242 trap 'exit_status=$?
2243 # Save into config.log some information that might help in debugging.
2248 ## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##
2253 # The following way of writing the cache mishandles newlines in values,
2255 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2256 eval ac_val=\$$ac_var
2260 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264 _ | IFS | as_nl) ;; #(
2265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266 *) { eval $ac_var=; unset $ac_var;} ;;
2271 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2272 *${as_nl}ac_space=\ *)
2274 "s/'\''/'\''\\\\'\'''\''/g;
2275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2286 ## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##
2291 for ac_var in $ac_subst_vars
2293 eval ac_val=\$$ac_var
2295 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297 $as_echo "$ac_var='\''$ac_val'\''"
2301 if test -n "$ac_subst_files"; then
2303 ## ------------------- ##
2304 ## File substitutions. ##
2305 ## ------------------- ##
2308 for ac_var in $ac_subst_files
2310 eval ac_val=\$$ac_var
2312 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2314 $as_echo "$ac_var='\''$ac_val'\''"
2319 if test -s confdefs.h; then
2329 test "$ac_signal" != 0 &&
2330 $as_echo "$as_me: caught signal $ac_signal"
2331 $as_echo "$as_me: exit $exit_status"
2333 rm -f core *.core core.conftest.* &&
2334 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2337 for ac_signal in 1 2 13 15; do
2338 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2343 rm -f -r conftest* confdefs.h
2345 $as_echo "/* confdefs.h */" > confdefs.h
2347 # Predefined preprocessor variables.
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_NAME "$PACKAGE_NAME"
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_STRING "$PACKAGE_STRING"
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2369 cat >>confdefs.h <<_ACEOF
2370 #define PACKAGE_URL "$PACKAGE_URL"
2374 # Let the site file select an alternate cache file if it wants to.
2375 # Prefer an explicitly selected file to automatically selected ones.
2378 if test -n "$CONFIG_SITE"; then
2379 ac_site_file1=$CONFIG_SITE
2380 elif test "x$prefix" != xNONE; then
2381 ac_site_file1=$prefix/share/config.site
2382 ac_site_file2=$prefix/etc/config.site
2384 ac_site_file1=$ac_default_prefix/share/config.site
2385 ac_site_file2=$ac_default_prefix/etc/config.site
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389 test "x$ac_site_file" = xNONE && continue
2390 if test -r "$ac_site_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393 sed 's/^/| /' "$ac_site_file" >&5
2398 if test -r "$cache_file"; then
2399 # Some versions of bash will fail to source /dev/null (special
2400 # files actually), so we avoid doing that.
2401 if test -f "$cache_file"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403 $as_echo "$as_me: loading cache $cache_file" >&6;}
2405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406 *) . "./$cache_file";;
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411 $as_echo "$as_me: creating cache $cache_file" >&6;}
2415 # Check that the precious variables saved in the cache have kept the same
2417 ac_cache_corrupted=false
2418 for ac_var in $ac_precious_vars; do
2419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420 eval ac_new_set=\$ac_env_${ac_var}_set
2421 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422 eval ac_new_val=\$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2426 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted=: ;;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2430 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w=`echo x
$ac_old_val`
2437 ac_new_val_w=`echo x
$ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2441 ac_cache_corrupted=:
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\$ac_old_val
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2456 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2457 *) ac_arg=$ac_var=$ac_new_val ;;
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2465 if $ac_cache_corrupted; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 ac_config_headers="$ac_config_headers config.h"
2490 libtool_VERSION=1:0:0
2493 # Default to --enable-multilib
2494 # Check whether --enable-multilib was given.
2495 if test "${enable_multilib+set}" = set; then :
2496 enableval=$enable_multilib; case "$enableval" in
2497 yes) multilib=yes ;;
2499 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2506 # We may get other options which we leave undocumented:
2507 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2508 # See config-ml.in if you want the gory details.
2510 if test "$srcdir" = "."; then
2511 if test "$with_target_subdir" != "."; then
2512 multi_basedir="$srcdir/$with_multisrctop../.."
2514 multi_basedir="$srcdir/$with_multisrctop.."
2517 multi_basedir="$srcdir/.."
2521 # Even if the default multilib is not a cross compilation,
2522 # it may be that some of the other multilibs are.
2523 if test $cross_compiling = no && test $multilib = yes \
2524 && test "x${with_multisubdir}" != x ; then
2525 cross_compiling=maybe
2528 ac_config_commands="$ac_config_commands default-1"
2532 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2533 for ac_t in install-sh install.sh shtool; do
2534 if test -f "$ac_dir/$ac_t"; then
2536 ac_install_sh="$ac_aux_dir/$ac_t -c"
2541 if test -z "$ac_aux_dir"; then
2542 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2545 # These three variables are undocumented and unsupported,
2546 # and are intended to be withdrawn in a future Autoconf release.
2547 # They can cause serious problems if a builder's source tree is in a directory
2548 # whose full name contains unusual characters.
2549 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2550 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2551 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2554 # Make sure we can run config.sub.
2555 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2556 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2559 $as_echo_n "checking build system type... " >&6; }
2560 if test "${ac_cv_build+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 ac_build_alias=$build_alias
2564 test "x$ac_build_alias" = x &&
2565 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2566 test "x$ac_build_alias" = x &&
2567 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2568 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2573 $as_echo "$ac_cv_build" >&6; }
2574 case $ac_cv_build in
2576 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2579 ac_save_IFS=$IFS; IFS='-'
2585 # Remember, the first character of IFS is used to create $*,
2586 # except with old shells:
2589 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2593 $as_echo_n "checking host system type... " >&6; }
2594 if test "${ac_cv_host+set}" = set; then :
2595 $as_echo_n "(cached) " >&6
2597 if test "x$host_alias" = x; then
2598 ac_cv_host=$ac_cv_build
2600 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2601 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2606 $as_echo "$ac_cv_host" >&6; }
2609 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2612 ac_save_IFS=$IFS; IFS='-'
2618 # Remember, the first character of IFS is used to create $*,
2619 # except with old shells:
2622 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2626 $as_echo_n "checking target system type... " >&6; }
2627 if test "${ac_cv_target+set}" = set; then :
2628 $as_echo_n "(cached) " >&6
2630 if test "x$target_alias" = x; then
2631 ac_cv_target=$ac_cv_host
2633 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2634 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2639 $as_echo "$ac_cv_target" >&6; }
2640 case $ac_cv_target in
2642 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2644 target=$ac_cv_target
2645 ac_save_IFS=$IFS; IFS='-'
2651 # Remember, the first character of IFS is used to create $*,
2652 # except with old shells:
2655 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2658 # The aliases save the names the user supplied, while $host etc.
2659 # will get canonicalized.
2660 test -n "$target_alias" &&
2661 test "$program_prefix$program_suffix$program_transform_name" = \
2663 program_prefix=${target_alias}-
2665 target_alias=${target_alias-$host_alias}
2667 am__api_version='1.11'
2669 # Find a good install program. We prefer a C program (faster),
2670 # so one script is as good as another. But avoid the broken or
2671 # incompatible versions:
2672 # SysV /etc/install, /usr/sbin/install
2673 # SunOS /usr/etc/install
2674 # IRIX /sbin/install
2676 # AmigaOS /C/install, which installs bootblocks on floppy discs
2677 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2678 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2679 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2680 # OS/2's system install, which has a completely different semantic
2681 # ./install, which can be erroneously created by make from ./install.sh.
2682 # Reject install programs that cannot install multiple files.
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2684 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2685 if test -z "$INSTALL"; then
2686 if test "${ac_cv_path_install+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 # Account for people who put trailing slashes in PATH elements.
2695 case $as_dir/ in #((
2696 ./ | .// | /[cC]/* | \
2697 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2698 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2701 # OSF1 and SCO ODT 3.0 have their own names for install.
2702 # Don't use installbsd from OSF since it installs stuff as root
2704 for ac_prog in ginstall scoinst install; do
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2707 if test $ac_prog = install &&
2708 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2709 # AIX install. It has an incompatible calling convention.
2711 elif test $ac_prog = install &&
2712 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2713 # program-specific install script used by HP pwplus--don't use.
2716 rm -rf conftest.one conftest.two conftest.dir
2717 echo one > conftest.one
2718 echo two > conftest.two
2720 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2721 test -s conftest.one && test -s conftest.two &&
2722 test -s conftest.dir/conftest.one &&
2723 test -s conftest.dir/conftest.two
2725 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2738 rm -rf conftest.one conftest.two conftest.dir
2741 if test "${ac_cv_path_install+set}" = set; then
2742 INSTALL=$ac_cv_path_install
2744 # As a last resort, use the slow shell script. Don't cache a
2745 # value for INSTALL within a source directory, because that will
2746 # break other packages using the cache if that directory is
2747 # removed, or if the value is a relative name.
2748 INSTALL=$ac_install_sh
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2752 $as_echo "$INSTALL" >&6; }
2754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2755 # It thinks the first close brace ends the variable substitution.
2756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2763 $as_echo_n "checking whether build environment is sane... " >&6; }
2766 echo timestamp > conftest.file
2767 # Reject unsafe characters in $srcdir or the absolute working directory
2768 # name. Accept space and tab only in the latter.
2772 *[\\\"\#\$\&\'\`$am_lf]*)
2773 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2776 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2777 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2780 # Do `set' in a subshell so we don't clobber the current shell's
2781 # arguments. Must try -L first in case configure is actually a
2782 # symlink; some systems play weird games with the mod time of symlinks
2783 # (eg FreeBSD returns the mod time of the symlink's containing
2786 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2787 if test "$*" = "X"; then
2789 set X
`ls -t "$srcdir/configure" conftest.file`
2792 if test "$*" != "X $srcdir/configure conftest.file" \
2793 && test "$*" != "X conftest.file $srcdir/configure"; then
2795 # If neither matched, then we have a broken ls. This can happen
2796 # if, for instance, CONFIG_SHELL is bash and it inherits a
2797 # broken ls alias from the environment. This has actually
2798 # happened. Such a system could not be considered "sane".
2799 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2800 alias in your environment" "$LINENO" 5
2803 test "$2" = conftest.
file
2809 as_fn_error
"newly created file is older than distributed files!
2810 Check your system clock" "$LINENO" 5
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813 $as_echo "yes" >&6; }
2814 test "$program_prefix" != NONE
&&
2815 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2816 # Use a double $ so make ignores it.
2817 test "$program_suffix" != NONE
&&
2818 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2819 # Double any \ or $.
2820 # By default was `s,x,x', remove it if useless.
2821 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2822 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2824 # expand $ac_aux_dir to an absolute path
2825 am_aux_dir
=`cd $ac_aux_dir && pwd`
2827 if test x
"${MISSING+set}" != xset
; then
2830 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2832 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2835 # Use eval to expand $SHELL
2836 if eval "$MISSING --run true"; then
2837 am_missing_run
="$MISSING --run "
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2841 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2844 if test x
"${install_sh}" != xset
; then
2847 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2849 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2853 # Installed binaries are usually stripped using `strip' when the user
2854 # run `make install-strip'. However `strip' might not be the right
2855 # tool to use in cross-compilation environments, therefore Automake
2856 # will honor the `STRIP' environment variable to overrule this program.
2857 if test "$cross_compiling" != no
; then
2858 if test -n "$ac_tool_prefix"; then
2859 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2860 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if test "${ac_cv_prog_STRIP+set}" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$STRIP"; then
2867 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir
=.
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 STRIP
=$ac_cv_prog_STRIP
2887 if test -n "$STRIP"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2889 $as_echo "$STRIP" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2897 if test -z "$ac_cv_prog_STRIP"; then
2899 # Extract the first word of "strip", so it can be a program name with args.
2900 set dummy strip
; ac_word
=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2904 $as_echo_n "(cached) " >&6
2906 if test -n "$ac_ct_STRIP"; then
2907 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 for ac_exec_ext
in '' $ac_executable_extensions; do
2915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2916 ac_cv_prog_ac_ct_STRIP
="strip"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2927 if test -n "$ac_ct_STRIP"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2929 $as_echo "$ac_ct_STRIP" >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2935 if test "x$ac_ct_STRIP" = x
; then
2938 case $cross_compiling:$ac_tool_warned in
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2942 ac_tool_warned
=yes ;;
2947 STRIP
="$ac_cv_prog_STRIP"
2951 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2954 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2955 if test -z "$MKDIR_P"; then
2956 if test "${ac_cv_path_mkdir+set}" = set; then :
2957 $as_echo_n "(cached) " >&6
2959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2960 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2963 test -z "$as_dir" && as_dir
=.
2964 for ac_prog
in mkdir gmkdir
; do
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2967 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2968 'mkdir (GNU coreutils) '* | \
2969 'mkdir (coreutils) '* | \
2970 'mkdir (fileutils) '4.1*)
2971 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2981 if test "${ac_cv_path_mkdir+set}" = set; then
2982 MKDIR_P
="$ac_cv_path_mkdir -p"
2984 # As a last resort, use the slow shell script. Don't cache a
2985 # value for MKDIR_P within a source directory, because that will
2986 # break other packages using the cache if that directory is
2987 # removed, or if the value is a relative name.
2988 test -d .
/--version && rmdir .
/--version
2989 MKDIR_P
="$ac_install_sh -d"
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2993 $as_echo "$MKDIR_P" >&6; }
2997 [\\/$
]* | ?
:[\\/]*) ;;
2998 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3001 for ac_prog
in gawk mawk nawk
awk
3003 # Extract the first word of "$ac_prog", so it can be a program name with args.
3004 set dummy
$ac_prog; ac_word
=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if test "${ac_cv_prog_AWK+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$AWK"; then
3011 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir
=.
3018 for ac_exec_ext
in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 ac_cv_prog_AWK
="$ac_prog"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test -n "$AWK"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3033 $as_echo "$AWK" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3040 test -n "$AWK" && break
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3044 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3046 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3047 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3048 $as_echo_n "(cached) " >&6
3050 cat >conftest.
make <<\_ACEOF
3053 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3058 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3060 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3064 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3066 $as_echo "yes" >&6; }
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3071 SET_MAKE
="MAKE=${MAKE-make}"
3074 rm -rf .tst
2>/dev
/null
3075 mkdir .tst
2>/dev
/null
3076 if test -d .tst
; then
3081 rmdir .tst
2>/dev
/null
3083 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3084 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3085 # is not polluted with repeated "-I."
3086 am__isrc
=' -I$(srcdir)'
3087 # test to see if srcdir already configured
3088 if test -f $srcdir/config.status
; then
3089 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3093 # test whether we have cygpath
3094 if test -z "$CYGPATH_W"; then
3095 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3096 CYGPATH_W
='cygpath -w'
3103 # Define the identity of the package.
3105 VERSION
='version-unused'
3108 # Some tools Automake needs.
3110 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3113 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3116 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3119 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3122 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3124 # We need awk for the "check" target. The system "awk" is bad on
3126 # Always define AMTAR for backward compatibility.
3128 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3130 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3142 ac_cpp
='$CPP $CPPFLAGS'
3143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3146 if test -n "$ac_tool_prefix"; then
3147 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3148 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if test "${ac_cv_prog_CC+set}" = set; then :
3152 $as_echo_n "(cached) " >&6
3154 if test -n "$CC"; then
3155 ac_cv_prog_CC
="$CC" # Let the user override the test.
3157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir
=.
3162 for ac_exec_ext
in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 if test -n "$CC"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3177 $as_echo "$CC" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3185 if test -z "$ac_cv_prog_CC"; then
3187 # Extract the first word of "gcc", so it can be a program name with args.
3188 set dummy gcc
; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$ac_ct_CC"; then
3195 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_ac_ct_CC
="gcc"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217 $as_echo "$ac_ct_CC" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3223 if test "x$ac_ct_CC" = x
; then
3226 case $cross_compiling:$ac_tool_warned in
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3230 ac_tool_warned
=yes ;;
3238 if test -z "$CC"; then
3239 if test -n "$ac_tool_prefix"; then
3240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3241 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if test "${ac_cv_prog_CC+set}" = set; then :
3245 $as_echo_n "(cached) " >&6
3247 if test -n "$CC"; then
3248 ac_cv_prog_CC
="$CC" # Let the user override the test.
3250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir
=.
3255 for ac_exec_ext
in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 if test -n "$CC"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270 $as_echo "$CC" >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3279 if test -z "$CC"; then
3280 # Extract the first word of "cc", so it can be a program name with args.
3281 set dummy cc
; ac_word
=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if test "${ac_cv_prog_CC+set}" = set; then :
3285 $as_echo_n "(cached) " >&6
3287 if test -n "$CC"; then
3288 ac_cv_prog_CC
="$CC" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3299 ac_prog_rejected
=yes
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 if test $ac_prog_rejected = yes; then
3311 # We found a bogon in the path, so make sure we never use it.
3312 set dummy
$ac_cv_prog_CC
3314 if test $# != 0; then
3315 # We chose a different compiler from the bogus one.
3316 # However, it has the same basename, so the bogon will be chosen
3317 # first if we set CC to just the basename; use the full file name.
3319 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3325 if test -n "$CC"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3327 $as_echo "$CC" >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3335 if test -z "$CC"; then
3336 if test -n "$ac_tool_prefix"; then
3337 for ac_prog
in cl.exe
3339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3340 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if test "${ac_cv_prog_CC+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3346 if test -n "$CC"; then
3347 ac_cv_prog_CC
="$CC" # Let the user override the test.
3349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir
=.
3354 for ac_exec_ext
in '' $ac_executable_extensions; do
3355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 if test -n "$CC"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3369 $as_echo "$CC" >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3376 test -n "$CC" && break
3379 if test -z "$CC"; then
3381 for ac_prog
in cl.exe
3383 # Extract the first word of "$ac_prog", so it can be a program name with args.
3384 set dummy
$ac_prog; ac_word
=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3390 if test -n "$ac_ct_CC"; then
3391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir
=.
3398 for ac_exec_ext
in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CC
="$ac_prog"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3410 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3411 if test -n "$ac_ct_CC"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3413 $as_echo "$ac_ct_CC" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3420 test -n "$ac_ct_CC" && break
3423 if test "x$ac_ct_CC" = x
; then
3426 case $cross_compiling:$ac_tool_warned in
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3430 ac_tool_warned
=yes ;;
3439 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error
"no acceptable C compiler found in \$PATH
3442 See \`config.log' for more details." "$LINENO" 5; }
3444 # Provide some information about the compiler.
3445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3448 for ac_option
in --version -v -V -qversion; do
3449 { { ac_try
="$ac_compiler $ac_option >&5"
3451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3458 if test -s conftest.err; then
3460 ... rest of stderr output deleted ...
3461 10q' conftest.err >conftest.er1
3462 cat conftest.er1 >&5
3463 rm -f conftest.er1 conftest.err
3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466 test $ac_status = 0; }
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3480 ac_clean_files_save=$ac_clean_files
3481 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3482 # Try to create an executable without -o first, disregard a.out.
3483 # It will help us diagnose broken compilers, and finding out an intuition
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3486 $as_echo_n "checking for C compiler default output file name... " >&6; }
3487 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3489 # The possible output files:
3490 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3493 for ac_file in $ac_files
3496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3497 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3502 if { { ac_try="$ac_link_default"
3504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3505 *) ac_try_echo
=$ac_try;;
3507 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509 (eval "$ac_link_default") 2>&5
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }; then :
3513 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3514 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3515 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3516 # so that the user can short-circuit this test for compilers unknown to
3518 for ac_file
in $ac_files ''
3520 test -f "$ac_file" ||
continue
3522 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3525 # We found the default executable, but exeext='' is most
3529 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3531 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3533 # We set ac_cv_exeext here because the later test for it is not
3534 # safe: cross compilers may not add the suffix if given an `-o'
3535 # argument, so we may need to know it at that point already.
3536 # Even if this section looks crufty: it has the advantage of
3543 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3549 $as_echo "$ac_file" >&6; }
3550 if test -z "$ac_file"; then :
3551 $as_echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 { as_fn_set_status
77
3557 as_fn_error
"C compiler cannot create executables
3558 See \`config.log' for more details." "$LINENO" 5; }; }
3560 ac_exeext
=$ac_cv_exeext
3562 # Check that the compiler produces executables we can run. If not, either
3563 # the compiler is broken, or we cross compile.
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3565 $as_echo_n "checking whether the C compiler works... " >&6; }
3566 # If not cross compiling, check that we can run a simple program.
3567 if test "$cross_compiling" != yes; then
3568 if { ac_try
='./$ac_file'
3569 { { case "(($ac_try" in
3570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_try") 2>&5
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }; }; then
3581 if test "$cross_compiling" = maybe; then
3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error "cannot run C compiled programs.
3587 If you meant to cross compile
, use \
`--host'.
3588 See \`config.log
' for more details." "$LINENO" 5; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3595 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3596 ac_clean_files=$ac_clean_files_save
3597 # Check that the compiler produces executables we can run. If not, either
3598 # the compiler is broken, or we cross compile.
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3600 $as_echo_n "checking whether we are cross compiling... " >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3602 $as_echo "$cross_compiling" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3605 $as_echo_n "checking for suffix of executables... " >&6; }
3606 if { { ac_try="$ac_link"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_link") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3618 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3619 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3621 for ac_file
in conftest.exe conftest conftest.
*; do
3622 test -f "$ac_file" ||
continue
3624 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3625 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3634 See \`config.log' for more details." "$LINENO" 5; }
3636 rm -f conftest
$ac_cv_exeext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3638 $as_echo "$ac_cv_exeext" >&6; }
3640 rm -f conftest.
$ac_ext
3641 EXEEXT
=$ac_cv_exeext
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3644 $as_echo_n "checking for suffix of object files... " >&6; }
3645 if test "${ac_cv_objext+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 rm -f conftest.o conftest.obj
3660 if { { ac_try
="$ac_compile"
3662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667 (eval "$ac_compile") 2>&5
3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670 test $ac_status = 0; }; then :
3671 for ac_file in conftest.o conftest.obj conftest.*; do
3672 test -f "$ac_file" || continue;
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3675 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3680 $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error "cannot compute suffix of object files
: cannot compile
3686 See \
`config.log' for more details." "$LINENO" 5; }
3688 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3691 $as_echo "$ac_cv_objext" >&6; }
3692 OBJEXT=$ac_cv_objext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3695 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3696 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3713 if ac_fn_c_try_compile "$LINENO"; then :
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3723 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3724 if test $ac_compiler_gnu = yes; then
3729 ac_test_CFLAGS=${CFLAGS+set}
3730 ac_save_CFLAGS=$CFLAGS
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3732 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3733 if test "${ac_cv_prog_cc_g+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_save_c_werror_flag=$ac_c_werror_flag
3737 ac_c_werror_flag=yes
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3769 ac_c_werror_flag=$ac_save_c_werror_flag
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3782 if ac_fn_c_try_compile "$LINENO"; then :
3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3793 $as_echo "$ac_cv_prog_cc_g" >&6; }
3794 if test "$ac_test_CFLAGS" = set; then
3795 CFLAGS=$ac_save_CFLAGS
3796 elif test $ac_cv_prog_cc_g = yes; then
3797 if test "$GCC" = yes; then
3803 if test "$GCC" = yes; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3810 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3811 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3814 ac_cv_prog_cc_c89=no
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3820 #include <sys/types.h>
3821 #include <sys/stat.h>
3822 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3823 struct buf { int x; };
3824 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3825 static char *e (p, i)
3831 static char *f (char * (*g) (char **, int), char **p, ...)
3836 s = g (p, va_arg (v,int));
3841 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3842 function prototypes and stuff, but not '\xHH' hex character constants.
3843 These don't provoke an error unfortunately, instead are silently treated
3844 as 'x'. The following induces an error, until -std is added to get
3845 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3846 array size at least. It's necessary to write '\x00'==0 to get something
3847 that's true only with -std. */
3848 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3850 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3851 inside strings and character constants. */
3853 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3855 int test (int i, double x);
3856 struct s1 {int (*f) (int a);};
3857 struct s2 {int (*f) (double a);};
3858 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3864 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3869 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3870 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3872 CC="$ac_save_CC $ac_arg"
3873 if ac_fn_c_try_compile "$LINENO"; then :
3874 ac_cv_prog_cc_c89=$ac_arg
3876 rm -f core conftest.err conftest.$ac_objext
3877 test "x$ac_cv_prog_cc_c89" != "xno" && break
3879 rm -f conftest.$ac_ext
3884 case "x$ac_cv_prog_cc_c89" in
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3887 $as_echo "none needed" >&6; } ;;
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3890 $as_echo "unsupported" >&6; } ;;
3892 CC="$CC $ac_cv_prog_cc_c89"
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3894 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3896 if test "x$ac_cv_prog_cc_c89" != xno; then :
3901 ac_cpp='$CPP $CPPFLAGS'
3902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905 DEPDIR="${am__leading_dot}deps"
3907 ac_config_commands="$ac_config_commands depfiles"
3910 am_make=${MAKE-make}
3911 cat > confinc << 'END'
3913 @echo this is the am__doit target
3916 # If we don't find an include directive, just comment out the code.
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3918 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3922 # First try GNU make style include.
3923 echo "include confinc" > confmf
3924 # Ignore all kinds of additional output from `make'.
3925 case `$am_make -s -f confmf 2> /dev/null` in #(
3926 *the\ am__doit\ target*)
3932 # Now try BSD make style include.
3933 if test "$am__include" = "#"; then
3934 echo '.include
"confinc"' > confmf
3935 case `$am_make -s -f confmf 2> /dev/null` in #(
3936 *the\ am__doit\ target*)
3937 am__include=.include
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3946 $as_echo "$_am_result" >&6; }
3947 rm -f confinc confmf
3949 # Check whether --enable-dependency-tracking was given.
3950 if test "${enable_dependency_tracking+set}" = set; then :
3951 enableval=$enable_dependency_tracking;
3954 if test "x$enable_dependency_tracking" != xno; then
3955 am_depcomp="$ac_aux_dir/depcomp"
3958 if test "x$enable_dependency_tracking" != xno
; then
3968 depcc
="$CC" am_compiler_list
=
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3971 $as_echo_n "checking dependency style of $depcc... " >&6; }
3972 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3976 # We make a subdir and do the tests there. Otherwise we can end up
3977 # making bogus files that we don't know about and never remove. For
3978 # instance it was reported that on HP-UX the gcc test will end up
3979 # making a dummy file named `D' -- because `-MD' means `put the output
3982 # Copy depcomp to subdir because otherwise we won't find it if we're
3983 # using a relative directory.
3984 cp "$am_depcomp" conftest.dir
3986 # We will build objects and dependencies in a subdirectory because
3987 # it helps to detect inapplicable dependency modes. For instance
3988 # both Tru64's cc and ICC support -MD to output dependencies as a
3989 # side effect of compilation, but ICC will put the dependencies in
3990 # the current directory while Tru64 will put them in the object
3994 am_cv_CC_dependencies_compiler_type
=none
3995 if test "$am_compiler_list" = ""; then
3996 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3999 case " $depcc " in #(
4000 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4003 for depmode
in $am_compiler_list; do
4004 # Setup a source with many dependencies, because some compilers
4005 # like to wrap large dependency lists on column 80 (with \), and
4006 # we should not choose a depcomp mode which is confused by this.
4008 # We need to recreate these files for each test, as the compiler may
4009 # overwrite some of them when testing with obscure command lines.
4010 # This happens at least with the AIX C compiler.
4012 for i
in 1 2 3 4 5 6; do
4013 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4014 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4015 # Solaris 8's {/usr,}/bin/sh.
4016 touch sub
/conftst
$i.h
4018 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4020 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4021 # mode. It turns out that the SunPro C++ compiler does not properly
4022 # handle `-M -o', and we need to detect this. Also, some Intel
4023 # versions had trouble with output in subdirs
4024 am__obj
=sub
/conftest.
${OBJEXT-o}
4025 am__minus_obj
="-o $am__obj"
4028 # This depmode causes a compiler race in universal mode.
4029 test "$am__universal" = false ||
continue
4032 # after this tag, mechanisms are not by side-effect, so they'll
4033 # only be used when explicitly requested
4034 if test "x$enable_dependency_tracking" = xyes
; then
4040 msvisualcpp | msvcmsys
)
4041 # This compiler won't grok `-c -o', but also, the minuso test has
4042 # not run yet. These depmodes are late enough in the game, and
4043 # so weak that their functioning should not be impacted.
4044 am__obj
=conftest.
${OBJEXT-o}
4049 if depmode
=$depmode \
4050 source=sub
/conftest.c object
=$am__obj \
4051 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4052 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4053 >/dev
/null
2>conftest.err
&&
4054 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4055 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4056 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4057 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4058 # icc doesn't choke on unknown options, it will just issue warnings
4059 # or remarks (even with -Werror). So we grep stderr for any message
4060 # that says an option was ignored or not supported.
4061 # When given -MP, icc 7.0 and 7.1 complain thusly:
4062 # icc: Command line warning: ignoring option '-M'; no argument required
4063 # The diagnosis changed in icc 8.0:
4064 # icc: Command line remark: option '-MP' not supported
4065 if (grep 'ignoring option' conftest.err ||
4066 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4067 am_cv_CC_dependencies_compiler_type
=$depmode
4076 am_cv_CC_dependencies_compiler_type
=none
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4081 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4082 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4085 test "x$enable_dependency_tracking" != xno \
4086 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4088 am__fastdepCC_FALSE
='#'
4090 am__fastdepCC_TRUE
='#'
4091 am__fastdepCC_FALSE
=
4096 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4097 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 if test -n "$ac_tool_prefix"; then
4100 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4101 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4103 $as_echo_n "checking for $ac_word... " >&6; }
4104 if test "${ac_cv_prog_GOC+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -n "$GOC"; then
4108 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 if test -n "$GOC"; then
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4130 $as_echo "$GOC" >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4138 if test -z "$ac_cv_prog_GOC"; then
4140 # Extract the first word of "gccgo", so it can be a program name with args.
4141 set dummy gccgo
; ac_word
=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -n "$ac_ct_GOC"; then
4148 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_ac_ct_GOC
="gccgo"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4168 if test -n "$ac_ct_GOC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4170 $as_echo "$ac_ct_GOC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4176 if test "x$ac_ct_GOC" = x
; then
4179 case $cross_compiling:$ac_tool_warned in
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4183 ac_tool_warned
=yes ;;
4188 GOC
="$ac_cv_prog_GOC"
4191 if test -z "$GOC"; then
4192 if test -n "$ac_tool_prefix"; then
4193 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4194 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if test "${ac_cv_prog_GOC+set}" = set; then :
4198 $as_echo_n "(cached) " >&6
4200 if test -n "$GOC"; then
4201 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir
=.
4208 for ac_exec_ext
in '' $ac_executable_extensions; do
4209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4210 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 if test -n "$GOC"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4223 $as_echo "$GOC" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4232 if test -z "$GOC"; then
4233 # Extract the first word of "gccgo", so it can be a program name with args.
4234 set dummy gccgo
; ac_word
=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if test "${ac_cv_prog_GOC+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$GOC"; then
4241 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4252 ac_prog_rejected
=yes
4255 ac_cv_prog_GOC
="gccgo"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 if test $ac_prog_rejected = yes; then
4264 # We found a bogon in the path, so make sure we never use it.
4265 set dummy
$ac_cv_prog_GOC
4267 if test $# != 0; then
4268 # We chose a different compiler from the bogus one.
4269 # However, it has the same basename, so the bogon will be chosen
4270 # first if we set GOC to just the basename; use the full file name.
4272 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4278 if test -n "$GOC"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4280 $as_echo "$GOC" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4290 # Provide some information about the compiler.
4291 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4294 { { ac_try
="$ac_compiler --version >&5"
4296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_compiler --version >&5") 2>conftest.err
4303 if test -s conftest.err; then
4305 ... rest of stderr output deleted ...
4306 10q' conftest.err >conftest.er1
4307 cat conftest.er1 >&5
4308 rm -f conftest.er1 conftest.err
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4325 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4326 # Check whether --enable-maintainer-mode was given.
4327 if test "${enable_maintainer_mode+set}" = set; then :
4328 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4330 USE_MAINTAINER_MODE=no
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4334 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4335 if test $USE_MAINTAINER_MODE = yes; then
4336 MAINTAINER_MODE_TRUE=
4337 MAINTAINER_MODE_FALSE='#'
4339 MAINTAINER_MODE_TRUE='#'
4340 MAINTAINER_MODE_FALSE=
4343 MAINT=$MAINTAINER_MODE_TRUE
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4348 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4349 if test "${ac_cv_path_SED+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4353 for ac_i in 1 2 3 4 5 6 7; do
4354 ac_script="$ac_script$as_nl$ac_script"
4356 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4357 { ac_script=; unset ac_script;}
4358 if test -z "$SED"; then
4359 ac_path_SED_found=false
4360 # Loop through the user's path and test for each of PROGNAME-LIST
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_prog in sed gsed; do
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4369 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4370 # Check for GNU ac_path_SED and select it if it is found.
4371 # Check for GNU $ac_path_SED
4372 case `"$ac_path_SED" --version 2>&1` in
4374 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4377 $as_echo_n 0123456789 >"conftest.in"
4380 cat "conftest.in" "conftest.in" >"conftest.tmp"
4381 mv "conftest.tmp" "conftest.in"
4382 cp "conftest.in" "conftest.nl"
4383 $as_echo '' >> "conftest.nl"
4384 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4386 as_fn_arith $ac_count + 1 && ac_count=$as_val
4387 if test $ac_count -gt ${ac_path_SED_max-0}; then
4388 # Best one so far, save it but keep looking for a better one
4389 ac_cv_path_SED="$ac_path_SED"
4390 ac_path_SED_max=$ac_count
4392 # 10*(2^10) chars as input seems more than enough
4393 test $ac_count -gt 10 && break
4395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4398 $ac_path_SED_found && break 3
4403 if test -z "$ac_cv_path_SED"; then
4404 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4412 $as_echo "$ac_cv_path_SED" >&6; }
4413 SED="$ac_cv_path_SED"
4416 test -z "$SED" && SED=sed
4417 Xsed="$SED -e 1s/^X//"
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4430 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4431 if test "${ac_cv_path_GREP+set}" = set; then :
4432 $as_echo_n "(cached) " >&6
4434 if test -z "$GREP"; then
4435 ac_path_GREP_found=false
4436 # Loop through the user's path and test for each of PROGNAME-LIST
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4441 test -z "$as_dir" && as_dir=.
4442 for ac_prog in grep ggrep; do
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4445 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4446 # Check for GNU ac_path_GREP and select it if it is found.
4447 # Check for GNU $ac_path_GREP
4448 case `"$ac_path_GREP" --version 2>&1` in
4450 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4453 $as_echo_n 0123456789 >"conftest.in"
4456 cat "conftest.in" "conftest.in" >"conftest.tmp"
4457 mv "conftest.tmp" "conftest.in"
4458 cp "conftest.in" "conftest.nl"
4459 $as_echo 'GREP' >> "conftest.nl"
4460 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4461 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4462 as_fn_arith $ac_count + 1 && ac_count=$as_val
4463 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4464 # Best one so far, save it but keep looking for a better one
4465 ac_cv_path_GREP="$ac_path_GREP"
4466 ac_path_GREP_max=$ac_count
4468 # 10*(2^10) chars as input seems more than enough
4469 test $ac_count -gt 10 && break
4471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4474 $ac_path_GREP_found && break 3
4479 if test -z "$ac_cv_path_GREP"; then
4480 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4483 ac_cv_path_GREP=$GREP
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4488 $as_echo "$ac_cv_path_GREP" >&6; }
4489 GREP="$ac_cv_path_GREP"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4493 $as_echo_n "checking for egrep... " >&6; }
4494 if test "${ac_cv_path_EGREP+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4497 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4498 then ac_cv_path_EGREP="$GREP -E"
4500 if test -z "$EGREP"; then
4501 ac_path_EGREP_found=false
4502 # Loop through the user's path and test for each of PROGNAME-LIST
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4507 test -z "$as_dir" && as_dir=.
4508 for ac_prog in egrep; do
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4511 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4512 # Check for GNU ac_path_EGREP and select it if it is found.
4513 # Check for GNU $ac_path_EGREP
4514 case `"$ac_path_EGREP" --version 2>&1` in
4516 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4519 $as_echo_n 0123456789 >"conftest.in"
4522 cat "conftest.in" "conftest.in" >"conftest.tmp"
4523 mv "conftest.tmp" "conftest.in"
4524 cp "conftest.in" "conftest.nl"
4525 $as_echo 'EGREP' >> "conftest.nl"
4526 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4528 as_fn_arith $ac_count + 1 && ac_count=$as_val
4529 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4530 # Best one so far, save it but keep looking for a better one
4531 ac_cv_path_EGREP="$ac_path_EGREP"
4532 ac_path_EGREP_max=$ac_count
4534 # 10*(2^10) chars as input seems more than enough
4535 test $ac_count -gt 10 && break
4537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4540 $ac_path_EGREP_found && break 3
4545 if test -z "$ac_cv_path_EGREP"; then
4546 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4549 ac_cv_path_EGREP=$EGREP
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4555 $as_echo "$ac_cv_path_EGREP" >&6; }
4556 EGREP="$ac_cv_path_EGREP"
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4560 $as_echo_n "checking for fgrep... " >&6; }
4561 if test "${ac_cv_path_FGREP+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4565 then ac_cv_path_FGREP="$GREP -F"
4567 if test -z "$FGREP"; then
4568 ac_path_FGREP_found=false
4569 # Loop through the user's path and test for each of PROGNAME-LIST
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4574 test -z "$as_dir" && as_dir=.
4575 for ac_prog in fgrep; do
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4578 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4579 # Check for GNU ac_path_FGREP and select it if it is found.
4580 # Check for GNU $ac_path_FGREP
4581 case `"$ac_path_FGREP" --version 2>&1` in
4583 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4586 $as_echo_n 0123456789 >"conftest.in"
4589 cat "conftest.in" "conftest.in" >"conftest.tmp"
4590 mv "conftest.tmp" "conftest.in"
4591 cp "conftest.in" "conftest.nl"
4592 $as_echo 'FGREP' >> "conftest.nl"
4593 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4595 as_fn_arith $ac_count + 1 && ac_count=$as_val
4596 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4597 # Best one so far, save it but keep looking for a better one
4598 ac_cv_path_FGREP="$ac_path_FGREP"
4599 ac_path_FGREP_max=$ac_count
4601 # 10*(2^10) chars as input seems more than enough
4602 test $ac_count -gt 10 && break
4604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4607 $ac_path_FGREP_found && break 3
4612 if test -z "$ac_cv_path_FGREP"; then
4613 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4616 ac_cv_path_FGREP=$FGREP
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4622 $as_echo "$ac_cv_path_FGREP" >&6; }
4623 FGREP="$ac_cv_path_FGREP"
4626 test -z "$GREP" && GREP=grep
4644 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4645 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4646 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4649 $as_echo_n "checking how to print strings... " >&6; }
4650 # Test print first, because it will be a builtin if present.
4651 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4652 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4654 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4657 # Use this function as a fallback that always works.
4658 func_fallback_echo ()
4660 eval 'cat <<_LTECHO_EOF
4664 ECHO='func_fallback_echo'
4667 # func_echo_all arg...
4668 # Invoke $ECHO with all args, space-separated.
4675 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4676 $as_echo "printf" >&6; } ;;
4677 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4678 $as_echo "print -r" >&6; } ;;
4679 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4680 $as_echo "cat" >&6; } ;;
4698 # Check whether --with-gnu-ld was given.
4699 if test "${with_gnu_ld+set}" = set; then :
4700 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4706 if test "$GCC" = yes; then
4707 # Check if gcc -print-prog-name=ld gives a path.
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4709 $as_echo_n "checking for ld used by $CC... " >&6; }
4712 # gcc leaves a trailing carriage return which upsets mingw
4713 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4715 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4718 # Accept absolute paths.
4720 re_direlt='/[^/][^/]*/\.\./'
4721 # Canonicalize the pathname of ld
4722 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4723 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4724 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4726 test -z "$LD" && LD="$ac_prog"
4729 # If it fails, then pretend we aren't using GCC.
4733 # If it is relative, then search for the first ld in PATH.
4737 elif test "$with_gnu_ld" = yes; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4739 $as_echo_n "checking for GNU ld... " >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4742 $as_echo_n "checking for non-GNU ld... " >&6; }
4744 if test "${lt_cv_path_LD+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -z "$LD"; then
4748 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4749 for ac_dir in $PATH; do
4751 test -z "$ac_dir" && ac_dir=.
4752 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4753 lt_cv_path_LD="$ac_dir/$ac_prog"
4754 # Check to see if the program is GNU ld. I'd rather use --version,
4755 # but apparently some variants of GNU ld only accept -v.
4756 # Break only if it was the GNU/non-GNU ld that we prefer.
4757 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4758 *GNU* | *'with BFD'*)
4759 test "$with_gnu_ld" != no && break
4762 test "$with_gnu_ld" != yes && break
4769 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4774 if test -n "$LD"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4776 $as_echo "$LD" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4781 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4783 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4784 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4788 case `$LD -v 2>&1 </dev
/null
` in
4789 *GNU* | *'with BFD'*)
4790 lt_cv_prog_gnu_ld=yes
4793 lt_cv_prog_gnu_ld=no
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4798 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4799 with_gnu_ld=$lt_cv_prog_gnu_ld
4809 if test -n "$ac_tool_prefix"; then
4810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 $as_echo_n "checking for $ac_word... " >&6; }
4814 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4815 $as_echo_n "(cached) " >&6
4817 if test -n "$RANLIB"; then
4818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4827 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 RANLIB=$ac_cv_prog_RANLIB
4838 if test -n "$RANLIB"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4840 $as_echo "$RANLIB" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4848 if test -z "$ac_cv_prog_RANLIB"; then
4849 ac_ct_RANLIB=$RANLIB
4850 # Extract the first word of "ranlib", so it can be a program name with args.
4851 set dummy ranlib; ac_word=$2
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4853 $as_echo_n "checking for $ac_word... " >&6; }
4854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4855 $as_echo_n "(cached) " >&6
4857 if test -n "$ac_ct_RANLIB"; then
4858 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4867 ac_cv_prog_ac_ct_RANLIB="ranlib"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4877 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4878 if test -n "$ac_ct_RANLIB"; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4880 $as_echo "$ac_ct_RANLIB" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4886 if test "x$ac_ct_RANLIB" = x; then
4889 case $cross_compiling:$ac_tool_warned in
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4895 RANLIB=$ac_ct_RANLIB
4898 RANLIB="$ac_cv_prog_RANLIB"
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$OBJCOPY"; then
4910 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir=.
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 OBJCOPY=$ac_cv_prog_OBJCOPY
4930 if test -n "$OBJCOPY"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4932 $as_echo "$OBJCOPY" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4940 if test -z "$ac_cv_prog_OBJCOPY"; then
4941 ac_ct_OBJCOPY=$OBJCOPY
4942 # Extract the first word of "objcopy", so it can be a program name with args.
4943 set dummy objcopy; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$ac_ct_OBJCOPY"; then
4950 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4959 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4970 if test -n "$ac_ct_OBJCOPY"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4972 $as_echo "$ac_ct_OBJCOPY" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4978 if test "x$ac_ct_OBJCOPY" = x; then
4979 OBJCOPY="missing-objcopy"
4981 case $cross_compiling:$ac_tool_warned in
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4985 ac_tool_warned=yes ;;
4987 OBJCOPY=$ac_ct_OBJCOPY
4990 OBJCOPY="$ac_cv_prog_OBJCOPY"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5001 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5006 macro_version='2.2.7a'
5007 macro_revision='1.3134'
5021 ltmain="$ac_aux_dir/ltmain.sh"
5023 # Backslashify metacharacters that are still active within
5024 # double-quoted strings.
5025 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5027 # Same as above, but do not quote variable references.
5028 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5030 # Sed substitution to delay expansion of an escaped shell variable in a
5031 # double_quote_subst'ed string.
5032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5034 # Sed substitution to delay expansion of an escaped single quote.
5035 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5037 # Sed substitution to avoid accidental globbing in evaled expressions
5038 no_glob_subst='s/\*/\\\*/g'
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5041 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5042 if test "${lt_cv_path_NM+set}" = set; then :
5043 $as_echo_n "(cached
) " >&6
5045 if test -n "$NM"; then
5046 # Let the user override the test.
5049 lt_nm_to_check="${ac_tool_prefix}nm
"
5050 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5051 lt_nm_to_check="$lt_nm_to_check nm
"
5053 for lt_tmp_nm in $lt_nm_to_check; do
5054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5055 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5057 test -z "$ac_dir" && ac_dir=.
5058 tmp_nm="$ac_dir/$lt_tmp_nm"
5059 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5060 # Check to see if the nm accepts a BSD-compat flag.
5061 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5062 # nm: unknown option "B
" ignored
5063 # Tru64's nm complains that /dev/null is an invalid object file
5064 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5065 */dev/null* | *'Invalid file or object type'*)
5066 lt_cv_path_NM="$tmp_nm -B"
5070 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5072 lt_cv_path_NM="$tmp_nm -p"
5076 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5077 continue # so that we can try to find one that supports BSD flags
5086 : ${lt_cv_path_NM=no}
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5090 $as_echo "$lt_cv_path_NM" >&6; }
5091 if test "$lt_cv_path_NM" != "no
"; then
5094 # Didn't find any BSD compatible name lister, look for dumpbin.
5095 if test -n "$DUMPBIN"; then :
5096 # Let the user override the test.
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog in dumpbin "link
-dump"
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5104 $as_echo_n "checking
for $ac_word...
" >&6; }
5105 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5106 $as_echo_n "(cached
) " >&6
5108 if test -n "$DUMPBIN"; then
5109 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5128 DUMPBIN=$ac_cv_prog_DUMPBIN
5129 if test -n "$DUMPBIN"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5131 $as_echo "$DUMPBIN" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5134 $as_echo "no
" >&6; }
5138 test -n "$DUMPBIN" && break
5141 if test -z "$DUMPBIN"; then
5142 ac_ct_DUMPBIN=$DUMPBIN
5143 for ac_prog in dumpbin "link
-dump"
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5148 $as_echo_n "checking
for $ac_word...
" >&6; }
5149 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5150 $as_echo_n "(cached
) " >&6
5152 if test -n "$ac_ct_DUMPBIN"; then
5153 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5173 if test -n "$ac_ct_DUMPBIN"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5175 $as_echo "$ac_ct_DUMPBIN" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5178 $as_echo "no
" >&6; }
5182 test -n "$ac_ct_DUMPBIN" && break
5185 if test "x
$ac_ct_DUMPBIN" = x; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5191 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5192 ac_tool_warned=yes ;;
5194 DUMPBIN=$ac_ct_DUMPBIN
5198 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5200 DUMPBIN="$DUMPBIN -symbols"
5208 if test "$DUMPBIN" != ":"; then
5212 test -z "$NM" && NM=nm
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5220 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5221 if test "${lt_cv_nm_interface+set}" = set; then :
5222 $as_echo_n "(cached
) " >&6
5224 lt_cv_nm_interface="BSD nm
"
5225 echo "int some_variable
= 0;" > conftest.$ac_ext
5226 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5227 (eval "$ac_compile" 2>conftest.err)
5228 cat conftest.err >&5
5229 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5230 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5231 cat conftest.err >&5
5232 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5233 cat conftest.out >&5
5234 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5235 lt_cv_nm_interface="MS dumpbin
"
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5240 $as_echo "$lt_cv_nm_interface" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5243 $as_echo_n "checking whether
ln -s works...
" >&6; }
5245 if test "$LN_S" = "ln -s"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5247 $as_echo "yes" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5250 $as_echo "no
, using
$LN_S" >&6; }
5253 # find the maximum length of command line arguments
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5255 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5256 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5257 $as_echo_n "(cached
) " >&6
5264 # On DJGPP, this test can blow up pretty badly due to problems in libc
5265 # (any single argument exceeding 2000 bytes causes a buffer overrun
5266 # during glob expansion). Even if it were fixed, the result of this
5267 # check would be larger than it should be.
5268 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5272 # Under GNU Hurd, this test is not required because there is
5273 # no limit to the length of command line arguments.
5274 # Libtool will interpret -1 as no limit whatsoever
5275 lt_cv_sys_max_cmd_len=-1;
5278 cygwin* | mingw* | cegcc*)
5279 # On Win9x/ME, this test blows up -- it succeeds, but takes
5280 # about 5 minutes as the teststring grows exponentially.
5281 # Worse, since 9x/ME are not pre-emptively multitasking,
5282 # you end up with a "frozen
" computer, even though with patience
5283 # the test eventually succeeds (with a max line length of 256k).
5284 # Instead, let's just punt: use the minimum linelength reported by
5285 # all of the supported platforms: 8192 (on NT/2K/XP).
5286 lt_cv_sys_max_cmd_len=8192;
5290 # On MiNT this can take a long time and run out of memory.
5291 lt_cv_sys_max_cmd_len=8192;
5295 # On AmigaOS with pdksh, this test takes hours, literally.
5296 # So we just punt and use a minimum line length of 8192.
5297 lt_cv_sys_max_cmd_len=8192;
5300 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5301 # This has been around since 386BSD, at least. Likely further.
5302 if test -x /sbin/sysctl; then
5303 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5304 elif test -x /usr/sbin/sysctl; then
5305 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5307 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5309 # And add a safety zone
5310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5315 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5316 lt_cv_sys_max_cmd_len=196608
5320 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5321 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5322 # nice to cause kernel panics so lets avoid the loop below.
5323 # First set a reasonable default.
5324 lt_cv_sys_max_cmd_len=16384
5326 if test -x /sbin/sysconfig; then
5327 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5328 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5333 lt_cv_sys_max_cmd_len=102400
5335 sysv5* | sco5v6* | sysv4.2uw2*)
5336 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5337 if test -n "$kargmax"; then
5338 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5340 lt_cv_sys_max_cmd_len=32768
5344 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5345 if test -n "$lt_cv_sys_max_cmd_len"; then
5346 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5349 # Make teststring a little bigger before we do anything with it.
5350 # a 1K string should be a reasonable start.
5351 for i in 1 2 3 4 5 6 7 8 ; do
5352 teststring=$teststring$teststring
5354 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5355 # If test is not a shell built-in, we'll probably end up computing a
5356 # maximum length that is only half of the actual maximum length, but
5358 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5359 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5360 test $i != 17 # 1/2 MB should be enough
5363 teststring=$teststring$teststring
5365 # Only check the string length outside the loop.
5366 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5368 # Add a significant safety factor because C++ compilers can tack on
5369 # massive amounts of additional arguments before passing them to the
5370 # linker. It appears as though 1/2 is a usable value.
5371 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5378 if test -n $lt_cv_sys_max_cmd_len ; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5380 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5383 $as_echo "none
" >&6; }
5385 max_cmd_len=$lt_cv_sys_max_cmd_len
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5397 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5398 # Try some XSI features
5401 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5403 && eval 'test $(( 1 + 1 )) -eq 2 \
5404 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5407 $as_echo "$xsi_shell" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5411 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5413 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5415 && lt_shell_append
=yes
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5417 $as_echo "$lt_shell_append" >&6; }
5420 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5430 # test EBCDIC or ASCII
5431 case `echo X|tr X '\101'` in
5432 A
) # ASCII based system
5433 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5434 lt_SP2NL
='tr \040 \012'
5435 lt_NL2SP
='tr \015\012 \040\040'
5437 *) # EBCDIC based system
5438 lt_SP2NL
='tr \100 \n'
5439 lt_NL2SP
='tr \r\n \100\100'
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5452 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5453 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5454 $as_echo_n "(cached) " >&6
5456 lt_cv_ld_reload_flag
='-r'
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5459 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5460 reload_flag
=$lt_cv_ld_reload_flag
5461 case $reload_flag in
5463 *) reload_flag
=" $reload_flag" ;;
5465 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5468 if test "$GCC" = yes; then
5469 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5471 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5484 if test -n "$ac_tool_prefix"; then
5485 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5486 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -n "$OBJDUMP"; then
5493 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 OBJDUMP
=$ac_cv_prog_OBJDUMP
5513 if test -n "$OBJDUMP"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5515 $as_echo "$OBJDUMP" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5523 if test -z "$ac_cv_prog_OBJDUMP"; then
5524 ac_ct_OBJDUMP
=$OBJDUMP
5525 # Extract the first word of "objdump", so it can be a program name with args.
5526 set dummy objdump
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$ac_ct_OBJDUMP"; then
5533 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5553 if test -n "$ac_ct_OBJDUMP"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5555 $as_echo "$ac_ct_OBJDUMP" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5561 if test "x$ac_ct_OBJDUMP" = x
; then
5564 case $cross_compiling:$ac_tool_warned in
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568 ac_tool_warned
=yes ;;
5570 OBJDUMP
=$ac_ct_OBJDUMP
5573 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5576 test -z "$OBJDUMP" && OBJDUMP
=objdump
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5587 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5588 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5589 $as_echo_n "(cached) " >&6
5591 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5592 lt_cv_file_magic_test_file
=
5593 lt_cv_deplibs_check_method
='unknown'
5594 # Need to set the preceding variable on all platforms that support
5595 # interlibrary dependencies.
5596 # 'none' -- dependencies not supported.
5597 # `unknown' -- same as none, but documents that we really don't know.
5598 # 'pass_all' -- all dependencies passed with no checks.
5599 # 'test_compile' -- check by making test program.
5600 # 'file_magic [[regex]]' -- check by looking for files in library path
5601 # which responds to the $file_magic_cmd with a given extended regex.
5602 # If you have `file' or equivalent on your system and you're not sure
5603 # whether `pass_all' will *always* work, you probably want this one.
5607 lt_cv_deplibs_check_method
=pass_all
5611 lt_cv_deplibs_check_method
=pass_all
5615 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5616 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5617 lt_cv_file_magic_test_file
=/shlib
/libc.so
5621 # func_win32_libid is a shell function defined in ltmain.sh
5622 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5623 lt_cv_file_magic_cmd
='func_win32_libid'
5627 # Base MSYS/MinGW do not provide the 'file' command needed by
5628 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5629 # unless we find 'file', for example because we are cross-compiling.
5630 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5631 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5632 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5633 lt_cv_file_magic_cmd
='func_win32_libid'
5635 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5636 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5641 # use the weaker test based on 'objdump'. See mingw*.
5642 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5643 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5646 darwin
* | rhapsody
*)
5647 lt_cv_deplibs_check_method
=pass_all
5650 freebsd
* | dragonfly
*)
5651 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5654 # Not sure whether the presence of OpenBSD here was a mistake.
5655 # Let's accept both of them until this is cleared up.
5656 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5657 lt_cv_file_magic_cmd
=/usr
/bin
/file
5658 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5662 lt_cv_deplibs_check_method
=pass_all
5667 lt_cv_deplibs_check_method
=pass_all
5671 lt_cv_deplibs_check_method
=pass_all
5674 hpux10.20
* | hpux11
*)
5675 lt_cv_file_magic_cmd
=/usr
/bin
/file
5678 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5679 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5682 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]'
5683 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5686 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5687 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5693 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5694 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5697 irix5
* | irix6
* | nonstopux
*)
5699 *-32|
*"-32 ") libmagic
=32-bit;;
5700 *-n32|
*"-n32 ") libmagic
=N32
;;
5701 *-64|
*"-64 ") libmagic
=64-bit;;
5702 *) libmagic
=never-match
;;
5704 lt_cv_deplibs_check_method
=pass_all
5707 # This must be Linux ELF.
5708 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5709 lt_cv_deplibs_check_method
=pass_all
5713 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5714 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5716 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5721 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5722 lt_cv_file_magic_cmd
=/usr
/bin
/file
5723 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5727 lt_cv_deplibs_check_method
=pass_all
5731 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5732 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5734 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5738 osf3
* | osf4
* | osf5
*)
5739 lt_cv_deplibs_check_method
=pass_all
5743 lt_cv_deplibs_check_method
=pass_all
5747 lt_cv_deplibs_check_method
=pass_all
5750 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5751 lt_cv_deplibs_check_method
=pass_all
5755 case $host_vendor in
5757 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]'
5758 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5761 lt_cv_deplibs_check_method
=pass_all
5764 lt_cv_file_magic_cmd
='/bin/file'
5765 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5768 lt_cv_file_magic_cmd
='/bin/file'
5769 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5770 lt_cv_file_magic_test_file
=/lib
/libc.so
5773 lt_cv_deplibs_check_method
=pass_all
5776 lt_cv_deplibs_check_method
=pass_all
5782 lt_cv_deplibs_check_method
=pass_all
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5788 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5789 file_magic_cmd
=$lt_cv_file_magic_cmd
5790 deplibs_check_method
=$lt_cv_deplibs_check_method
5791 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5804 if test -n "$ac_tool_prefix"; then
5805 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5806 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if test "${ac_cv_prog_AR+set}" = set; then :
5810 $as_echo_n "(cached) " >&6
5812 if test -n "$AR"; then
5813 ac_cv_prog_AR
="$AR" # Let the user override the test.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir
=.
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5822 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 if test -n "$AR"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5835 $as_echo "$AR" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 if test -z "$ac_cv_prog_AR"; then
5845 # Extract the first word of "ar", so it can be a program name with args.
5846 set dummy
ar; ac_word
=$2
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848 $as_echo_n "checking for $ac_word... " >&6; }
5849 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5850 $as_echo_n "(cached) " >&6
5852 if test -n "$ac_ct_AR"; then
5853 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir
=.
5860 for ac_exec_ext
in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_prog_ac_ct_AR
="ar"
5863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5873 if test -n "$ac_ct_AR"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5875 $as_echo "$ac_ct_AR" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5881 if test "x$ac_ct_AR" = x
; then
5884 case $cross_compiling:$ac_tool_warned in
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5888 ac_tool_warned
=yes ;;
5896 test -z "$AR" && AR
=ar
5897 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5909 if test -n "$ac_tool_prefix"; then
5910 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5911 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if test "${ac_cv_prog_STRIP+set}" = set; then :
5915 $as_echo_n "(cached) " >&6
5917 if test -n "$STRIP"; then
5918 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir
=.
5925 for ac_exec_ext
in '' $ac_executable_extensions; do
5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 STRIP
=$ac_cv_prog_STRIP
5938 if test -n "$STRIP"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5940 $as_echo "$STRIP" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5948 if test -z "$ac_cv_prog_STRIP"; then
5950 # Extract the first word of "strip", so it can be a program name with args.
5951 set dummy strip
; ac_word
=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5957 if test -n "$ac_ct_STRIP"; then
5958 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_ac_ct_STRIP
="strip"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5978 if test -n "$ac_ct_STRIP"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5980 $as_echo "$ac_ct_STRIP" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5986 if test "x$ac_ct_STRIP" = x
; then
5989 case $cross_compiling:$ac_tool_warned in
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5993 ac_tool_warned
=yes ;;
5998 STRIP
="$ac_cv_prog_STRIP"
6001 test -z "$STRIP" && STRIP
=:
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6010 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$RANLIB"; then
6017 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir
=.
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 RANLIB
=$ac_cv_prog_RANLIB
6037 if test -n "$RANLIB"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6039 $as_echo "$RANLIB" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6047 if test -z "$ac_cv_prog_RANLIB"; then
6048 ac_ct_RANLIB
=$RANLIB
6049 # Extract the first word of "ranlib", so it can be a program name with args.
6050 set dummy ranlib
; ac_word
=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6054 $as_echo_n "(cached) " >&6
6056 if test -n "$ac_ct_RANLIB"; then
6057 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6077 if test -n "$ac_ct_RANLIB"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6079 $as_echo "$ac_ct_RANLIB" >&6; }
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6085 if test "x$ac_ct_RANLIB" = x
; then
6088 case $cross_compiling:$ac_tool_warned in
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned
=yes ;;
6094 RANLIB
=$ac_ct_RANLIB
6097 RANLIB
="$ac_cv_prog_RANLIB"
6100 test -z "$RANLIB" && RANLIB
=:
6107 # Determine commands to create old-style static archives.
6108 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6109 old_postinstall_cmds
='chmod 644 $oldlib'
6110 old_postuninstall_cmds
=
6112 if test -n "$RANLIB"; then
6115 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6118 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6121 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6126 lock_old_archive_extraction
=yes ;;
6128 lock_old_archive_extraction
=no
;;
6169 # If no C compiler was specified, use CC.
6172 # If no C compiler flags were specified, use CFLAGS.
6173 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6175 # Allow CC to be a program name with arguments.
6179 # Check for command to grab the raw symbol name followed by C symbol from nm.
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6181 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6182 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6183 $as_echo_n "(cached) " >&6
6186 # These are sane defaults that work on at least a few old systems.
6187 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6189 # Character class describing NM global symbol codes.
6190 symcode
='[BCDEGRST]'
6192 # Regexp to match symbols that can be accessed directly from C.
6193 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6195 # Define system-specific variables.
6200 cygwin
* | mingw
* | pw32
* | cegcc
*)
6201 symcode
='[ABCDGISTW]'
6204 if test "$host_cpu" = ia64
; then
6205 symcode
='[ABCDEGRST]'
6209 symcode
='[BCDEGRST]'
6212 symcode
='[BCDEGQRST]'
6223 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6231 # If we're using GNU nm, then use its standard symbol codes.
6232 case `$NM -V 2>&1` in
6233 *GNU
* |
*'with BFD'*)
6234 symcode
='[ABCDGIRSTW]' ;;
6237 # Transform an extracted symbol line into a proper C declaration.
6238 # Some systems (esp. on ia64) link data and code symbols differently,
6239 # so use this general approach.
6240 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6242 # Transform an extracted symbol line into symbol name and symbol address
6243 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6244 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'"
6246 # Handle CRLF in mingw tool chain
6250 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6254 # Try without a prefix underscore, then with it.
6255 for ac_symprfx
in "" "_"; do
6257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6258 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6260 # Write the raw and C identifiers.
6261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6262 # Fake it for dumpbin and say T for any non-static function
6263 # and D for any global variable.
6264 # Also find C++ and __fastcall symbols from MSVC++,
6265 # which start with @ or ?.
6266 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6267 " {last_section=section; section=\$ 3};"\
6268 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6269 " \$ 0!~/External *\|/{next};"\
6270 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6271 " {if(hide[section]) next};"\
6272 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6273 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6274 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6275 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6276 " ' prfx=^$ac_symprfx"
6278 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6281 # Check to see that the pipe works correctly.
6285 cat > conftest.
$ac_ext <<_LT_EOF
6290 void nm_test_func(void);
6291 void nm_test_func(void){}
6295 int main(){nm_test_var='a';nm_test_func();return(0);}
6298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6299 (eval $ac_compile) 2>&5
6301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6302 test $ac_status = 0; }; then
6303 # Now try to grab the symbols.
6305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6306 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6309 test $ac_status = 0; } && test -s "$nlist"; then
6310 # Try sorting and uniquifying the output.
6311 if sort "$nlist" |
uniq > "$nlist"T
; then
6312 mv -f "$nlist"T
"$nlist"
6317 # Make sure that we snagged all the symbols we need.
6318 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6319 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6320 cat <<_LT_EOF > conftest.$ac_ext
6326 # Now generate the symbol file.
6327 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6329 cat <<_LT_EOF >> conftest.$ac_ext
6331 /* The mapping between symbol names and symbols. */
6336 lt__PROGRAM__LTX_preloaded_symbols[] =
6338 { "@PROGRAM@", (void *) 0 },
6340 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6341 cat <<\_LT_EOF
>> conftest.
$ac_ext
6345 /* This works around a problem
in FreeBSD linker
*/
6346 #ifdef FREEBSD_WORKAROUND
6347 static const void
*lt_preloaded_setup
() {
6348 return lt__PROGRAM__LTX_preloaded_symbols
;
6356 # Now try linking the two files.
6357 mv conftest.
$ac_objext conftstm.
$ac_objext
6358 lt_save_LIBS
="$LIBS"
6359 lt_save_CFLAGS
="$CFLAGS"
6360 LIBS
="conftstm.$ac_objext"
6361 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6363 (eval $ac_link) 2>&5
6365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6366 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6369 LIBS
="$lt_save_LIBS"
6370 CFLAGS
="$lt_save_CFLAGS"
6372 echo "cannot find nm_test_func in $nlist" >&5
6375 echo "cannot find nm_test_var in $nlist" >&5
6378 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6381 echo "$progname: failed program was:" >&5
6382 cat conftest.
$ac_ext >&5
6384 rm -rf conftest
* conftst
*
6386 # Do not use the global_symbol_pipe unless it works.
6387 if test "$pipe_works" = yes; then
6390 lt_cv_sys_global_symbol_pipe
=
6396 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6397 lt_cv_sys_global_symbol_to_cdecl
=
6399 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6401 $as_echo "failed" >&6; }
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6404 $as_echo "ok" >&6; }
6429 # Check whether --enable-libtool-lock was given.
6430 if test "${enable_libtool_lock+set}" = set; then :
6431 enableval
=$enable_libtool_lock;
6434 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6436 # Some flags need to be propagated to the compiler or linker for good
6440 # Find out which ABI we are using.
6441 echo 'int i;' > conftest.
$ac_ext
6442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6443 (eval $ac_compile) 2>&5
6445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6446 test $ac_status = 0; }; then
6447 case `/usr/bin/file conftest.$ac_objext` in
6459 # Find out which ABI we are using.
6460 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6462 (eval $ac_compile) 2>&5
6464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465 test $ac_status = 0; }; then
6466 if test "$lt_cv_prog_gnu_ld" = yes; then
6467 case `/usr/bin/file conftest.$ac_objext` in
6469 LD
="${LD-ld} -melf32bsmip"
6472 LD
="${LD-ld} -melf32bmipn32"
6475 LD
="${LD-ld} -melf64bmip"
6479 case `/usr/bin/file conftest.$ac_objext` in
6495 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6496 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6497 # Find out which ABI we are using.
6498 echo 'int i;' > conftest.
$ac_ext
6499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6500 (eval $ac_compile) 2>&5
6502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6503 test $ac_status = 0; }; then
6504 case `/usr/bin/file conftest.o` in
6507 x86_64-
*kfreebsd
*-gnu)
6508 LD
="${LD-ld} -m elf_i386_fbsd"
6511 LD
="${LD-ld} -m elf_i386"
6513 ppc64-
*linux
*|powerpc64-
*linux
*)
6514 LD
="${LD-ld} -m elf32ppclinux"
6517 LD
="${LD-ld} -m elf_s390"
6520 LD
="${LD-ld} -m elf32_sparc"
6526 x86_64-
*kfreebsd
*-gnu)
6527 LD
="${LD-ld} -m elf_x86_64_fbsd"
6530 LD
="${LD-ld} -m elf_x86_64"
6532 ppc
*-*linux
*|powerpc
*-*linux
*)
6533 LD
="${LD-ld} -m elf64ppc"
6535 s390
*-*linux
*|s390
*-*tpf
*)
6536 LD
="${LD-ld} -m elf64_s390"
6539 LD
="${LD-ld} -m elf64_sparc"
6549 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6550 SAVE_CFLAGS
="$CFLAGS"
6551 CFLAGS
="$CFLAGS -belf"
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6553 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6554 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6558 ac_cpp
='$CPP $CPPFLAGS'
6559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6574 if ac_fn_c_try_link
"$LINENO"; then :
6575 lt_cv_cc_needs_belf
=yes
6577 lt_cv_cc_needs_belf
=no
6579 rm -f core conftest.err conftest.
$ac_objext \
6580 conftest
$ac_exeext conftest.
$ac_ext
6582 ac_cpp
='$CPP $CPPFLAGS'
6583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6589 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6590 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6591 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6592 CFLAGS
="$SAVE_CFLAGS"
6596 # Find out which ABI we are using.
6597 echo 'int i;' > conftest.
$ac_ext
6598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6599 (eval $ac_compile) 2>&5
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602 test $ac_status = 0; }; then
6603 case `/usr/bin/file conftest.o` in
6605 case $lt_cv_prog_gnu_ld in
6608 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6609 LD
="${LD-ld} -m elf_x86_64"
6612 LD
="${LD-ld} -m elf64_sparc"
6615 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6616 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6621 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6633 need_locks
="$enable_libtool_lock"
6637 rhapsody
* | darwin
*)
6638 if test -n "$ac_tool_prefix"; then
6639 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6640 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$DSYMUTIL"; then
6647 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir
=.
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6667 if test -n "$DSYMUTIL"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6669 $as_echo "$DSYMUTIL" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6677 if test -z "$ac_cv_prog_DSYMUTIL"; then
6678 ac_ct_DSYMUTIL
=$DSYMUTIL
6679 # Extract the first word of "dsymutil", so it can be a program name with args.
6680 set dummy dsymutil
; ac_word
=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$ac_ct_DSYMUTIL"; then
6687 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir
=.
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6707 if test -n "$ac_ct_DSYMUTIL"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6709 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6715 if test "x$ac_ct_DSYMUTIL" = x
; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned
=yes ;;
6724 DSYMUTIL
=$ac_ct_DSYMUTIL
6727 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6732 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$NMEDIT"; then
6739 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir
=.
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 NMEDIT
=$ac_cv_prog_NMEDIT
6759 if test -n "$NMEDIT"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6761 $as_echo "$NMEDIT" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6769 if test -z "$ac_cv_prog_NMEDIT"; then
6770 ac_ct_NMEDIT
=$NMEDIT
6771 # Extract the first word of "nmedit", so it can be a program name with args.
6772 set dummy nmedit
; ac_word
=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$ac_ct_NMEDIT"; then
6779 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir
=.
6786 for ac_exec_ext
in '' $ac_executable_extensions; do
6787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6799 if test -n "$ac_ct_NMEDIT"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6801 $as_echo "$ac_ct_NMEDIT" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6807 if test "x$ac_ct_NMEDIT" = x
; then
6810 case $cross_compiling:$ac_tool_warned in
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned
=yes ;;
6816 NMEDIT
=$ac_ct_NMEDIT
6819 NMEDIT
="$ac_cv_prog_NMEDIT"
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6824 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if test "${ac_cv_prog_LIPO+set}" = set; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$LIPO"; then
6831 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir
=.
6838 for ac_exec_ext
in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 LIPO
=$ac_cv_prog_LIPO
6851 if test -n "$LIPO"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6853 $as_echo "$LIPO" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 if test -z "$ac_cv_prog_LIPO"; then
6863 # Extract the first word of "lipo", so it can be a program name with args.
6864 set dummy lipo
; ac_word
=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6868 $as_echo_n "(cached) " >&6
6870 if test -n "$ac_ct_LIPO"; then
6871 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir
=.
6878 for ac_exec_ext
in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_ac_ct_LIPO
="lipo"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6891 if test -n "$ac_ct_LIPO"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6893 $as_echo "$ac_ct_LIPO" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6899 if test "x$ac_ct_LIPO" = x
; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned
=yes ;;
6911 LIPO
="$ac_cv_prog_LIPO"
6914 if test -n "$ac_tool_prefix"; then
6915 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6916 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$OTOOL"; then
6923 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir
=.
6930 for ac_exec_ext
in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 OTOOL
=$ac_cv_prog_OTOOL
6943 if test -n "$OTOOL"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6945 $as_echo "$OTOOL" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6953 if test -z "$ac_cv_prog_OTOOL"; then
6955 # Extract the first word of "otool", so it can be a program name with args.
6956 set dummy otool
; ac_word
=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6960 $as_echo_n "(cached) " >&6
6962 if test -n "$ac_ct_OTOOL"; then
6963 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir
=.
6970 for ac_exec_ext
in '' $ac_executable_extensions; do
6971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972 ac_cv_prog_ac_ct_OTOOL
="otool"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6983 if test -n "$ac_ct_OTOOL"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6985 $as_echo "$ac_ct_OTOOL" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6991 if test "x$ac_ct_OTOOL" = x
; then
6994 case $cross_compiling:$ac_tool_warned in
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned
=yes ;;
7003 OTOOL
="$ac_cv_prog_OTOOL"
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7008 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$OTOOL64"; then
7015 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 OTOOL64
=$ac_cv_prog_OTOOL64
7035 if test -n "$OTOOL64"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7037 $as_echo "$OTOOL64" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7045 if test -z "$ac_cv_prog_OTOOL64"; then
7046 ac_ct_OTOOL64
=$OTOOL64
7047 # Extract the first word of "otool64", so it can be a program name with args.
7048 set dummy otool64
; ac_word
=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 $as_echo_n "checking for $ac_word... " >&6; }
7051 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7052 $as_echo_n "(cached) " >&6
7054 if test -n "$ac_ct_OTOOL64"; then
7055 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir
=.
7062 for ac_exec_ext
in '' $ac_executable_extensions; do
7063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7064 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7075 if test -n "$ac_ct_OTOOL64"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7077 $as_echo "$ac_ct_OTOOL64" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7083 if test "x$ac_ct_OTOOL64" = x
; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned
=yes ;;
7092 OTOOL64
=$ac_ct_OTOOL64
7095 OTOOL64
="$ac_cv_prog_OTOOL64"
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7125 $as_echo_n "checking for -single_module linker flag... " >&6; }
7126 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7127 $as_echo_n "(cached) " >&6
7129 lt_cv_apple_cc_single_mod
=no
7130 if test -z "${LT_MULTI_MODULE}"; then
7131 # By default we will add the -single_module flag. You can override
7132 # by either setting the environment variable LT_MULTI_MODULE
7133 # non-empty at configure time, or by adding -multi_module to the
7135 rm -rf libconftest.dylib
*
7136 echo "int foo(void){return 1;}" > conftest.c
7137 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7138 -dynamiclib -Wl,-single_module conftest.c" >&5
7139 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7140 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7142 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7143 lt_cv_apple_cc_single_mod
=yes
7145 cat conftest.err
>&5
7147 rm -rf libconftest.dylib
*
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7152 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7154 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7155 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7156 $as_echo_n "(cached) " >&6
7158 lt_cv_ld_exported_symbols_list
=no
7159 save_LDFLAGS
=$LDFLAGS
7160 echo "_main" > conftest.sym
7161 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7173 if ac_fn_c_try_link
"$LINENO"; then :
7174 lt_cv_ld_exported_symbols_list
=yes
7176 lt_cv_ld_exported_symbols_list
=no
7178 rm -f core conftest.err conftest.
$ac_objext \
7179 conftest
$ac_exeext conftest.
$ac_ext
7180 LDFLAGS
="$save_LDFLAGS"
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7184 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7186 $as_echo_n "checking for -force_load linker flag... " >&6; }
7187 if test "${lt_cv_ld_force_load+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7190 lt_cv_ld_force_load
=no
7191 cat > conftest.c
<< _LT_EOF
7192 int forced_loaded() { return 2;}
7194 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7195 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7196 echo "$AR cru libconftest.a conftest.o" >&5
7197 $AR cru libconftest.a conftest.o
2>&5
7198 cat > conftest.c
<< _LT_EOF
7199 int main() { return 0;}
7201 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7202 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7204 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7205 lt_cv_ld_force_load
=yes
7207 cat conftest.err
>&5
7209 rm -f conftest.err libconftest.a conftest conftest.c
7210 rm -rf conftest.dSYM
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7214 $as_echo "$lt_cv_ld_force_load" >&6; }
7216 rhapsody
* | darwin1.
[012])
7217 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7219 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7220 darwin
*) # darwin 5.x on
7221 # if running on 10.5 or later, the deployment target defaults
7222 # to the OS version, if on x86, and 10.4, the deployment
7223 # target defaults to 10.4. Don't you love it?
7224 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7225 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7226 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7228 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7230 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7234 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7235 _lt_dar_single_mod
='$single_module'
7237 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7238 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7240 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7242 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7243 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7251 ac_cpp
='$CPP $CPPFLAGS'
7252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7256 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7257 # On Suns, sometimes $CPP names a directory.
7258 if test -n "$CPP" && test -d "$CPP"; then
7261 if test -z "$CPP"; then
7262 if test "${ac_cv_prog_CPP+set}" = set; then :
7263 $as_echo_n "(cached) " >&6
7265 # Double quotes because CPP needs to be expanded
7266 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7269 for ac_c_preproc_warn_flag
in '' yes
7271 # Use a header file that comes with gcc, so configuring glibc
7272 # with a fresh cross-compiler works.
7273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7274 # <limits.h> exists even on freestanding compilers.
7275 # On the NeXT, cc -E runs the code through the compiler's parser,
7276 # not just through cpp. "Syntax error" is here to catch this case.
7277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7280 # include <limits.h>
7282 # include <assert.h>
7286 if ac_fn_c_try_cpp
"$LINENO"; then :
7289 # Broken: fails on valid input.
7292 rm -f conftest.err conftest.
$ac_ext
7294 # OK, works on sane cases. Now check whether nonexistent headers
7295 # can be detected and how.
7296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7298 #include <ac_nonexistent.h>
7300 if ac_fn_c_try_cpp
"$LINENO"; then :
7301 # Broken: success on invalid input.
7304 # Passes both tests.
7308 rm -f conftest.err conftest.
$ac_ext
7311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7312 rm -f conftest.err conftest.
$ac_ext
7313 if $ac_preproc_ok; then :
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7326 $as_echo "$CPP" >&6; }
7328 for ac_c_preproc_warn_flag
in '' yes
7330 # Use a header file that comes with gcc, so configuring glibc
7331 # with a fresh cross-compiler works.
7332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7333 # <limits.h> exists even on freestanding compilers.
7334 # On the NeXT, cc -E runs the code through the compiler's parser,
7335 # not just through cpp. "Syntax error" is here to catch this case.
7336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7337 /* end confdefs.h. */
7339 # include <limits.h>
7341 # include <assert.h>
7345 if ac_fn_c_try_cpp
"$LINENO"; then :
7348 # Broken: fails on valid input.
7351 rm -f conftest.err conftest.
$ac_ext
7353 # OK, works on sane cases. Now check whether nonexistent headers
7354 # can be detected and how.
7355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357 #include <ac_nonexistent.h>
7359 if ac_fn_c_try_cpp
"$LINENO"; then :
7360 # Broken: success on invalid input.
7363 # Passes both tests.
7367 rm -f conftest.err conftest.
$ac_ext
7370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7371 rm -f conftest.err conftest.
$ac_ext
7372 if $ac_preproc_ok; then :
7375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7377 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7378 See \`config.log' for more details." "$LINENO" 5; }
7382 ac_cpp
='$CPP $CPPFLAGS'
7383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7389 $as_echo_n "checking for ANSI C header files... " >&6; }
7390 if test "${ac_cv_header_stdc+set}" = set; then :
7391 $as_echo_n "(cached) " >&6
7393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7394 /* end confdefs.h. */
7408 if ac_fn_c_try_compile
"$LINENO"; then :
7409 ac_cv_header_stdc
=yes
7411 ac_cv_header_stdc
=no
7413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7415 if test $ac_cv_header_stdc = yes; then
7416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h. */
7422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7423 $EGREP "memchr" >/dev
/null
2>&1; then :
7426 ac_cv_header_stdc
=no
7432 if test $ac_cv_header_stdc = yes; then
7433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h. */
7439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7440 $EGREP "free" >/dev
/null
2>&1; then :
7443 ac_cv_header_stdc
=no
7449 if test $ac_cv_header_stdc = yes; then
7450 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7451 if test "$cross_compiling" = yes; then :
7454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h. */
7458 #if ((' ' & 0x0FF) == 0x020)
7459 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7460 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7462 # define ISLOWER(c) \
7463 (('a' <= (c) && (c) <= 'i') \
7464 || ('j' <= (c) && (c) <= 'r') \
7465 || ('s' <= (c) && (c) <= 'z'))
7466 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7469 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7474 for (i = 0; i < 256; i++)
7475 if (XOR (islower (i), ISLOWER (i))
7476 || toupper (i) != TOUPPER (i))
7481 if ac_fn_c_try_run
"$LINENO"; then :
7484 ac_cv_header_stdc
=no
7486 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7487 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7493 $as_echo "$ac_cv_header_stdc" >&6; }
7494 if test $ac_cv_header_stdc = yes; then
7496 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7500 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7501 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7502 inttypes.h stdint.h unistd.h
7504 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7507 eval as_val
=\$
$as_ac_Header
7508 if test "x$as_val" = x
""yes; then :
7509 cat >>confdefs.h
<<_ACEOF
7510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7518 for ac_header
in dlfcn.h
7520 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7522 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7523 cat >>confdefs.h
<<_ACEOF
7524 #define HAVE_DLFCN_H 1
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7533 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_GOC+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7539 if test -n "$GOC"; then
7540 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 if test -n "$GOC"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7562 $as_echo "$GOC" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7570 if test -z "$ac_cv_prog_GOC"; then
7572 # Extract the first word of "gccgo", so it can be a program name with args.
7573 set dummy gccgo
; ac_word
=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7579 if test -n "$ac_ct_GOC"; then
7580 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir
=.
7587 for ac_exec_ext
in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_ac_ct_GOC
="gccgo"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7600 if test -n "$ac_ct_GOC"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7602 $as_echo "$ac_ct_GOC" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7608 if test "x$ac_ct_GOC" = x
; then
7611 case $cross_compiling:$ac_tool_warned in
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned
=yes ;;
7620 GOC
="$ac_cv_prog_GOC"
7636 # Check whether --enable-shared was given.
7637 if test "${enable_shared+set}" = set; then :
7638 enableval
=$enable_shared; p
=${PACKAGE-default}
7640 yes) enable_shared
=yes ;;
7641 no
) enable_shared
=no
;;
7644 # Look at the argument we got. We use all the common list separators.
7645 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7646 for pkg
in $enableval; do
7648 if test "X$pkg" = "X$p"; then
7667 # Check whether --enable-static was given.
7668 if test "${enable_static+set}" = set; then :
7669 enableval
=$enable_static; p
=${PACKAGE-default}
7671 yes) enable_static
=yes ;;
7672 no
) enable_static
=no
;;
7675 # Look at the argument we got. We use all the common list separators.
7676 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7677 for pkg
in $enableval; do
7679 if test "X$pkg" = "X$p"; then
7699 # Check whether --with-pic was given.
7700 if test "${with_pic+set}" = set; then :
7701 withval
=$with_pic; pic_mode
="$withval"
7707 test -z "$pic_mode" && pic_mode
=default
7715 # Check whether --enable-fast-install was given.
7716 if test "${enable_fast_install+set}" = set; then :
7717 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7719 yes) enable_fast_install
=yes ;;
7720 no
) enable_fast_install
=no
;;
7722 enable_fast_install
=no
7723 # Look at the argument we got. We use all the common list separators.
7724 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7725 for pkg
in $enableval; do
7727 if test "X$pkg" = "X$p"; then
7728 enable_fast_install
=yes
7735 enable_fast_install
=yes
7748 # This can be used to rebuild libtool when needed
7749 LIBTOOL_DEPS
="$ltmain"
7751 # Always use our own libtool.
7752 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7779 test -z "$LN_S" && LN_S
="ln -s"
7794 if test -n "${ZSH_VERSION+set}" ; then
7795 setopt NO_GLOB_SUBST
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7799 $as_echo_n "checking for objdir... " >&6; }
7800 if test "${lt_cv_objdir+set}" = set; then :
7801 $as_echo_n "(cached) " >&6
7803 rm -f .libs
2>/dev
/null
7804 mkdir .libs
2>/dev
/null
7805 if test -d .libs
; then
7808 # MS-DOS does not allow filenames that begin with a dot.
7811 rmdir .libs
2>/dev
/null
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7814 $as_echo "$lt_cv_objdir" >&6; }
7815 objdir
=$lt_cv_objdir
7821 cat >>confdefs.h
<<_ACEOF
7822 #define LT_OBJDIR "$lt_cv_objdir/"
7830 # AIX sometimes has problems with the GCC collect2 program. For some
7831 # reason, if we set the COLLECT_NAMES environment variable, the problems
7832 # vanish in a puff of smoke.
7833 if test "X${COLLECT_NAMES+set}" != Xset
; then
7835 export COLLECT_NAMES
7842 can_build_shared
=yes
7844 # All known linkers require a `.a' archive for static linking (except MSVC,
7845 # which needs '.lib').
7848 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7851 old_CFLAGS
="$CFLAGS"
7853 # Set sane defaults for various variables
7854 test -z "$CC" && CC
=cc
7855 test -z "$LTCC" && LTCC
=$CC
7856 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7857 test -z "$LD" && LD
=ld
7858 test -z "$ac_objext" && ac_objext
=o
7860 for cc_temp
in $compiler""; do
7862 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7863 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7868 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7871 # Only perform the check for file, if the check method requires it
7872 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7873 case $deplibs_check_method in
7875 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7877 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7878 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7883 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7886 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7887 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7888 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7889 for ac_dir
in $ac_dummy; do
7891 test -z "$ac_dir" && ac_dir
=.
7892 if test -f $ac_dir/${ac_tool_prefix}file; then
7893 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7894 if test -n "$file_magic_test_file"; then
7895 case $deplibs_check_method in
7897 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7898 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7899 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7900 $EGREP "$file_magic_regex" > /dev
/null
; then
7905 *** Warning: the command libtool uses to detect shared libraries,
7906 *** $file_magic_cmd, produces output that libtool cannot recognize.
7907 *** The result is that libtool may fail to recognize shared libraries
7908 *** as such. This will affect the creation of libtool libraries that
7909 *** depend on shared libraries, but programs linked with such libtool
7910 *** libraries will work regardless of this problem. Nevertheless, you
7911 *** may want to report the problem to your system manager and/or to
7912 *** bug-libtool@gnu.org
7922 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7927 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7928 if test -n "$MAGIC_CMD"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7930 $as_echo "$MAGIC_CMD" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7940 if test -z "$lt_cv_path_MAGIC_CMD"; then
7941 if test -n "$ac_tool_prefix"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7943 $as_echo_n "checking for file... " >&6; }
7944 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7945 $as_echo_n "(cached) " >&6
7949 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7952 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7953 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7954 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7955 for ac_dir
in $ac_dummy; do
7957 test -z "$ac_dir" && ac_dir
=.
7958 if test -f $ac_dir/file; then
7959 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7960 if test -n "$file_magic_test_file"; then
7961 case $deplibs_check_method in
7963 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7965 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7966 $EGREP "$file_magic_regex" > /dev
/null
; then
7971 *** Warning: the command libtool uses to detect shared libraries,
7972 *** $file_magic_cmd, produces output that libtool cannot recognize.
7973 *** The result is that libtool may fail to recognize shared libraries
7974 *** as such. This will affect the creation of libtool libraries that
7975 *** depend on shared libraries, but programs linked with such libtool
7976 *** libraries will work regardless of this problem. Nevertheless, you
7977 *** may want to report the problem to your system manager and/or to
7978 *** bug-libtool@gnu.org
7988 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7994 if test -n "$MAGIC_CMD"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7996 $as_echo "$MAGIC_CMD" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8012 # Use C for the default configuration in the libtool script
8016 ac_cpp
='$CPP $CPPFLAGS'
8017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8022 # Source file extension for C test sources.
8025 # Object file extension for compiled C test sources.
8029 # Code to be used in simple compile tests
8030 lt_simple_compile_test_code
="int some_variable = 0;"
8032 # Code to be used in simple link tests
8033 lt_simple_link_test_code
='int main(){return(0);}'
8041 # If no C compiler was specified, use CC.
8044 # If no C compiler flags were specified, use CFLAGS.
8045 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8047 # Allow CC to be a program name with arguments.
8050 # Save the default compiler, since it gets overwritten when the other
8051 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8052 compiler_DEFAULT
=$CC
8054 # save warnings/boilerplate of simple test code
8055 ac_outfile
=conftest.
$ac_objext
8056 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8057 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8058 _lt_compiler_boilerplate
=`cat conftest.err`
8061 ac_outfile
=conftest.
$ac_objext
8062 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8063 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8064 _lt_linker_boilerplate
=`cat conftest.err`
8069 ## There is no encapsulation within the following macros, do not change
8070 ## the running order or otherwise move them around unless you know exactly
8071 ## what you are doing...
8072 if test -n "$compiler"; then
8074 lt_prog_compiler_no_builtin_flag
=
8076 if test "$GCC" = yes; then
8077 case $cc_basename in
8079 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8081 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8085 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8086 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8087 $as_echo_n "(cached) " >&6
8089 lt_cv_prog_compiler_rtti_exceptions
=no
8090 ac_outfile
=conftest.
$ac_objext
8091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8092 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8093 # Insert the option either (1) after the last *FLAGS variable, or
8094 # (2) before a word containing "conftest.", or (3) at the end.
8095 # Note that $ac_compile itself does not contain backslashes and begins
8096 # with a dollar sign (not a hyphen), so the echo should work correctly.
8097 # The option is referenced via a variable to avoid confusing sed.
8098 lt_compile
=`echo "$ac_compile" | $SED \
8099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8101 -e 's:$: $lt_compiler_flag:'`
8102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8103 (eval "$lt_compile" 2>conftest.err
)
8105 cat conftest.err
>&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 if (exit $ac_status) && test -s "$ac_outfile"; then
8108 # The compiler can only warn and ignore the option if not recognized
8109 # So say no if there are warnings other than the usual output.
8110 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8113 lt_cv_prog_compiler_rtti_exceptions
=yes
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8120 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8122 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8123 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8135 lt_prog_compiler_wl
=
8136 lt_prog_compiler_pic
=
8137 lt_prog_compiler_static
=
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8140 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8142 if test "$GCC" = yes; then
8143 lt_prog_compiler_wl
='-Wl,'
8144 lt_prog_compiler_static
='-static'
8148 # All AIX code is PIC.
8149 if test "$host_cpu" = ia64
; then
8150 # AIX 5 now supports IA64 processor
8151 lt_prog_compiler_static
='-Bstatic'
8158 # see comment about AmigaOS4 .so support
8159 lt_prog_compiler_pic
='-fPIC'
8162 # FIXME: we need at least 68020 code to build shared libraries, but
8163 # adding the `-m68020' flag to GCC prevents building anything better,
8165 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8170 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8171 # PIC is the default for these OSes.
8174 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8175 # This hack is so that the source file can tell whether it is being
8176 # built for inclusion in a dll (and should export symbols for example).
8177 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8178 # (--disable-auto-import) libraries
8179 lt_prog_compiler_pic
='-DDLL_EXPORT'
8182 darwin
* | rhapsody
*)
8183 # PIC is the default on this platform
8184 # Common symbols not allowed in MH_DYLIB files
8185 lt_prog_compiler_pic
='-fno-common'
8189 # PIC is the default for Haiku.
8190 # The "-static" flag exists, but is broken.
8191 lt_prog_compiler_static
=
8195 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8196 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8197 # sets the default TLS model and affects inlining.
8203 lt_prog_compiler_pic
='-fPIC'
8209 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8210 # Instead, we relocate shared libraries at runtime.
8214 # Just because we use GCC doesn't mean we suddenly get shared libraries
8215 # on systems that don't support them.
8216 lt_prog_compiler_can_build_shared
=no
8221 # QNX uses GNU C++, but need to define -shared option too, otherwise
8223 lt_prog_compiler_pic
='-fPIC -shared'
8227 if test -d /usr
/nec
; then
8228 lt_prog_compiler_pic
=-Kconform_pic
8233 lt_prog_compiler_pic
='-fPIC'
8237 case $cc_basename in
8238 nvcc
*) # Cuda Compiler Driver 2.2
8239 lt_prog_compiler_wl
='-Xlinker '
8240 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8244 # PORTME Check for flag to pass linker flags through the system compiler.
8247 lt_prog_compiler_wl
='-Wl,'
8248 if test "$host_cpu" = ia64
; then
8249 # AIX 5 now supports IA64 processor
8250 lt_prog_compiler_static
='-Bstatic'
8252 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8256 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8257 # This hack is so that the source file can tell whether it is being
8258 # built for inclusion in a dll (and should export symbols for example).
8259 lt_prog_compiler_pic
='-DDLL_EXPORT'
8262 hpux9
* | hpux10
* | hpux11
*)
8263 lt_prog_compiler_wl
='-Wl,'
8264 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8271 lt_prog_compiler_pic
='+Z'
8274 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8275 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8278 irix5
* | irix6
* | nonstopux
*)
8279 lt_prog_compiler_wl
='-Wl,'
8280 # PIC (with -KPIC) is the default.
8281 lt_prog_compiler_static
='-non_shared'
8284 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8285 case $cc_basename in
8286 # old Intel for x86_64 which still supported -KPIC.
8288 lt_prog_compiler_wl
='-Wl,'
8289 lt_prog_compiler_pic
='-KPIC'
8290 lt_prog_compiler_static
='-static'
8292 # icc used to be incompatible with GCC.
8293 # ICC 10 doesn't accept -KPIC any more.
8295 lt_prog_compiler_wl
='-Wl,'
8296 lt_prog_compiler_pic
='-fPIC'
8297 lt_prog_compiler_static
='-static'
8299 # Lahey Fortran 8.1.
8301 lt_prog_compiler_wl
='-Wl,'
8302 lt_prog_compiler_pic
='--shared'
8303 lt_prog_compiler_static
='--static'
8305 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8306 # Portland Group compilers (*not* the Pentium gcc compiler,
8307 # which looks to be a dead project)
8308 lt_prog_compiler_wl
='-Wl,'
8309 lt_prog_compiler_pic
='-fpic'
8310 lt_prog_compiler_static
='-Bstatic'
8313 lt_prog_compiler_wl
='-Wl,'
8314 # All Alpha code is PIC.
8315 lt_prog_compiler_static
='-non_shared'
8317 xl
* | bgxl
* | bgf
* | mpixl
*)
8318 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8319 lt_prog_compiler_wl
='-Wl,'
8320 lt_prog_compiler_pic
='-qpic'
8321 lt_prog_compiler_static
='-qstaticlink'
8324 case `$CC -V 2>&1 | sed 5q` in
8325 *Sun\ F
* |
*Sun
*Fortran
*)
8326 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8327 lt_prog_compiler_pic
='-KPIC'
8328 lt_prog_compiler_static
='-Bstatic'
8329 lt_prog_compiler_wl
=''
8333 lt_prog_compiler_pic
='-KPIC'
8334 lt_prog_compiler_static
='-Bstatic'
8335 lt_prog_compiler_wl
='-Wl,'
8343 lt_prog_compiler_pic
='-KPIC'
8344 lt_prog_compiler_static
='-Bstatic'
8348 # QNX uses GNU C++, but need to define -shared option too, otherwise
8350 lt_prog_compiler_pic
='-fPIC -shared'
8353 osf3
* | osf4
* | osf5
*)
8354 lt_prog_compiler_wl
='-Wl,'
8355 # All OSF/1 code is PIC.
8356 lt_prog_compiler_static
='-non_shared'
8360 lt_prog_compiler_static
='-non_shared'
8364 lt_prog_compiler_pic
='-KPIC'
8365 lt_prog_compiler_static
='-Bstatic'
8366 case $cc_basename in
8368 lt_prog_compiler_wl
='-Qoption ld ';;
8370 lt_prog_compiler_wl
='-Wl,';;
8375 lt_prog_compiler_wl
='-Qoption ld '
8376 lt_prog_compiler_pic
='-PIC'
8377 lt_prog_compiler_static
='-Bstatic'
8380 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8381 lt_prog_compiler_wl
='-Wl,'
8382 lt_prog_compiler_pic
='-KPIC'
8383 lt_prog_compiler_static
='-Bstatic'
8387 if test -d /usr
/nec
;then
8388 lt_prog_compiler_pic
='-Kconform_pic'
8389 lt_prog_compiler_static
='-Bstatic'
8393 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8394 lt_prog_compiler_wl
='-Wl,'
8395 lt_prog_compiler_pic
='-KPIC'
8396 lt_prog_compiler_static
='-Bstatic'
8400 lt_prog_compiler_wl
='-Wl,'
8401 lt_prog_compiler_can_build_shared
=no
8405 lt_prog_compiler_pic
='-pic'
8406 lt_prog_compiler_static
='-Bstatic'
8410 lt_prog_compiler_can_build_shared
=no
8416 # For platforms which do not support PIC, -DPIC is meaningless:
8418 lt_prog_compiler_pic
=
8421 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8425 $as_echo "$lt_prog_compiler_pic" >&6; }
8433 # Check to make sure the PIC flag actually works.
8435 if test -n "$lt_prog_compiler_pic"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8437 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8438 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8439 $as_echo_n "(cached) " >&6
8441 lt_cv_prog_compiler_pic_works
=no
8442 ac_outfile
=conftest.
$ac_objext
8443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8444 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8445 # Insert the option either (1) after the last *FLAGS variable, or
8446 # (2) before a word containing "conftest.", or (3) at the end.
8447 # Note that $ac_compile itself does not contain backslashes and begins
8448 # with a dollar sign (not a hyphen), so the echo should work correctly.
8449 # The option is referenced via a variable to avoid confusing sed.
8450 lt_compile
=`echo "$ac_compile" | $SED \
8451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8453 -e 's:$: $lt_compiler_flag:'`
8454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8455 (eval "$lt_compile" 2>conftest.err
)
8457 cat conftest.err
>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 if (exit $ac_status) && test -s "$ac_outfile"; then
8460 # The compiler can only warn and ignore the option if not recognized
8461 # So say no if there are warnings other than the usual output.
8462 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8464 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8465 lt_cv_prog_compiler_pic_works
=yes
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8472 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8474 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8475 case $lt_prog_compiler_pic in
8477 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8480 lt_prog_compiler_pic
=
8481 lt_prog_compiler_can_build_shared
=no
8492 # Check to make sure the static flag actually works.
8494 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8496 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8497 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8500 lt_cv_prog_compiler_static_works
=no
8501 save_LDFLAGS
="$LDFLAGS"
8502 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8503 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8504 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8505 # The linker can only warn and ignore the option if not recognized
8506 # So say no if there are warnings
8507 if test -s conftest.err
; then
8508 # Append any errors to the config.log.
8509 cat conftest.err
1>&5
8510 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8512 if diff conftest.exp conftest.er2
>/dev
/null
; then
8513 lt_cv_prog_compiler_static_works
=yes
8516 lt_cv_prog_compiler_static_works
=yes
8520 LDFLAGS
="$save_LDFLAGS"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8524 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8526 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8529 lt_prog_compiler_static
=
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8539 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8540 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8541 $as_echo_n "(cached) " >&6
8543 lt_cv_prog_compiler_c_o
=no
8544 $RM -r conftest
2>/dev
/null
8548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8550 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8551 # Insert the option either (1) after the last *FLAGS variable, or
8552 # (2) before a word containing "conftest.", or (3) at the end.
8553 # Note that $ac_compile itself does not contain backslashes and begins
8554 # with a dollar sign (not a hyphen), so the echo should work correctly.
8555 lt_compile
=`echo "$ac_compile" | $SED \
8556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8558 -e 's:$: $lt_compiler_flag:'`
8559 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8560 (eval "$lt_compile" 2>out
/conftest.err
)
8562 cat out
/conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8566 # The compiler can only warn and ignore the option if not recognized
8567 # So say no if there are warnings
8568 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8569 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8570 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8571 lt_cv_prog_compiler_c_o
=yes
8576 # SGI C++ compiler will create directory out/ii_files/ for
8577 # template instantiation
8578 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8579 $RM out
/* && rmdir out
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8586 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8594 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8595 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8596 $as_echo_n "(cached) " >&6
8598 lt_cv_prog_compiler_c_o
=no
8599 $RM -r conftest
2>/dev
/null
8603 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8605 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8606 # Insert the option either (1) after the last *FLAGS variable, or
8607 # (2) before a word containing "conftest.", or (3) at the end.
8608 # Note that $ac_compile itself does not contain backslashes and begins
8609 # with a dollar sign (not a hyphen), so the echo should work correctly.
8610 lt_compile
=`echo "$ac_compile" | $SED \
8611 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8613 -e 's:$: $lt_compiler_flag:'`
8614 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8615 (eval "$lt_compile" 2>out
/conftest.err
)
8617 cat out
/conftest.err
>&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8621 # The compiler can only warn and ignore the option if not recognized
8622 # So say no if there are warnings
8623 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8624 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8625 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8626 lt_cv_prog_compiler_c_o
=yes
8631 # SGI C++ compiler will create directory out/ii_files/ for
8632 # template instantiation
8633 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8634 $RM out
/* && rmdir out
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8641 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8646 hard_links
="nottested"
8647 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8648 # do not overwrite the value of need_locks provided by the user
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8650 $as_echo_n "checking if we can lock with hard links... " >&6; }
8653 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8655 ln conftest.a conftest.b
2>&5 || hard_links
=no
8656 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8658 $as_echo "$hard_links" >&6; }
8659 if test "$hard_links" = no
; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8661 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8674 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8677 allow_undefined_flag
=
8678 always_export_symbols
=no
8680 archive_expsym_cmds
=
8681 compiler_needs_object
=no
8682 enable_shared_with_static_runtimes
=no
8683 export_dynamic_flag_spec
=
8684 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8685 hardcode_automatic
=no
8687 hardcode_direct_absolute
=no
8688 hardcode_libdir_flag_spec
=
8689 hardcode_libdir_flag_spec_ld
=
8690 hardcode_libdir_separator
=
8692 hardcode_shlibpath_var
=unsupported
8694 link_all_deplibs
=unknown
8697 old_archive_from_new_cmds
=
8698 old_archive_from_expsyms_cmds
=
8699 thread_safe_flag_spec
=
8700 whole_archive_flag_spec
=
8701 # include_expsyms should be a list of space-separated symbols to be *always*
8702 # included in the symbol list
8704 # exclude_expsyms can be an extended regexp of symbols to exclude
8705 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8706 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8707 # as well as any symbol that contains `d'.
8708 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8709 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8710 # platforms (ab)use it in PIC code, but their linkers get confused if
8711 # the symbol is explicitly referenced. Since portable code cannot
8712 # rely on this symbol name, it's probably fine to never include it in
8713 # preloaded symbol tables.
8714 # Exclude shared library initialization/finalization symbols.
8715 extract_expsyms_cmds
=
8718 cygwin
* | mingw
* | pw32
* | cegcc
*)
8719 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8720 # When not using gcc, we currently assume that we are using
8721 # Microsoft Visual C++.
8722 if test "$GCC" != yes; then
8727 # we just hope/assume this is gcc and not c89 (= MSVC++)
8737 # On some targets, GNU ld is compatible enough with the native linker
8738 # that we're better off using the native interface for both.
8739 lt_use_gnu_ld_interface
=no
8740 if test "$with_gnu_ld" = yes; then
8743 # The AIX port of GNU ld has always aspired to compatibility
8744 # with the native linker. However, as the warning in the GNU ld
8745 # block says, versions before 2.19.5* couldn't really create working
8746 # shared libraries, regardless of the interface used.
8747 case `$LD -v 2>&1` in
8748 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8749 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8750 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8752 lt_use_gnu_ld_interface
=yes
8757 lt_use_gnu_ld_interface
=yes
8762 if test "$lt_use_gnu_ld_interface" = yes; then
8763 # If archive_cmds runs LD, not CC, wlarc should be empty
8766 # Set some defaults for GNU ld with shared library support. These
8767 # are reset later if shared libraries are not supported. Putting them
8768 # here allows them to be overridden if necessary.
8769 runpath_var
=LD_RUN_PATH
8770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8771 export_dynamic_flag_spec
='${wl}--export-dynamic'
8772 # ancient GNU ld didn't support --whole-archive et. al.
8773 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8774 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8776 whole_archive_flag_spec
=
8778 supports_anon_versioning
=no
8779 case `$LD -v 2>&1` in
8780 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8781 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8782 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8783 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8784 *\
2.11.
*) ;; # other 2.11 versions
8785 *) supports_anon_versioning
=yes ;;
8788 # See if GNU ld supports shared libraries.
8791 # On AIX/PPC, the GNU linker is very broken
8792 if test "$host_cpu" != ia64
; then
8796 *** Warning: the GNU linker, at least up to release 2.19, is reported
8797 *** to be unable to reliably create shared libraries on AIX.
8798 *** Therefore, libtool is disabling shared libraries support. If you
8799 *** really care for shared libraries, you may want to install binutils
8800 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8801 *** You will then need to restart the configuration process.
8810 # see comment about AmigaOS4 .so support
8811 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812 archive_expsym_cmds
=''
8815 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)'
8816 hardcode_libdir_flag_spec
='-L$libdir'
8817 hardcode_minus_L
=yes
8823 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8824 allow_undefined_flag
=unsupported
8825 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8826 # support --undefined. This deserves some investigation. FIXME
8827 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833 cygwin
* | mingw
* | pw32
* | cegcc
*)
8834 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8835 # as there is no search path for DLLs.
8836 hardcode_libdir_flag_spec
='-L$libdir'
8837 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8838 allow_undefined_flag
=unsupported
8839 always_export_symbols
=no
8840 enable_shared_with_static_runtimes
=yes
8841 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8843 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8844 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8845 # If the export-symbols file already is a .def file (1st line
8846 # is EXPORTS), use it as is; otherwise, prepend...
8847 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8848 cp $export_symbols $output_objdir/$soname.def;
8850 echo EXPORTS > $output_objdir/$soname.def;
8851 cat $export_symbols >> $output_objdir/$soname.def;
8853 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8860 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8861 link_all_deplibs
=yes
8866 hardcode_shlibpath_var
=no
8867 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8868 export_dynamic_flag_spec
='${wl}-E'
8869 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8870 # Instead, shared libraries are loaded at an image base (0x10000000 by
8871 # default) and relocated if they conflict, which is a slow very memory
8872 # consuming and fragmenting process. To avoid this, we pick a random,
8873 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8874 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8875 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8876 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'
8879 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8881 if test "$host_os" = linux-dietlibc
; then
8882 case $cc_basename in
8883 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8886 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8887 && test "$tmp_diet" = no
8890 tmp_sharedflag
='-shared'
8891 case $cc_basename,$host_cpu in
8892 pgcc
*) # Portland Group C compiler
8893 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'
8894 tmp_addflag
=' $pic_flag'
8896 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8897 # Portland Group f77 and f90 compilers
8898 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'
8899 tmp_addflag
=' $pic_flag -Mnomain' ;;
8900 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8901 tmp_addflag
=' -i_dynamic' ;;
8902 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8903 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8904 ifc
* | ifort
*) # Intel Fortran compiler
8905 tmp_addflag
=' -nofor_main' ;;
8906 lf95
*) # Lahey Fortran 8.1
8907 whole_archive_flag_spec
=
8908 tmp_sharedflag
='--shared' ;;
8909 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8910 tmp_sharedflag
='-qmkshrobj'
8912 nvcc
*) # Cuda Compiler Driver 2.2
8913 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'
8914 compiler_needs_object
=yes
8917 case `$CC -V 2>&1 | sed 5q` in
8918 *Sun\ C
*) # Sun C 5.9
8919 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'
8920 compiler_needs_object
=yes
8921 tmp_sharedflag
='-G' ;;
8922 *Sun\ F
*) # Sun Fortran 8.3
8923 tmp_sharedflag
='-G' ;;
8925 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8927 if test "x$supports_anon_versioning" = xyes
; then
8928 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8930 echo "local: *; };" >> $output_objdir/$libname.ver~
8931 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8934 case $cc_basename in
8935 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8936 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8937 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8938 hardcode_libdir_flag_spec
=
8939 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8940 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8941 if test "x$supports_anon_versioning" = xyes
; then
8942 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8944 echo "local: *; };" >> $output_objdir/$libname.ver~
8945 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8955 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8956 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8960 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8965 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8969 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8970 *** create shared libraries on Solaris systems. Therefore, libtool
8971 *** is disabling shared libraries support. We urge you to upgrade GNU
8972 *** binutils to release 2.9.1 or newer. Another option is to modify
8973 *** your PATH or compiler configuration so that the native linker is
8974 *** used, and then restart.
8977 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
8985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8986 case `$LD -v 2>&1` in
8987 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8991 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8992 *** reliably create shared libraries on SCO systems. Therefore, libtool
8993 *** is disabling shared libraries support. We urge you to upgrade GNU
8994 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8995 *** your PATH or compiler configuration so that the native linker is
8996 *** used, and then restart.
9001 # For security reasons, it is highly recommended that you always
9002 # use absolute paths for naming shared libraries, and exclude the
9003 # DT_RUNPATH tag from executables and libraries. But doing so
9004 # requires that you compile everything twice, which is a pain.
9005 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9006 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9017 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9020 hardcode_shlibpath_var
=no
9024 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9026 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9033 if test "$ld_shlibs" = no
; then
9035 hardcode_libdir_flag_spec
=
9036 export_dynamic_flag_spec
=
9037 whole_archive_flag_spec
=
9040 # PORTME fill in a description of your system's linker (not GNU ld)
9043 allow_undefined_flag
=unsupported
9044 always_export_symbols
=yes
9045 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'
9046 # Note: this linker hardcodes the directories in LIBPATH if there
9047 # are no directories specified by -L.
9048 hardcode_minus_L
=yes
9049 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9050 # Neither direct hardcoding nor static linking is supported with a
9052 hardcode_direct
=unsupported
9057 if test "$host_cpu" = ia64
; then
9058 # On IA64, the linker does run time linking by default, so we don't
9059 # have to do anything special.
9060 aix_use_runtimelinking
=no
9061 exp_sym_flag
='-Bexport'
9064 # If we're using GNU nm, then we don't want the "-C" option.
9065 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9066 # Also, AIX nm treats weak defined symbols like other global
9067 # defined symbols, whereas GNU nm marks them as "W".
9068 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9069 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'
9071 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'
9073 aix_use_runtimelinking
=no
9075 # Test if we are trying to use run time linking or normal
9076 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9077 # need to do runtime linking.
9078 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9079 for ld_flag
in $LDFLAGS; do
9080 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9081 aix_use_runtimelinking
=yes
9088 exp_sym_flag
='-bexport'
9089 no_entry_flag
='-bnoentry'
9092 # When large executables or shared objects are built, AIX ld can
9093 # have problems creating the table of contents. If linking a library
9094 # or program results in "error TOC overflow" add -mminimal-toc to
9095 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9096 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9100 hardcode_direct_absolute
=yes
9101 hardcode_libdir_separator
=':'
9102 link_all_deplibs
=yes
9103 file_list_spec
='${wl}-f,'
9105 if test "$GCC" = yes; then
9106 case $host_os in aix4.
[012]|aix4.
[012].
*)
9107 # We only want to do this on AIX 4.2 and lower, the check
9108 # below for broken collect2 doesn't work under 4.3+
9109 collect2name
=`${CC} -print-prog-name=collect2`
9110 if test -f "$collect2name" &&
9111 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9113 # We have reworked collect2
9116 # We have old collect2
9117 hardcode_direct
=unsupported
9118 # It fails to find uninstalled libraries when the uninstalled
9119 # path is not listed in the libpath. Setting hardcode_minus_L
9120 # to unsupported forces relinking
9121 hardcode_minus_L
=yes
9122 hardcode_libdir_flag_spec
='-L$libdir'
9123 hardcode_libdir_separator
=
9127 shared_flag
='-shared'
9128 if test "$aix_use_runtimelinking" = yes; then
9129 shared_flag
="$shared_flag "'${wl}-G'
9133 if test "$host_cpu" = ia64
; then
9134 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9135 # chokes on -Wl,-G. The following line is correct:
9138 if test "$aix_use_runtimelinking" = yes; then
9139 shared_flag
='${wl}-G'
9141 shared_flag
='${wl}-bM:SRE'
9146 export_dynamic_flag_spec
='${wl}-bexpall'
9147 # It seems that -bexpall does not export symbols beginning with
9148 # underscore (_), so it is better to generate a list of symbols to export.
9149 always_export_symbols
=yes
9150 if test "$aix_use_runtimelinking" = yes; then
9151 # Warning - without using the other runtime loading flags (-brtl),
9152 # -berok will link without error, but may produce a broken library.
9153 allow_undefined_flag
='-berok'
9154 # Determine the default libpath from the value encoded in an
9156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9167 if ac_fn_c_try_link
"$LINENO"; then :
9169 lt_aix_libpath_sed
='
9170 /Import File Strings/,/^$/ {
9176 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9177 # Check for a 64-bit object if we didn't find anything.
9178 if test -z "$aix_libpath"; then
9179 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9182 rm -f core conftest.err conftest.
$ac_objext \
9183 conftest
$ac_exeext conftest.
$ac_ext
9184 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9186 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9187 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"
9189 if test "$host_cpu" = ia64
; then
9190 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9191 allow_undefined_flag
="-z nodefs"
9192 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"
9194 # Determine the default libpath from the value encoded in an
9196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9207 if ac_fn_c_try_link
"$LINENO"; then :
9209 lt_aix_libpath_sed
='
9210 /Import File Strings/,/^$/ {
9216 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9217 # Check for a 64-bit object if we didn't find anything.
9218 if test -z "$aix_libpath"; then
9219 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9222 rm -f core conftest.err conftest.
$ac_objext \
9223 conftest
$ac_exeext conftest.
$ac_ext
9224 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9226 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9227 # Warning - without using the other run time loading flags,
9228 # -berok will link without error, but may produce a broken library.
9229 no_undefined_flag
=' ${wl}-bernotok'
9230 allow_undefined_flag
=' ${wl}-berok'
9231 if test "$with_gnu_ld" = yes; then
9232 # We only use this code for GNU lds that support --whole-archive.
9233 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9235 # Exported symbols can be pulled into shared objects from archives
9236 whole_archive_flag_spec
='$convenience'
9238 archive_cmds_need_lc
=yes
9239 # This is similar to how AIX traditionally builds its shared libraries.
9240 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'
9248 # see comment about AmigaOS4 .so support
9249 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 archive_expsym_cmds
=''
9253 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)'
9254 hardcode_libdir_flag_spec
='-L$libdir'
9255 hardcode_minus_L
=yes
9261 export_dynamic_flag_spec
=-rdynamic
9264 cygwin
* | mingw
* | pw32
* | cegcc
*)
9265 # When not using gcc, we currently assume that we are using
9266 # Microsoft Visual C++.
9267 # hardcode_libdir_flag_spec is actually meaningless, as there is
9268 # no search path for DLLs.
9269 hardcode_libdir_flag_spec
=' '
9270 allow_undefined_flag
=unsupported
9271 # Tell ltmain to make .lib files, not .a files.
9273 # Tell ltmain to make .dll files, not .so files.
9275 # FIXME: Setting linknames here is a bad hack.
9276 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9277 # The linker will automatically build a .lib file if we build a DLL.
9278 old_archive_from_new_cmds
='true'
9279 # FIXME: Should let the user specify the lib program.
9280 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9281 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9282 enable_shared_with_static_runtimes
=yes
9285 darwin
* | rhapsody
*)
9288 archive_cmds_need_lc
=no
9290 hardcode_automatic
=yes
9291 hardcode_shlibpath_var
=unsupported
9292 if test "$lt_cv_ld_force_load" = "yes"; then
9293 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\"`'
9295 whole_archive_flag_spec
=''
9297 link_all_deplibs
=yes
9298 allow_undefined_flag
="$_lt_dar_allow_undefined"
9299 case $cc_basename in
9300 ifort
*) _lt_dar_can_shared
=yes ;;
9301 *) _lt_dar_can_shared
=$GCC ;;
9303 if test "$_lt_dar_can_shared" = "yes"; then
9304 output_verbose_link_cmd
=func_echo_all
9305 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9306 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9307 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}"
9308 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}"
9317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9318 hardcode_libdir_flag_spec
='-L$libdir'
9319 hardcode_shlibpath_var
=no
9322 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9323 # support. Future versions do this automatically, but an explicit c++rt0.o
9324 # does not break anything, and helps significantly (at the cost of a little
9327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9328 hardcode_libdir_flag_spec
='-R$libdir'
9330 hardcode_shlibpath_var
=no
9333 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9335 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_minus_L
=yes
9338 hardcode_shlibpath_var
=no
9341 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9342 freebsd
* | dragonfly
*)
9343 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9344 hardcode_libdir_flag_spec
='-R$libdir'
9346 hardcode_shlibpath_var
=no
9350 if test "$GCC" = yes; then
9351 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'
9353 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'
9355 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9356 hardcode_libdir_separator
=:
9359 # hardcode_minus_L: Not really in the search PATH,
9360 # but as the default location of the library.
9361 hardcode_minus_L
=yes
9362 export_dynamic_flag_spec
='${wl}-E'
9366 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9367 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9369 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9371 if test "$with_gnu_ld" = no
; then
9372 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9373 hardcode_libdir_flag_spec_ld
='+b $libdir'
9374 hardcode_libdir_separator
=:
9376 hardcode_direct_absolute
=yes
9377 export_dynamic_flag_spec
='${wl}-E'
9378 # hardcode_minus_L: Not really in the search PATH,
9379 # but as the default location of the library.
9380 hardcode_minus_L
=yes
9385 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9388 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9403 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9407 # Older versions of the 11.00 compiler do not understand -b yet
9408 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9410 $as_echo_n "checking if $CC understands -b... " >&6; }
9411 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9412 $as_echo_n "(cached) " >&6
9414 lt_cv_prog_compiler__b
=no
9415 save_LDFLAGS
="$LDFLAGS"
9416 LDFLAGS
="$LDFLAGS -b"
9417 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9418 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9419 # The linker can only warn and ignore the option if not recognized
9420 # So say no if there are warnings
9421 if test -s conftest.err
; then
9422 # Append any errors to the config.log.
9423 cat conftest.err
1>&5
9424 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9425 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9426 if diff conftest.exp conftest.er2
>/dev
/null
; then
9427 lt_cv_prog_compiler__b
=yes
9430 lt_cv_prog_compiler__b
=yes
9434 LDFLAGS
="$save_LDFLAGS"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9438 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9440 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9441 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9449 if test "$with_gnu_ld" = no
; then
9450 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9451 hardcode_libdir_separator
=:
9456 hardcode_shlibpath_var
=no
9460 hardcode_direct_absolute
=yes
9461 export_dynamic_flag_spec
='${wl}-E'
9463 # hardcode_minus_L: Not really in the search PATH,
9464 # but as the default location of the library.
9465 hardcode_minus_L
=yes
9471 irix5
* | irix6
* | nonstopux
*)
9472 if test "$GCC" = yes; then
9473 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'
9474 # Try to use the -exported_symbol ld option, if it does not
9475 # work, assume that -exports_file does not work either and
9476 # implicitly export all symbols.
9477 save_LDFLAGS
="$LDFLAGS"
9478 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9483 if ac_fn_c_try_link
"$LINENO"; then :
9484 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'
9487 rm -f core conftest.err conftest.
$ac_objext \
9488 conftest
$ac_exeext conftest.
$ac_ext
9489 LDFLAGS
="$save_LDFLAGS"
9491 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'
9492 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'
9494 archive_cmds_need_lc
='no'
9495 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9496 hardcode_libdir_separator
=:
9498 link_all_deplibs
=yes
9502 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9505 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9507 hardcode_libdir_flag_spec
='-R$libdir'
9509 hardcode_shlibpath_var
=no
9513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9516 hardcode_libdir_separator
=:
9517 hardcode_shlibpath_var
=no
9524 if test -f /usr
/libexec
/ld.so
; then
9526 hardcode_shlibpath_var
=no
9527 hardcode_direct_absolute
=yes
9528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9529 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9530 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9531 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9532 export_dynamic_flag_spec
='${wl}-E'
9535 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9536 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9537 hardcode_libdir_flag_spec
='-R$libdir'
9540 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9541 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9551 hardcode_libdir_flag_spec
='-L$libdir'
9552 hardcode_minus_L
=yes
9553 allow_undefined_flag
=unsupported
9554 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'
9555 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9559 if test "$GCC" = yes; then
9560 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9561 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'
9563 allow_undefined_flag
=' -expect_unresolved \*'
9564 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'
9566 archive_cmds_need_lc
='no'
9567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9568 hardcode_libdir_separator
=:
9571 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9572 if test "$GCC" = yes; then
9573 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9574 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'
9575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9577 allow_undefined_flag
=' -expect_unresolved \*'
9578 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'
9579 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~
9580 $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'
9582 # Both c and cxx compiler support -rpath directly
9583 hardcode_libdir_flag_spec
='-rpath $libdir'
9585 archive_cmds_need_lc
='no'
9586 hardcode_libdir_separator
=:
9590 no_undefined_flag
=' -z defs'
9591 if test "$GCC" = yes; then
9593 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9595 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9597 case `$CC -V 2>&1` in
9600 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9601 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9606 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9608 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9612 hardcode_libdir_flag_spec
='-R$libdir'
9613 hardcode_shlibpath_var
=no
9615 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9617 # The compiler driver will combine and reorder linker options,
9618 # but understands `-z linker_flag'. GCC discards it without `$wl',
9619 # but is careful enough not to reorder.
9620 # Supported since Solaris 2.6 (maybe 2.5.1?)
9621 if test "$GCC" = yes; then
9622 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9624 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9628 link_all_deplibs
=yes
9632 if test "x$host_vendor" = xsequent
; then
9633 # Use $CC to link under sequent, because it throws in some extra .o
9634 # files that make .init and .fini sections work.
9635 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_libdir_flag_spec
='-L$libdir'
9641 hardcode_minus_L
=yes
9642 hardcode_shlibpath_var
=no
9646 case $host_vendor in
9648 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9649 hardcode_direct
=yes # is this really true???
9652 ## LD is ld it makes a PLAMLIB
9653 ## CC just makes a GrossModule.
9654 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9655 reload_cmds
='$CC -r -o $output$reload_objs'
9659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9663 runpath_var
='LD_RUN_PATH'
9664 hardcode_shlibpath_var
=no
9668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_shlibpath_var
=no
9670 export_dynamic_flag_spec
='-Bexport'
9674 if test -d /usr
/nec
; then
9675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9676 hardcode_shlibpath_var
=no
9677 runpath_var
=LD_RUN_PATH
9678 hardcode_runpath_var
=yes
9683 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9684 no_undefined_flag
='${wl}-z,text'
9685 archive_cmds_need_lc
=no
9686 hardcode_shlibpath_var
=no
9687 runpath_var
='LD_RUN_PATH'
9689 if test "$GCC" = yes; then
9690 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9691 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698 sysv5
* | sco3.2v5
* | sco5v6
*)
9699 # Note: We can NOT use -z defs as we might desire, because we do not
9700 # link with -lc, and that would cause any symbols used from libc to
9701 # always be unresolved, which means just about no library would
9702 # ever link correctly. If we're not using GNU ld we use -z text
9703 # though, which does catch some bad symbols but isn't as heavy-handed
9705 no_undefined_flag
='${wl}-z,text'
9706 allow_undefined_flag
='${wl}-z,nodefs'
9707 archive_cmds_need_lc
=no
9708 hardcode_shlibpath_var
=no
9709 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9710 hardcode_libdir_separator
=':'
9711 link_all_deplibs
=yes
9712 export_dynamic_flag_spec
='${wl}-Bexport'
9713 runpath_var
='LD_RUN_PATH'
9715 if test "$GCC" = yes; then
9716 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec
='-L$libdir'
9727 hardcode_shlibpath_var
=no
9735 if test x
$host_vendor = xsni
; then
9737 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9738 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9745 $as_echo "$ld_shlibs" >&6; }
9746 test "$ld_shlibs" = no
&& can_build_shared
=no
9748 with_gnu_ld
=$with_gnu_ld
9765 # Do we need to explicitly link libc?
9767 case "x$archive_cmds_need_lc" in
9769 # Assume -lc should be added
9770 archive_cmds_need_lc
=yes
9772 if test "$enable_shared" = yes && test "$GCC" = yes; then
9773 case $archive_cmds in
9775 # FIXME: we may have to deal with multi-command sequences.
9778 # Test whether the compiler implicitly links with -lc since on some
9779 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9780 # to ld, don't add -lc before -lgcc.
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9782 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9783 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9784 $as_echo_n "(cached) " >&6
9787 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9790 (eval $ac_compile) 2>&5
9792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; } 2>conftest.err
; then
9796 libobjs
=conftest.
$ac_objext
9798 wl
=$lt_prog_compiler_wl
9799 pic_flag
=$lt_prog_compiler_pic
9805 lt_save_allow_undefined_flag
=$allow_undefined_flag
9806 allow_undefined_flag
=
9807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9808 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9811 test $ac_status = 0; }
9813 lt_cv_archive_cmds_need_lc
=no
9815 lt_cv_archive_cmds_need_lc
=yes
9817 allow_undefined_flag
=$lt_save_allow_undefined_flag
9819 cat conftest.err
1>&5
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9825 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9826 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9990 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9992 if test "$GCC" = yes; then
9994 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9995 *) lt_awk_arg
="/^libraries:/" ;;
9998 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9999 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10001 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10002 case $lt_search_path_spec in
10004 # if the path contains ";" then we assume it to be the separator
10005 # otherwise default to the standard path separator (i.e. ":") - it is
10006 # assumed that no part of a normal pathname contains ";" but that should
10007 # okay in the real world where ";" in dirpaths is itself problematic.
10008 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10011 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10014 # Ok, now we have the path, separated by spaces, we can step through it
10015 # and add multilib dir if necessary.
10016 lt_tmp_lt_search_path_spec
=
10017 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10018 for lt_sys_path
in $lt_search_path_spec; do
10019 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10020 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10022 test -d "$lt_sys_path" && \
10023 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10026 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10027 BEGIN {RS=" "; FS="/|\n";} {
10030 for (lt_i = NF; lt_i > 0; lt_i--) {
10031 if ($lt_i != "" && $lt_i != ".") {
10032 if ($lt_i == "..") {
10035 if (lt_count == 0) {
10036 lt_foo="/" $lt_i lt_foo;
10043 if (lt_foo != "") { lt_freq[lt_foo]++; }
10044 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10046 # AWK program above erroneously prepends '/' to C:/dos/paths
10049 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10050 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10052 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10054 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10056 library_names_spec
=
10057 libname_spec
='lib$name'
10061 postuninstall_cmds
=
10065 shlibpath_overrides_runpath
=unknown
10067 dynamic_linker
="$host_os ld.so"
10068 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10069 need_lib_prefix
=unknown
10070 hardcode_into_libs
=no
10072 # when you set need_version to no, make sure it does not cause -set_version
10073 # flags to be left without arguments
10074 need_version
=unknown
10079 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10080 shlibpath_var
=LIBPATH
10082 # AIX 3 has no versioning support, so we append a major version to the name.
10083 soname_spec
='${libname}${release}${shared_ext}$major'
10090 hardcode_into_libs
=yes
10091 if test "$host_cpu" = ia64
; then
10092 # AIX 5 supports IA64
10093 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10094 shlibpath_var
=LD_LIBRARY_PATH
10096 # With GCC up to 2.95.x, collect2 would create an import file
10097 # for dependence libraries. The import file would start with
10098 # the line `#! .'. This would cause the generated library to
10099 # depend on `.', always an invalid library. This was fixed in
10100 # development snapshots of GCC prior to 3.0.
10102 aix4 | aix4.
[01] | aix4.
[01].
*)
10103 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10105 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10108 can_build_shared
=no
10112 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10113 # soname into executable. Probably we can add versioning support to
10114 # collect2, so additional links can be useful in future.
10115 if test "$aix_use_runtimelinking" = yes; then
10116 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10117 # instead of lib<name>.a to let people know that these are not
10118 # typical AIX shared libraries.
10119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10121 # We preserve .a as extension for shared libraries through AIX4.2
10122 # and later when we are not doing run time linking.
10123 library_names_spec
='${libname}${release}.a $libname.a'
10124 soname_spec
='${libname}${release}${shared_ext}$major'
10126 shlibpath_var
=LIBPATH
10133 # Since July 2007 AmigaOS4 officially supports .so libraries.
10134 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138 library_names_spec
='$libname.ixlibrary $libname.a'
10139 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10140 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'
10146 library_names_spec
='${libname}${shared_ext}'
10147 dynamic_linker
="$host_os ld.so"
10148 shlibpath_var
=LIBRARY_PATH
10154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155 soname_spec
='${libname}${release}${shared_ext}$major'
10156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10157 shlibpath_var
=LD_LIBRARY_PATH
10158 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10159 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10160 # the default ld.so.conf also contains /usr/contrib/lib and
10161 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10162 # libtool to hard-code these into programs
10165 cygwin
* | mingw
* | pw32
* | cegcc
*)
10166 version_type
=windows
10171 case $GCC,$host_os in
10172 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10173 library_names_spec
='$libname.dll.a'
10174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10175 postinstall_cmds
='base_file=`basename \${file}`~
10176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10177 dldir=$destdir/`dirname \$dlpath`~
10178 test -d \$dldir || mkdir -p \$dldir~
10179 $install_prog $dir/$dlname \$dldir/$dlname~
10180 chmod a+x \$dldir/$dlname~
10181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10184 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10185 dlpath=$dir/\$dldll~
10187 shlibpath_overrides_runpath
=yes
10191 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10192 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10197 # MinGW DLLs use traditional 'lib' prefix
10198 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10201 # pw32 DLLs use 'pw' prefix rather than 'lib'
10202 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10208 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10211 dynamic_linker
='Win32 ld.exe'
10212 # FIXME: first we should search . and the directory the executable is in
10216 darwin
* | rhapsody
*)
10217 dynamic_linker
="$host_os dyld"
10218 version_type
=darwin
10221 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10222 soname_spec
='${libname}${release}${major}$shared_ext'
10223 shlibpath_overrides_runpath
=yes
10224 shlibpath_var
=DYLD_LIBRARY_PATH
10225 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10227 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10228 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10236 soname_spec
='${libname}${release}${shared_ext}$major'
10237 shlibpath_var
=LD_LIBRARY_PATH
10240 freebsd
* | dragonfly
*)
10241 # DragonFly does not have aout. When/if they implement a new
10242 # versioning mechanism, adjust this.
10243 if test -x /usr
/bin
/objformat
; then
10244 objformat
=`/usr/bin/objformat`
10247 freebsd
[123]*) objformat
=aout
;;
10248 *) objformat
=elf
;;
10251 version_type
=freebsd-
$objformat
10252 case $version_type in
10254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10259 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10263 shlibpath_var
=LD_LIBRARY_PATH
10266 shlibpath_overrides_runpath
=yes
10268 freebsd3.
[01]* | freebsdelf3.
[01]*)
10269 shlibpath_overrides_runpath
=yes
10270 hardcode_into_libs
=yes
10272 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10273 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10274 shlibpath_overrides_runpath
=no
10275 hardcode_into_libs
=yes
10277 *) # from 4.6 on, and DragonFly
10278 shlibpath_overrides_runpath
=yes
10279 hardcode_into_libs
=yes
10288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10289 soname_spec
='${libname}${release}${shared_ext}$major'
10290 shlibpath_var
=LD_LIBRARY_PATH
10291 hardcode_into_libs
=yes
10298 dynamic_linker
="$host_os runtime_loader"
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10300 soname_spec
='${libname}${release}${shared_ext}$major'
10301 shlibpath_var
=LIBRARY_PATH
10302 shlibpath_overrides_runpath
=yes
10303 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10304 hardcode_into_libs
=yes
10307 hpux9
* | hpux10
* | hpux11
*)
10308 # Give a soname corresponding to the major version so that dld.sl refuses to
10309 # link against other versions.
10316 hardcode_into_libs
=yes
10317 dynamic_linker
="$host_os dld.so"
10318 shlibpath_var
=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321 soname_spec
='${libname}${release}${shared_ext}$major'
10322 if test "X$HPUX_IA64_MODE" = X32
; then
10323 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10325 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10327 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10331 hardcode_into_libs
=yes
10332 dynamic_linker
="$host_os dld.sl"
10333 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10334 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10336 soname_spec
='${libname}${release}${shared_ext}$major'
10337 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10338 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10342 dynamic_linker
="$host_os dld.sl"
10343 shlibpath_var
=SHLIB_PATH
10344 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10349 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10350 postinstall_cmds
='chmod 555 $lib'
10351 # or fails outright, so override atomically:
10352 install_override_mode
=555
10359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 shlibpath_overrides_runpath
=no
10364 hardcode_into_libs
=yes
10367 irix5
* | irix6
* | nonstopux
*)
10369 nonstopux
*) version_type
=nonstopux
;;
10371 if test "$lt_cv_prog_gnu_ld" = yes; then
10379 soname_spec
='${libname}${release}${shared_ext}$major'
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10382 irix5
* | nonstopux
*)
10383 libsuff
= shlibsuff
=
10386 case $LD in # libtool.m4 will add one of these switches to LD
10387 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10388 libsuff
= shlibsuff
= libmagic
=32-bit;;
10389 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10390 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10391 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10392 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10393 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10397 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10398 shlibpath_overrides_runpath
=no
10399 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10400 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10401 hardcode_into_libs
=yes
10404 # No shared lib support for Linux oldld, aout, or coff.
10405 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10409 # This must be Linux ELF.
10410 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10415 soname_spec
='${libname}${release}${shared_ext}$major'
10416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10417 shlibpath_var
=LD_LIBRARY_PATH
10418 shlibpath_overrides_runpath
=no
10420 # Some binutils ld are patched to set DT_RUNPATH
10421 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10422 $as_echo_n "(cached) " >&6
10424 lt_cv_shlibpath_overrides_runpath
=no
10425 save_LDFLAGS
=$LDFLAGS
10426 save_libdir
=$libdir
10427 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10428 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10440 if ac_fn_c_try_link
"$LINENO"; then :
10441 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10442 lt_cv_shlibpath_overrides_runpath
=yes
10445 rm -f core conftest.err conftest.
$ac_objext \
10446 conftest
$ac_exeext conftest.
$ac_ext
10447 LDFLAGS
=$save_LDFLAGS
10448 libdir
=$save_libdir
10452 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10454 # This implies no fast_install, which is unacceptable.
10455 # Some rework will be needed to allow for fast_install
10456 # before this can be enabled.
10457 hardcode_into_libs
=yes
10459 # Append ld.so.conf contents to the search path
10460 if test -f /etc
/ld.so.conf
; then
10461 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' ' '`
10462 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10465 # We used to test for /lib/ld.so.1 and disable shared libraries on
10466 # powerpc, because MkLinux only supported shared libraries with the
10467 # GNU dynamic linker. Since this was broken with cross compilers,
10468 # most powerpc-linux boxes support dynamic linking these days and
10469 # people can always --disable-shared, the test was removed, and we
10470 # assume the GNU/Linux dynamic linker is in use.
10471 dynamic_linker
='GNU/Linux ld.so'
10478 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10480 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10481 dynamic_linker
='NetBSD (a.out) ld.so'
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10484 soname_spec
='${libname}${release}${shared_ext}$major'
10485 dynamic_linker
='NetBSD ld.elf_so'
10487 shlibpath_var
=LD_LIBRARY_PATH
10488 shlibpath_overrides_runpath
=yes
10489 hardcode_into_libs
=yes
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10504 soname_spec
='${libname}${release}${shared_ext}$major'
10505 shlibpath_var
=LD_LIBRARY_PATH
10506 shlibpath_overrides_runpath
=no
10507 hardcode_into_libs
=yes
10508 dynamic_linker
='ldqnx.so'
10513 sys_lib_dlsearch_path_spec
="/usr/lib"
10515 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10517 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10518 *) need_version
=no
;;
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10522 shlibpath_var
=LD_LIBRARY_PATH
10523 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10525 openbsd2.
[89] | openbsd2.
[89].
*)
10526 shlibpath_overrides_runpath
=no
10529 shlibpath_overrides_runpath
=yes
10533 shlibpath_overrides_runpath
=yes
10538 libname_spec
='$name'
10541 library_names_spec
='$libname${shared_ext} $libname.a'
10542 dynamic_linker
='OS/2 ld.exe'
10543 shlibpath_var
=LIBPATH
10546 osf3
* | osf4
* | osf5
*)
10550 soname_spec
='${libname}${release}${shared_ext}$major'
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10554 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec
='${libname}${release}${shared_ext}$major'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 shlibpath_overrides_runpath
=yes
10569 hardcode_into_libs
=yes
10570 # ldd complains unless libraries are executable
10571 postinstall_cmds
='chmod +x $lib'
10576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10577 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10578 shlibpath_var
=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath
=yes
10580 if test "$with_gnu_ld" = yes; then
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589 soname_spec
='${libname}${release}${shared_ext}$major'
10590 shlibpath_var
=LD_LIBRARY_PATH
10591 case $host_vendor in
10593 shlibpath_overrides_runpath
=no
10595 runpath_var
=LD_RUN_PATH
10603 shlibpath_overrides_runpath
=no
10604 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10610 if test -d /usr
/nec
;then
10612 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10613 soname_spec
='$libname${shared_ext}.$major'
10614 shlibpath_var
=LD_LIBRARY_PATH
10618 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10619 version_type
=freebsd-elf
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10623 soname_spec
='${libname}${release}${shared_ext}$major'
10624 shlibpath_var
=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath
=yes
10626 hardcode_into_libs
=yes
10627 if test "$with_gnu_ld" = yes; then
10628 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10630 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10633 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10637 sys_lib_dlsearch_path_spec
='/usr/lib'
10641 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 shlibpath_var
=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath
=no
10648 hardcode_into_libs
=yes
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 soname_spec
='${libname}${release}${shared_ext}$major'
10655 shlibpath_var
=LD_LIBRARY_PATH
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10663 $as_echo "$dynamic_linker" >&6; }
10664 test "$dynamic_linker" = no
&& can_build_shared
=no
10666 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10667 if test "$GCC" = yes; then
10668 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10671 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10672 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10674 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10675 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10772 if test -n "$hardcode_libdir_flag_spec" ||
10773 test -n "$runpath_var" ||
10774 test "X$hardcode_automatic" = "Xyes" ; then
10776 # We can hardcode non-existent directories.
10777 if test "$hardcode_direct" != no
&&
10778 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10779 # have to relink, otherwise we might link with an installed library
10780 # when we should be linking with a yet-to-be-installed one
10781 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10782 test "$hardcode_minus_L" != no
; then
10783 # Linking always hardcodes the temporary library directory.
10784 hardcode_action
=relink
10786 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10787 hardcode_action
=immediate
10790 # We cannot hardcode anything, or else we can only hardcode existing
10792 hardcode_action
=unsupported
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10795 $as_echo "$hardcode_action" >&6; }
10797 if test "$hardcode_action" = relink ||
10798 test "$inherit_rpath" = yes; then
10799 # Fast installation is not supported
10800 enable_fast_install
=no
10801 elif test "$shlibpath_overrides_runpath" = yes ||
10802 test "$enable_shared" = no
; then
10803 # Fast installation is not necessary
10804 enable_fast_install
=needless
10812 if test "x$enable_dlopen" != xyes
; then
10813 enable_dlopen
=unknown
10814 enable_dlopen_self
=unknown
10815 enable_dlopen_self_static
=unknown
10822 lt_cv_dlopen
="load_add_on"
10824 lt_cv_dlopen_self
=yes
10827 mingw
* | pw32
* | cegcc
*)
10828 lt_cv_dlopen
="LoadLibrary"
10833 lt_cv_dlopen
="dlopen"
10838 # if libdl is installed we need to link against it
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10841 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10842 $as_echo_n "(cached) " >&6
10844 ac_check_lib_save_LIBS
=$LIBS
10846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10864 if ac_fn_c_try_link
"$LINENO"; then :
10865 ac_cv_lib_dl_dlopen
=yes
10867 ac_cv_lib_dl_dlopen
=no
10869 rm -f core conftest.err conftest.
$ac_objext \
10870 conftest
$ac_exeext conftest.
$ac_ext
10871 LIBS
=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10874 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10875 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10876 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10879 lt_cv_dlopen
="dyld"
10881 lt_cv_dlopen_self
=yes
10888 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10889 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10890 lt_cv_dlopen
="shl_load"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10893 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10894 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10895 $as_echo_n "(cached) " >&6
10897 ac_check_lib_save_LIBS
=$LIBS
10899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10912 return shl_load ();
10917 if ac_fn_c_try_link
"$LINENO"; then :
10918 ac_cv_lib_dld_shl_load
=yes
10920 ac_cv_lib_dld_shl_load
=no
10922 rm -f core conftest.err conftest.
$ac_objext \
10923 conftest
$ac_exeext conftest.
$ac_ext
10924 LIBS
=$ac_check_lib_save_LIBS
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10927 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10928 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10929 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10931 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10932 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10933 lt_cv_dlopen
="dlopen"
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10936 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10938 $as_echo_n "(cached) " >&6
10940 ac_check_lib_save_LIBS
=$LIBS
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10960 if ac_fn_c_try_link
"$LINENO"; then :
10961 ac_cv_lib_dl_dlopen
=yes
10963 ac_cv_lib_dl_dlopen
=no
10965 rm -f core conftest.err conftest.
$ac_objext \
10966 conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_check_lib_save_LIBS
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10970 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10971 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10972 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10975 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10976 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10977 $as_echo_n "(cached) " >&6
10979 ac_check_lib_save_LIBS
=$LIBS
10980 LIBS
="-lsvld $LIBS"
10981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10999 if ac_fn_c_try_link
"$LINENO"; then :
11000 ac_cv_lib_svld_dlopen
=yes
11002 ac_cv_lib_svld_dlopen
=no
11004 rm -f core conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_lib_save_LIBS
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11009 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11010 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11011 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11014 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11015 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS
=$LIBS
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11033 return dld_link ();
11038 if ac_fn_c_try_link
"$LINENO"; then :
11039 ac_cv_lib_dld_dld_link
=yes
11041 ac_cv_lib_dld_dld_link
=no
11043 rm -f core conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11045 LIBS
=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11048 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11049 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11050 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11071 if test "x$lt_cv_dlopen" != xno
; then
11077 case $lt_cv_dlopen in
11079 save_CPPFLAGS
="$CPPFLAGS"
11080 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11082 save_LDFLAGS
="$LDFLAGS"
11083 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11086 LIBS
="$lt_cv_dlopen_libs $LIBS"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11089 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11090 if test "${lt_cv_dlopen_self+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 if test "$cross_compiling" = yes; then :
11094 lt_cv_dlopen_self
=cross
11096 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11097 lt_status
=$lt_dlunknown
11098 cat > conftest.
$ac_ext <<_LT_EOF
11099 #line 11099 "configure"
11100 #include "confdefs.h"
11109 # define LT_DLGLOBAL RTLD_GLOBAL
11112 # define LT_DLGLOBAL DL_GLOBAL
11114 # define LT_DLGLOBAL 0
11118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11119 find out it does not work in some platform. */
11120 #ifndef LT_DLLAZY_OR_NOW
11122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11125 # define LT_DLLAZY_OR_NOW DL_LAZY
11128 # define LT_DLLAZY_OR_NOW RTLD_NOW
11131 # define LT_DLLAZY_OR_NOW DL_NOW
11133 # define LT_DLLAZY_OR_NOW 0
11140 /* When -fvisbility=hidden is used, assume the code has been annotated
11141 correspondingly for the symbols needed. */
11142 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11143 void fnord () __attribute__((visibility("default")));
11146 void fnord () { int i=42; }
11149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11150 int status = $lt_dlunknown;
11154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11157 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11158 else puts (dlerror ());
11160 /* dlclose (self); */
11168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11169 (eval $ac_link) 2>&5
11171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11172 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11173 (.
/conftest
; exit; ) >&5 2>/dev
/null
11175 case x
$lt_status in
11176 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11177 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11178 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11181 # compilation failed
11182 lt_cv_dlopen_self
=no
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11190 $as_echo "$lt_cv_dlopen_self" >&6; }
11192 if test "x$lt_cv_dlopen_self" = xyes
; then
11193 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11195 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11196 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11197 $as_echo_n "(cached) " >&6
11199 if test "$cross_compiling" = yes; then :
11200 lt_cv_dlopen_self_static
=cross
11202 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11203 lt_status
=$lt_dlunknown
11204 cat > conftest.
$ac_ext <<_LT_EOF
11205 #line 11205 "configure"
11206 #include "confdefs.h"
11215 # define LT_DLGLOBAL RTLD_GLOBAL
11218 # define LT_DLGLOBAL DL_GLOBAL
11220 # define LT_DLGLOBAL 0
11224 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11225 find out it does not work in some platform. */
11226 #ifndef LT_DLLAZY_OR_NOW
11228 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11231 # define LT_DLLAZY_OR_NOW DL_LAZY
11234 # define LT_DLLAZY_OR_NOW RTLD_NOW
11237 # define LT_DLLAZY_OR_NOW DL_NOW
11239 # define LT_DLLAZY_OR_NOW 0
11246 /* When -fvisbility=hidden is used, assume the code has been annotated
11247 correspondingly for the symbols needed. */
11248 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11249 void fnord () __attribute__((visibility("default")));
11252 void fnord () { int i=42; }
11255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11256 int status = $lt_dlunknown;
11260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11263 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11264 else puts (dlerror ());
11266 /* dlclose (self); */
11274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11275 (eval $ac_link) 2>&5
11277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11278 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11279 (.
/conftest
; exit; ) >&5 2>/dev
/null
11281 case x
$lt_status in
11282 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11283 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11284 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11287 # compilation failed
11288 lt_cv_dlopen_self_static
=no
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11296 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11299 CPPFLAGS
="$save_CPPFLAGS"
11300 LDFLAGS
="$save_LDFLAGS"
11305 case $lt_cv_dlopen_self in
11306 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11307 *) enable_dlopen_self
=unknown
;;
11310 case $lt_cv_dlopen_self_static in
11311 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11312 *) enable_dlopen_self_static
=unknown
;;
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11335 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11336 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11337 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11338 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11340 $as_echo "yes" >&6; }
11342 # FIXME - insert some real tests, host_os isn't really good enough
11345 if test -n "$STRIP" ; then
11346 striplib
="$STRIP -x"
11347 old_striplib
="$STRIP -S"
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11349 $as_echo "yes" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352 $as_echo "no" >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11357 $as_echo "no" >&6; }
11373 # Report which library types will actually be built
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11375 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11377 $as_echo "$can_build_shared" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11380 $as_echo_n "checking whether to build shared libraries... " >&6; }
11381 test "$can_build_shared" = "no" && enable_shared
=no
11383 # On AIX, shared libraries and static libraries use the same namespace, and
11384 # are all built from PIC.
11387 test "$enable_shared" = yes && enable_static
=no
11388 if test -n "$RANLIB"; then
11389 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11390 postinstall_cmds
='$RANLIB $lib'
11395 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11396 test "$enable_shared" = yes && enable_static
=no
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11401 $as_echo "$enable_shared" >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11404 $as_echo_n "checking whether to build static libraries... " >&6; }
11405 # Make sure either enable_shared or enable_static is yes.
11406 test "$enable_shared" = yes || enable_static
=yes
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11408 $as_echo "$enable_static" >&6; }
11415 ac_cpp
='$CPP $CPPFLAGS'
11416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11434 # Source file extension for Go test sources.
11437 # Object file extension for compiled Go test sources.
11441 # Code to be used in simple compile tests
11442 lt_simple_compile_test_code
="package main; func main() { }"
11444 # Code to be used in simple link tests
11445 lt_simple_link_test_code
='package main; func main() { }'
11447 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11454 # If no C compiler was specified, use CC.
11457 # If no C compiler flags were specified, use CFLAGS.
11458 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11460 # Allow CC to be a program name with arguments.
11464 # save warnings/boilerplate of simple test code
11465 ac_outfile
=conftest.
$ac_objext
11466 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11467 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11468 _lt_compiler_boilerplate
=`cat conftest.err`
11471 ac_outfile
=conftest.
$ac_objext
11472 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11473 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11474 _lt_linker_boilerplate
=`cat conftest.err`
11478 # Allow CC to be a program name with arguments.
11486 for cc_temp
in $compiler""; do
11488 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11489 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11494 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11497 # Go did not exist at the time GCC didn't implicitly link libc in.
11498 archive_cmds_need_lc_GO
=no
11500 old_archive_cmds_GO
=$old_archive_cmds
11503 ## There is no encapsulation within the following macros, do not change
11504 ## the running order or otherwise move them around unless you know exactly
11505 ## what you are doing...
11506 if test -n "$compiler"; then
11508 lt_prog_compiler_no_builtin_flag_GO
=
11510 if test "$GCC" = yes; then
11511 case $cc_basename in
11513 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11515 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11519 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11520 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11523 lt_cv_prog_compiler_rtti_exceptions
=no
11524 ac_outfile
=conftest.
$ac_objext
11525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11526 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11527 # Insert the option either (1) after the last *FLAGS variable, or
11528 # (2) before a word containing "conftest.", or (3) at the end.
11529 # Note that $ac_compile itself does not contain backslashes and begins
11530 # with a dollar sign (not a hyphen), so the echo should work correctly.
11531 # The option is referenced via a variable to avoid confusing sed.
11532 lt_compile
=`echo "$ac_compile" | $SED \
11533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11535 -e 's:$: $lt_compiler_flag:'`
11536 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11537 (eval "$lt_compile" 2>conftest.err
)
11539 cat conftest.err
>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 if (exit $ac_status) && test -s "$ac_outfile"; then
11542 # The compiler can only warn and ignore the option if not recognized
11543 # So say no if there are warnings other than the usual output.
11544 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11545 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11546 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11547 lt_cv_prog_compiler_rtti_exceptions
=yes
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11554 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11556 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11557 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11566 lt_prog_compiler_wl_GO
=
11567 lt_prog_compiler_pic_GO
=
11568 lt_prog_compiler_static_GO
=
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11571 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11573 if test "$GCC" = yes; then
11574 lt_prog_compiler_wl_GO
='-Wl,'
11575 lt_prog_compiler_static_GO
='-static'
11579 # All AIX code is PIC.
11580 if test "$host_cpu" = ia64
; then
11581 # AIX 5 now supports IA64 processor
11582 lt_prog_compiler_static_GO
='-Bstatic'
11589 # see comment about AmigaOS4 .so support
11590 lt_prog_compiler_pic_GO
='-fPIC'
11593 # FIXME: we need at least 68020 code to build shared libraries, but
11594 # adding the `-m68020' flag to GCC prevents building anything better,
11596 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11601 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11602 # PIC is the default for these OSes.
11605 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11606 # This hack is so that the source file can tell whether it is being
11607 # built for inclusion in a dll (and should export symbols for example).
11608 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11609 # (--disable-auto-import) libraries
11610 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11613 darwin
* | rhapsody
*)
11614 # PIC is the default on this platform
11615 # Common symbols not allowed in MH_DYLIB files
11616 lt_prog_compiler_pic_GO
='-fno-common'
11620 # PIC is the default for Haiku.
11621 # The "-static" flag exists, but is broken.
11622 lt_prog_compiler_static_GO
=
11626 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11627 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11628 # sets the default TLS model and affects inlining.
11634 lt_prog_compiler_pic_GO
='-fPIC'
11640 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11641 # Instead, we relocate shared libraries at runtime.
11645 # Just because we use GCC doesn't mean we suddenly get shared libraries
11646 # on systems that don't support them.
11647 lt_prog_compiler_can_build_shared_GO
=no
11652 # QNX uses GNU C++, but need to define -shared option too, otherwise
11653 # it will coredump.
11654 lt_prog_compiler_pic_GO
='-fPIC -shared'
11658 if test -d /usr
/nec
; then
11659 lt_prog_compiler_pic_GO
=-Kconform_pic
11664 lt_prog_compiler_pic_GO
='-fPIC'
11668 case $cc_basename in
11669 nvcc
*) # Cuda Compiler Driver 2.2
11670 lt_prog_compiler_wl_GO
='-Xlinker '
11671 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11675 # PORTME Check for flag to pass linker flags through the system compiler.
11678 lt_prog_compiler_wl_GO
='-Wl,'
11679 if test "$host_cpu" = ia64
; then
11680 # AIX 5 now supports IA64 processor
11681 lt_prog_compiler_static_GO
='-Bstatic'
11683 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11687 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11688 # This hack is so that the source file can tell whether it is being
11689 # built for inclusion in a dll (and should export symbols for example).
11690 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11693 hpux9
* | hpux10
* | hpux11
*)
11694 lt_prog_compiler_wl_GO
='-Wl,'
11695 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11696 # not for PA HP-UX.
11702 lt_prog_compiler_pic_GO
='+Z'
11705 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11706 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11709 irix5
* | irix6
* | nonstopux
*)
11710 lt_prog_compiler_wl_GO
='-Wl,'
11711 # PIC (with -KPIC) is the default.
11712 lt_prog_compiler_static_GO
='-non_shared'
11715 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11716 case $cc_basename in
11717 # old Intel for x86_64 which still supported -KPIC.
11719 lt_prog_compiler_wl_GO
='-Wl,'
11720 lt_prog_compiler_pic_GO
='-KPIC'
11721 lt_prog_compiler_static_GO
='-static'
11723 # icc used to be incompatible with GCC.
11724 # ICC 10 doesn't accept -KPIC any more.
11726 lt_prog_compiler_wl_GO
='-Wl,'
11727 lt_prog_compiler_pic_GO
='-fPIC'
11728 lt_prog_compiler_static_GO
='-static'
11730 # Lahey Fortran 8.1.
11732 lt_prog_compiler_wl_GO
='-Wl,'
11733 lt_prog_compiler_pic_GO
='--shared'
11734 lt_prog_compiler_static_GO
='--static'
11736 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11737 # Portland Group compilers (*not* the Pentium gcc compiler,
11738 # which looks to be a dead project)
11739 lt_prog_compiler_wl_GO
='-Wl,'
11740 lt_prog_compiler_pic_GO
='-fpic'
11741 lt_prog_compiler_static_GO
='-Bstatic'
11744 lt_prog_compiler_wl_GO
='-Wl,'
11745 # All Alpha code is PIC.
11746 lt_prog_compiler_static_GO
='-non_shared'
11748 xl
* | bgxl
* | bgf
* | mpixl
*)
11749 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11750 lt_prog_compiler_wl_GO
='-Wl,'
11751 lt_prog_compiler_pic_GO
='-qpic'
11752 lt_prog_compiler_static_GO
='-qstaticlink'
11755 case `$CC -V 2>&1 | sed 5q` in
11756 *Sun\ F
* |
*Sun
*Fortran
*)
11757 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11758 lt_prog_compiler_pic_GO
='-KPIC'
11759 lt_prog_compiler_static_GO
='-Bstatic'
11760 lt_prog_compiler_wl_GO
=''
11764 lt_prog_compiler_pic_GO
='-KPIC'
11765 lt_prog_compiler_static_GO
='-Bstatic'
11766 lt_prog_compiler_wl_GO
='-Wl,'
11774 lt_prog_compiler_pic_GO
='-KPIC'
11775 lt_prog_compiler_static_GO
='-Bstatic'
11779 # QNX uses GNU C++, but need to define -shared option too, otherwise
11780 # it will coredump.
11781 lt_prog_compiler_pic_GO
='-fPIC -shared'
11784 osf3
* | osf4
* | osf5
*)
11785 lt_prog_compiler_wl_GO
='-Wl,'
11786 # All OSF/1 code is PIC.
11787 lt_prog_compiler_static_GO
='-non_shared'
11791 lt_prog_compiler_static_GO
='-non_shared'
11795 lt_prog_compiler_pic_GO
='-KPIC'
11796 lt_prog_compiler_static_GO
='-Bstatic'
11797 case $cc_basename in
11798 f77
* | f90
* | f95
*)
11799 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11801 lt_prog_compiler_wl_GO
='-Wl,';;
11806 lt_prog_compiler_wl_GO
='-Qoption ld '
11807 lt_prog_compiler_pic_GO
='-PIC'
11808 lt_prog_compiler_static_GO
='-Bstatic'
11811 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11812 lt_prog_compiler_wl_GO
='-Wl,'
11813 lt_prog_compiler_pic_GO
='-KPIC'
11814 lt_prog_compiler_static_GO
='-Bstatic'
11818 if test -d /usr
/nec
;then
11819 lt_prog_compiler_pic_GO
='-Kconform_pic'
11820 lt_prog_compiler_static_GO
='-Bstatic'
11824 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11825 lt_prog_compiler_wl_GO
='-Wl,'
11826 lt_prog_compiler_pic_GO
='-KPIC'
11827 lt_prog_compiler_static_GO
='-Bstatic'
11831 lt_prog_compiler_wl_GO
='-Wl,'
11832 lt_prog_compiler_can_build_shared_GO
=no
11836 lt_prog_compiler_pic_GO
='-pic'
11837 lt_prog_compiler_static_GO
='-Bstatic'
11841 lt_prog_compiler_can_build_shared_GO
=no
11847 # For platforms which do not support PIC, -DPIC is meaningless:
11849 lt_prog_compiler_pic_GO
=
11852 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11856 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11861 # Check to make sure the PIC flag actually works.
11863 if test -n "$lt_prog_compiler_pic_GO"; then
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11865 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11866 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11867 $as_echo_n "(cached) " >&6
11869 lt_cv_prog_compiler_pic_works_GO
=no
11870 ac_outfile
=conftest.
$ac_objext
11871 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11872 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11873 # Insert the option either (1) after the last *FLAGS variable, or
11874 # (2) before a word containing "conftest.", or (3) at the end.
11875 # Note that $ac_compile itself does not contain backslashes and begins
11876 # with a dollar sign (not a hyphen), so the echo should work correctly.
11877 # The option is referenced via a variable to avoid confusing sed.
11878 lt_compile
=`echo "$ac_compile" | $SED \
11879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11881 -e 's:$: $lt_compiler_flag:'`
11882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11883 (eval "$lt_compile" 2>conftest.err
)
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 if (exit $ac_status) && test -s "$ac_outfile"; then
11888 # The compiler can only warn and ignore the option if not recognized
11889 # So say no if there are warnings other than the usual output.
11890 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11891 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11892 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11893 lt_cv_prog_compiler_pic_works_GO
=yes
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11900 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11902 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11903 case $lt_prog_compiler_pic_GO in
11905 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11908 lt_prog_compiler_pic_GO
=
11909 lt_prog_compiler_can_build_shared_GO
=no
11917 # Check to make sure the static flag actually works.
11919 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11921 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11922 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11923 $as_echo_n "(cached) " >&6
11925 lt_cv_prog_compiler_static_works_GO
=no
11926 save_LDFLAGS
="$LDFLAGS"
11927 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11928 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11929 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11930 # The linker can only warn and ignore the option if not recognized
11931 # So say no if there are warnings
11932 if test -s conftest.err
; then
11933 # Append any errors to the config.log.
11934 cat conftest.err
1>&5
11935 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11936 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11937 if diff conftest.exp conftest.er2
>/dev
/null
; then
11938 lt_cv_prog_compiler_static_works_GO
=yes
11941 lt_cv_prog_compiler_static_works_GO
=yes
11945 LDFLAGS
="$save_LDFLAGS"
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11949 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11951 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11954 lt_prog_compiler_static_GO
=
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11961 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11962 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11963 $as_echo_n "(cached) " >&6
11965 lt_cv_prog_compiler_c_o_GO
=no
11966 $RM -r conftest
2>/dev
/null
11970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11972 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11973 # Insert the option either (1) after the last *FLAGS variable, or
11974 # (2) before a word containing "conftest.", or (3) at the end.
11975 # Note that $ac_compile itself does not contain backslashes and begins
11976 # with a dollar sign (not a hyphen), so the echo should work correctly.
11977 lt_compile
=`echo "$ac_compile" | $SED \
11978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11980 -e 's:$: $lt_compiler_flag:'`
11981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11982 (eval "$lt_compile" 2>out
/conftest.err
)
11984 cat out
/conftest.err
>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11988 # The compiler can only warn and ignore the option if not recognized
11989 # So say no if there are warnings
11990 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11991 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11992 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11993 lt_cv_prog_compiler_c_o_GO
=yes
11998 # SGI C++ compiler will create directory out/ii_files/ for
11999 # template instantiation
12000 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12001 $RM out
/* && rmdir out
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12008 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12014 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 lt_cv_prog_compiler_c_o_GO
=no
12018 $RM -r conftest
2>/dev
/null
12022 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12024 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12025 # Insert the option either (1) after the last *FLAGS variable, or
12026 # (2) before a word containing "conftest.", or (3) at the end.
12027 # Note that $ac_compile itself does not contain backslashes and begins
12028 # with a dollar sign (not a hyphen), so the echo should work correctly.
12029 lt_compile
=`echo "$ac_compile" | $SED \
12030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12032 -e 's:$: $lt_compiler_flag:'`
12033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12034 (eval "$lt_compile" 2>out
/conftest.err
)
12036 cat out
/conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12040 # The compiler can only warn and ignore the option if not recognized
12041 # So say no if there are warnings
12042 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12043 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12044 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12045 lt_cv_prog_compiler_c_o_GO
=yes
12050 # SGI C++ compiler will create directory out/ii_files/ for
12051 # template instantiation
12052 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12053 $RM out
/* && rmdir out
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12060 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12065 hard_links
="nottested"
12066 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12067 # do not overwrite the value of need_locks provided by the user
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12069 $as_echo_n "checking if we can lock with hard links... " >&6; }
12072 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12074 ln conftest.a conftest.b
2>&5 || hard_links
=no
12075 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12077 $as_echo "$hard_links" >&6; }
12078 if test "$hard_links" = no
; then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12080 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12093 allow_undefined_flag_GO
=
12094 always_export_symbols_GO
=no
12096 archive_expsym_cmds_GO
=
12097 compiler_needs_object_GO
=no
12098 enable_shared_with_static_runtimes_GO
=no
12099 export_dynamic_flag_spec_GO
=
12100 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12101 hardcode_automatic_GO
=no
12102 hardcode_direct_GO
=no
12103 hardcode_direct_absolute_GO
=no
12104 hardcode_libdir_flag_spec_GO
=
12105 hardcode_libdir_flag_spec_ld_GO
=
12106 hardcode_libdir_separator_GO
=
12107 hardcode_minus_L_GO
=no
12108 hardcode_shlibpath_var_GO
=unsupported
12109 inherit_rpath_GO
=no
12110 link_all_deplibs_GO
=unknown
12112 module_expsym_cmds_GO
=
12113 old_archive_from_new_cmds_GO
=
12114 old_archive_from_expsyms_cmds_GO
=
12115 thread_safe_flag_spec_GO
=
12116 whole_archive_flag_spec_GO
=
12117 # include_expsyms should be a list of space-separated symbols to be *always*
12118 # included in the symbol list
12119 include_expsyms_GO
=
12120 # exclude_expsyms can be an extended regexp of symbols to exclude
12121 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12122 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12123 # as well as any symbol that contains `d'.
12124 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12125 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12126 # platforms (ab)use it in PIC code, but their linkers get confused if
12127 # the symbol is explicitly referenced. Since portable code cannot
12128 # rely on this symbol name, it's probably fine to never include it in
12129 # preloaded symbol tables.
12130 # Exclude shared library initialization/finalization symbols.
12131 extract_expsyms_cmds
=
12134 cygwin
* | mingw
* | pw32
* | cegcc
*)
12135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12136 # When not using gcc, we currently assume that we are using
12137 # Microsoft Visual C++.
12138 if test "$GCC" != yes; then
12143 # we just hope/assume this is gcc and not c89 (= MSVC++)
12153 # On some targets, GNU ld is compatible enough with the native linker
12154 # that we're better off using the native interface for both.
12155 lt_use_gnu_ld_interface
=no
12156 if test "$with_gnu_ld" = yes; then
12159 # The AIX port of GNU ld has always aspired to compatibility
12160 # with the native linker. However, as the warning in the GNU ld
12161 # block says, versions before 2.19.5* couldn't really create working
12162 # shared libraries, regardless of the interface used.
12163 case `$LD -v 2>&1` in
12164 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12165 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12166 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12168 lt_use_gnu_ld_interface
=yes
12173 lt_use_gnu_ld_interface
=yes
12178 if test "$lt_use_gnu_ld_interface" = yes; then
12179 # If archive_cmds runs LD, not CC, wlarc should be empty
12182 # Set some defaults for GNU ld with shared library support. These
12183 # are reset later if shared libraries are not supported. Putting them
12184 # here allows them to be overridden if necessary.
12185 runpath_var
=LD_RUN_PATH
12186 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12187 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12188 # ancient GNU ld didn't support --whole-archive et. al.
12189 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12190 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12192 whole_archive_flag_spec_GO
=
12194 supports_anon_versioning
=no
12195 case `$LD -v 2>&1` in
12196 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12197 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12198 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12199 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12200 *\
2.11.
*) ;; # other 2.11 versions
12201 *) supports_anon_versioning
=yes ;;
12204 # See if GNU ld supports shared libraries.
12207 # On AIX/PPC, the GNU linker is very broken
12208 if test "$host_cpu" != ia64
; then
12212 *** Warning: the GNU linker, at least up to release 2.19, is reported
12213 *** to be unable to reliably create shared libraries on AIX.
12214 *** Therefore, libtool is disabling shared libraries support. If you
12215 *** really care for shared libraries, you may want to install binutils
12216 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12217 *** You will then need to restart the configuration process.
12226 # see comment about AmigaOS4 .so support
12227 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12228 archive_expsym_cmds_GO
=''
12231 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)'
12232 hardcode_libdir_flag_spec_GO
='-L$libdir'
12233 hardcode_minus_L_GO
=yes
12239 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12240 allow_undefined_flag_GO
=unsupported
12241 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12242 # support --undefined. This deserves some investigation. FIXME
12243 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12249 cygwin
* | mingw
* | pw32
* | cegcc
*)
12250 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12251 # as there is no search path for DLLs.
12252 hardcode_libdir_flag_spec_GO
='-L$libdir'
12253 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12254 allow_undefined_flag_GO
=unsupported
12255 always_export_symbols_GO
=no
12256 enable_shared_with_static_runtimes_GO
=yes
12257 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12259 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12260 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12261 # If the export-symbols file already is a .def file (1st line
12262 # is EXPORTS), use it as is; otherwise, prepend...
12263 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12264 cp $export_symbols $output_objdir/$soname.def;
12266 echo EXPORTS > $output_objdir/$soname.def;
12267 cat $export_symbols >> $output_objdir/$soname.def;
12269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12276 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12277 link_all_deplibs_GO
=yes
12281 hardcode_direct_GO
=no
12282 hardcode_shlibpath_var_GO
=no
12283 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12284 export_dynamic_flag_spec_GO
='${wl}-E'
12285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12286 # Instead, shared libraries are loaded at an image base (0x10000000 by
12287 # default) and relocated if they conflict, which is a slow very memory
12288 # consuming and fragmenting process. To avoid this, we pick a random,
12289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12291 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'
12292 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'
12295 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12297 if test "$host_os" = linux-dietlibc
; then
12298 case $cc_basename in
12299 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12302 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12303 && test "$tmp_diet" = no
12306 tmp_sharedflag
='-shared'
12307 case $cc_basename,$host_cpu in
12308 pgcc
*) # Portland Group C compiler
12309 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'
12310 tmp_addflag
=' $pic_flag'
12312 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12313 # Portland Group f77 and f90 compilers
12314 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'
12315 tmp_addflag
=' $pic_flag -Mnomain' ;;
12316 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12317 tmp_addflag
=' -i_dynamic' ;;
12318 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12319 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12320 ifc
* | ifort
*) # Intel Fortran compiler
12321 tmp_addflag
=' -nofor_main' ;;
12322 lf95
*) # Lahey Fortran 8.1
12323 whole_archive_flag_spec_GO
=
12324 tmp_sharedflag
='--shared' ;;
12325 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12326 tmp_sharedflag
='-qmkshrobj'
12328 nvcc
*) # Cuda Compiler Driver 2.2
12329 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'
12330 compiler_needs_object_GO
=yes
12333 case `$CC -V 2>&1 | sed 5q` in
12334 *Sun\ C
*) # Sun C 5.9
12335 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'
12336 compiler_needs_object_GO
=yes
12337 tmp_sharedflag
='-G' ;;
12338 *Sun\ F
*) # Sun Fortran 8.3
12339 tmp_sharedflag
='-G' ;;
12341 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12343 if test "x$supports_anon_versioning" = xyes
; then
12344 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12346 echo "local: *; };" >> $output_objdir/$libname.ver~
12347 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12350 case $cc_basename in
12351 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12352 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12353 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12354 hardcode_libdir_flag_spec_GO
=
12355 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12356 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12357 if test "x$supports_anon_versioning" = xyes
; then
12358 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12360 echo "local: *; };" >> $output_objdir/$libname.ver~
12361 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12371 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12372 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12375 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12376 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12381 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12386 *** create shared libraries on Solaris systems. Therefore, libtool
12387 *** is disabling shared libraries support. We urge you to upgrade GNU
12388 *** binutils to release 2.9.1 or newer. Another option is to modify
12389 *** your PATH or compiler configuration so that the native linker is
12390 *** used, and then restart.
12393 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
12401 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12402 case `$LD -v 2>&1` in
12403 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12408 *** reliably create shared libraries on SCO systems. Therefore, libtool
12409 *** is disabling shared libraries support. We urge you to upgrade GNU
12410 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12411 *** your PATH or compiler configuration so that the native linker is
12412 *** used, and then restart.
12417 # For security reasons, it is highly recommended that you always
12418 # use absolute paths for naming shared libraries, and exclude the
12419 # DT_RUNPATH tag from executables and libraries. But doing so
12420 # requires that you compile everything twice, which is a pain.
12421 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12422 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12423 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12424 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12433 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12435 hardcode_direct_GO
=yes
12436 hardcode_shlibpath_var_GO
=no
12440 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12441 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12442 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12449 if test "$ld_shlibs_GO" = no
; then
12451 hardcode_libdir_flag_spec_GO
=
12452 export_dynamic_flag_spec_GO
=
12453 whole_archive_flag_spec_GO
=
12456 # PORTME fill in a description of your system's linker (not GNU ld)
12459 allow_undefined_flag_GO
=unsupported
12460 always_export_symbols_GO
=yes
12461 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'
12462 # Note: this linker hardcodes the directories in LIBPATH if there
12463 # are no directories specified by -L.
12464 hardcode_minus_L_GO
=yes
12465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12466 # Neither direct hardcoding nor static linking is supported with a
12468 hardcode_direct_GO
=unsupported
12473 if test "$host_cpu" = ia64
; then
12474 # On IA64, the linker does run time linking by default, so we don't
12475 # have to do anything special.
12476 aix_use_runtimelinking
=no
12477 exp_sym_flag
='-Bexport'
12480 # If we're using GNU nm, then we don't want the "-C" option.
12481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12482 # Also, AIX nm treats weak defined symbols like other global
12483 # defined symbols, whereas GNU nm marks them as "W".
12484 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12485 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'
12487 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'
12489 aix_use_runtimelinking
=no
12491 # Test if we are trying to use run time linking or normal
12492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12493 # need to do runtime linking.
12494 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12495 for ld_flag
in $LDFLAGS; do
12496 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12497 aix_use_runtimelinking
=yes
12504 exp_sym_flag
='-bexport'
12505 no_entry_flag
='-bnoentry'
12508 # When large executables or shared objects are built, AIX ld can
12509 # have problems creating the table of contents. If linking a library
12510 # or program results in "error TOC overflow" add -mminimal-toc to
12511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12515 hardcode_direct_GO
=yes
12516 hardcode_direct_absolute_GO
=yes
12517 hardcode_libdir_separator_GO
=':'
12518 link_all_deplibs_GO
=yes
12519 file_list_spec_GO
='${wl}-f,'
12521 if test "$GCC" = yes; then
12522 case $host_os in aix4.
[012]|aix4.
[012].
*)
12523 # We only want to do this on AIX 4.2 and lower, the check
12524 # below for broken collect2 doesn't work under 4.3+
12525 collect2name
=`${CC} -print-prog-name=collect2`
12526 if test -f "$collect2name" &&
12527 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12529 # We have reworked collect2
12532 # We have old collect2
12533 hardcode_direct_GO
=unsupported
12534 # It fails to find uninstalled libraries when the uninstalled
12535 # path is not listed in the libpath. Setting hardcode_minus_L
12536 # to unsupported forces relinking
12537 hardcode_minus_L_GO
=yes
12538 hardcode_libdir_flag_spec_GO
='-L$libdir'
12539 hardcode_libdir_separator_GO
=
12543 shared_flag
='-shared'
12544 if test "$aix_use_runtimelinking" = yes; then
12545 shared_flag
="$shared_flag "'${wl}-G'
12549 if test "$host_cpu" = ia64
; then
12550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12551 # chokes on -Wl,-G. The following line is correct:
12554 if test "$aix_use_runtimelinking" = yes; then
12555 shared_flag
='${wl}-G'
12557 shared_flag
='${wl}-bM:SRE'
12562 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12563 # It seems that -bexpall does not export symbols beginning with
12564 # underscore (_), so it is better to generate a list of symbols to export.
12565 always_export_symbols_GO
=yes
12566 if test "$aix_use_runtimelinking" = yes; then
12567 # Warning - without using the other runtime loading flags (-brtl),
12568 # -berok will link without error, but may produce a broken library.
12569 allow_undefined_flag_GO
='-berok'
12570 # Determine the default libpath from the value encoded in an
12571 # empty executable.
12572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12583 if ac_fn_c_try_link
"$LINENO"; then :
12585 lt_aix_libpath_sed
='
12586 /Import File Strings/,/^$/ {
12592 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12593 # Check for a 64-bit object if we didn't find anything.
12594 if test -z "$aix_libpath"; then
12595 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12602 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12603 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"
12605 if test "$host_cpu" = ia64
; then
12606 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12607 allow_undefined_flag_GO
="-z nodefs"
12608 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"
12610 # Determine the default libpath from the value encoded in an
12611 # empty executable.
12612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12623 if ac_fn_c_try_link
"$LINENO"; then :
12625 lt_aix_libpath_sed
='
12626 /Import File Strings/,/^$/ {
12632 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12633 # Check for a 64-bit object if we didn't find anything.
12634 if test -z "$aix_libpath"; then
12635 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12638 rm -f core conftest.err conftest.
$ac_objext \
12639 conftest
$ac_exeext conftest.
$ac_ext
12640 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12642 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12643 # Warning - without using the other run time loading flags,
12644 # -berok will link without error, but may produce a broken library.
12645 no_undefined_flag_GO
=' ${wl}-bernotok'
12646 allow_undefined_flag_GO
=' ${wl}-berok'
12647 if test "$with_gnu_ld" = yes; then
12648 # We only use this code for GNU lds that support --whole-archive.
12649 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12651 # Exported symbols can be pulled into shared objects from archives
12652 whole_archive_flag_spec_GO
='$convenience'
12654 archive_cmds_need_lc_GO
=yes
12655 # This is similar to how AIX traditionally builds its shared libraries.
12656 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'
12664 # see comment about AmigaOS4 .so support
12665 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12666 archive_expsym_cmds_GO
=''
12669 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)'
12670 hardcode_libdir_flag_spec_GO
='-L$libdir'
12671 hardcode_minus_L_GO
=yes
12677 export_dynamic_flag_spec_GO
=-rdynamic
12680 cygwin
* | mingw
* | pw32
* | cegcc
*)
12681 # When not using gcc, we currently assume that we are using
12682 # Microsoft Visual C++.
12683 # hardcode_libdir_flag_spec is actually meaningless, as there is
12684 # no search path for DLLs.
12685 hardcode_libdir_flag_spec_GO
=' '
12686 allow_undefined_flag_GO
=unsupported
12687 # Tell ltmain to make .lib files, not .a files.
12689 # Tell ltmain to make .dll files, not .so files.
12691 # FIXME: Setting linknames here is a bad hack.
12692 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12693 # The linker will automatically build a .lib file if we build a DLL.
12694 old_archive_from_new_cmds_GO
='true'
12695 # FIXME: Should let the user specify the lib program.
12696 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12697 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12698 enable_shared_with_static_runtimes_GO
=yes
12701 darwin
* | rhapsody
*)
12704 archive_cmds_need_lc_GO
=no
12705 hardcode_direct_GO
=no
12706 hardcode_automatic_GO
=yes
12707 hardcode_shlibpath_var_GO
=unsupported
12708 if test "$lt_cv_ld_force_load" = "yes"; then
12709 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\"`'
12711 whole_archive_flag_spec_GO
=''
12713 link_all_deplibs_GO
=yes
12714 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12715 case $cc_basename in
12716 ifort
*) _lt_dar_can_shared
=yes ;;
12717 *) _lt_dar_can_shared
=$GCC ;;
12719 if test "$_lt_dar_can_shared" = "yes"; then
12720 output_verbose_link_cmd
=func_echo_all
12721 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}"
12722 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12723 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}"
12724 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}"
12733 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12734 hardcode_libdir_flag_spec_GO
='-L$libdir'
12735 hardcode_shlibpath_var_GO
=no
12738 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12739 # support. Future versions do this automatically, but an explicit c++rt0.o
12740 # does not break anything, and helps significantly (at the cost of a little
12743 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12744 hardcode_libdir_flag_spec_GO
='-R$libdir'
12745 hardcode_direct_GO
=yes
12746 hardcode_shlibpath_var_GO
=no
12749 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12751 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12752 hardcode_direct_GO
=yes
12753 hardcode_minus_L_GO
=yes
12754 hardcode_shlibpath_var_GO
=no
12757 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12758 freebsd
* | dragonfly
*)
12759 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12760 hardcode_libdir_flag_spec_GO
='-R$libdir'
12761 hardcode_direct_GO
=yes
12762 hardcode_shlibpath_var_GO
=no
12766 if test "$GCC" = yes; then
12767 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'
12769 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'
12771 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12772 hardcode_libdir_separator_GO
=:
12773 hardcode_direct_GO
=yes
12775 # hardcode_minus_L: Not really in the search PATH,
12776 # but as the default location of the library.
12777 hardcode_minus_L_GO
=yes
12778 export_dynamic_flag_spec_GO
='${wl}-E'
12782 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12783 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12785 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12787 if test "$with_gnu_ld" = no
; then
12788 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12789 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12790 hardcode_libdir_separator_GO
=:
12791 hardcode_direct_GO
=yes
12792 hardcode_direct_absolute_GO
=yes
12793 export_dynamic_flag_spec_GO
='${wl}-E'
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
12801 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12804 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12807 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12810 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12816 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12819 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12822 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12826 if test "$with_gnu_ld" = no
; then
12827 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12828 hardcode_libdir_separator_GO
=:
12832 hardcode_direct_GO
=no
12833 hardcode_shlibpath_var_GO
=no
12836 hardcode_direct_GO
=yes
12837 hardcode_direct_absolute_GO
=yes
12838 export_dynamic_flag_spec_GO
='${wl}-E'
12840 # hardcode_minus_L: Not really in the search PATH,
12841 # but as the default location of the library.
12842 hardcode_minus_L_GO
=yes
12848 irix5
* | irix6
* | nonstopux
*)
12849 if test "$GCC" = yes; then
12850 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'
12851 # Try to use the -exported_symbol ld option, if it does not
12852 # work, assume that -exports_file does not work either and
12853 # implicitly export all symbols.
12854 save_LDFLAGS
="$LDFLAGS"
12855 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12860 if ac_fn_c_try_link
"$LINENO"; then :
12861 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'
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 LDFLAGS
="$save_LDFLAGS"
12868 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'
12869 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'
12871 archive_cmds_need_lc_GO
='no'
12872 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12873 hardcode_libdir_separator_GO
=:
12874 inherit_rpath_GO
=yes
12875 link_all_deplibs_GO
=yes
12879 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12880 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12882 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12884 hardcode_libdir_flag_spec_GO
='-R$libdir'
12885 hardcode_direct_GO
=yes
12886 hardcode_shlibpath_var_GO
=no
12890 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12891 hardcode_direct_GO
=yes
12892 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12893 hardcode_libdir_separator_GO
=:
12894 hardcode_shlibpath_var_GO
=no
12901 if test -f /usr
/libexec
/ld.so
; then
12902 hardcode_direct_GO
=yes
12903 hardcode_shlibpath_var_GO
=no
12904 hardcode_direct_absolute_GO
=yes
12905 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12906 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12907 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12908 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12909 export_dynamic_flag_spec_GO
='${wl}-E'
12912 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12913 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12914 hardcode_libdir_flag_spec_GO
='-R$libdir'
12917 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12918 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12928 hardcode_libdir_flag_spec_GO
='-L$libdir'
12929 hardcode_minus_L_GO
=yes
12930 allow_undefined_flag_GO
=unsupported
12931 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'
12932 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12936 if test "$GCC" = yes; then
12937 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12938 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'
12940 allow_undefined_flag_GO
=' -expect_unresolved \*'
12941 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'
12943 archive_cmds_need_lc_GO
='no'
12944 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12945 hardcode_libdir_separator_GO
=:
12948 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12949 if test "$GCC" = yes; then
12950 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12951 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'
12952 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12954 allow_undefined_flag_GO
=' -expect_unresolved \*'
12955 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'
12956 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~
12957 $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'
12959 # Both c and cxx compiler support -rpath directly
12960 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12962 archive_cmds_need_lc_GO
='no'
12963 hardcode_libdir_separator_GO
=:
12967 no_undefined_flag_GO
=' -z defs'
12968 if test "$GCC" = yes; then
12970 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12971 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12972 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12974 case `$CC -V 2>&1` in
12977 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12978 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12979 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12983 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12984 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12985 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12989 hardcode_libdir_flag_spec_GO
='-R$libdir'
12990 hardcode_shlibpath_var_GO
=no
12992 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12994 # The compiler driver will combine and reorder linker options,
12995 # but understands `-z linker_flag'. GCC discards it without `$wl',
12996 # but is careful enough not to reorder.
12997 # Supported since Solaris 2.6 (maybe 2.5.1?)
12998 if test "$GCC" = yes; then
12999 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13001 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13005 link_all_deplibs_GO
=yes
13009 if test "x$host_vendor" = xsequent
; then
13010 # Use $CC to link under sequent, because it throws in some extra .o
13011 # files that make .init and .fini sections work.
13012 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13014 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13016 hardcode_libdir_flag_spec_GO
='-L$libdir'
13017 hardcode_direct_GO
=yes
13018 hardcode_minus_L_GO
=yes
13019 hardcode_shlibpath_var_GO
=no
13023 case $host_vendor in
13025 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13026 hardcode_direct_GO
=yes # is this really true???
13029 ## LD is ld it makes a PLAMLIB
13030 ## CC just makes a GrossModule.
13031 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13032 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13033 hardcode_direct_GO
=no
13036 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13037 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13040 runpath_var
='LD_RUN_PATH'
13041 hardcode_shlibpath_var_GO
=no
13045 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_shlibpath_var_GO
=no
13047 export_dynamic_flag_spec_GO
='-Bexport'
13051 if test -d /usr
/nec
; then
13052 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13053 hardcode_shlibpath_var_GO
=no
13054 runpath_var
=LD_RUN_PATH
13055 hardcode_runpath_var
=yes
13060 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13061 no_undefined_flag_GO
='${wl}-z,text'
13062 archive_cmds_need_lc_GO
=no
13063 hardcode_shlibpath_var_GO
=no
13064 runpath_var
='LD_RUN_PATH'
13066 if test "$GCC" = yes; then
13067 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13070 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 sysv5
* | sco3.2v5
* | sco5v6
*)
13076 # Note: We can NOT use -z defs as we might desire, because we do not
13077 # link with -lc, and that would cause any symbols used from libc to
13078 # always be unresolved, which means just about no library would
13079 # ever link correctly. If we're not using GNU ld we use -z text
13080 # though, which does catch some bad symbols but isn't as heavy-handed
13082 no_undefined_flag_GO
='${wl}-z,text'
13083 allow_undefined_flag_GO
='${wl}-z,nodefs'
13084 archive_cmds_need_lc_GO
=no
13085 hardcode_shlibpath_var_GO
=no
13086 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13087 hardcode_libdir_separator_GO
=':'
13088 link_all_deplibs_GO
=yes
13089 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13090 runpath_var
='LD_RUN_PATH'
13092 if test "$GCC" = yes; then
13093 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13097 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13103 hardcode_libdir_flag_spec_GO
='-L$libdir'
13104 hardcode_shlibpath_var_GO
=no
13112 if test x
$host_vendor = xsni
; then
13114 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13115 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13122 $as_echo "$ld_shlibs_GO" >&6; }
13123 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13125 with_gnu_ld_GO
=$with_gnu_ld
13133 # Do we need to explicitly link libc?
13135 case "x$archive_cmds_need_lc_GO" in
13137 # Assume -lc should be added
13138 archive_cmds_need_lc_GO
=yes
13140 if test "$enable_shared" = yes && test "$GCC" = yes; then
13141 case $archive_cmds_GO in
13143 # FIXME: we may have to deal with multi-command sequences.
13146 # Test whether the compiler implicitly links with -lc since on some
13147 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13148 # to ld, don't add -lc before -lgcc.
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13150 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13151 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13152 $as_echo_n "(cached) " >&6
13155 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13158 (eval $ac_compile) 2>&5
13160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13161 test $ac_status = 0; } 2>conftest.err
; then
13164 libobjs
=conftest.
$ac_objext
13166 wl
=$lt_prog_compiler_wl_GO
13167 pic_flag
=$lt_prog_compiler_pic_GO
13173 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13174 allow_undefined_flag_GO
=
13175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13176 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13179 test $ac_status = 0; }
13181 lt_cv_archive_cmds_need_lc_GO
=no
13183 lt_cv_archive_cmds_need_lc_GO
=yes
13185 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13187 cat conftest.err
1>&5
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13193 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13194 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13265 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13266 hardcode_action_GO
=
13267 if test -n "$hardcode_libdir_flag_spec_GO" ||
13268 test -n "$runpath_var_GO" ||
13269 test "X$hardcode_automatic_GO" = "Xyes" ; then
13271 # We can hardcode non-existent directories.
13272 if test "$hardcode_direct_GO" != no
&&
13273 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13274 # have to relink, otherwise we might link with an installed library
13275 # when we should be linking with a yet-to-be-installed one
13276 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13277 test "$hardcode_minus_L_GO" != no
; then
13278 # Linking always hardcodes the temporary library directory.
13279 hardcode_action_GO
=relink
13281 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13282 hardcode_action_GO
=immediate
13285 # We cannot hardcode anything, or else we can only hardcode existing
13287 hardcode_action_GO
=unsupported
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13290 $as_echo "$hardcode_action_GO" >&6; }
13292 if test "$hardcode_action_GO" = relink ||
13293 test "$inherit_rpath_GO" = yes; then
13294 # Fast installation is not supported
13295 enable_fast_install
=no
13296 elif test "$shlibpath_overrides_runpath" = yes ||
13297 test "$enable_shared" = no
; then
13298 # Fast installation is not necessary
13299 enable_fast_install
=needless
13311 ac_cpp
='$CPP $CPPFLAGS'
13312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13323 ac_config_commands
="$ac_config_commands libtool"
13328 # Only expand once:
13334 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13337 for ac_prog
in gawk mawk nawk
awk
13339 # Extract the first word of "$ac_prog", so it can be a program name with args.
13340 set dummy
$ac_prog; ac_word
=$2
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13342 $as_echo_n "checking for $ac_word... " >&6; }
13343 if test "${ac_cv_prog_AWK+set}" = set; then :
13344 $as_echo_n "(cached) " >&6
13346 if test -n "$AWK"; then
13347 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13350 for as_dir
in $PATH
13353 test -z "$as_dir" && as_dir
=.
13354 for ac_exec_ext
in '' $ac_executable_extensions; do
13355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13356 ac_cv_prog_AWK
="$ac_prog"
13357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13366 AWK
=$ac_cv_prog_AWK
13367 if test -n "$AWK"; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13369 $as_echo "$AWK" >&6; }
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13376 test -n "$AWK" && break
13380 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13386 glibgo_toolexecdir
=no
13387 glibgo_toolexeclibdir
=no
13388 glibgo_prefixdir
=$prefix
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13391 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13392 # Check whether --enable-version-specific-runtime-libs was given.
13393 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13394 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13395 yes) version_specific_libs
=yes ;;
13396 no
) version_specific_libs
=no
;;
13397 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13400 version_specific_libs
=no
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13404 $as_echo "$version_specific_libs" >&6; }
13406 # Version-specific runtime libs processing.
13407 if test $version_specific_libs = yes; then
13408 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13409 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13412 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13413 # Install a library built with a cross compiler in tooldir, not libdir.
13414 if test x
"$glibgo_toolexecdir" = x
"no"; then
13415 if test -n "$with_cross_host" &&
13416 test x
"$with_cross_host" != x
"no"; then
13417 glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13418 glibgo_toolexeclibdir
='${toolexecdir}/lib'
13420 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13421 glibgo_toolexeclibdir
='${libdir}'
13423 multi_os_directory
=`$CC -print-multi-os-directory`
13424 case $multi_os_directory in
13425 .
) ;; # Avoid trailing /.
13426 *) glibgo_toolexeclibdir
=$glibgo_toolexeclibdir/$multi_os_directory ;;
13434 # See if the user wants to configure without libffi. Some
13435 # architectures don't support it. FIXME: We should set a default
13436 # based on the host.
13438 # Check whether --with-libffi was given.
13439 if test "${with_libffi+set}" = set; then :
13440 withval
=$with_libffi; :
13442 with_libffi
=${with_libffi_default-yes}
13448 if test "$with_libffi" != no
; then
13450 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13452 LIBFFI
=..
/libffi
/libffi_convenience.la
13453 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13466 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13467 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13468 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13469 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13470 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13471 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13473 if test $is_darwin = yes; then
13474 LIBGO_IS_DARWIN_TRUE
=
13475 LIBGO_IS_DARWIN_FALSE
='#'
13477 LIBGO_IS_DARWIN_TRUE
='#'
13478 LIBGO_IS_DARWIN_FALSE
=
13481 if test $is_freebsd = yes; then
13482 LIBGO_IS_FREEBSD_TRUE
=
13483 LIBGO_IS_FREEBSD_FALSE
='#'
13485 LIBGO_IS_FREEBSD_TRUE
='#'
13486 LIBGO_IS_FREEBSD_FALSE
=
13489 if test $is_irix = yes; then
13490 LIBGO_IS_IRIX_TRUE
=
13491 LIBGO_IS_IRIX_FALSE
='#'
13493 LIBGO_IS_IRIX_TRUE
='#'
13494 LIBGO_IS_IRIX_FALSE
=
13497 if test $is_linux = yes; then
13498 LIBGO_IS_LINUX_TRUE
=
13499 LIBGO_IS_LINUX_FALSE
='#'
13501 LIBGO_IS_LINUX_TRUE
='#'
13502 LIBGO_IS_LINUX_FALSE
=
13505 if test $is_rtems = yes; then
13506 LIBGO_IS_RTEMS_TRUE
=
13507 LIBGO_IS_RTEMS_FALSE
='#'
13509 LIBGO_IS_RTEMS_TRUE
='#'
13510 LIBGO_IS_RTEMS_FALSE
=
13513 if test $is_solaris = yes; then
13514 LIBGO_IS_SOLARIS_TRUE
=
13515 LIBGO_IS_SOLARIS_FALSE
='#'
13517 LIBGO_IS_SOLARIS_TRUE
='#'
13518 LIBGO_IS_SOLARIS_FALSE
=
13539 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13543 i
[34567]86-*-* | x86_64-
*-*)
13544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13551 if ac_fn_c_try_compile
"$LINENO"; then :
13556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13557 if test "$is_386" = "yes"; then
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13571 #if _MIPS_SIM != _ABIO32
13575 if ac_fn_c_try_compile
"$LINENO"; then :
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 #if _MIPS_SIM != _ABIN32
13585 if ac_fn_c_try_compile
"$LINENO"; then :
13588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 #if _MIPS_SIM != _ABI64
13595 if ac_fn_c_try_compile
"$LINENO"; then :
13598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 #if _MIPS_SIM != _ABIO64
13605 if ac_fn_c_try_compile
"$LINENO"; then :
13608 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13618 case "$mips_abi" in
13619 "o32") GOARCH
=mipso32
;;
13620 "n32") GOARCH
=mipsn32
;;
13621 "n64") GOARCH
=mipsn64
;;
13622 "o64") GOARCH
=mipso64
;;
13625 rs6000
*-*-* | powerpc
*-*-*)
13626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13633 if ac_fn_c_try_compile
"$LINENO"; then :
13638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13639 if test "$is_ppc" = "yes"; then
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13649 #if defined(__sparcv9) || defined(__arch64__)
13653 if ac_fn_c_try_compile
"$LINENO"; then :
13658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13659 if test "$is_sparc" = "yes"; then
13666 if test $is_386 = yes; then
13668 LIBGO_IS_386_FALSE
='#'
13670 LIBGO_IS_386_TRUE
='#'
13671 LIBGO_IS_386_FALSE
=
13674 if test $is_alpha = yes; then
13675 LIBGO_IS_ALPHA_TRUE
=
13676 LIBGO_IS_ALPHA_FALSE
='#'
13678 LIBGO_IS_ALPHA_TRUE
='#'
13679 LIBGO_IS_ALPHA_FALSE
=
13682 if test $is_arm = yes; then
13684 LIBGO_IS_ARM_FALSE
='#'
13686 LIBGO_IS_ARM_TRUE
='#'
13687 LIBGO_IS_ARM_FALSE
=
13690 if test $is_m68k = yes; then
13691 LIBGO_IS_M68K_TRUE
=
13692 LIBGO_IS_M68K_FALSE
='#'
13694 LIBGO_IS_M68K_TRUE
='#'
13695 LIBGO_IS_M68K_FALSE
=
13698 if test $mips_abi != unknown
; then
13699 LIBGO_IS_MIPS_TRUE
=
13700 LIBGO_IS_MIPS_FALSE
='#'
13702 LIBGO_IS_MIPS_TRUE
='#'
13703 LIBGO_IS_MIPS_FALSE
=
13706 if test $mips_abi = o32
; then
13707 LIBGO_IS_MIPSO32_TRUE
=
13708 LIBGO_IS_MIPSO32_FALSE
='#'
13710 LIBGO_IS_MIPSO32_TRUE
='#'
13711 LIBGO_IS_MIPSO32_FALSE
=
13714 if test $mips_abi = n32
; then
13715 LIBGO_IS_MIPSN32_TRUE
=
13716 LIBGO_IS_MIPSN32_FALSE
='#'
13718 LIBGO_IS_MIPSN32_TRUE
='#'
13719 LIBGO_IS_MIPSN32_FALSE
=
13722 if test $mips_abi = n64
; then
13723 LIBGO_IS_MIPSN64_TRUE
=
13724 LIBGO_IS_MIPSN64_FALSE
='#'
13726 LIBGO_IS_MIPSN64_TRUE
='#'
13727 LIBGO_IS_MIPSN64_FALSE
=
13730 if test $mips_abi = o64
; then
13731 LIBGO_IS_MIPSO64_TRUE
=
13732 LIBGO_IS_MIPSO64_FALSE
='#'
13734 LIBGO_IS_MIPSO64_TRUE
='#'
13735 LIBGO_IS_MIPSO64_FALSE
=
13738 if test $is_ppc = yes; then
13740 LIBGO_IS_PPC_FALSE
='#'
13742 LIBGO_IS_PPC_TRUE
='#'
13743 LIBGO_IS_PPC_FALSE
=
13746 if test $is_ppc64 = yes; then
13747 LIBGO_IS_PPC64_TRUE
=
13748 LIBGO_IS_PPC64_FALSE
='#'
13750 LIBGO_IS_PPC64_TRUE
='#'
13751 LIBGO_IS_PPC64_FALSE
=
13754 if test $is_sparc = yes; then
13755 LIBGO_IS_SPARC_TRUE
=
13756 LIBGO_IS_SPARC_FALSE
='#'
13758 LIBGO_IS_SPARC_TRUE
='#'
13759 LIBGO_IS_SPARC_FALSE
=
13762 if test $is_sparc64 = yes; then
13763 LIBGO_IS_SPARC64_TRUE
=
13764 LIBGO_IS_SPARC64_FALSE
='#'
13766 LIBGO_IS_SPARC64_TRUE
='#'
13767 LIBGO_IS_SPARC64_FALSE
=
13770 if test $is_x86_64 = yes; then
13771 LIBGO_IS_X86_64_TRUE
=
13772 LIBGO_IS_X86_64_FALSE
='#'
13774 LIBGO_IS_X86_64_TRUE
='#'
13775 LIBGO_IS_X86_64_FALSE
=
13780 GO_LIBCALL_OS_FILE
=
13781 GO_LIBCALL_OS_ARCH_FILE
=
13782 GO_SYSCALL_OS_FILE
=
13783 GO_SYSCALL_OS_ARCH_FILE
=
13784 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13785 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13787 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13788 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13790 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13791 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13793 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13794 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13803 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13804 # msghdr in <sys/socket.h>.
13805 OSCFLAGS
='-D_XOPEN_SOURCE=500'
13808 # Solaris 8/9 need this so struct msghdr gets the msg_control
13809 # etc. fields in <sys/socket.h> (_XPG4_2).
13810 OSCFLAGS
='-D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__'
13812 *-*-solaris2.1
[01])
13813 # Solaris 10+ needs this so struct msghdr gets the msg_control
13814 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=500 as
13815 # above doesn't work with C99.
13816 OSCFLAGS
='-D_XOPEN_SOURCE=600 -D__EXTENSIONS__'
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13822 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13823 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13826 CFLAGS_hold
=$CFLAGS
13827 CFLAGS
="$CFLAGS -fsplit-stack"
13828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13832 if ac_fn_c_try_compile
"$LINENO"; then :
13833 libgo_cv_c_split_stack_supported
=yes
13835 libgo_cv_c_split_stack_supported
=no
13837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13838 CFLAGS
=$CFLAGS_hold
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13841 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13842 if test "$libgo_cv_c_split_stack_supported" = yes; then
13843 SPLIT_STACK
=-fsplit-stack
13845 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13851 if test "$libgo_cv_c_split_stack_supported" = yes; then
13852 USING_SPLIT_STACK_TRUE
=
13853 USING_SPLIT_STACK_FALSE
='#'
13855 USING_SPLIT_STACK_TRUE
='#'
13856 USING_SPLIT_STACK_FALSE
=
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13861 $as_echo_n "checking whether linker supports split stack... " >&6; }
13862 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13863 $as_echo_n "(cached) " >&6
13865 libgo_cv_c_linker_supports_split_stack
=no
13866 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13867 libgo_cv_c_linker_supports_split_stack
=yes
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13871 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13872 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13874 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13880 $as_echo_n "checking for sqrt in -lm... " >&6; }
13881 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13884 ac_check_lib_save_LIBS
=$LIBS
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13904 if ac_fn_c_try_link
"$LINENO"; then :
13905 ac_cv_lib_m_sqrt
=yes
13907 ac_cv_lib_m_sqrt
=no
13909 rm -f core conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 LIBS
=$ac_check_lib_save_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13914 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13915 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13922 $as_echo_n "checking for socket libraries... " >&6; }
13923 if test "${libgo_cv_lib_sockets+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13926 libgo_cv_lib_sockets
=
13927 libgo_check_both
=no
13928 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13929 if test "x$ac_cv_func_connect" = x
""yes; then :
13930 libgo_check_socket
=no
13932 libgo_check_socket
=yes
13935 if test "$libgo_check_socket" = "yes"; then
13936 unset ac_cv_func_connect
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13938 $as_echo_n "checking for main in -lsocket... " >&6; }
13939 if test "${ac_cv_lib_socket_main+set}" = set; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_check_lib_save_LIBS
=$LIBS
13943 LIBS
="-lsocket $LIBS"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13956 if ac_fn_c_try_link
"$LINENO"; then :
13957 ac_cv_lib_socket_main
=yes
13959 ac_cv_lib_socket_main
=no
13961 rm -f core conftest.err conftest.
$ac_objext \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 LIBS
=$ac_check_lib_save_LIBS
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
13966 $as_echo "$ac_cv_lib_socket_main" >&6; }
13967 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
13968 libgo_cv_lib_sockets
="-lsocket"
13970 libgo_check_both
=yes
13974 if test "$libgo_check_both" = "yes"; then
13975 libgo_old_libs
=$LIBS
13976 LIBS
="$LIBS -lsocket -lnsl"
13977 unset ac_cv_func_accept
13978 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
13979 if test "x$ac_cv_func_accept" = x
""yes; then :
13981 libgo_cv_lib_sockets
="-lsocket -lnsl"
13984 unset ac_cv_func_accept
13985 LIBS
=$libgo_old_libs
13987 unset ac_cv_func_gethostbyname
13988 libgo_old_libs
="$LIBS"
13989 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13990 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
13994 $as_echo_n "checking for main in -lnsl... " >&6; }
13995 if test "${ac_cv_lib_nsl_main+set}" = set; then :
13996 $as_echo_n "(cached) " >&6
13998 ac_check_lib_save_LIBS
=$LIBS
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14012 if ac_fn_c_try_link
"$LINENO"; then :
14013 ac_cv_lib_nsl_main
=yes
14015 ac_cv_lib_nsl_main
=no
14017 rm -f core conftest.err conftest.
$ac_objext \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 LIBS
=$ac_check_lib_save_LIBS
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14022 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14023 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14024 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14029 unset ac_cv_func_gethostbyname
14030 LIBS
=$libgo_old_libs
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14034 $as_echo "$libgo_cv_lib_sockets" >&6; }
14035 NET_LIBS
="$libgo_cv_lib_sockets"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14039 $as_echo_n "checking whether -pthread is supported... " >&6; }
14040 if test "${libgo_cv_lib_pthread+set}" = set; then :
14041 $as_echo_n "(cached) " >&6
14043 CFLAGS_hold
=$CFLAGS
14044 CFLAGS
="$CFLAGS -pthread"
14045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14049 if ac_fn_c_try_compile
"$LINENO"; then :
14050 libgo_cv_lib_pthread
=yes
14052 libgo_cv_lib_pthread
=no
14054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 CFLAGS
=$CFLAGS_hold
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14058 $as_echo "$libgo_cv_lib_pthread" >&6; }
14060 if test "$libgo_cv_lib_pthread" = yes; then
14061 PTHREAD_CFLAGS
=-pthread
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14067 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14068 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14069 $as_echo_n "(cached) " >&6
14071 ac_check_lib_save_LIBS
=$LIBS
14072 LIBS
="-lpthread $LIBS"
14073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14076 /* Override any GCC internal prototype to avoid an error.
14077 Use char because int might match the return type of a GCC
14078 builtin and then its argument prototype would still apply. */
14082 char pthread_create ();
14086 return pthread_create ();
14091 if ac_fn_c_try_link
"$LINENO"; then :
14092 ac_cv_lib_pthread_pthread_create
=yes
14094 ac_cv_lib_pthread_pthread_create
=no
14096 rm -f core conftest.err conftest.
$ac_objext \
14097 conftest
$ac_exeext conftest.
$ac_ext
14098 LIBS
=$ac_check_lib_save_LIBS
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14101 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14102 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14103 PTHREAD_LIBS
=-lpthread
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14109 $as_echo_n "checking for library containing sched_yield... " >&6; }
14110 if test "${ac_cv_search_sched_yield+set}" = set; then :
14111 $as_echo_n "(cached) " >&6
14113 ac_func_search_save_LIBS
=$LIBS
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14123 char sched_yield ();
14127 return sched_yield ();
14132 for ac_lib
in '' rt
; do
14133 if test -z "$ac_lib"; then
14134 ac_res
="none required"
14137 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14139 if ac_fn_c_try_link
"$LINENO"; then :
14140 ac_cv_search_sched_yield
=$ac_res
14142 rm -f core conftest.err conftest.
$ac_objext \
14144 if test "${ac_cv_search_sched_yield+set}" = set; then :
14148 if test "${ac_cv_search_sched_yield+set}" = set; then :
14151 ac_cv_search_sched_yield
=no
14153 rm conftest.
$ac_ext
14154 LIBS
=$ac_func_search_save_LIBS
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14157 $as_echo "$ac_cv_search_sched_yield" >&6; }
14158 ac_res
=$ac_cv_search_sched_yield
14159 if test "$ac_res" != no
; then :
14160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14166 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14167 if test "${ac_cv_c_bigendian+set}" = set; then :
14168 $as_echo_n "(cached) " >&6
14170 ac_cv_c_bigendian
=unknown
14171 # See if we're dealing with a universal compiler.
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 #ifndef __APPLE_CC__
14175 not a universal capable compiler
14180 if ac_fn_c_try_compile
"$LINENO"; then :
14182 # Check for potential -arch flags. It is not universal unless
14183 # there are at least two -arch flags with different values.
14186 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14187 if test -n "$ac_prev"; then
14189 i?
86 | x86_64 | ppc | ppc64
)
14190 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14193 ac_cv_c_bigendian
=universal
14199 elif test "x$ac_word" = "x-arch"; then
14204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14205 if test $ac_cv_c_bigendian = unknown
; then
14206 # See if sys/param.h defines the BYTE_ORDER macro.
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 #include <sys/types.h>
14210 #include <sys/param.h>
14215 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14216 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14218 bogus endian macros
14225 if ac_fn_c_try_compile
"$LINENO"; then :
14226 # It does; now see whether it defined to BIG_ENDIAN or not.
14227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14229 #include <sys/types.h>
14230 #include <sys/param.h>
14235 #if BYTE_ORDER != BIG_ENDIAN
14243 if ac_fn_c_try_compile
"$LINENO"; then :
14244 ac_cv_c_bigendian
=yes
14246 ac_cv_c_bigendian
=no
14248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14252 if test $ac_cv_c_bigendian = unknown
; then
14253 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 #include <limits.h>
14261 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14262 bogus endian macros
14269 if ac_fn_c_try_compile
"$LINENO"; then :
14270 # It does; now see whether it defined to _BIG_ENDIAN or not.
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 #include <limits.h>
14278 #ifndef _BIG_ENDIAN
14286 if ac_fn_c_try_compile
"$LINENO"; then :
14287 ac_cv_c_bigendian
=yes
14289 ac_cv_c_bigendian
=no
14291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14295 if test $ac_cv_c_bigendian = unknown
; then
14296 # Compile a test program.
14297 if test "$cross_compiling" = yes; then :
14298 # Try to guess by grepping values from an object file.
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 short int ascii_mm[] =
14302 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14303 short int ascii_ii[] =
14304 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14305 int use_ascii (int i) {
14306 return ascii_mm[i] + ascii_ii[i];
14308 short int ebcdic_ii[] =
14309 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14310 short int ebcdic_mm[] =
14311 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14312 int use_ebcdic (int i) {
14313 return ebcdic_mm[i] + ebcdic_ii[i];
14320 return use_ascii (foo) == use_ebcdic (foo);
14325 if ac_fn_c_try_compile
"$LINENO"; then :
14326 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14327 ac_cv_c_bigendian
=yes
14329 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14330 if test "$ac_cv_c_bigendian" = unknown
; then
14331 ac_cv_c_bigendian
=no
14333 # finding both strings is unlikely to happen, but who knows?
14334 ac_cv_c_bigendian
=unknown
14338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 $ac_includes_default
14347 /* Are we little or big endian? From Harbison&Steele. */
14351 char c[sizeof (long int)];
14354 return u.c[sizeof (long int) - 1] == 1;
14360 if ac_fn_c_try_run
"$LINENO"; then :
14361 ac_cv_c_bigendian
=no
14363 ac_cv_c_bigendian
=yes
14365 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14366 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14372 $as_echo "$ac_cv_c_bigendian" >&6; }
14373 case $ac_cv_c_bigendian in #(
14375 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14381 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14385 as_fn_error
"unknown endianness
14386 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14392 # Check whether --with-system-libunwind was given.
14393 if test "${with_system_libunwind+set}" = set; then :
14394 withval
=$with_system_libunwind;
14397 # If system-libunwind was not specifically set, pick a default setting.
14398 if test x
$with_system_libunwind = x
; then
14400 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14401 *) with_system_libunwind
=no
;;
14404 # Based on system-libunwind and target, do we have ipinfo?
14405 if test x
$with_system_libunwind = xyes
; then
14407 ia64-
*-*) have_unwind_getipinfo
=no
;;
14408 *) have_unwind_getipinfo
=yes ;;
14411 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14414 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14415 *) have_unwind_getipinfo
=yes ;;
14420 if test x
$have_unwind_getipinfo = xyes
; then
14422 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14427 # Check whether --enable-sjlj-exceptions was given.
14428 if test "${enable_sjlj_exceptions+set}" = set; then :
14429 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14431 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14434 enable_sjlj_exceptions
=auto
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14439 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14440 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14441 $as_echo_n "(cached) " >&6
14443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14447 void clean (int *);
14450 int i __attribute__ ((cleanup (clean)));
14455 CFLAGS_hold
=$CFLAGS
14456 CFLAGS
="--save-temps -fexceptions"
14457 libgo_cv_lib_sjlj_exceptions
=unknown
14458 if ac_fn_c_try_compile
; then :
14459 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14460 libgo_cv_lib_sjlj_exceptions
=yes
14461 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14462 libgo_cv_lib_sjlj_exceptions
=no
14465 CFLAGS
=$CFLAGS_hold
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14470 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14472 if test "$enable_sjlj_exceptions" = "auto"; then
14473 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14476 case $enable_sjlj_exceptions in
14479 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14485 as_fn_error
"unable to detect exception model" "$LINENO" 5
14489 for ac_header
in sys
/mman.h syscall.h sys
/epoll.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h
14491 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14492 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14493 eval as_val
=\$
$as_ac_Header
14494 if test "x$as_val" = x
""yes; then :
14495 cat >>confdefs.h
<<_ACEOF
14496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14504 for ac_header
in linux
/filter.h linux
/netlink.h linux
/rtnetlink.h
14506 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14507 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14508 #include <sys/socket.h>
14512 eval as_val
=\$
$as_ac_Header
14513 if test "x$as_val" = x
""yes; then :
14514 cat >>confdefs.h
<<_ACEOF
14515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14523 if test "$ac_cv_header_sys_mman_h" = yes; then
14524 HAVE_SYS_MMAN_H_TRUE
=
14525 HAVE_SYS_MMAN_H_FALSE
='#'
14527 HAVE_SYS_MMAN_H_TRUE
='#'
14528 HAVE_SYS_MMAN_H_FALSE
=
14532 for ac_func
in srandom random strerror_r strsignal wait4 mincore setenv
14534 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14535 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14536 eval as_val
=\$
$as_ac_var
14537 if test "x$as_val" = x
""yes; then :
14538 cat >>confdefs.h
<<_ACEOF
14539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14545 if test "$ac_cv_func_strerror_r" = yes; then
14546 HAVE_STRERROR_R_TRUE
=
14547 HAVE_STRERROR_R_FALSE
='#'
14549 HAVE_STRERROR_R_TRUE
='#'
14550 HAVE_STRERROR_R_FALSE
=
14553 if test "$ac_cv_func_wait4" = yes; then
14555 HAVE_WAIT4_FALSE
='#'
14557 HAVE_WAIT4_TRUE
='#'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14563 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14564 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14565 $as_echo_n "(cached) " >&6
14567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14570 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14572 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14575 if ac_fn_c_try_link
"$LINENO"; then :
14576 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14578 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14580 rm -f core conftest.err conftest.
$ac_objext \
14581 conftest
$ac_exeext conftest.
$ac_ext
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14584 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14585 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14587 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14592 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14593 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14594 $as_echo_n "(cached) " >&6
14596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14601 int main() { return __sync_fetch_and_add (&i, 1); }
14604 if ac_fn_c_try_link
"$LINENO"; then :
14605 libgo_cv_func___sync_fetch_and_add_4
=yes
14607 libgo_cv_func___sync_fetch_and_add_4
=no
14609 rm -f core conftest.err conftest.
$ac_objext \
14610 conftest
$ac_exeext conftest.
$ac_ext
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14613 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14614 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14616 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14621 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14622 if test "${libgo_cv_c_stringops+set}" = set; then :
14623 $as_echo_n "(cached) " >&6
14625 CFLAGS_hold
=$CFLAGS
14626 CFLAGS
="$CFLAGS -minline-all-stringops"
14627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14631 if ac_fn_c_try_compile
"$LINENO"; then :
14632 libgo_cv_c_stringops
=yes
14634 libgo_cv_c_stringops
=no
14636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14637 CFLAGS
=$CFLAGS_hold
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14640 $as_echo "$libgo_cv_c_stringops" >&6; }
14642 if test "$libgo_cv_c_stringops" = yes; then
14643 STRINGOPS_FLAG
=-minline-all-stringops
14647 CFLAGS_hold
=$CFLAGS
14648 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14649 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14650 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14652 cat >>confdefs.h
<<_ACEOF
14653 #define HAVE_OFF64_T 1
14659 CFLAGS
=$CFLAGS_hold
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
14662 $as_echo_n "checking epoll_event size... " >&6; }
14663 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
14664 $as_echo_n "(cached) " >&6
14666 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
14669 libgo_cv_c_epoll_event_size
=0
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
14674 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
14675 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
14679 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
14680 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
14681 $as_echo_n "(cached) " >&6
14683 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
14684 #include <sys/epoll.h>"; then :
14687 libgo_cv_c_epoll_event_fd_offset
=0
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
14692 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
14693 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
14696 cat >confcache
<<\_ACEOF
14697 # This file is a shell script that caches the results of configure
14698 # tests run on this system so they can be shared between configure
14699 # scripts and configure runs, see configure's option --config-cache.
14700 # It is not useful on other systems. If it contains results you don't
14701 # want to keep, you may remove or edit it.
14703 # config.status only pays attention to the cache file if you give it
14704 # the --recheck option to rerun configure.
14706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14708 # following values.
14712 # The following way of writing the cache mishandles newlines in values,
14713 # but we know of no workaround that is simple, portable, and efficient.
14714 # So, we kill variables containing newlines.
14715 # Ultrix sh set writes to stderr and can't be redirected directly,
14716 # and sets the high bit in the cache file unless we assign to the vars.
14718 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14719 eval ac_val
=\$
$ac_var
14723 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14724 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14727 _ | IFS | as_nl
) ;; #(
14728 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14729 *) { eval $ac_var=; unset $ac_var;} ;;
14735 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14736 *${as_nl}ac_space
=\
*)
14737 # `set' does not quote correctly, so add quotes: double-quote
14738 # substitution turns \\\\ into \\, and sed turns \\ into \.
14741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14744 # `set' quotes correctly as required by POSIX, so do not add quotes.
14745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14758 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14759 if test -w "$cache_file"; then
14760 test "x$cache_file" != "x/dev/null" &&
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14762 $as_echo "$as_me: updating cache $cache_file" >&6;}
14763 cat confcache
>$cache_file
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14766 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14771 if test ${multilib} = yes; then
14772 multilib_arg
="--enable-multilib"
14777 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
14780 ac_config_commands
="$ac_config_commands default"
14783 cat >confcache
<<\_ACEOF
14784 # This file is a shell script that caches the results of configure
14785 # tests run on this system so they can be shared between configure
14786 # scripts and configure runs, see configure's option --config-cache.
14787 # It is not useful on other systems. If it contains results you don't
14788 # want to keep, you may remove or edit it.
14790 # config.status only pays attention to the cache file if you give it
14791 # the --recheck option to rerun configure.
14793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14795 # following values.
14799 # The following way of writing the cache mishandles newlines in values,
14800 # but we know of no workaround that is simple, portable, and efficient.
14801 # So, we kill variables containing newlines.
14802 # Ultrix sh set writes to stderr and can't be redirected directly,
14803 # and sets the high bit in the cache file unless we assign to the vars.
14805 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14806 eval ac_val
=\$
$ac_var
14810 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14811 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14814 _ | IFS | as_nl
) ;; #(
14815 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14816 *) { eval $ac_var=; unset $ac_var;} ;;
14822 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14823 *${as_nl}ac_space
=\
*)
14824 # `set' does not quote correctly, so add quotes: double-quote
14825 # substitution turns \\\\ into \\, and sed turns \\ into \.
14828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14831 # `set' quotes correctly as required by POSIX, so do not add quotes.
14832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14843 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14845 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14846 if test -w "$cache_file"; then
14847 test "x$cache_file" != "x/dev/null" &&
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14849 $as_echo "$as_me: updating cache $cache_file" >&6;}
14850 cat confcache
>$cache_file
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14853 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14858 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14859 # Let make expand exec_prefix.
14860 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14862 DEFS
=-DHAVE_CONFIG_H
14866 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14867 # 1. Remove the extension, and $U if already installed.
14868 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14869 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14871 # will be set to the directory where LIBOBJS objects are built.
14872 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14873 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14875 LIBOBJS
=$ac_libobjs
14877 LTLIBOBJS
=$ac_ltlibobjs
14880 if test -n "$EXEEXT"; then
14882 am__EXEEXT_FALSE
='#'
14884 am__EXEEXT_TRUE
='#'
14888 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14889 as_fn_error
"conditional \"AMDEP\" was never defined.
14890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14892 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14893 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14896 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14897 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14900 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
14901 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
14902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14904 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
14905 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
14906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14908 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
14909 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
14910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14912 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
14913 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
14914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14916 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
14917 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
14918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14920 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
14921 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
14922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14924 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
14925 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
14926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14928 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
14929 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
14930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14932 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
14933 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
14934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14936 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
14937 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
14938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14940 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
14941 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
14942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14944 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
14945 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
14946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14948 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
14949 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
14950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14952 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
14953 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
14954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14956 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
14957 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
14958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14960 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
14961 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
14962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14964 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
14965 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
14966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14968 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
14969 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
14970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14972 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
14973 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
14974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14976 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
14977 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
14978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14980 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
14981 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
14982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14985 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
14986 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
14987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14989 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
14990 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
14991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14993 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
14994 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
14995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14998 : ${CONFIG_STATUS=./config.status}
15000 ac_clean_files_save
=$ac_clean_files
15001 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15003 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15005 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15007 # Generated by $as_me.
15008 # Run this file to recreate the current configuration.
15009 # Compiler output produced by configure, useful for debugging
15010 # configure, is in config.log if it exists.
15013 ac_cs_recheck=false
15016 SHELL=\${CONFIG_SHELL-$SHELL}
15019 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15020 ## -------------------- ##
15021 ## M4sh Initialization. ##
15022 ## -------------------- ##
15024 # Be more Bourne compatible
15025 DUALCASE
=1; export DUALCASE
# for MKS sh
15026 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15029 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15030 # is contrary to our usage. Disable this feature.
15031 alias -g '${1+"$@"}'='"$@"'
15032 setopt NO_GLOB_SUBST
15034 case `(set -o) 2>/dev/null` in #(
15046 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15047 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15048 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15049 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15050 # Prefer a ksh shell builtin over an external printf program on Solaris,
15051 # but without wasting forks for bash or zsh.
15052 if test -z "$BASH_VERSION$ZSH_VERSION" \
15053 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15054 as_echo='print
-r --'
15055 as_echo_n='print
-rn --'
15056 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15057 as_echo='printf %s
\n'
15058 as_echo_n='printf %s
'
15060 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15061 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15062 as_echo_n='/usr
/ucb
/echo -n'
15064 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15065 as_echo_n_body='eval
15069 expr "X$arg" : "X\\(.*\\)$as_nl";
15070 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15072 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15074 export as_echo_n_body
15075 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15077 export as_echo_body
15078 as_echo='sh
-c $as_echo_body as_echo
'
15081 # The user is always right.
15082 if test "${PATH_SEPARATOR+set}" != set; then
15084 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15085 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15092 # We need space, tab and new line, in precisely that order. Quoting is
15093 # there to prevent editors from complaining about space-tab.
15094 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15095 # splitting by setting IFS to empty value.)
15098 # Find who we are. Look in the path if we contain no directory separator.
15100 *[\\/]* ) as_myself=$0 ;;
15101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15102 for as_dir in $PATH
15105 test -z "$as_dir" && as_dir=.
15106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15112 # We did not find ourselves, most probably we were run as `sh COMMAND'
15113 # in which case we are not to be found in the path.
15114 if test "x$as_myself" = x
; then
15117 if test ! -f "$as_myself"; then
15118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15122 # Unset variables that we do not need and which cause bugs (e.g. in
15123 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15124 # suppresses any "Segmentation fault" message there. '((' could
15125 # trigger a bug in pdksh 5.2.14.
15126 for as_var
in BASH_ENV ENV MAIL MAILPATH
15127 do eval test x\
${$as_var+set} = xset \
15128 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15141 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15144 # as_fn_error ERROR [LINENO LOG_FD]
15145 # ---------------------------------
15146 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15147 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15148 # script with status $?, using 1 if that was 0.
15151 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15153 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15154 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15156 $as_echo "$as_me: error: $1" >&2
15157 as_fn_exit
$as_status
15161 # as_fn_set_status STATUS
15162 # -----------------------
15163 # Set $? to STATUS, without forking.
15164 as_fn_set_status
()
15167 } # as_fn_set_status
15169 # as_fn_exit STATUS
15170 # -----------------
15171 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15175 as_fn_set_status
$1
15181 # Portably unset VAR.
15184 { eval $1=; unset $1;}
15186 as_unset
=as_fn_unset
15187 # as_fn_append VAR VALUE
15188 # ----------------------
15189 # Append the text in VALUE to the end of the definition contained in VAR. Take
15190 # advantage of any shell optimizations that allow amortized linear growth over
15191 # repeated appends, instead of the typical quadratic growth present in naive
15193 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15194 eval 'as_fn_append ()
15205 # as_fn_arith ARG...
15206 # ------------------
15207 # Perform arithmetic evaluation on the ARGs, and store the result in the
15208 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15209 # must be portable across $(()) and expr.
15210 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15211 eval 'as_fn_arith ()
15218 as_val
=`expr "$@" || test $? -eq 1`
15223 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15224 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15230 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15231 as_basename
=basename
15236 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15242 as_me
=`$as_basename -- "$0" ||
15243 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15244 X"$0" : 'X\(//\)$' \| \
15245 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15247 sed '/^.*\/\([^/][^/]*\)\/*$/{
15261 # Avoid depending upon Character Ranges.
15262 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15263 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15264 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15265 as_cr_digits
='0123456789'
15266 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15268 ECHO_C
= ECHO_N
= ECHO_T
=
15269 case `echo -n x` in #(((((
15271 case `echo 'xy\c'` in
15272 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15274 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15281 rm -f conf$$ conf$$.exe conf$$.
file
15282 if test -d conf$$.dir
; then
15283 rm -f conf$$.dir
/conf$$.
file
15286 mkdir conf$$.dir
2>/dev
/null
15288 if (echo >conf$$.
file) 2>/dev
/null
; then
15289 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15291 # ... but there are two gotchas:
15292 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15293 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15294 # In both cases, we have to default to `cp -p'.
15295 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15297 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15305 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15306 rmdir conf$$.dir
2>/dev
/null
15311 # Create "$as_dir" as a directory, including parents if necessary.
15316 -*) as_dir
=.
/$as_dir;;
15318 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15322 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15323 *) as_qdir
=$as_dir;;
15325 as_dirs
="'$as_qdir' $as_dirs"
15326 as_dir
=`$as_dirname -- "$as_dir" ||
15327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15328 X"$as_dir" : 'X\(//\)[^/]' \| \
15329 X"$as_dir" : 'X\(//\)$' \| \
15330 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15331 $as_echo X"$as_dir" |
15332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15336 /^X\(\/\/\)[^/].*/{
15349 test -d "$as_dir" && break
15351 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15352 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15356 if mkdir
-p .
2>/dev
/null
; then
15357 as_mkdir_p
='mkdir -p "$as_dir"'
15359 test -d .
/-p && rmdir .
/-p
15363 if test -x / >/dev
/null
2>&1; then
15364 as_test_x
='test -x'
15366 if ls -dL / >/dev
/null
2>&1; then
15373 if test -d "$1"; then
15379 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15380 ???[sx]*):;;*)false;;esac;fi
15384 as_executable_p
=$as_test_x
15386 # Sed expression to map a string onto a valid CPP name.
15387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15389 # Sed expression to map a string onto a valid variable name.
15390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15394 ## ----------------------------------- ##
15395 ## Main body of $CONFIG_STATUS script. ##
15396 ## ----------------------------------- ##
15398 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15401 # Save the log message, to keep $0 and so on meaningful, and to
15402 # report actual input values of CONFIG_FILES etc. instead of their
15403 # values after options handling.
15405 This file was extended by package-unused $as_me version-unused, which was
15406 generated by GNU Autoconf 2.64. Invocation command line was
15408 CONFIG_FILES = $CONFIG_FILES
15409 CONFIG_HEADERS = $CONFIG_HEADERS
15410 CONFIG_LINKS = $CONFIG_LINKS
15411 CONFIG_COMMANDS = $CONFIG_COMMANDS
15414 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15419 case $ac_config_files in *"
15420 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15423 case $ac_config_headers in *"
15424 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15429 # Files that config.status was made for.
15430 config_files="$ac_config_files"
15431 config_headers="$ac_config_headers"
15432 config_commands="$ac_config_commands"
15436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15438 \`$as_me' instantiates files and other configuration actions
15439 from templates according to the current configuration. Unless the files
15440 and actions are specified as TAGs, all are instantiated by default.
15442 Usage: $0 [OPTION]... [TAG]...
15444 -h, --help print this help, then exit
15445 -V, --version print version number and configuration settings, then exit
15446 -q, --quiet, --silent
15447 do not print progress messages
15448 -d, --debug don't remove temporary files
15449 --recheck update $as_me by reconfiguring in the same conditions
15450 --file=FILE[:TEMPLATE]
15451 instantiate the configuration file FILE
15452 --header=FILE[:TEMPLATE]
15453 instantiate the configuration header FILE
15455 Configuration files:
15458 Configuration headers:
15461 Configuration commands:
15464 Report bugs to the package provider."
15467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15469 package-unused config.status version-unused
15470 configured by $0, generated by GNU Autoconf 2.64,
15471 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15473 Copyright (C) 2009 Free Software Foundation, Inc.
15474 This config.status script is free software; the Free Software Foundation
15475 gives unlimited permission to copy, distribute and modify it."
15482 test -n "\$AWK" || AWK=awk
15485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15486 # The default lists apply if the user does not specify any file.
15492 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15493 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15504 # Handling of the options.
15505 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15507 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15508 $as_echo "$ac_cs_version"; exit ;;
15509 --debug |
--debu |
--deb |
--de |
--d |
-d )
15511 --file |
--fil |
--fi |
--f )
15514 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15516 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15517 ac_need_defaults
=false
;;
15518 --header |
--heade |
--head |
--hea )
15521 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15523 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15524 ac_need_defaults
=false
;;
15526 # Conflict between --help and --header
15527 as_fn_error
"ambiguous option: \`$1'
15528 Try \`$0 --help' for more information.";;
15529 --help |
--hel |
-h )
15530 $as_echo "$ac_cs_usage"; exit ;;
15531 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15532 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15535 # This is an error.
15536 -*) as_fn_error
"unrecognized option: \`$1'
15537 Try \`$0 --help' for more information." ;;
15539 *) as_fn_append ac_config_targets
" $1"
15540 ac_need_defaults
=false
;;
15546 ac_configure_extra_args
=
15548 if $ac_cs_silent; then
15550 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15555 if \$ac_cs_recheck; then
15556 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15558 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15559 CONFIG_SHELL='$SHELL'
15560 export CONFIG_SHELL
15565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15569 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15570 ## Running $as_me. ##
15576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15584 with_multisubdir="$with_multisubdir"
15585 with_multisrctop="$with_multisrctop"
15586 with_target_subdir="$with_target_subdir"
15587 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15588 multi_basedir="$multi_basedir"
15589 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15592 GFORTRAN="$GFORTRAN"
15594 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15597 # The HP-UX ksh and POSIX shell print the target directory to stdout
15598 # if CDPATH is set.
15599 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15601 sed_quote_subst='$sed_quote_subst'
15602 double_quote_subst='$double_quote_subst'
15603 delay_variable_subst='$delay_variable_subst'
15604 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15605 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15606 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15607 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15608 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15609 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15610 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15611 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15612 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15613 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15614 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15615 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15616 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15617 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15618 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15619 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15620 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15621 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15622 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15623 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15624 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15625 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15626 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15627 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15628 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15629 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15630 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15631 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15632 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15633 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15634 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15635 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15636 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15637 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15638 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15639 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15640 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15641 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15642 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15643 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15644 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15645 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15646 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15647 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15648 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15649 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15650 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15651 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15652 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"`'
15653 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15654 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15655 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15656 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15657 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15658 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15659 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15660 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15661 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15662 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15663 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15664 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15665 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15666 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15667 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15668 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15669 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15670 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15671 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15672 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15673 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15674 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15675 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15676 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15677 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15678 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15679 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15680 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15681 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15682 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15683 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15684 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15685 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15686 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15687 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15688 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15689 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15690 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15691 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15692 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15693 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15694 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15695 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15696 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15697 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15698 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15699 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15700 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15701 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15702 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15703 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15704 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15705 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15706 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15707 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15708 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15709 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15710 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15711 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15712 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15713 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15714 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15715 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15716 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15717 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15718 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15719 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15720 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15721 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15722 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15723 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15724 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
15725 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
15726 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
15727 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15728 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
15729 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
15730 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
15731 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
15732 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
15733 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
15734 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
15735 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
15736 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
15737 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15738 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15739 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
15740 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
15741 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
15742 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15743 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15744 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
15745 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15746 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
15747 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15748 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15749 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15750 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
15751 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
15752 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
15753 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
15754 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
15755 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
15756 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
15757 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
15758 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
15759 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
15760 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
15761 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
15762 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15763 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15764 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
15765 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
15766 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
15769 LTCFLAGS='$LTCFLAGS'
15770 compiler='$compiler_DEFAULT'
15772 # A function that is used when there is no print builtin or printf.
15773 func_fallback_echo ()
15775 eval 'cat <<_LTECHO_EOF
15780 # Quote evaled strings.
15794 deplibs_check_method \
15803 lt_cv_sys_global_symbol_pipe \
15804 lt_cv_sys_global_symbol_to_cdecl \
15805 lt_cv_sys_global_symbol_to_c_name_address \
15806 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15807 lt_prog_compiler_no_builtin_flag \
15808 lt_prog_compiler_wl \
15809 lt_prog_compiler_pic \
15810 lt_prog_compiler_static \
15811 lt_cv_prog_compiler_c_o \
15819 export_dynamic_flag_spec \
15820 whole_archive_flag_spec \
15821 compiler_needs_object \
15823 allow_undefined_flag \
15824 no_undefined_flag \
15825 hardcode_libdir_flag_spec \
15826 hardcode_libdir_flag_spec_ld \
15827 hardcode_libdir_separator \
15832 variables_saved_for_relink \
15834 library_names_spec \
15836 install_override_mode \
15843 lt_prog_compiler_no_builtin_flag_GO \
15844 lt_prog_compiler_wl_GO \
15845 lt_prog_compiler_pic_GO \
15846 lt_prog_compiler_static_GO \
15847 lt_cv_prog_compiler_c_o_GO \
15848 export_dynamic_flag_spec_GO \
15849 whole_archive_flag_spec_GO \
15850 compiler_needs_object_GO \
15852 allow_undefined_flag_GO \
15853 no_undefined_flag_GO \
15854 hardcode_libdir_flag_spec_GO \
15855 hardcode_libdir_flag_spec_ld_GO \
15856 hardcode_libdir_separator_GO \
15857 fix_srcfile_path_GO \
15858 exclude_expsyms_GO \
15859 include_expsyms_GO \
15860 file_list_spec_GO; do
15861 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15862 *[\\\\\\\`\\"\\\$]*)
15863 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15866 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15871 # Double-quote double-evaled strings.
15872 for var in reload_cmds \
15873 old_postinstall_cmds \
15874 old_postuninstall_cmds \
15876 extract_expsyms_cmds \
15877 old_archive_from_new_cmds \
15878 old_archive_from_expsyms_cmds \
15880 archive_expsym_cmds \
15882 module_expsym_cmds \
15883 export_symbols_cmds \
15886 postuninstall_cmds \
15888 sys_lib_search_path_spec \
15889 sys_lib_dlsearch_path_spec \
15891 old_archive_cmds_GO \
15892 old_archive_from_new_cmds_GO \
15893 old_archive_from_expsyms_cmds_GO \
15895 archive_expsym_cmds_GO \
15897 module_expsym_cmds_GO \
15898 export_symbols_cmds_GO \
15899 prelink_cmds_GO; do
15900 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15901 *[\\\\\\\`\\"\\\$]*)
15902 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15905 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15910 ac_aux_dir='$ac_aux_dir'
15911 xsi_shell='$xsi_shell'
15912 lt_shell_append='$lt_shell_append'
15914 # See if we are running on zsh, and set the options which allow our
15915 # commands through without removal of \ escapes INIT.
15916 if test -n "\${ZSH_VERSION+set}" ; then
15917 setopt NO_GLOB_SUBST
15923 TIMESTAMP='$TIMESTAMP'
15932 # Variables needed in config.status (file generation) which aren't already
15933 # passed by autoconf.
15939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15941 # Handling of arguments.
15942 for ac_config_target
in $ac_config_targets
15944 case $ac_config_target in
15945 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15946 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15947 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15948 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15949 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15950 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15951 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15953 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15958 # If the user did not use the arguments to specify the items to instantiate,
15959 # then the envvar interface is used. Set only those that are not.
15960 # We use the long form for the default assignment because of an extremely
15961 # bizarre bug on SunOS 4.1.3.
15962 if $ac_need_defaults; then
15963 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15964 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15965 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15968 # Have a temporary directory for convenience. Make it in the build tree
15969 # simply because there is no reason against having it here, and in addition,
15970 # creating and moving files from /tmp can sometimes cause problems.
15971 # Hook for its removal unless debugging.
15972 # Note that there is a small window in which the directory will not be cleaned:
15973 # after its creation but before its name has been assigned to `$tmp'.
15977 trap 'exit_status=$?
15978 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15980 trap 'as_fn_exit 1' 1 2 13 15
15982 # Create a (secure) tmp directory for tmp files.
15985 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15986 test -n "$tmp" && test -d "$tmp"
15989 tmp
=.
/conf$$
-$RANDOM
15990 (umask 077 && mkdir
"$tmp")
15991 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15993 # Set up the scripts for CONFIG_FILES section.
15994 # No need to generate them if there are no CONFIG_FILES.
15995 # This happens for instance with `./config.status config.h'.
15996 if test -n "$CONFIG_FILES"; then
15999 ac_cr
=`echo X | tr X '\015'`
16000 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16001 # But we know of no other shell where ac_cr would be empty at this
16002 # point, so we can use a bashism as a fallback.
16003 if test "x$ac_cr" = x
; then
16004 eval ac_cr
=\$
\'\\r
\'
16006 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16007 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16010 ac_cs_awk_cr
=$ac_cr
16013 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16018 echo "cat >conf$$subs.awk <<_ACEOF" &&
16019 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16021 } >conf$$subs.sh ||
16022 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16023 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16025 for ac_last_try in false false false false false :; do
16026 . ./conf$$subs.sh ||
16027 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16029 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16030 if test $ac_delim_n = $ac_delim_num; then
16032 elif $ac_last_try; then
16033 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16035 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16038 rm -f conf$$subs.sh
16040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16041 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16045 s/^/S["/; s
/!.
*/"]=/
16055 s/\(.\{148\}\).*/\1/
16057 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16062 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16069 s/\(.\{148\}\).*/\1/
16071 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16075 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16080 ' <conf$$subs.awk | sed '
16085 ' >>$CONFIG_STATUS || ac_write_fail=1
16086 rm -f conf$$subs.awk
16087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16089 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16090 for (key in S) S_is_set[key] = 1
16096 nfields = split(line, field, "@
")
16098 len = length(field[1])
16099 for (i = 2; i < nfields; i++) {
16101 keylen = length(key)
16102 if (S_is_set[key]) {
16104 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16105 len += length(value) + length(field[++i])
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16117 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16118 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16121 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16122 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16125 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16126 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16127 # trailing colons and then remove the whole line if VPATH becomes empty
16128 # (actually we leave an empty line to preserve line numbers).
16129 if test "x
$srcdir" = x.; then
16130 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16131 s/:*\$(srcdir):*/:/
16132 s/:*\${srcdir}:*/:/
16134 s/^\([^=]*=[ ]*\):*/\1/
16140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16141 fi # test -n "$CONFIG_FILES"
16143 # Set up the scripts for CONFIG_HEADERS section.
16144 # No need to generate them if there are no CONFIG_HEADERS.
16145 # This happens for instance with `./config.status Makefile'.
16146 if test -n "$CONFIG_HEADERS"; then
16147 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16151 # Transform confdefs.h into an awk script `defines.awk', embedded as
16152 # here-document in config.status, that substitutes the proper values into
16153 # config.h.in to produce config.h.
16155 # Create a delimiter string that does not exist in confdefs.h, to ease
16156 # handling of long lines.
16158 for ac_last_try in false false :; do
16159 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16160 if test -z "$ac_t"; then
16162 elif $ac_last_try; then
16163 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16165 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16169 # For the awk script, D is an array of macro values keyed by name,
16170 # likewise P contains macro parameters if any. Preserve backslash
16171 # newline sequences.
16173 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16175 s/.\{148\}/&'"$ac_delim"'/g
16178 s/^[ ]*#[ ]*define[ ][ ]*/ /
16185 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16187 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16191 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16192 D["\
1"]=" \
3\\\\\\n
"\\/p
16194 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16199 s/.\{148\}/&'"$ac_delim"'/g
16204 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16207 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16209 ' <confdefs.h | sed '
16210 s/'"$ac_delim"'/"\\\
16211 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16214 for (key in D) D_is_set[key] = 1
16217 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16219 split(line, arg, " ")
16220 if (arg[1] == "#") {
16224 defundef
= substr
(arg
[1], 2)
16227 split(mac1
, mac2
, "(") #)
16229 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16230 if (D_is_set
[macro
]) {
16231 # Preserve the white space surrounding the "#".
16232 print prefix
"define", macro P
[macro
] D
[macro
]
16235 # Replace #undef with comments. This is necessary, for example,
16236 # in the case of _POSIX_SOURCE, which is predefined and required
16237 # on some systems where configure will not decide to define it.
16238 if (defundef
== "undef") {
16239 print
"/*", prefix defundef
, macro
, "*/"
16247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16248 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16249 fi # test -n "$CONFIG_HEADERS"
16252 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16257 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16259 case $ac_mode$ac_tag in
16261 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16262 :[FH
]-) ac_tag
=-:-;;
16263 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16280 -) ac_f
="$tmp/stdin";;
16281 *) # Look for the file first in the build tree, then in the source tree
16282 # (if the path is not absolute). The absolute path cannot be DOS-style,
16283 # because $ac_f cannot contain `:'.
16287 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16289 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16291 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16292 as_fn_append ac_file_inputs
" '$ac_f'"
16295 # Let's still pretend it is `configure' which instantiates (i.e., don't
16296 # use $as_me), people would be surprised to read:
16297 # /* config.h. Generated by config.status. */
16298 configure_input
='Generated from '`
16299 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16301 if test x
"$ac_file" != x-
; then
16302 configure_input
="$ac_file. $configure_input"
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16304 $as_echo "$as_me: creating $ac_file" >&6;}
16306 # Neutralize special characters interpreted by sed in replacement strings.
16307 case $configure_input in #(
16308 *\
&* |
*\|
* |
*\\* )
16309 ac_sed_conf_input
=`$as_echo "$configure_input" |
16310 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16311 *) ac_sed_conf_input
=$configure_input;;
16315 *:-:* |
*:-) cat >"$tmp/stdin" \
16316 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16321 ac_dir
=`$as_dirname -- "$ac_file" ||
16322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16323 X"$ac_file" : 'X\(//\)[^/]' \| \
16324 X"$ac_file" : 'X\(//\)$' \| \
16325 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16326 $as_echo X"$ac_file" |
16327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16331 /^X\(\/\/\)[^/].*/{
16344 as_dir
="$ac_dir"; as_fn_mkdir_p
16348 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16350 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16351 # A ".." for each directory in $ac_dir_suffix.
16352 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16353 case $ac_top_builddir_sub in
16354 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16355 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16358 ac_abs_top_builddir
=$ac_pwd
16359 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16360 # for backward compatibility:
16361 ac_top_builddir
=$ac_top_build_prefix
16364 .
) # We are building in place.
16366 ac_top_srcdir
=$ac_top_builddir_sub
16367 ac_abs_top_srcdir
=$ac_pwd ;;
16368 [\\/]* | ?
:[\\/]* ) # Absolute name.
16369 ac_srcdir
=$srcdir$ac_dir_suffix;
16370 ac_top_srcdir
=$srcdir
16371 ac_abs_top_srcdir
=$srcdir ;;
16372 *) # Relative name.
16373 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16374 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16375 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16377 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16387 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16388 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16390 ac_MKDIR_P
=$MKDIR_P
16392 [\\/$
]* | ?
:[\\/]* ) ;;
16393 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16398 # If the template does not know about datarootdir, expand it.
16399 # FIXME: This hack should be removed a few years after 2.60.
16400 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16411 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16412 *datarootdir
*) ac_datarootdir_seen
=yes;;
16413 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16415 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16418 ac_datarootdir_hack='
16419 s&@datadir@&$datadir&g
16420 s&@docdir@&$docdir&g
16421 s&@infodir@&$infodir&g
16422 s&@localedir@&$localedir&g
16423 s&@mandir@&$mandir&g
16424 s&\\\${datarootdir}&$datarootdir&g' ;;
16428 # Neutralize VPATH when `$srcdir' = `.'.
16429 # Shell code in configure.ac might set extrasub.
16430 # FIXME: do we really want to maintain this feature?
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16432 ac_sed_extra="$ac_vpsub
16435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16437 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16438 s|@configure_input@|
$ac_sed_conf_input|
;t t
16439 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16440 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16441 s
&@srcdir@
&$ac_srcdir&;t t
16442 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16443 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16444 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16445 s
&@builddir@
&$ac_builddir&;t t
16446 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16447 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16448 s
&@INSTALL@
&$ac_INSTALL&;t t
16449 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16450 $ac_datarootdir_hack
16452 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16453 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16455 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16456 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16457 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16459 which seems to be undefined. Please make sure it is defined." >&5
16460 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16461 which seems to be undefined. Please make sure it is defined." >&2;}
16465 -) cat "$tmp/out" && rm -f "$tmp/out";;
16466 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16468 || as_fn_error "could not create $ac_file" "$LINENO" 5
16474 if test x"$ac_file" != x-; then
16476 $as_echo "/* $configure_input */" \
16477 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16478 } >"$tmp/config.h" \
16479 || as_fn_error "could not create $ac_file" "$LINENO" 5
16480 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16482 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16485 mv "$tmp/config.h" "$ac_file" \
16486 || as_fn_error "could not create $ac_file" "$LINENO" 5
16489 $as_echo "/* $configure_input */" \
16490 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16491 || as_fn_error "could not create -" "$LINENO" 5
16493 # Compute "$ac_file"'s index
in $config_headers.
16496 for _am_header
in $config_headers :; do
16497 case $_am_header in
16498 $_am_arg |
$_am_arg:* )
16501 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16504 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16505 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16506 X"$_am_arg" : 'X\(//\)[^/]' \| \
16507 X"$_am_arg" : 'X\(//\)$' \| \
16508 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16509 $as_echo X"$_am_arg" |
16510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16514 /^X\(\/\/\)[^/].*/{
16526 s/.*/./; q'`/stamp-h
$_am_stamp_count
16529 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16530 $as_echo "$as_me: executing $ac_file commands" >&6;}
16535 case $ac_file$ac_mode in
16537 # Only add multilib support code if we just rebuilt the top-level
16539 case " $CONFIG_FILES " in
16541 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16544 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16545 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16546 # are listed without --file. Let's play safe and only enable the eval
16547 # if we detect the quoting.
16548 case $CONFIG_FILES in
16549 *\'*) eval set x
"$CONFIG_FILES" ;;
16550 *) set x
$CONFIG_FILES ;;
16555 # Strip MF so we end up with the name of the file.
16556 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16557 # Check whether this is an Automake generated Makefile or not.
16558 # We used to match only the files named `Makefile.in', but
16559 # some people rename them; so instead we look at the file content.
16560 # Grep'ing the first line is not enough: some people post-process
16561 # each Makefile.in and add a new line on top of each file to say so.
16562 # Grep'ing the whole file is not good either: AIX grep has a line
16563 # limit of 2048, but all sed's we know have understand at least 4000.
16564 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16565 dirpart
=`$as_dirname -- "$mf" ||
16566 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16567 X"$mf" : 'X\(//\)[^/]' \| \
16568 X"$mf" : 'X\(//\)$' \| \
16569 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16575 /^X\(\/\/\)[^/].*/{
16591 # Extract the definition of DEPDIR, am__include, and am__quote
16592 # from the Makefile without running `make'.
16593 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16594 test -z "$DEPDIR" && continue
16595 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16596 test -z "am__include" && continue
16597 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16598 # When using ansi2knr, U may be empty or an underscore; expand it
16599 U
=`sed -n 's/^U = //p' < "$mf"`
16600 # Find all dependency output files, they are included files with
16601 # $(DEPDIR) in their names. We invoke sed twice because it is the
16602 # simplest approach to changing $(DEPDIR) to its actual value in the
16604 for file in `sed -n "
16605 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16606 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16607 # Make sure the directory exists.
16608 test -f "$dirpart/$file" && continue
16609 fdir
=`$as_dirname -- "$file" ||
16610 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16611 X"$file" : 'X\(//\)[^/]' \| \
16612 X"$file" : 'X\(//\)$' \| \
16613 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16614 $as_echo X"$file" |
16615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16619 /^X\(\/\/\)[^/].*/{
16632 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16633 # echo "creating $dirpart/$file"
16634 echo '# dummy' > "$dirpart/$file"
16641 # See if we are running on zsh, and set the options which allow our
16642 # commands through without removal of \ escapes.
16643 if test -n "${ZSH_VERSION+set}" ; then
16644 setopt NO_GLOB_SUBST
16647 cfgfile
="${ofile}T"
16648 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16651 cat <<_LT_EOF >> "$cfgfile"
16654 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16655 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16656 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16657 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16659 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16660 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16661 # Written by Gordon Matzigkeit, 1996
16663 # This file is part of GNU Libtool.
16665 # GNU Libtool is free software; you can redistribute it and/or
16666 # modify it under the terms of the GNU General Public License as
16667 # published by the Free Software Foundation; either version 2 of
16668 # the License, or (at your option) any later version.
16670 # As a special exception to the GNU General Public License,
16671 # if you distribute this file as part of a program or library that
16672 # is built using GNU Libtool, you may include this file under the
16673 # same distribution terms that you use for the rest of that program.
16675 # GNU Libtool is distributed in the hope that it will be useful,
16676 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16678 # GNU General Public License for more details.
16680 # You should have received a copy of the GNU General Public License
16681 # along with GNU Libtool; see the file COPYING. If not, a copy
16682 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16683 # obtained by writing to the Free Software Foundation, Inc.,
16684 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16687 # The names of the tagged configurations supported by this script.
16688 available_tags="GO "
16690 # ### BEGIN LIBTOOL CONFIG
16692 # A sed program that does not truncate output.
16695 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16696 Xsed="\$SED -e 1s/^X//"
16698 # A grep program that handles long lines.
16704 # A literal string matcher.
16707 # Shell to use when invoking shell scripts.
16710 # An echo program that protects backslashes.
16713 # Which release of libtool.m4 was used?
16714 macro_version=$macro_version
16715 macro_revision=$macro_revision
16717 # Whether or not to build shared libraries.
16718 build_libtool_libs=$enable_shared
16720 # Whether or not to build static libraries.
16721 build_old_libs=$enable_static
16723 # What type of objects to build.
16726 # Whether or not to optimize for fast installation.
16727 fast_install=$enable_fast_install
16730 host_alias=$host_alias
16734 # The build system.
16735 build_alias=$build_alias
16739 # A BSD- or MS-compatible name lister.
16742 # Whether we need soft or hard links.
16745 # What is the maximum length of a command?
16746 max_cmd_len=$max_cmd_len
16748 # Object file suffix (normally "o").
16751 # Executable file suffix (normally "").
16754 # whether the shell understands "unset".
16757 # turn spaces into newlines.
16760 # turn newlines into spaces.
16763 # An object symbol dumper.
16764 OBJDUMP=$lt_OBJDUMP
16766 # Method to check whether dependent libraries are shared objects.
16767 deplibs_check_method=$lt_deplibs_check_method
16769 # Command to use when deplibs_check_method == "file_magic".
16770 file_magic_cmd=$lt_file_magic_cmd
16774 AR_FLAGS=$lt_AR_FLAGS
16776 # A symbol stripping program.
16779 # Commands used to install an old-style archive.
16781 old_postinstall_cmds=$lt_old_postinstall_cmds
16782 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16784 # Whether to use a lock for old archive extraction.
16785 lock_old_archive_extraction=$lock_old_archive_extraction
16790 # LTCC compiler flags.
16791 LTCFLAGS=$lt_CFLAGS
16793 # Take the output of nm and produce a listing of raw symbols and C names.
16794 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16796 # Transform the output of nm in a proper C declaration.
16797 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16799 # Transform the output of nm in a C name address pair.
16800 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16802 # Transform the output of nm in a C name address pair when lib prefix is needed.
16803 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16805 # The name of the directory that contains temporary libtool files.
16808 # Used to examine libraries when file_magic_cmd begins with "file".
16809 MAGIC_CMD=$MAGIC_CMD
16811 # Must we lock files when doing compilation?
16812 need_locks=$lt_need_locks
16814 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16815 DSYMUTIL=$lt_DSYMUTIL
16817 # Tool to change global to local symbols on Mac OS X.
16820 # Tool to manipulate fat objects and archives on Mac OS X.
16823 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16826 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16827 OTOOL64=$lt_OTOOL64
16829 # Old archive suffix (normally "a").
16832 # Shared library suffix (normally ".so").
16833 shrext_cmds=$lt_shrext_cmds
16835 # The commands to extract the exported symbol list from a shared archive.
16836 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16838 # Variables whose values should be saved in libtool wrapper scripts and
16839 # restored at link time.
16840 variables_saved_for_relink=$lt_variables_saved_for_relink
16842 # Do we need the "lib" prefix for modules?
16843 need_lib_prefix=$need_lib_prefix
16845 # Do we need a version for libraries?
16846 need_version=$need_version
16848 # Library versioning type.
16849 version_type=$version_type
16851 # Shared library runtime path variable.
16852 runpath_var=$runpath_var
16854 # Shared library path variable.
16855 shlibpath_var=$shlibpath_var
16857 # Is shlibpath searched before the hard-coded library search path?
16858 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16860 # Format of library name prefix.
16861 libname_spec=$lt_libname_spec
16863 # List of archive names. First name is the real one, the rest are links.
16864 # The last name is the one that the linker finds with -lNAME
16865 library_names_spec=$lt_library_names_spec
16867 # The coded name of the library, if different from the real name.
16868 soname_spec=$lt_soname_spec
16870 # Permission mode override for installation of shared libraries.
16871 install_override_mode=$lt_install_override_mode
16873 # Command to use after installation of a shared archive.
16874 postinstall_cmds=$lt_postinstall_cmds
16876 # Command to use after uninstallation of a shared archive.
16877 postuninstall_cmds=$lt_postuninstall_cmds
16879 # Commands used to finish a libtool library installation in a directory.
16880 finish_cmds=$lt_finish_cmds
16882 # As "finish_cmds", except a single script fragment to be evaled but
16884 finish_eval=$lt_finish_eval
16886 # Whether we should hardcode library paths into libraries.
16887 hardcode_into_libs=$hardcode_into_libs
16889 # Compile-time system search path for libraries.
16890 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16892 # Run-time system search path for libraries.
16893 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16895 # Whether dlopen is supported.
16896 dlopen_support=$enable_dlopen
16898 # Whether dlopen of programs is supported.
16899 dlopen_self=$enable_dlopen_self
16901 # Whether dlopen of statically linked programs is supported.
16902 dlopen_self_static=$enable_dlopen_self_static
16904 # Commands to strip libraries.
16905 old_striplib=$lt_old_striplib
16906 striplib=$lt_striplib
16909 # The linker used to build libraries.
16912 # How to create reloadable object files.
16913 reload_flag=$lt_reload_flag
16914 reload_cmds=$lt_reload_cmds
16916 # Commands used to build an old-style archive.
16917 old_archive_cmds=$lt_old_archive_cmds
16919 # A language specific compiler.
16922 # Is the compiler the GNU compiler?
16925 # Compiler flag to turn off builtin functions.
16926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16928 # How to pass a linker flag through the compiler.
16929 wl=$lt_lt_prog_compiler_wl
16931 # Additional compiler flags for building library objects.
16932 pic_flag=$lt_lt_prog_compiler_pic
16934 # Compiler flag to prevent dynamic linking.
16935 link_static_flag=$lt_lt_prog_compiler_static
16937 # Does compiler simultaneously support -c and -o options?
16938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16940 # Whether or not to add -lc for building shared libraries.
16941 build_libtool_need_lc=$archive_cmds_need_lc
16943 # Whether or not to disallow shared libs when runtime libs are static.
16944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16946 # Compiler flag to allow reflexive dlopens.
16947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16949 # Compiler flag to generate shared objects directly from archives.
16950 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16952 # Whether the compiler copes with passing no objects directly.
16953 compiler_needs_object=$lt_compiler_needs_object
16955 # Create an old-style archive from a shared archive.
16956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16958 # Create a temporary old-style archive to link instead of a shared archive.
16959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16961 # Commands used to build a shared archive.
16962 archive_cmds=$lt_archive_cmds
16963 archive_expsym_cmds=$lt_archive_expsym_cmds
16965 # Commands used to build a loadable module if different from building
16966 # a shared archive.
16967 module_cmds=$lt_module_cmds
16968 module_expsym_cmds=$lt_module_expsym_cmds
16970 # Whether we are building with GNU ld or not.
16971 with_gnu_ld=$lt_with_gnu_ld
16973 # Flag that allows shared libraries with undefined symbols to be built.
16974 allow_undefined_flag=$lt_allow_undefined_flag
16976 # Flag that enforces no undefined symbols.
16977 no_undefined_flag=$lt_no_undefined_flag
16979 # Flag to hardcode \$libdir into a binary during linking.
16980 # This must work even if \$libdir does not exist
16981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16983 # If ld is used when linking, flag to hardcode \$libdir into a binary
16984 # during linking. This must work even if \$libdir does not exist.
16985 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16987 # Whether we need a single "-rpath" flag with a separated argument.
16988 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16990 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16991 # DIR into the resulting binary.
16992 hardcode_direct=$hardcode_direct
16994 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16995 # DIR into the resulting binary and the resulting library dependency is
16996 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16997 # library is relocated.
16998 hardcode_direct_absolute=$hardcode_direct_absolute
17000 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17001 # into the resulting binary.
17002 hardcode_minus_L=$hardcode_minus_L
17004 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17005 # into the resulting binary.
17006 hardcode_shlibpath_var=$hardcode_shlibpath_var
17008 # Set to "yes" if building a shared library automatically hardcodes DIR
17009 # into the library and all subsequent libraries and executables linked
17011 hardcode_automatic=$hardcode_automatic
17013 # Set to yes if linker adds runtime paths of dependent libraries
17014 # to runtime path list.
17015 inherit_rpath=$inherit_rpath
17017 # Whether libtool must link a program against all its dependency libraries.
17018 link_all_deplibs=$link_all_deplibs
17020 # Fix the shell variable \$srcfile for the compiler.
17021 fix_srcfile_path=$lt_fix_srcfile_path
17023 # Set to "yes" if exported symbols are required.
17024 always_export_symbols=$always_export_symbols
17026 # The commands to list exported symbols.
17027 export_symbols_cmds=$lt_export_symbols_cmds
17029 # Symbols that should not be listed in the preloaded symbols.
17030 exclude_expsyms=$lt_exclude_expsyms
17032 # Symbols that must always be exported.
17033 include_expsyms=$lt_include_expsyms
17035 # Commands necessary for linking programs (against libraries) with templates.
17036 prelink_cmds=$lt_prelink_cmds
17038 # Specify filename containing input files.
17039 file_list_spec=$lt_file_list_spec
17041 # How to hardcode a shared library path into an executable.
17042 hardcode_action=$hardcode_action
17044 # ### END LIBTOOL CONFIG
17050 cat <<\_LT_EOF
>> "$cfgfile"
17051 # AIX sometimes has problems with the GCC collect2 program. For some
17052 # reason, if we set the COLLECT_NAMES environment variable, the problems
17053 # vanish in a puff of smoke.
17054 if test "X${COLLECT_NAMES+set}" != Xset
; then
17056 export COLLECT_NAMES
17063 ltmain
="$ac_aux_dir/ltmain.sh"
17066 # We use sed instead of cat because bash on DJGPP gets confused if
17067 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17068 # text mode, it properly converts lines to CR/LF. This bash problem
17069 # is reportedly fixed, but why not run on old versions too?
17070 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17071 ||
(rm -f "$cfgfile"; exit 1)
17075 cat << \_LT_EOF
>> "$cfgfile"
17077 # func_dirname file append nondir_replacement
17078 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17079 # otherwise set result to NONDIR_REPLACEMENT.
17083 */*) func_dirname_result
="${1%/*}${2}" ;;
17084 * ) func_dirname_result
="${3}" ;;
17088 # func_basename file
17091 func_basename_result
="${1##*/}"
17094 # func_dirname_and_basename file append nondir_replacement
17095 # perform func_basename and func_dirname in a single function
17097 # dirname: Compute the dirname of FILE. If nonempty,
17098 # add APPEND to the result, otherwise set result
17099 # to NONDIR_REPLACEMENT.
17100 # value returned in "$func_dirname_result"
17101 # basename: Compute filename of FILE.
17102 # value retuned in "$func_basename_result"
17103 # Implementation must be kept synchronized with func_dirname
17104 # and func_basename. For efficiency, we do not delegate to
17105 # those functions but instead duplicate the functionality here.
17106 func_dirname_and_basename
()
17109 */*) func_dirname_result
="${1%/*}${2}" ;;
17110 * ) func_dirname_result
="${3}" ;;
17112 func_basename_result
="${1##*/}"
17115 # func_stripname prefix suffix name
17116 # strip PREFIX and SUFFIX off of NAME.
17117 # PREFIX and SUFFIX must not contain globbing or regex special
17118 # characters, hashes, percent signs, but SUFFIX may contain a leading
17119 # dot (in which case that matches only a dot).
17122 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17123 # positional parameters, so assign one to ordinary parameter first.
17124 func_stripname_result
=${3}
17125 func_stripname_result
=${func_stripname_result#"${1}"}
17126 func_stripname_result
=${func_stripname_result%"${2}"}
17132 func_opt_split_opt
=${1%%=*}
17133 func_opt_split_arg
=${1#*=}
17140 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17141 *) func_lo2o_result
=${1} ;;
17145 # func_xform libobj-or-source
17148 func_xform_result
=${1%.*}.lo
17151 # func_arith arithmetic-term...
17154 func_arith_result
=$
(( $
* ))
17158 # STRING may not start with a hyphen.
17161 func_len_result
=${#1}
17166 *) # Bourne compatible functions.
17167 cat << \_LT_EOF
>> "$cfgfile"
17169 # func_dirname file append nondir_replacement
17170 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17171 # otherwise set result to NONDIR_REPLACEMENT.
17174 # Extract subdirectory from the argument.
17175 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17176 if test "X$func_dirname_result" = "X${1}"; then
17177 func_dirname_result
="${3}"
17179 func_dirname_result
="$func_dirname_result${2}"
17183 # func_basename file
17186 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17190 # func_stripname prefix suffix name
17191 # strip PREFIX and SUFFIX off of NAME.
17192 # PREFIX and SUFFIX must not contain globbing or regex special
17193 # characters, hashes, percent signs, but SUFFIX may contain a leading
17194 # dot (in which case that matches only a dot).
17195 # func_strip_suffix prefix name
17199 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17200 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17205 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17206 my_sed_long_arg
='1s/^-[^=]*=//'
17211 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17212 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17218 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17221 # func_xform libobj-or-source
17224 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17227 # func_arith arithmetic-term...
17230 func_arith_result
=`expr "$@"`
17234 # STRING may not start with a hyphen.
17237 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17243 case $lt_shell_append in
17245 cat << \_LT_EOF
>> "$cfgfile"
17247 # func_append var value
17248 # Append VALUE to the end of shell variable VAR.
17256 cat << \_LT_EOF
>> "$cfgfile"
17258 # func_append var value
17259 # Append VALUE to the end of shell variable VAR.
17270 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17271 ||
(rm -f "$cfgfile"; exit 1)
17273 mv -f "$cfgfile" "$ofile" ||
17274 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17278 cat <<_LT_EOF >> "$ofile"
17280 # ### BEGIN LIBTOOL TAG CONFIG: GO
17282 # The linker used to build libraries.
17285 # How to create reloadable object files.
17286 reload_flag=$lt_reload_flag_GO
17287 reload_cmds=$lt_reload_cmds_GO
17289 # Commands used to build an old-style archive.
17290 old_archive_cmds=$lt_old_archive_cmds_GO
17292 # A language specific compiler.
17295 # Is the compiler the GNU compiler?
17298 # Compiler flag to turn off builtin functions.
17299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17301 # How to pass a linker flag through the compiler.
17302 wl=$lt_lt_prog_compiler_wl_GO
17304 # Additional compiler flags for building library objects.
17305 pic_flag=$lt_lt_prog_compiler_pic_GO
17307 # Compiler flag to prevent dynamic linking.
17308 link_static_flag=$lt_lt_prog_compiler_static_GO
17310 # Does compiler simultaneously support -c and -o options?
17311 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17313 # Whether or not to add -lc for building shared libraries.
17314 build_libtool_need_lc=$archive_cmds_need_lc_GO
17316 # Whether or not to disallow shared libs when runtime libs are static.
17317 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17319 # Compiler flag to allow reflexive dlopens.
17320 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17322 # Compiler flag to generate shared objects directly from archives.
17323 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17325 # Whether the compiler copes with passing no objects directly.
17326 compiler_needs_object=$lt_compiler_needs_object_GO
17328 # Create an old-style archive from a shared archive.
17329 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17331 # Create a temporary old-style archive to link instead of a shared archive.
17332 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17334 # Commands used to build a shared archive.
17335 archive_cmds=$lt_archive_cmds_GO
17336 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17338 # Commands used to build a loadable module if different from building
17339 # a shared archive.
17340 module_cmds=$lt_module_cmds_GO
17341 module_expsym_cmds=$lt_module_expsym_cmds_GO
17343 # Whether we are building with GNU ld or not.
17344 with_gnu_ld=$lt_with_gnu_ld_GO
17346 # Flag that allows shared libraries with undefined symbols to be built.
17347 allow_undefined_flag=$lt_allow_undefined_flag_GO
17349 # Flag that enforces no undefined symbols.
17350 no_undefined_flag=$lt_no_undefined_flag_GO
17352 # Flag to hardcode \$libdir into a binary during linking.
17353 # This must work even if \$libdir does not exist
17354 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17356 # If ld is used when linking, flag to hardcode \$libdir into a binary
17357 # during linking. This must work even if \$libdir does not exist.
17358 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17360 # Whether we need a single "-rpath" flag with a separated argument.
17361 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17363 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17364 # DIR into the resulting binary.
17365 hardcode_direct=$hardcode_direct_GO
17367 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17368 # DIR into the resulting binary and the resulting library dependency is
17369 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17370 # library is relocated.
17371 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17373 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17374 # into the resulting binary.
17375 hardcode_minus_L=$hardcode_minus_L_GO
17377 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17378 # into the resulting binary.
17379 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17381 # Set to "yes" if building a shared library automatically hardcodes DIR
17382 # into the library and all subsequent libraries and executables linked
17384 hardcode_automatic=$hardcode_automatic_GO
17386 # Set to yes if linker adds runtime paths of dependent libraries
17387 # to runtime path list.
17388 inherit_rpath=$inherit_rpath_GO
17390 # Whether libtool must link a program against all its dependency libraries.
17391 link_all_deplibs=$link_all_deplibs_GO
17393 # Fix the shell variable \$srcfile for the compiler.
17394 fix_srcfile_path=$lt_fix_srcfile_path_GO
17396 # Set to "yes" if exported symbols are required.
17397 always_export_symbols=$always_export_symbols_GO
17399 # The commands to list exported symbols.
17400 export_symbols_cmds=$lt_export_symbols_cmds_GO
17402 # Symbols that should not be listed in the preloaded symbols.
17403 exclude_expsyms=$lt_exclude_expsyms_GO
17405 # Symbols that must always be exported.
17406 include_expsyms=$lt_include_expsyms_GO
17408 # Commands necessary for linking programs (against libraries) with templates.
17409 prelink_cmds=$lt_prelink_cmds_GO
17411 # Specify filename containing input files.
17412 file_list_spec=$lt_file_list_spec_GO
17414 # How to hardcode a shared library path into an executable.
17415 hardcode_action=$hardcode_action_GO
17417 # ### END LIBTOOL TAG CONFIG: GO
17421 "default":C
) if test -n "$CONFIG_FILES"; then
17422 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17423 # that multilib installs will end up installed in the correct place.
17424 # The testsuite needs it for multilib-aware ABI baseline files.
17425 # To work around this not being passed down from config-ml.in ->
17426 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17427 # append it here. Only modify Makefiles that have just been created.
17429 # Also, get rid of this simulated-VPATH thing that automake does.
17430 cat > vpsed
<< \_EOF
17431 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17433 for i
in $SUBDIRS; do
17434 case $CONFIG_FILES in
17436 #echo "Adding MULTISUBDIR to $i/Makefile"
17437 sed -f vpsed
$i/Makefile
> tmp
17438 grep '^MULTISUBDIR =' Makefile
>> tmp
17453 ac_clean_files
=$ac_clean_files_save
17455 test $ac_write_fail = 0 ||
17456 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17459 # configure is writing to config.log, and then calls config.status.
17460 # config.status does its own redirection, appending to config.log.
17461 # Unfortunately, on DOS this fails, as config.log is still kept open
17462 # by configure, so config.status won't be able to write to it; its
17463 # output is simply discarded. So we exec the FD to /dev/null,
17464 # effectively closing config.log, so it can be properly (re)opened and
17465 # appended to by config.status. When coming back to configure, we
17466 # need to make the FD available again.
17467 if test "$no_create" != yes; then
17469 ac_config_status_args
=
17470 test "$silent" = yes &&
17471 ac_config_status_args
="$ac_config_status_args --quiet"
17473 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17475 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17476 # would make configure fail if this is the last instruction.
17477 $ac_cs_success || as_fn_exit $?
17479 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17481 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}